PDF download Download Article
Bring regedit back with this step-by-step guide
PDF download Download Article

This wikiHow article teaches you how to enable access to the Registry Editor on a Windows computer. Whether your Registry Editor has been disabled by an administrator on your school network or a virus is preventing you from opening it, there are a few ways you can bring the Registry Editor back online.

Enable Regedit

If the Registry Editor is disabled, you can enable it in Group Policy Editor if you have permission to do so. In GPE, go to User Configuration > Administrative Templates > System and set "Prevent access to registry editing tools" to "Not configured." Otherwise, try running a virus scan or reinstalling Windows.

Method 1
Method 1 of 6:

Using Group Policy Editor

PDF download Download Article
  1. If you get an error that says "Registry editing has been disabled by your administrator," an administrator will need to reenable it in the Group Policy Editor. If your Windows account has administrator privileges, you can make this change. Keep in mind that Group Policy Editor is not available in Home editions of Windows—you will need a Pro, Business, or Server edition of Windows to use it. To open Group Policy Editor:
    • Press Win + R to open Run.
    • Type gpedit.msc into Run.
    • Click OK .
  2. Use the following steps to do so:
    • Double-click to expand the User Configuration section.
    • Open the Administrative Templates folder.
    • Open the System folder.
    Advertisement
  3. You'll find this item on the right side of the window.
    • You may have to scroll down to find it.
  4. It's on the left side of the pop-up window.
  5. These are both at the bottom of the window. Doing so should re-enable Registry Editor on your computer. You should now be able to open and use Regedit .
  6. Advertisement
Method 2
Method 2 of 6:

Using Command Prompt

PDF download Download Article
  1. You can use the Command Prompt (CMD) to enable the Registry Editor with a single command. To do so, you will need to have a Windows account with administrative privileges and run the Command Prompt as an administrator . Use the following steps to do so:
    • Click the Windows Start menu.
    • Type CMD .
    • Right-click the Command Prompt .
    • Click Run as administrator .
    • Click Yes when prompted.
  2. To do so, enter the following command and press Enter :
    • reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /t Reg_dword /v DisableRegistryTools /f /d 0
  3. Your command should have re-enabled the Registry Editor.
  4. Open Start , click the Power icon, and click Restart . Once your computer finishes restarting, you can try opening Registry Editor again.
    • If Registry Editor still won't open, you may be able to use a script to force it to open.
  5. Advertisement
Method 3
Method 3 of 6:

Using a Visual Basic Script

PDF download Download Article
  1. Use the following steps to do so:
    • Click the Windows Start button.
    • Type Notepad .
    • Click the blue Notepad icon.
    • Click File in the menu bar at the top.
    • Click New .
  2.  Option 
     Explicit 
     Dim 
     WSHShell 
     , 
     n 
     , 
     MyBox 
     , 
     p 
     , 
     t 
     , 
     mustboot 
     , 
     errnum 
     , 
     vers 
     Dim 
     enab 
     , 
     disab 
     , 
     jobfunc 
     , 
     itemtype 
     Set 
     WSHShell 
     = 
     WScript 
     . 
     CreateObject 
     ( 
     "WScript.Shell" 
     ) 
     p 
     = 
     "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\" 
     p 
     = 
     p 
     & 
     "DisableRegistryTools" 
     itemtype 
     = 
     "REG_DWORD" 
     mustboot 
     = 
     "Log off and back on, or restart your pc to" 
     & 
     vbCR 
     & 
     "effect the changes" 
     enab 
     = 
     "ENABLED" 
     disab 
     = 
     "DISABLED" 
     jobfunc 
     = 
     "Registry Editing Tools are now " 
     t 
     = 
     "Confirmation" 
     Err 
     . 
     Clear 
     On 
     Error 
     Resume 
     Next 
     n 
     = 
     WSHShell 
     . 
     RegRead 
     ( 
     p 
     ) 
     On 
     Error 
     Goto 
     0 
     errnum 
     = 
     Err 
     . 
     Number 
     if 
     errnum 
     <> 
     0 
     then 
     WSHShell 
     . 
     RegWrite 
     p 
     , 
     0 
     , 
     itemtype 
     End 
     If 
     If 
     n 
     = 
     0 
     Then 
     n 
     = 
     1 
     WSHShell 
     . 
     RegWrite 
     p 
     , 
     n 
     , 
     itemtype 
     Mybox 
     = 
     MsgBox 
     ( 
     jobfunc 
     & 
     disab 
     & 
     vbCR 
     & 
     mustboot 
     , 
     4096 
     , 
     t 
     ) 
     ElseIf 
     n 
     = 
     1 
     then 
     n 
     = 
     0 
     < 
     br 
     > 
     WSHShell 
     . 
     RegWrite 
     p 
     , 
     n 
     , 
     itemtype 
     Mybox 
     = 
     MsgBox 
     ( 
     jobfunc 
     & 
     enab 
     & 
     vbCR 
     & 
     mustboot 
     , 
     4096 
     , 
     t 
     ) 
     End 
     If 
    
  3. It's in the top-left side of the Notepad window.
  4. Click the Desktop folder on the left side of the Save As window.
  5. Do this in the "File name:" field.
  6. Click the drop-down box next to "Save as type:", then click All Files . This will save your document in the correct file format.
  7. It's in the bottom-right corner of the Save As window. This will create your file.
  8. Click the X in the top-right corner of Notepad to do so.
  9. Doing so will prompt the script to run.
    • This script will switch the registry editor's disabled/enabled setting. Do not run it a second time, or the registry editor will be disabled again.
  10. Advertisement
