Registry.Delete
Top  Previous  Next


Deletes registry value

Please make sure to backup the registry before doing any changes.

Category
Registry

Script section
All

Registry.Delete HKEY, Key, ValueName

HKEY

Options: HKEY_LOCAL_MACHINE | HKEY_USERS | HKEY_CURRENT_USER  
Notice: HKEY_CURRENT_USER requires Remote admin service  

Key
Key  

Value
Name of value to delete  

Other parameters
This command is executed on the current machine in the [Machines] section.  

Example
Delete the "LegalNoticeCaption" value
Registry.Delete hkey_local_machine, software\Microsoft\Windows NT\CurrentVersion\Winlogon, LegalNoticeCaption