Where are the Windows registry files located in Windows 7 | 8 ?

The Windows Registry is the centralized configuration database for Windows NT and Windows 2000, as well as for applications. The Registry stores information about tuning parameters, device configuration, and user preferences.

config registry 600x398 Where are the Windows registry files located in Windows 7 | 8 ?

On disk, the Registry isn’t simply one large file but a set of discrete files called hives. Each hive contains a Registry tree, which has a key that serves as the root (i.e., starting point) of the tree. Subkeys and their values reside beneath the root.

Location of Windows registry files

The location of these registry hives are as follows:

HKEY_LOCAL_MACHINE \SYSTEM : \system32\config\system
HKEY_LOCAL_MACHINE \SAM : \system32\config\sam
HKEY_LOCAL_MACHINE \SECURITY : \system32\config\security
HKEY_LOCAL_MACHINE \SOFTWARE : \system32\config\software
HKEY_USERS \UserProfile :  \winnt\profiles\username
HKEY_USERS.DEFAULT : \system32\config\default

Some hives are volatile and don’t have associated files. The system creates and manages these hives entirely in memory; the hives are therefore temporary in nature. The system creates volatile hives every time the system boots. Examples are:

HKEY_LOCAL_MACHINE \SYSTEM \Clone : Volatile hive

These files are database files, and only RegEdit, Regedit32 and the Kernel32 can read them. The primary tool in Windows 7 for working directly with the registry is Registry Editor. To access it, simply type Regedit in Start Menu Search Bar and hit Enter !

If you need to read more on this, head over to TechNet!

While on the topic of Registry, you might also want to see if some of these links interest you:

Posted by on , in Category Windows with Tags
Anand Khanse aka HappyAndyK is an end-user Windows enthusiast, a Microsoft MVP in Windows, since 2006, and the Admin of TheWindowsClub.com. Please create a System Restore Point before trying out any software & be careful about any third-party offers while installing freeware. Add me on Google+.
  • No help from you

    Wow, great job NOT answering the question. Maybe next time mention what those little discreat files are.

  • Stascom

    he told you, ——-. read again – paths starting with “system32″. that’s in %windir% or your Windows folder

  • Dgstd


  • Dadd

    To author: You forgot to mention what are the files for HKCU and HKCR hives.

  • Regedit

    and of course those are the ones I’m trying to find.. :(

  • sadman

    I just want “Cannot load Dll!” error message to go away for my maplestory setup ;-( *boo hoo hooo* *cry cry* *tear drop*

  • trying to avoid dll-hell

    not obvious, on win7, look at system32, but also sysWOW64 (love the name)

  • Forrest M

    HKCU – “Symbolic link to a key under HKEY_USERS representing a user’s profile hive.”
    HKCR – “Symbolic link to HKEY_LOCAL_MACHINE SOFTWARE Classes”

    Found in the link provided by the author to a TechNet article.

  • HelterSkelter

    Where is the HKLM files in the registry.

  • #swag


  • Recent Comments