Windows Registry Explained: Hives, Keys and Values, and How to Browse Regedit Without Changing Anything


Last reviewed: November 24, 2026. The steps in this guide to Windows registry hives and keys were compared with Microsoft documentation. None of them were run on a real PC.
If you have ever opened Registry Editor, you have looked at the Windows registry hives and keys: a large tree of folders that holds many of Windows' own settings and the settings of installed programs. Most people open it once, after a warning or a forum tip, and close it again without really knowing what they are seeing. This guide explains the structure in plain language. It then walks you through a look-only tour that changes nothing. If something in your registry is already broken, our guide on how to fix a corrupted registry safely is the next place to go, but we recommend reading this foundation article first.
Quick answer
The Windows registry is a central database of settings. It is split into five root keys, such as HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE. Inside them are keys, which work like folders, and values, which hold the actual data. To look safely, open Registry Editor, expand folders, read values, and close the window. Do not change anything. If you want a safety copy of a key, export it to a .reg file first. Export only to a file you keep; importing a .reg file merges or overwrites values, so make a restore point first.
In this guide
- What the registry is and what it stores
- Windows registry hives and keys: the five root keys
- Keys, subkeys and values
- Value types you will see
- Where the hive files live
- 32-bit and 64-bit views
- How to read a registry path
- A safe, look-only walkthrough of Registry Editor
- Rules before you ever edit
- What not to touch and when to close
- Examples from everyday browsing
- When to stop
- Frequently asked questions
- A note on Windows 10
- Sources
What the registry is and what it stores
The registry is often described as a hierarchical database. Windows and many programs use it to store configuration: the settings that tell the system and its apps how to behave. Microsoft's registry hives page defines a hive as a logical group of keys, subkeys and values that has a set of supporting files, which are loaded into memory when the operating system starts or when a user logs in. If Task Manager shows a Registry process using memory, our guide to the Registry process in Task Manager explains what it is.
Many Windows and program settings are kept together in one tree rather than in a separate file per program. That is convenient, but it also means a single wrong change can affect several things at once. That is why we treat the registry with more care than a normal settings page.
In general terms, the registry holds the Windows settings for each user, the file type links that decide which program opens a file, hardware and driver configuration, and the list of user profiles on the computer. The exact contents depend on your PC, your Windows version and the software you have installed. On a managed PC, administrators can also set some of these values through Group Policy, which works differently; see how Group Policy differs from the registry. Two PCs with the same Windows version can have very different registries. Software that was removed can also leave entries behind, which is covered in our guide to leftover registry entries after uninstalling Windows.
Because the registry is shared by Windows and by programs, reading it is the safe way to learn it. Reading a value does not change it. Almost every problem beginners cause comes from clicking or typing in the wrong place, not from looking. The rest of this guide keeps to that rule.
Windows registry hives and keys: the five root keys
Registry Editor shows five top-level folders on the left. Microsoft Learn's predefined keys page lists these five predefined root keys. The table gives a plain-language meaning for each one, so you can tell at a glance which part of the registry you are in. HKEY_CLASSES_ROOT combines machine-wide and per-user data in one view, and our guide to HKEY_CLASSES_ROOT explained covers it in detail.
| Root key | Short name | What it holds, in plain language |
|---|---|---|
| HKEY_CLASSES_ROOT | HKCR | Links between file types and the programs that open them, and program registrations. Windows combines machine-wide and per-user data here. |
| HKEY_CURRENT_USER | HKCU | Settings for the user who is signed in now, such as desktop and folder preferences, screen colours, Control Panel and application settings. |
| HKEY_LOCAL_MACHINE | HKLM | Configuration that applies to the whole computer, for every user, including system and installed software settings. |
| HKEY_USERS | HKU | Every user profile that is loaded right now. The current user's profile appears here as well. |
| HKEY_CURRENT_CONFIG | HKCC | Information about the hardware profile the PC uses at startup. |
Microsoft Learn's predefined keys page also says that HKEY_CURRENT_USER maps to the current user's branch in HKEY_USERS. So the two overlap: the signed-in user's settings appear in both places. For beginners, the practical point is simpler. HKCU is the part that changes when you sign in as a different user, and HKLM is the part that applies to everyone on the PC.
You will often see the short names HKCU and HKLM in guides and forum posts. They refer to the same keys as the long names. Use the long names when you read a guide, so you always know exactly which root key is meant.
Keys, subkeys and values
A key is a container, like a folder. A subkey is a key inside another key, like a folder inside a folder. A value is an entry inside a key that holds data, like a file inside a folder. Registry Editor shows keys in the left pane and the values of the selected key in the right pane.
Microsoft's advanced-users article says that the maximum size of a key name is 255 characters. That limit matters less than the structure: each key can hold subkeys and values, and each value has a name, a type and data.
When you read a path written with backslashes, every name between the backslashes is a key. The last name can be a key or a value. For example, in a path that ends in a value name, the value's data is the part you are actually interested in. We explain paths in more detail below.
Value types you will see
Every value has a type that tells Windows and programs how to read its data. Microsoft's registry value types page lists the types. The table covers the ones beginners meet most often, with a plain description of each.
| Type | What it stores | Plain example |
|---|---|---|
| REG_SZ | A null-terminated string, meaning ordinary text. | A program name or a file location written as text. |
| REG_EXPAND_SZ | Text that can contain references to environment variables, such as %SystemRoot%, which Windows expands when it reads the value. | A path that depends on where Windows is installed. |
| REG_DWORD | A 32-bit number. | A numeric setting, often used as an on or off switch with 0 or 1. |
| REG_QWORD | A 64-bit number. | A larger numeric setting. |
| REG_BINARY | Binary data in any form. | Raw data that a program reads directly, shown as hexadecimal bytes. |
| REG_MULTI_SZ | A list of text strings. | A list of names or entries that a program reads one by one. |
Microsoft's page also lists REG_NONE, REG_LINK and the big-endian forms of the number types. Beginners rarely need those, so we leave them out of this table. The important lesson is that the type comes with the value. When you read a value, check its type first, because the same-looking number means something different as a REG_DWORD than as text. Our guide to registry value types explains each one in more depth.
Where the hive files live
The registry you browse in Registry Editor is loaded from files on disk. Microsoft's registry hives page says that most of the supporting files for the system hives are in the %SystemRoot%\System32\Config directory, and that these files are updated each time a user logs on. You do not need to open this folder to use this guide.
C:\Windows\System32\config
User settings are stored differently. Each user's hive is kept in that user's profile folder, as files named Ntuser.dat and Ntuser.dat.log. Microsoft's page lists these as the supporting files for HKEY_CURRENT_USER.
Microsoft also explains the file extensions you may see. A file with no extension is a complete copy of the hive data. A .log file is a transaction log of changes to the keys and values in the hive. A .sav file is a backup copy of a hive. A .alt file is a backup copy of the critical HKEY_LOCAL_MACHINE\System hive, and only the System key has one. Inside this hive, Windows keeps numbered control sets, as our guide to CurrentControlSet explains.
Windows uses these files while it runs. They are not meant for hand editing, and copying them while Windows is running is not a beginner task. We mention them so you understand where the registry lives on disk, and why the registry is not just a single text file.
32-bit and 64-bit views
On 64-bit Windows, programs built for 32-bit can see their own separate part of the registry. Microsoft's advanced-users article explains that many 32-bit keys have the same names as their 64-bit counterparts, and that Registry Editor shows the 32-bit keys under a special node:
HKEY_LOCAL_MACHINE\Software\WOW6432Node
The article describes this for 64-bit versions of Windows XP, Windows Server 2003 and Windows Vista. The same idea still applies to current versions of Windows, but check the current Microsoft documentation before you rely on an exact location. For reading, the practical point is this: if you find a program's settings under WOW6432Node, that program was probably built for 32-bit Windows. You do not need to act on that fact to browse safely.
How to read a registry path
A registry path is a list of keys written from the root down, separated by backslashes. Read it from left to right. The first name tells you the root key and hive. The last name tells you what you are looking at. Here is a worked example. The path is an illustration with made-up names, not a real setting, and you do not need to change anything to follow it.
HKEY_CURRENT_USER\Software\ExampleCo\ExampleApp\Window
- HKEY_CURRENT_USER: the hive for the user who is signed in now.
- Software: the key where most installed programs keep their per-user settings, in general terms.
- ExampleCo: a key named after the software publisher.
- ExampleApp: the key for that one program.
- Window: a subkey or value that holds one of the program's settings.
Reading the path tells you where you are, but not what a value is for or whether it is safe to change. For that you also need the value name, its type and its data. This is why the rules later in this guide say to look first, and to read the data before you decide anything. If you prefer typing, the reg query command prints the same keys and values from a Command Prompt, and it changes nothing either.
A safe, look-only walkthrough of Registry Editor
These steps only look. You will open Registry Editor, expand folders, read data and close the window. Nothing in this walkthrough writes to the registry. Follow the steps in order, and stop if you see anything you do not expect.
Open Registry Editor
Open Registry Editor. Press Win+R, type regedit and press Enter. Windows may show the User Account Control prompt. Approve it only if you started this yourself. If you did not start it, choose No.
You should see: a window titled Registry Editor, with five root keys listed in the left pane.
If this fails: if the prompt is blocked or Registry Editor does not open, your PC may have an administrator policy in place. Ask whoever manages the PC instead of trying other tools.
Expand one root key. Click the small arrow next to HKEY_CURRENT_USER. Use the arrows only. Do not drag folder names around.
You should see: a list of subkeys such as Software and Control Panel.
If this fails: if nothing expands, that key may have no subkeys. Click the arrow on a different root key.
Look around without changing anything
Read the address bar. Look at the address bar at the top of the window. It shows the full path of the key you have selected. Read it; do not type into it.
You should see: a path with backslashes between each name, matching the key you selected.
If this fails: if the address bar is hidden, make the window larger and look again.
Search carefully with Find. Press Ctrl+F and type a word you already know, such as the name of a program. Search only moves the view to matching keys and values. Use Find Next to move through the results, then close the Find box with Esc.
You should see: a matching key or value highlighted in the tree.
If this fails: if the search returns too many results, use a longer and more specific word.
Read a value without changing it. Click a key once. In the right pane, read the Name, Type and Data columns. Do not double-click the value, because a double-click opens it for editing. Do not press Delete.
You should see: rows with a name such as (Default) or a named value, a type such as REG_SZ or REG_DWORD, and the data.
If this fails: if the right pane is empty, the key holds only subkeys. That is normal.
Close and keep a safety copy
Export a key as a safety copy (optional). Right-click a key and choose Export. Save the file as a .reg file in a folder you can find, such as Documents. A .reg file is a text copy of the key. You can open it in Notepad to read it, and check a .reg file before running it shows what to look for. Export only to a file you keep; importing a .reg file merges or overwrites values, so make a restore point first.
You should see: a .reg file you can open in Notepad to read its contents.
If this fails: if Export is greyed out, you may not have rights to that key. Leave it alone and move on. Permission errors like this have their own guide: how to fix registry permission errors in Windows.
Close the window. Use File and then Exit, or the window's close button. Registry Editor has no save step, because changes take effect as you make them. This walkthrough makes none, so closing simply ends the session.
You should see: the window closes without any change to your settings.
If this fails: if a message appears that you do not understand, choose Cancel, close the window again and read the rules below before you go further.
Rules before you ever edit
Do not edit the registry while you follow this guide. Microsoft's advanced-users article gives this warning: serious problems might occur if you modify the registry incorrectly, and these problems might require that you reinstall the operating system.
If you ever reach the point of changing a value, the following rules apply. They are general safety advice, not a procedure, and this article does not teach edits.
- Make a backup first. Export the key you plan to touch, and understand how to restore it. Our guide on how to undo registry cleaner changes covers what to do when a change goes wrong. Four ways to back up the registry are compared in a separate guide.
- Never change a value you cannot explain. If you cannot say what it does, leave it.
- Never delete a key because a website or a stranger told you to. Deleting is the step that is hardest to undo.
- Change one thing at a time and write down the original data before you change it.
- If Windows has started to misbehave, do not keep experimenting. Common symptoms and their causes are covered in our article on Windows registry problems, symptoms and causes, which is a better starting point than the registry itself.
What not to touch and when to close
Before you do anything in Registry Editor, ask yourself one question: am I only looking? If the answer is yes, read the values you need and close the window. If the answer is no, stop. This guide does not cover edits, and the rules above apply.
- Am I only trying to read a value? Yes: read it and close Registry Editor. No: go to the next question.
- Do I have an exported copy of the key? No: stop here. Export first, then decide again.
- Did a warning or a cleaner tell me to change the registry? Yes: stop, because cleaners and pop-ups are a common cause of unnecessary registry changes.
Some keys are more sensitive than others. Anything under the system's own Windows keys, the keys that control startup, and the keys that hold user profiles are the areas where a wrong change does the most damage. You can browse them, but leave their values alone and ask for help instead of changing them.
Examples from everyday browsing
Example one: a friend tells you a program's setting lives under HKEY_CURRENT_USER\Software. You open Registry Editor, expand HKEY_CURRENT_USER, then Software, and look for the program's name. You find its key, read its values, and close the window. You learned the structure without changing a thing.
Example two: you see a value of type REG_DWORD with data 1. The type tells you it is a number, and the data tells you its current value. You do not know yet what it controls, so you write down the path and the value name, and you move on. Writing the path down is the safe step; it is not a fix.
Example three: you want to see whether a registry key has been changed by a program. Export the key to a .reg file first. Export only to a file you keep; importing a .reg file merges or overwrites values, so make a restore point first. Open the copy in Notepad, read it, and compare it with a later export. The copy is for reading, not for restoring.
When to stop
- Stop if a value, key or pop-up asks you to delete or change something to get Windows working.
- Stop if Windows will not start, or if the problem began right after a registry change. Our guide on fixing a corrupted registry safely is written for that situation.
- Stop if you already changed something and cannot remember the original data. Read how to undo registry cleaner changes and restore Windows before you make another change.
- Stop if you are unsure whether a program or a value is safe. Leaving a value alone is always the safe default.
Frequently asked questions
Understanding the registry
Is the registry the same as the Settings app?
No. The Settings app is one of the places where you can change some Windows options. The registry is the underlying database that stores many of those options, along with settings for installed programs. Most settings you change in Settings are written to the registry for you.
What is the difference between a key and a value?
A key is a container, like a folder, and it can hold subkeys and values. A value is an entry inside a key that holds data, with a name, a type and the data itself. When you read a path, the value is usually the last item.
Is HKEY_CURRENT_USER the same as my user account?
It is the part of the registry that holds the settings for the user who is signed in now. If you sign in as a different user, the same root key shows that user's settings instead. It is not the account itself, but it belongs to the account.
Why are there five root keys?
Each root key holds a different part of the configuration: machine-wide settings, per-user settings, loaded user profiles, file type links and hardware profile information. Microsoft lists these five as the predefined root keys. You do not need to memorise them to read this guide.
Looking safely in Regedit
Can looking in Registry Editor damage anything?
Reading a value does not change it. The damage usually comes from a double-click, a key press or a drag in the wrong place. Keep to the look-only steps in this guide, and read our article on registry problems, symptoms and causes if you want to understand what usually goes wrong.
What should I do if I changed something by accident?
Stop making more changes first. If you exported the key before you touched it, use that copy as your reference. Then read how to undo registry cleaner changes to restore Windows, and use our guide to a corrupted registry if Windows will not start properly.
Do I need to save anything in Registry Editor?
No. Registry Editor has no save button, because changes take effect as you make them. That is why this guide asks you to avoid edits. Closing the window only ends the session.
Why do I see WOW6432Node in the registry?
It is the place where the 32-bit view of the software registry appears on 64-bit Windows, according to Microsoft's advanced-users article. Seeing it is normal. You can read it the same way as any other key, and you do not need to change it to understand the structure.
A note on Windows 10
Windows 10 reached the end of support on October 14, 2025, so it no longer receives regular feature and quality updates. Microsoft's support page, Windows 10 support has ended on October 14, 2025, Microsoft Support, confirms that date. Extended Security Updates for eligible consumer PCs run until October 12, 2027, according to End of support for Windows 10, Microsoft Windows. For other PC problems, our PC repair guides are a good place to start.
If you want a guided path through a problem rather than a list of articles, the Repair Assistant can help you narrow down the symptoms before you look at the registry at all.
If a startup program is the thing you are curious about, remember that some programs add their entries to Run keys in the registry, and that Windows also keeps a separate startup list. Our guide on which Windows 11 startup apps are safe to disable covers the settings screen, which is the safer place to start.
If you suspect malware has changed your registry values, do not try to fix the registry by hand. Read how to clean up your PC after virus removal for the general sequence of safe steps.