How to fix “ERROR: The system was unable to find the specified registry key or value.” when running a batch file

You’re not deleting a registry key named:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Cryptography\Configuration\SSL\00010002\Functions

You’re deleting a registry value, named: Functions which exists under the key named HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Cryptography\Configuration\SSL\00010002.

To perform the task you therefore need to use the correct syntax:

Reg Delete "HKLM\SOFTWARE\Policies\Microsoft\Cryptography\Configuration\SSL\00010002" /V "Functions" /F > NUL

You would also need to run the script ‘as Administrator’, to prevent an Access is denied message.

Leave a Comment