Method 4
Method 4 of 6:

Running a Security Scan

PDF download Download Article
  1. If your Registry Editor isn't working and you are the administrator, your PC may be infected with a virus or malware. However, it's also possible that third-party antivirus programs (e.g., McAfee, Norton, Kaspersky) can be blocking access to regedit. Because of this, disable all antivirus protection that isn't Windows Defender before continuing.
  2. Use the following steps to do so:
    • Click the Windows Start button.
    • Type Windows Security .
    • Click Windows Security
    • Click Virus & threat protection
  3. It's a link below the Quick scan button in the middle of the page.
    • On some versions of Windows Defender, click Advanced scan instead.
  4. Click the circle to the left of "Full scan" at the top of the page if it isn't already filled in.
  5. It's in the middle of the page. Windows Defender will start scanning your computer for malicious software that might be preventing Registry access. This may take a little bit of time.
    • If this scan doesn't find anything, repeat the scan with "Windows Defender Offline scan" checked instead of "Full scan" checked.
  6. If you can't Open Registry Editor you may need to reinstall Windows.
    • You may need to restart your computer before you can access Registry Editor after the scan.
  7. Advertisement
Method 5
Method 5 of 6:

Reinstalling Windows

PDF download Download Article
  1. When reinstalling Windows, it's possible you may lose your files and data. Be sure to back up any data and information you need . You can back up your data using an external hard drive, or using a cloud service such OneDrive or Google Drive .
  2. While running a full virus scan may get rid of viruses and malware, it may not fix the damage that has already been done. If you are still not able to open Registry Editor, you may need to reinstall Windows . You can do so from the Windows Settings menu. Use the following steps to get started:
    • Click the Windows Start .
    • Click the Settings icon.
    • Click System (Windows 11) or Update & Security (Windows 10).
    • Click Recovery .
    • Click Reset PC or Get Started next to "Reset this PC."
  3. It's recommended you click Keep my files to avoid losing your data. However, if this doesn't work, you may need to click Remove everything to completely reformat your computer. In this case, you will lose all your files and data on your computer.
  4. If you have an internet connection, click Cloud Download to download the latest version of Windows from the internet. If you don't have an internet connection, you can click Local reinstall to reinstall Windows from a local file.
  5. For the next couple of pages, you will be presented with the settings you selected. Verify they are correct and follow the prompts.
  6. This will begin the process of reinstalling Windows. This may take a while. Your PC may restart several times during this process.
  7. After you reinstall Windows, you will need to go through the setup process again. Follow the prompts to go through the Windows setup process.
  8. Advertisement
Method 6
Method 6 of 6:

How to Open Regedit

PDF download Download Article
  1. You can also just click the Start menu if you prefer.
  2. A list of search results will appear.
  3. If the Registry Editor prompts you for permission and then opens when you click Yes , you can now use the editor to modify the registry .
    • If the Registry Editor doesn't open, you'll need to try another method in this article.
  4. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How do I enable task manager?
    Reyhan Palakka
    Community Answer
    Press Ctrl+Shift+Esc in the same time.
  • Question
    Both regedit and cmd are disabled, what can I do?
    Community Answer
    It may be because you do not have administration privileges. Ask your system administrator if it is a work computer, or log into the main account if it's a home PC.
  • Question
    I changed my install location through regedit from c drive to e drive. After restarting regedit, task manger is not opening, there are some extra downloaded files, and it is showing invalid path. What can I do?
    Community Answer
    There will be a lot of mis-entries in the registry due to the different applications you have used. Use a registry repair app and restore the registry file.
Ask a Question
      Advertisement

      Video

      Tips

      • Most school and work computers will not let you use the Registry Editor as a matter of policy.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      • Never edit the registry unless you know exactly what you are doing. A mistake could make your operating system unusable.
      Advertisement

      About This Article

      Article Summary X

      1. Open the Windows search bar.
      2. Type Run .
      3. Click Run .
      4. Type Regedit .
      5. Click OK .

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 407,901 times.

      Is this article up to date?

      Advertisement