Once you have regained access, it is essential to secure your device to prevent future issues.
Most modern DVRs have a physical button on the motherboard to force a factory reset. raysharp dvr password reset