When you forget your admin password, the standard recovery method is the Export/Import XML How to Export the XML file by the SADP Tool How to Export the XML file by the SADP Tool Resetting Passwords | Exported XML Method - Hikvision
Analysis of Hikvision XML Key Exchange and Recovery Mechanisms