How do I open and edit the Windows registry?

Updated: 06/01/2020 by Computer Hope

Fixing Windows errors, tweaking Windows features, or completely removing a program can sometimes require you to edit the Windows registry. This page provides help on how to open and view the Windows registry, edit, and delete registry values.

Caution

Before editing or changing anything in the Microsoft Windows registry, we recommend you back up the registry. For help with backing up the registry, see: How to back up and restore the Windows registry.

How to open the Windows registry

To open the Windows registry, follow the steps below for your version of Windows.

Note

If you have restricted access to the Windows computer you're logged in to, you may not be able to access the Windows registry.

Windows 10

  1. Type regedit in the Windows search box on the taskbar and press Enter.
  2. If prompted by User Account Control, click Yes to open the Registry Editor.
  3. The Windows Registry Editor window should open and look similar to the example shown below.

Microsoft Windows 10 Registry Editor

Windows 8

  1. Type regedit on the Start screen and select the regedit option in the search results.
  2. If prompted by User Account Control, click Yes to open the Registry Editor.
  3. The Windows Registry Editor window should open and look similar to the example shown below.

Microsoft Windows 8 Registry Editor

Windows 7 and earlier

  1. Click Start or press the Windows key.
  2. In the Start menu, either in the Run box or the Search box, type regedit and press Enter. In Windows 8, you can type regedit on the Start screen and select the regedit option in the search results. In Windows 10, type regedit in the Search box on the taskbar and press Enter.
  3. If prompted by User Account Control, click Yes to open the Registry Editor.
  4. The Windows Registry Editor window should open and look similar to the example shown below.

Microsoft Windows 7 and earlier Registry Editor

How to browse the Windows registry

When most users need to edit their registry, they're given the location or path of where the registry value is located and what to change. Below is an example path for a commonly accessed registry subkey. To browse to this location, you first start by opening the HKEY_LOCAL_MACHINE key (folder). In this key, you see the SOFTWARE folder, then Microsoft, Windows, CurrentVersion, and finally the Run folder.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Tip

Each backslash ("\") in a registry path represents another folder in the registry, with the name of that folder following the backslash.

After navigating to the registry path above, you'll see a window similar to the example below. In this example, you can see four different string value keys, which are pointing to the programs that run each time the computer is turned on or restarted.

Windows registry edit screen

How to edit a Windows registry value

To edit a registry value, double-click the name of the value you want to edit. For example, if we double-clicked the 'IntelliPoint' value in the example above, a new window appears that would allow us to change the value of the data. In this case, we could change the file path of where the "ipoint.exe" file is located for the IntelliPoint driver.

How to delete a Windows registry value

To delete a registry value, highlight any registry Name and then press the Delete key on the keyboard. For example, if we did not want the IntelliPoint program to load each time Windows starts, we could highlight IntelliPoint and then press the delete key.

Windows registry shorthand and abbreviations

In some documentation and online forums, the registry values may be abbreviated. For example, instead of saying "HKEY_LOCAL_MACHINE," it is easier to say and write "HKLM." For a listing of registry terms and shorthand, see our registry definition.