Where Are Windows Registry Hive Files Located on Disk

The Windows Registry stores essential operating system settings, hardware configurations, and application preferences within low-level binary database files called hives. When you launch the Registry Editor (Regedit), it does not view a single unified file; instead, it compiles and presents multiple discrete hive files residing on your storage drive into a structured, hierarchical tree. This guide provides the exact file paths on disk for the core system hives—including SAM, SYSTEM, and SOFTWARE—explains their corresponding nodes in Regedit, and outlines how Windows manages access to them.

The Standard Directory for System Registry Hives

The primary system hives, including SAM, SYSTEM, and SOFTWARE, are stored in the following directory on the drive where Windows is installed:

C:\Windows\System32\config\

(Note: If Windows is installed on a different drive or directory, replace C:\Windows with your %SystemRoot% path).

File Names and Their Regedit Mappings

Inside the C:\Windows\System32\config\ folder, the hive files do not have file extensions. Regedit maps these specific files to keys under HKEY_LOCAL_MACHINE (HKLM):

The C:\Windows\System32\config\ directory also houses other essential registry hives:

Supporting Transaction and Log Files

Along with the main hive files, the config directory contains supporting files sharing the same base name, such as:

File Locking and Access Considerations

When Windows is active, the operating system kernel maintains exclusive, low-level locks on the SAM, SYSTEM, and SOFTWARE files. Consequently: