What is Registry Hive?
Registry hive in Windows Registry is the name given to a main part of the registry that contains the registry key, registry subkey (registry subkey) and registry value (registry value).
Registry hive in Windows Registry is the name given to a main part of the registry that contains the registry key, registry subkey (registry subkey) and registry value (registry value).
All keys are considered hive starting with "HKEY" and located in the root directory or at the top of the hierarchy in the registry, which is why they are sometimes called root keys or system hives. Core system.
Where is the hive registry located?
In Registry Editor, hive is a collection of registry keys that appear as folders on the left side of the screen, when all other keys have been minimized.
Below is a list of common registry hives in Windows:
- HKEY_CLASSES_ROOT
- HKEY_CURRENT_USER
- HKEY_LOCAL_MACHINE
- HKEY_USERS
- HKEY_CURRENT_CONFIG
HKEY_DYN_DATA is a registry hive used in Windows ME, 98 and 95. Most of the information stored in that hive is stored in HKEY_LOCAL_MACHINEHARDWARE in later versions of Windows.
Why can't I see any registry hive?
Sometimes, when you open the Registry Editor, you will see a lot of folders on the left and may even have registry values on the right, but without any registry hive. This means that the registry hive is not in the normal viewing area.
To view all registry hives at once, scroll to the top left of Registry Editor and collapse all hives, by clicking or clicking the down arrow or selecting Collapse from the right-click menu.
Either way, this will collapse all the keys and subkeys (keys and subkeys) so you only need to see some hive registry listed above.
Tip : Another reason some hive registry entries are not displayed is when you are viewing the registry remotely on another computer. Refer to the article: How to connect to the remote registry for more information on why the Windows Registry is not the same as usual in that situation.
How is the registry hive and registry key different?
The Registry hive is a folder in the Windows Registry, and so does the registry key. So what exactly is the difference between the registry hive and the registry key?
The only difference between these two concepts is: Registry hive is the first directory in the registry and it contains the registry keys, and the registry keys are folders inside the hive, containing registry values and other registry keys. .
Naming a folder in the registry is a "registry hive" that is only done to categorize what we are talking about. Instead of calling every folder in the registry as a registry hive or registry key, we call the main directory, first hive, but use the key as the name for every other folder inside the hive and use the registry subkey to do the wizard. language to indicate the key exists in other keys.
Registry hive in context
Here is an easy way to understand where the registry hive belongs in the Windows Registry:
HIVEKEYSUBKEYSUBKEY.VALUE
As you can see in the example below, while it is possible to have multiple registry subkeys in a hive, there is always only one registry hive in each location.
HKEY_CURRENT_USERControl PanelDesktopColorsMenu
- HIVE: HKEY_CURRENT_USER
- KEY: Control Panel
- SUBKEY: Desktop
- SUBKEY: Colors
- VALUE: Menu
Edit and delete registry hive
Registry hive, unlike registry keys and registry value, cannot be created, deleted or renamed. Registry Editor will not allow you to do that (ie you cannot even accidentally edit the registry).
Not being able to delete the registry hive is not because Microsoft wants to prevent you from doing something great with your computer, but simply there is no reason for you to do it. Key and value, including all hive registry, is the place to set the real value of the Windows Registry.
Back up registry hive
However, you can back up the registry hive, just like you do with the registry key. Backing up all hive saves all keys and values in that hive as a REG file, which can then be imported back into the Windows Registry.
Refer to the article: Backup and restore Windows Registry is simple for more details.
You should read it
- Learn about HKEY_LOCAL_MACHINE (HKLM Registry Hive)
- The origin of common technology terms
- Steps to fix corrupted Registry in Windows 10
- Learn about the Windows Registry - Part I
- 36 best free registry cleaning software 2018
- 50 Registry tricks to help you become a true Windows 7 / Vista 'hacker' (Part 1)
- How to re-enable Registry backup on Windows 10
- How to Make and Restore a Backup of the Windows Registry
- Block access to Registry Editor on Windows 10/8/7
- How to Get Into a Computer Registry
- Use the .reg file to configure the Registry in WinXP
- How to use Wise Registry Cleaner to clean and fix registry errors
Maybe you are interested
Edit music file information, add Album ... with Mp3Tag How to create invisible folders on Windows 10 desktop The COUNTIFS function, how to use the cell count function according to multiple events in Excel Things to know about IPv6 protocol HTC is about to refresh the Sense interface on Android How to send an email that exceeds the size limit?