deleteRegistryValue() / delete64BitRegistryValue
IMPORTANT Certain registry locations require 64-Bit Commands for 64-bit Windows machines.
Deletes the value stored at the specified registry key. The last single backslash in a string is used to delimit the registry key from the registry value. To include backslashes as part of the value string, specify double slashes for each slash character. For example, the string HKEY_LOCAL_MACHINE\SOFTWARE\SomeKey\Value\\Name
is interpreted as the key HKEY_LOCAL_MACHINE\SOFTWARE\SomeKey
with a value of Value\Name
.
Example - Core.4 Other Tools and Utility Procedures.AutoAdminLogon.Disable AutoAdminLogon
deleteRegistryValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultPassword", "Windows 8.1", "Continue on Fail")