Delete a Windows registry value using a .reg file

If you want to delete a Windows registry value using a .reg file you can enter the value as a minus - sign.



For example:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NTDS\Parameters]
"Expensive Search Results Threshold"=-
"Inefficient Search Results Threshold"=-


While you're here -
Why not check out our Windows Server Documentation and Audit Tool?




Comments