We have already discussed how to re-enable task manager and other problems that can be solved by using the Windows Registry Editor. Now, users may experience a serious dilemma if the Registry Editor itself is disabled. This can be due to a Trojan, virus, spyware or a Malware infection to your system. Whenever this occurs, an attempt to start the editor results in the appearance of a message declaring that “Registry editing has been disabled by the Administrator”.
This creates a setback to the solutions of various other problems using the Registry Editor. However, how much complicated this problem may seem, it’s certainly not incurable. In fact, we, in this article will discuss how simple it is to re-enable your Registry Editor. The fixes that we show here, work in Windows XP, Windows Vista and also in Windows 7.
Fix 1 : From the Run command
Click on the “Start” button and then select “Run”, or simply press “Windows Key+R”. The Run application starts and in the box copy and paste the following line :
REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableRegistryTools /t REG_DWORD /d 0 /f

Click OK and then reboot your computer. On restart, the Windows Registry Editor is re-enabled.
Fix 2 : By removing the regedit.com file
Another simple solution to re-enable your Registry Editor is to rename the “regedit.com” to “regedit.exe”. Sometimes, some viruses or malware loads a “regedit.com” file in the system. This “.com” file is usually a zero byte dummy file which either replaces the actual “regedit.exe” file or is added as a new file. Now, when you type “regedit” in the “Run” box, this “.com” file is executed rather than the actual “.exe” file, since “.com” files get a greater preference than “.exe” files in the process of execution of a program.
- Open the drive where the Windows operating system is installed.
- Then open the folder named “WINDOWS” in that drive.
- Notice if the file “regedit” is a “.com” zero byte dummy file or not.
- If it is so, then delete it permanently.

In case of invasion of a worm named “W32.Navidad”, the “regedit.exe” gets renamed to “regedit.com”. In such a case you just have to rename the “.com” file by “regedit.exe”. You will now be able to access the Registry Editor normally.
Fix 3 : By editing the Group Policy
At first go to Start > Run or simply press “Windows key+R”. Type “gpedit.msc” in the Run box and click OK.

The Group Policy Editor opens up. Navigate to User Configuration > Administrative Templates>System. Now, on the right hand part of the Group Policy Editor, in the “Setting” column, double click on “Prevent Acess to Registry Editing Tools”.

The Properties box appears and here, change the property to “Not Configured”. If it is already so, select “Enable” and apply it. Then repeat the Fix 3 process to change the setting to “Not Configured”. This removes the Disable Registry Tools value successfully. Click on Apply, then OK and exit the Group Policy Editor.

Reboot your system. On resuming from the restart, the Registry Editor is enabled once again.
Fix 4 : By VB script
A different way to solve this problem is by using a Visual Basic script. Depending upon its position in the registry, the script enables or disables the Registry Editor. Doug Knox, a Microsoft Professional, created such a VB script “reg_enable.vbs”. Download this VB Script. Save this on the Desktop in your system. Make sure to save this file with the extension “.vbs”.

Now follow the steps below :
- Double click on the downloaded file to run it.
- If you are prompted for an Administrative Password, enter it and press ENTER.
- After this is done, restart your computer.
Your Registry Editor is re-enabled on completing reboot.
Instead of double clicking on the file, you may also open a Command Prompt window by clicking Start > All Programs > Accessories > Command Prompt.
- Now, type cd /d %userprofile%\desktop . [Replace %userprofile% by the Windows profile name of the user].
- Then type wscript.exe reg_enable.vbs and press ENTER.
- Type EXIT and press ENTER to close the Command Prompt window.
The Disable Registry Tools policy gets removed and your can access Registry Editor normally.
Fix 5 : By installing the UnHookExec.inf
Sometimes invasions by trojans, worms etc. edits the shell > open > command registry entries. Each execution process of an “.exe” file, executes the virus. In such a case,
- Visit the Symantec website and download the “UnHookExec.inf” file.
- Save this file on your desktop making sure that the file extension is “.inf”.
- Right click on this file and choose to install.
- With the process completed, restart your system.

Resuming Windows after reboot, restores the command registry entries and the Registry Editor is re-enabled.
Any of the above 5 fixes can be used to re-enable the Registry Editor. These fixes work in all versions of Windows.

A virus wrecked my computer and I have not been able to access any of my programs (i.e. regedit, control panel, MS Excel, etc.)for three to four weeks. I was starting to get frustrated until I found this site. The Fix #5 gave me my access back. THANK YOU FOR HELPING OTHERS LIKE ME!!! All the way from South Carolina….God Bless You!!
@Kinsc: Glad to know that your computer is again running with the help of our little tips. Thanks for your appreciation.
My safe mode and task manger + registry is not enabled every time i try to enable it it keeps working for like 3 sec then returns back disabled again i tried to delete the virus but the virus recovers again..
#5 worked perfectly for me all the others failed, thanks for this!
i use windows 7 home premium
my regedit command isnt coming
as well as my gpedit.msc command.
when i type them in the run dialogue, it doesnt function: it says, “registry editting has been disabled by my administrator”. what should i do?
Hi,
Thanks for your help. It was a much easier solution to recover regedit. Thnaks again.
Cheers
Pradeep
wow thank you soooo much man !! the first 4 methods failed but the last one worked ohhhh thanksss i needed dat for a long time :)
If you still having problems, try the following:
http://www.prime-expert.com/articles/b07/fix-registry-editing-has-been-disabled-by-your-administrator.php
Another Way is :– Open a User Account as administrator and you can access “regedit”. Reset the values in registry and delete the recently created account. Now you can edit regedit file from your account itself.
You can login as local admin and run regedit (so you can bypass this restriction and edit, for example, HKEY_LOCAL_MACHINE), but you won’t be able to access user’s (non-admin’s) HKEY_CURRENT_USER. By the way, admin’s version of HKEY_CURRENT_USER won’t have \Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools
option set to 1.
So, in general, no, this problem isn’t fixable from within regedit.exe.