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

Popular posts from this blog

Windows Server 2016, 2019, 2022, Windows 10 and Windows 11: Date and time "Some settings are managed by your organization".

TFTPD32 or TFTPD64 reports Bind error 10013 An attempt was made to access a socket in a way forbidden by its access permissions.

Windows Server 2019 desktop icons such as My Computer, Windows cannot access the specified device, path, or file.