If you forgot the admin password of DVR or NVR, you can reset the password by scanning the QR code generated on the local GUI of the device.
You should have allowed the Mobile Client to access your phone's camera.
You should have reserved email address for resetting device password and generated QR code on the device's local GUI. For details, see Reserve Email Address for Resetting Password and Generate QR Code on Device Local GUI for details.