Microsoft Windows Registry Tutorial
The registry is a database that stores settings and options.
WARNING: some mistakes in editing registry can make part of your Windows not work properly. Be careful.
Launching Registry Editor
To look at registry, launch the Registry Editor. Type ❖ Window+r to launch the run dialog, then type “regedit”.
Before you do anything, do a backup.
In Registry Editor, use the menu 〖File ▸ Export〗 to make a backup.
Save the backup as
This might take 2 minutes. On my machine, the saved
file size is 458 megabytes.
Registry data are called key and value pairs. The “key” is like folders. Key can contain other keys.
At the root level, there are the following keys. (Note: the “Computer” shown in Registry Edit root is not a key.)
Each of the above is called a “hive”.
A “value” has several possible types. Here is a list of possible types:
|REG_EXPAND_SZ||expandable string. Values between % char are expanded as environment variables|
|REG_DWORD/REG_DWORD_LITTLE_ENDIAN||A integer, ranging from 0 to 2^32-1, with byte order being little-endian.|
|REG_DWORD_BIG_ENDIAN||A integer, ranging from 0 to 2^32-1, with byte order being big-endian|
|REG_LINK||symbolic link (char set in UNICODE)|
|REG_MULTI_SZ||A is a array of strings|
|REG_RESOURCE_REQUIREMENTS_LIST||Resource Requirements List|
|REG_QWORD/REG_QWORD_LITTLE_ENDIAN||A QWORD value, a 64-bit integer (either big- or little-endian, or unspecified) (Introduced in Windows 2000)|
If you have a question, put $5 at patreon and message me.