SADP error 2022 shows up when you try to reset the password of a Hikvision unit (camera, NVR, DVR) using the XML file. When you import the reset file (XML file generated by Hikvision support), the SADP will display an error 2022 which prevents you from resetting the password.
In some other cases, the same error type may show up as “File Not Exporting”, “Device Denied”, “Reset Fail”, “Error 2022 Fail”, “Error 2015”, all these errors are related to the same thing.
The error 2022 occurs when the XML reset file becomes invalid because the device has rebooted (since the seed reset file was generated), the file does not contain the correct information, or it has been a very long time since the file was generated.
The XML file is generated by SADP and then this file is forwarded to Hikvision support and used by them to generate a specific reset file that works only for that unit.
This file is generated based on the device’s serial number, MAC address, timestamp, firmware, etc. If the unit is in a different condition from when the file was generated, then you will see these kinds of errors popping out.
To fix this error, you will need to have the file regenerated. This means, re-exporting the XML file and forwarding it to your Hikvision dealer/support and they will resend the new (and valid) XML file.
Additionally, there are a few more things that you can try before asking Hikvision to regenerate the file. Try the suggestions below and see if they work for your case.
How to Fix SADP Error 2022
Ensure the XML reset file is still valid
As we said, the XML reset file sent out by Hikvision is valid only under certain conditions. The file will become invalid if the camera or NVR (and DVR) has been powered cycled after the XML reset file was generated. So, if you have rebooted the unit after exporting the file, then the reset XML file will no longer work.
Additionally, the XML reset file is valid for 24 hours and the time has passed since generation. Once you get in contact with Hikvision, you need to wait for their email and apply the reset file as soon as possible.
If it’s more than 24 hours, you need to re-export e new file from SADP and submit it to the Hikvision support team.
Another thing to consider, the reset XML file may not work if the IP address of the PC was changed while SADP was open. The SADP tool will only load the windows TCP/IP stack once on the initial load, so if the IP address of the computer is during this time, SADP will not recognize the changes.
Run SADP tool as Administrator
Before asking Hikvison to regenerate the file, you may try to run the SADP tool as administrator. It has been reported that the reset file doesn’t go through unless the Admin privileges are deployed.
Completely turn off the SADP and then right-click on its icon and hit “Run as Administrator”. Then try again to apply the rest file on the unit that has the lost password. While this method doesn’t always work, it may work for you!
Turn off Anti-Virus protection and Firewall
In some other cases, the anti-virus software on your laptop/computer may prevent the SADP from applying the reset file in the unit.
Close off the SADP tool and then go to your antivirus application, temporarily disable it (let’s say for 30 minutes). Then run (as administrator) the SADP tool and see if the reset file goes through.
Additionally, you may also try Firewall protection in your network. Go to the Firewall settings and have it temporarily disabled. Then try the reset process again.
Check the network
The cameras (or DVR/NVR) need to be in the same subnet/range as the SADP (or vice versa). Basically, the IP address of the laptop (where the SADP tool) is installed is in the same range as the IP address of the unit that is being reset (IP camera, DVR, NVR).
Let’s say the IP address of the laptop is 192.168.1.100, then the IP address of the unit must be in the same format and range (for example 192.168.1.150).
If you can’t change the IP address of the camera via the SADP, then you can modify the IP address of the laptop to match that of the unit. Once you do that, you may try again to apply the reset file.
Use the latest version of SADP
You must use the latest version of the SADP. Many users install older versions of SADP that are not compatible with XML files generated by the Hikvision team. You can download the latest SADP from the official website (or from here). Uninstall the old version, install the latest version and then try again to apply the file.
If it still doesn’t work, then you can re-export the file using the latest SADP tool and forward the file to Hikvision technical team (or the local dealer) which will be used to generate a new (and working) file).
Conclusion
SADP error 2022 indicates that the SADP can’t use the reset file to communicate with the cameras. This may be caused by the reset file being invalid, being generated a long time ago, or the unit’s conditions having been changed.
You need to re-export the file and use it as soon as you get it. Additionally you may try to use the SADP as an administrator and ensure that you’re using the latest version of the software. If you’re still stuck, you may contact your local Hikvision dealer for support.