Registry.Key.Create
Top  Previous  Next


Creates registry key

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

Category
Registry

Script section
All

Registry.Key.Create HKEY, ParentKey, KeyName

HKEY

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

ParentKey
Name of key to create key in  

KeyName
Name of key to create  

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

Example
Create key "myKey" in hkey_local_machine\software
Registry.Key.Create hkey_local_machine, software, myKey