If you forgot the admin password of a DVR or NVR, you can reset the password by scanning the QR code generated on the local GUI of the device.
The flow chart of the password resetting process is shown below.