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

SOLVED: Exchange Online Management PowerShell Connect-ExchangeOnline bug "A window handle must be configured. See https://aka.ms/msal-net-wam#parent-window-handles"

System error 86 has occurred. The specified network password is not correct.

The security identifier of the "NT SERVICE\WdiServiceHost" account is "S-1-5-80-3139157870-2983391045-3678747466-658725712-1809340420"