Download Article Download Article

The Windows Registry is a database that stores settings and options for Microsoft Windows operating systems. It contains information and settings for hardware, operating system software, most non-operating system software, and per-user settings. The registry also provides a window into the operation of the kernel, exposing runtime information such as performance counters and currently active hardware. You can use the Registry Editor to make changes to your computer's registry entries, which can be useful for hardware troubleshooting and virus removal.

Part 1
Part 1 of 3:

Using the "Run" Box

Download Article
  1. You can also press Win+R in any version. If you can't open the Start menu, see the next section.[1]
    • Windows 8 - Open the Start screen and type run, or find Run in the All Apps list.
    • Windows 8.1 - Right-click the Start button and select "Run".
    • Windows 10 - Right-click on the Start button logo and select "Run".
  2. regedit into the Run box and press Enter. This will start the Registry Editor.
    • Depending on your computer's security settings, you may be prompted to confirm that you want to start the Registry Editor.
    • You can also type this into the Start search feature.
    • Access to the Registry Editor requires administrator permissions.
    Advertisement
  3. Use the menu on the left side of the Registry Editor to find the keys you need. Many folders will contain multiple levels of subfolders. Keys in each folder will be displayed in the right frame.
  4. When you double-click a key in the right frame, a window will appear allowing you to edit the values. You should only edit keys if you know what you are doing or are following qualified instructions. Modifying keys will change how your system runs, and could cause Windows to malfunction, so you always want to be careful when editing system settings.
    • Click here for more tips on safely editing the registry.
  5. Advertisement
Part 2
Part 2 of 3:

Using the Command Prompt

Download Article
  1. Open the Command Prompt. There are several ways that you can open the Command Prompt, which allows you to open it if something is preventing you from using one way:
    • Click the Start menu and select Command Prompt. If you're using Windows 8.1, right-click the Start button and select Command Prompt. If you're using Windows 8, you can find the Command Prompt in the All Apps list on the Start screen.
    • Press Win+R, type cmd, and press Enter.
    • Press Ctrl+ Shift+Esc to open the Task Manager. Click the "File" menu, hold Ctrl, and click "Run new task".
  2. regedit and press Enter. You can do this from any location in the Command Prompt. The Registry Editor will open in a separate window. You may be asked to confirm that you want to open it.
  3. The folder tree on the left will allow you to find the key that you need. Expand the folders to see additional subfolders. Selecting a folder will display any keys it contains in the right frame.
  4. When you find a key in the right frame that you want to edit, double-click it to open it. Be careful when making changes, as changing the wrong thing can cause Windows to malfunction.
    • Click here for more tips on safely editing the registry.
  5. Advertisement
Part 3
Part 3 of 3:

Troubleshooting regedit Not Opening

Download Article
  1. If the Registry Editor will not start, there may be a problem with your system settings. This is typically caused by a virus or malware infection. You can make a change to allow access to the Registry Editor again, but it is highly recommended that you take steps to remove any infections as well.
    • See Step 1 in the previous section for instructions on opening the Command Prompt.
    • You can also boot into "Safe Mode with Command Prompt" if you are having trouble opening the Command Prompt in Windows. Click here for instructions on booting into Safe Mode.
  2. You'll be using the Command Prompt to delete a specific registry key that is blocking the Registry Editor from opening. Enter the following command and press Enter:
    • reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\regedit.exe"
  3. Use either of the above two methods to launch the Registry Editor.
  4. Remove any virus or malware infections from your computer. There's a very good chance that the reason your Registry Editor was blocked is because you have a virus or other malware infection. This could have come from an illegally downloaded game or program, from an email attachment, or bundled along with another program. Click here for detailed instructions on removing virus and malware infections. For really bad cases, you may be better off completely reinstalling Windows.
  5. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Can I use Regedit to fix my Internet connection?
    Community Answer
    Community Answer
    No. Only files and apps in PCs can be fixed/modified/edited. Use Command Prompt for that.
  • Question
    How do I remove write protection from a USB? It is brand new and when I try to format it just, it keeps saying the disk is write-protected.
    Alex
    Alex
    Top Answerer
    You don't need to use regedit to remove write protection. Check out our article here on How to Disable Write Protection for instructions.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Thanks for submitting a tip for review!

Warnings

  • Using Regedit can cause system instability, system crashes, or even a system failure requiring a re-install of the operating system if used incorrectly. Use with caution.
Advertisement

You Might Also Like

Take a Screenshot in Microsoft WindowsHow to Take a Screenshot on a Windows PC: 8 Simple Tricks
Install FFmpeg on WindowsEasily Download and Install FFmpeg on a Windows PC
Check Mouse Sensitivity (Dpi) on PC or MacHow to Check Your Mouse DPI on Windows & Mac
Check Your Windows Product KeyHow to Find Your Windows Product Key
Get to the Boot Menu on Windows4 Easy Ways to Access the Boot Options Menu in Windows
Enter BIOSEnter BIOS
Open Windows Task ManagerHow to Open Windows Task Manager: Menus, Shortcuts, & More
Automatically Shut Down Your Computer at a Specified TimeAutomatically Shut Down Your Computer at a Specified Time
Check Your Windows VersionCheck Your Windows Version
Install Windows from UbuntuInstalling Windows After Ubuntu: A Step-by-Step Guide
Turn Off S Mode in Windows 112 Ways to Turn Off S Mode on a Windows 11 PC
Change a Computer's Mac Address in Windows3 Ways to Change a Computer's Mac Address in Windows
Zoom Out on a PCZoom Out on a PC
Install Software Without Admin Privileges on Windows2 Ways to Install Windows Apps if You're Not an Administrator
Advertisement

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 19 people, some anonymous, worked to edit and improve it over time. This article has been viewed 372,379 times.
How helpful is this?
Co-authors: 19
Updated: January 18, 2024
Views: 372,379
Categories: Featured Articles | Windows
Thanks to all authors for creating a page that has been read 372,379 times.

Is this article up to date?

Advertisement