Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

In Windows, what is the registry?

On this page:


Introduction

The Windows registry is the database most Windows-based operating systems use to keep track of the settings for the operating system and all installed programs.

Registry files

Windows NT-based operating systems (e.g., Vista and XP) store most registry information in files called "hives". Hives are stored permanently on the hard drive and are not necessarily the same from one computer to another. Only administrators can access hives or delegate the rights to access them. Hives for the "Machine" keys are typically found in the \System32\Config\ directory within the Windows directory, which is on the drive where Windows is installed. For example, if your computer has Windows Vista or Windows XP installed on drive C:, the hives will be in:

C:\Windows\System32\Config

Hives for the "User" keys are found in the Documents and Settings folder, also on the drive where Windows was installed. The various User hives are scattered throughout different subfolders in the Documents and Settings folder (some in LocalService, some in the actual user folder, etc.).

For a definitive list of where your Windows computer stores its registry hives, open the Registry Editor and navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\hivelist

You will see a list of keys indicating the location of each specific hive. For example, for the Machine Security entries, you'll see something like:

\REGISTRY\MACHINE\SECURITY REG_SZ \Device\HarddiskVolume1\Windows\system32\config\SECURITY

The text of the above example refers to  C:\Windows\system32\config\SECURITY  (or  D:\Windows...  etc., if Windows is installed on the D: drive).

All hive file locations for your computer will appear in the above list.

Editing the registry

Warning: This document contains instructions for editing the registry. If you make any error while editing the registry, you can potentially cause Windows to fail or be unable to boot, requiring you to reinstall Windows. Edit the registry at your own risk. Always back up the registry before making any changes. For information, see In Windows, how do I back up the registry? If you do not feel comfortable editing the registry, do not attempt these instructions. Instead, seek the help of a computing support provider.

In all versions of Windows, you can edit the registry from a command prompt by entering regedit .

This is document aeof in domain all.
Last modified on October 08, 2011.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.