A hive in the Windows Registry is the name given to a major section of the registry that contains registry keys, registry subkeys, and registry values. All keys that are considered hives begin with HKEY and are at the top of the hierarchy in the registry.
The five Registry hives:
HKEY_CLASSES_ROOT
This mostly contains information about file types and file name extensions descriptions, icons, associations, shortcuts, automation, class IDs. It tells XP how to handle the different file types and which user interface options to use.
HKEY_USERS
Here’s where the system keeps information about every user on the system i-e. stores information about all system users and their individual settings including environment variables, color schemes, fonts, icons, desktop configuration, Start menu items, network, and more. When a new user logs on, a new key is created based on a default key.
HKEY_CURRENT_USER
This hive contains system setup info for the machine’s current user. This includes things such as desktop preferences, printers, and security settings.This hives name is the user’s SID and is recreated each time the system reboots.
HKEY_LOCAL_MACHINE
This hive stores information about the computer itself and the hardware attached to it, such as keyboards, storage, and such.This is the largest registry hive and stores two of the main registry hives.
HKEY_CURRENT_CONFIG
This hive that keeps current hardware configurations during the active session.Hardware profiles allow you to specify which device drivers are to be loaded for a given Windows session.
