Cheatography
https://cheatography.com
Cheat Sheet for adjusting or writing .reg files for updating the Windows Registry
This is a draft cheat sheet. It is a work in progress and is not finished yet.
First line
Windows Registry Editor Version 5.00
|
Key format
[<Hive name>\<Key name>\<Subkey name>]
@=<Value type>:<Value data>
"Value name"=<Value type>:<Value data>
|
Value types
|
(Default) value |
"Value name"="String value with escape characters"
|
String value |
Deleting Keys or Values
[-<Hive name>\<Key name>\<Subkey name>]
|
Delete Key |
|
Delete (Default) value |
|
Delete value |
The '-' character in the correct place for the Key or Value will delete it
|
|
Root Keys
HKEY_LOCAL_MACHINE |
HKLM |
HKEY_CURRENT_CONFIG |
HKCC |
Win 98 & NT only |
HKEY_CLASSES_ROOT |
HKCR |
File associations & OLE Object Class IDs |
HKEY_CURRENT_USER |
HKCU |
Linked to the current User's key in HKU |
HKEY_USERS |
HKU |
User profiles |
HKEY_PERFORMANCE_DATA |
|
Win NT only but invisible |
HKEY_DYN_DATA |
|
Win 98 only |
Escape characters
Precede characters with a backslash '\'
|