If you forgot the admin password of the DVR or NVR, you can generate a QR code on the device's local GUI and then scan the QR code via the Mobile Client to reset the admin password.
You should have reserved an email address for resetting password.
The DVR or NVR should support this function.