Are you curious about the Windows Registry Editor, also known as "regedit?" The Registry is a database of configurations used by applications, services, and all other aspects of Windows. The Registry Editor, known as "regedit," allows you to make high-level changes to the system by adding, removing, or modifying keys and values. Incorrectly editing the Registry can permanently damage your PC, so it's best to leave regedit alone if you don't know what you need to do in it. But if you have a specific need to open, edit, back up the Registry, we're here to help! This wikiHow guide will teach you how to use regedit to view and edit the Windows Registry.
Using Regedit 101
- Always back up the Registry before editing it.
- Select "File" > "Import..." to find and restore your backup of the Registry.
- Use the column on regedit's left-hand side to browse the contents of the Registry.
- Use the "Edit" drop-down menu to edit or delete Registry items.
Steps
-
Type regedit into Start and select Registry Editor . It's represented by a series of blue blocks stacked on top of one another. [1] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to sourceAdvertisement
-
Click Yes when prompted. Windows will ask you if you want to allow the regedit to make changes to your computer. Click Yes to continue opening the Registry Editor.
- If you aren't an administrator on your current computer, you won't be able to open the Registry Editor. [2] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
-
Click the Computer item. It's the monitor-shaped icon at the top of the Registry sidebar, which is on the left side of the window. Doing so will select it.
- You may have to scroll up to the top of the sidebar to see this icon.
- This step will allow you to back up the entire Registry, but you can do this with a specific folder or set of folders in the Registry as well.
- You should always make a new backup of the entire Registry before editing it. [3] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
-
Click File . This tab is in the top-left side of the Registry window. A drop-down menu will appear. [4] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
-
Click Export… . It's near the top of the drop-down menu. Doing so opens a Export Registry File window. [5] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
-
Enter a name for your backup file. Type in the name for the backup. It's wise to use the current date or a recognizable identifier so you can find this file in the event you need to restore it.
-
Select a save location. Click a folder on the left side of the window to set it as the place where your backup will be saved, or click a folder in the middle of the window to specify a folder inside of your current location.
- Be sure to save the backup somewhere you can revisit easily.
-
Click Save . This button is at the bottom of the window. Doing so will export a copy of the Registry's current settings, values, and other data. If something goes wrong with the Registry while you're in it, you can restore this backup to fix minor to moderate errors. [6] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- Make sure the "Export range" at the bottom of the window is set to "All".
- If you are backing up only a section of the registry, set the range to "Selected branch" and ensure the field contains the appropriate key(s).
- Make sure the "Export range" at the bottom of the window is set to "All".
-
Click > next to Computer . This icon is to the left of the Computer icon you selected when making a backup. Doing so will expand the Computer folder, displaying the folders inside of it.
- If Computer already shows several folders below it, it is already expanded.
-
Review the built-in Registry folders. There will usually be five folders inside of the "Computer" folder:
- HKEY_CLASSES_ROOT - The most complex of your Registry's five main folders, it contains many of the applications used to open or read other files.
- HKEY_CURRENT_USER - This folder contains info unique to the logged-in user, such as your personal folders and Control Panel settings.
- HKEY_LOCAL_MACHINE - This folder contains info that applies to all users on the computer, including driver and OS settings.
- HKEY_USERS - This folder contains the info within HKEY_CURRENT_USER, as well as info for all other users on the computer.
- HKEY_CURRENT_CONFIG - This folder stores your computer's current configuration, which is also located in HKEY_LOCAL_MACHINE, alongside any other configurations on your computer.
-
Click a Registry folder. Clicking any folder in the Registry Editor will display the folder's contents in the right-hand panel of the Registry Editor.
- For example, if you click the HKEY_CURRENT_USER folder, you should see at least one icon on the right side of the page with the name (Default) .
-
Expand a Registry folder. Click the > icon to the left of a folder to expand it and view its contents. This will work for any folder in the Registry, regardless of where it is.
- You can also double-click folders to expand them.
- Some folders (e.g., HKEY_CLASSES_ROOT ) contain hundreds of subfolders, meaning that expanding them will result in the left-hand sidebar becoming flooded with subfolders. The Registry can be hard to navigate when this happens, but all folders are arranged alphabetically.
-
Review the toolbar items. These are in the upper-left side of the Registry Window, and include the following:
- File - Import or export a Registry file, or print a selected item.
- Edit - Change aspects of a selected Registry item, or create a new one.
- View - Enable or disable the Registry address bar (not all versions of Windows 10 have this feature). You can also view the binary data for a selected Registry item.
- Favorite - Add a selected Registry item to your computer's Favorites folder.
- Help - View Microsoft's help page for the Registry.
-
Double-click a Registry folder's item. You'll find an icon with a red ab on it labeled (Default) in most Registry folders. Double-clicking it will open it for you to view its contents.
-
Click Cancel . This will close your opened Registry item.
-
Go to the folder in which you want to create an item. You can do this by expanding a folder, scrolling down to a subfolder, expanding it, and repeating as necessary until you reach the folder you're looking for.
-
Select the folder. Click the folder in which you want to create an item. This will select the folder, meaning that anything you create will be created inside of it.
-
Click the Edit tab. It's in the upper-left side of the window. Doing so prompts a drop-down menu.
-
Select New . This option is near the top of the drop-down menu. A pop-out menu will appear next to the drop-down menu.
-
Select the item you want to create. Click one of the following items:
- String Value - These are things that control system functions (e.g., keyboard speed or icon size).
- DWORD Value - DWORD values work with string values to dictate how certain system processes work.
- Key - A Registry "Key" is just a folder.
- There are several variations of DWORD values and string values that you might select depending on the instruction you're given.
-
Enter your item's name. Type in a name for your DWORD, string value, or key, then press ↵ Enter . This will create your item in your specified location under the name you just entered.
- Key names cannot include a backslash (\). [7] X Research source
- If you want to edit the item, you'll have to double-click it to open its contents and then modify them as needed.
-
Click the Registry item. Make sour the targeted item is now highlighted.
- Before proceeding, create a backup of the Registry.
- Keep in mind that doing this for any item other than the one you just created may permanently damage your computer.
-
Click Edit . This will open a drop-down menu.
-
Select Delete . Regedit will attempt to delete all highlighted files/keys, so make sure you have only selected the item you intend to delete.
-
Click OK when prompted. Your item is now deleted.
-
Exit the Registry Editor. Click the X in the top-right corner of the Registry Editor window. This will close the Registry Editor.
- Revisit the Registry Editor at any time to restore your backup (and therefore the deleted item).
-
Click the File tab atop the Registry Editor.
-
Click Import... in the drop-down menu. This will open a File Explorer window, where you may navigate to find your backup file.
-
Find and select your Registry backup file. Double-click it to open and restore your Registry Editor.
- Only restore a backup if you are certain it is a functioning copy of the Registry, and not one that can cause damage to your computer.
Community Q&A
-
QuestionI tried to use Regedit to recover a DVD, but it did not work. What am I doing wrong?Community AnswerRegedit does not allow you to view files. It lets you edit the Windows registry which is a bunch of configuration files.
-
QuestionI want to increase my VRAM. Can I do it?Community AnswerVRAM is installed in your video card (GPU). Different models—and, logically, higher-end cards—will provide varying amounts of VRAM. Unlike regular RAM, it can't be increased as an individual component.
-
QuestionI typed regedit in a windows search and it caused my system to freeze up. I can't type, search, log off, or shut the computer down. Can you help?Community AnswerTry holding the power button down to restart your computer.
Tips
Warnings
- Improperly editing the Registry will most likely harm your computer, and in some cases, render your computer permanently inoperable. Consider testing your changes in a virtual machine before applying them to your computer, and do not make edits that have not been given by a technician.Thanks
References
- ↑ https://support.microsoft.com/en-us/windows/system-configuration-tools-in-windows-f8a49657-b038-43b8-82d3-28bea0c5666b
- ↑ https://support.microsoft.com/en-us/windows/manage-user-accounts-in-windows-104dc19f-6430-4b49-6a2b-e4dbd1dcdf32
- ↑ https://support.microsoft.com/en-us/topic/how-to-back-up-and-restore-the-registry-in-windows-855140ad-e318-2a13-2829-d428a2ab0692
- ↑ https://support.microsoft.com/en-us/topic/how-to-back-up-and-restore-the-registry-in-windows-855140ad-e318-2a13-2829-d428a2ab0692
- ↑ https://support.microsoft.com/en-us/topic/how-to-back-up-and-restore-the-registry-in-windows-855140ad-e318-2a13-2829-d428a2ab0692
- ↑ https://support.microsoft.com/en-us/topic/how-to-back-up-and-restore-the-registry-in-windows-855140ad-e318-2a13-2829-d428a2ab0692
- ↑ https://learn.microsoft.com/en-us/windows/win32/sysinfo/structure-of-the-registry