How to Enable the Registry Editor When Disabled by Administrator

Registry Editor, a main registry editing tool equipped in all versions and editions of Windows operating system, can be disabled, blocked and locked to prevent the RegEdit from been ran or executed by users in order to protect important system registry. Other possibility of Registry Editor been disabled is caused by virus or worm such as W32/Brontok-C.

When Registry Editor is disabled, user unable and cannot open or run Registry Editor anymore. Any attempt to run RegEdit.exe will return the error “Registry editing has been disabled by your administrator”. Hence it’s impossible to remove the restriction on Registry Editor usage by using the Registry Editor itself. However, it’s possible to use various workaround to directly edit the registry to remove the policy that blocks Registry Editor usage.

Registry editing has been disabled by your administrator

Enable Registry Editor using Local Group Policy Editor

For user using Windows XP Professional, Windows Vista Ultimate, Windows Server 2003 or 2008 with Local Group Policy Editor and has access to an administrative user account, user can change the registry editor options in the Local Group Policy Editor.

  1. Click on Start -> Run (or Start Search in Windows Vista).
  2. Enter GPEdit.msc and then press Enter.
  3. Navigate to the following location:

    User Configuration -> Administrative Templates -> System

  4. In the Settings pane, locate the Prevent access to registry editing tools option, and then double-click on it to open the settings dialog.
  5. Select Disabled or Not Configured.
  6. Click on OK button.
  7. Try to run RegEdit.exe, and if required (still blocking yet), restart the computer.

VBS Script to Enable or Disable Registry Editor

Doug Knox has created a .vbs VB script that able to toggle between enable or disable the Registry Editor. Right click to download and save the regtools.vbs into a folder. Then double click on the VBS file to run it.

The regtools.vbs VB script file will check for the appropriate value related to disabling/enabling of Registry Editor. If the registry key is not found, the key will be created to disable Registry Editor. If the value was found, it will be toggled to its opposite state and you will be informed that you need to log off and log back on or restart your computer. All change by the script is made in HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System.

UnHookExec.inf by Symantec to Reset Registry Values to Default Settings

In many cases, disabling of Registry Editor is caused by virus, worm or Trojan, which attempts to stop user from fixing any changes to the registry, which normally affects changes to one or more of the shell\open\command keys. For example, exefile\shell\open\command key is changed, the virus, worm or Trojan threat will run each time that system run any .exe file. As such, Symantec create a .inf script tool to reset these registry values to their default settings.

WARNING: The UnHookExec.inf will reset registry keys and values related to BAT, COM, EXE, PIF, REG and SCR extensions, beside re-enabling the Registry Editor. Hence, users who just want to re-enable the Registry Editor has to manually modify the .inf file to remove the unnecessary commands.

Download the file UnHookExec.inf and save it to your Windows desktop.

Right-click the UnHookExec.inf file and click install. Action will be taken immediately. No display, nor any notice or boxes will appear before or after running. Try to run RegEdit.exe again, restart and reboot PC if it’s still blocked.


15 Responses to “How to Enable the Registry Editor When Disabled by Administrator”

  1. farooq
    November 2nd, 2009 15:17
    15

    thanks to UnHOOkexic file, it helped me alot
    :-bd

  2. vishal
    October 20th, 2009 01:22
    14

    very very thank you
    befor my pc d’not show hidden file
    after my pc show
    ok

  3. Rahul
    October 13th, 2009 18:51
    13

    thank u so much..really helped

  4. Irene
    October 8th, 2009 10:31
    12

    i can’t find system under administrative templates.
    help please..

  5. tanner
    October 2nd, 2009 02:48
    11

    when i try to do this “cannot edit DisableCMD: error writing the values new contetns” pops up

  6. Soyer
    August 30th, 2009 19:26
    10

    Thnx a lot the UnHookExec.inf works,thx a lot :)

  7. jatt
    July 31st, 2009 02:20
    9

    Discovered: May 7, 2004
    Updated: December 14, 2005 12:00:00 AM
    Type: Removal Information

    As part of their routine, many worms and Trojans make changes to the registry. Some of them change one or more of the shell\open\command keys. If these keys are changed, the worm or Trojan will run each time that you run certain files.

    For example, if the \exefile\shell\open\command key is changed, the threat will run each time that you run any .exe file. This may also stop you from running the Registry Editor to try to fix this.

    They may also change a registry value so that you cannot run the Registry Editor at all.

    Symantec Security Response has created a tool to reset these registry values to their default settings.

    WARNING:
    Do not use this tool unless:
    A Symantec technician or document directs you to do so.
    After reading the removal instructions in the writeup, you are sure that the tool is required.

    Follow these steps:

    Download the file UnHookExec.inf and save it to your Windows desktop.

    (If you cannot connect to the Internet from the infected computer, download to an uninfected computer then save it to a floppy disk. Then take the floppy disk and insert it in the floppy disk drive of the infected computer.)

    Note: The tool has a .inf file extension.

    Locate the download file, either on the Windows desktop or the floppy disk.

    Right-click the UnHookExec.inf file and click install. or copy and paste in u r note pad save as UnHookExec.inf and save in side u r admin folder or whatver u r acount name it and clilck it here is code

    [Version]
    Signature=”$Chicago$”
    Provider=Symantec

    [DefaultInstall]
    AddReg=UnhookRegKey

    [UnhookRegKey]
    HKLM, Software\CLASSES\batfile\shell\open\command,,,”"”%1″” %*”
    HKLM, Software\CLASSES\comfile\shell\open\command,,,”"”%1″” %*”
    HKLM, Software\CLASSES\exefile\shell\open\command,,,”"”%1″” %*”
    HKLM, Software\CLASSES\piffile\shell\open\command,,,”"”%1″” %*”
    HKLM, Software\CLASSES\regfile\shell\open\command,,,”regedit.exe “”%1″”"
    HKLM, Software\CLASSES\scrfile\shell\open\command,,,”"”%1″” %*”
    HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\System,DisableRegistryTools,0×00000020,0

    (This is a small file. It does not display any notice or boxes when you run it.)

    Follow any other instructions for the threat that you are trying to remove.

  8. Chris
    June 2nd, 2009 11:52
    8

    While I can’t say I have had luck with this web page. The tips are valid however the Symantec file and the VBS script keep only coming up as text files.

  9. exinco
    May 20th, 2009 22:02
    7

    my pc with vista business was attack by jambanmu.com, flash.10.exe and macromedia.10.exe.

    all desktop are blank (black screen). start button and task bar are disappear. cannot run regedit.

    i’m totally lost

  10. albert
    March 7th, 2009 13:07
    6

    works great, thanks for this

  11. kundan
    February 22nd, 2009 03:48
    5

    thanx!

  12. Mani
    February 13th, 2009 12:04
    4

    what to di when both regedit and gpedit.msc are diabled by administrator which happens generally.

  13. UweS.
    December 23rd, 2008 17:10
    3

    not bad, but that doesn’t work if the user isn’t able to run gpedit.msc.

    Most of the admins restrict this too.

  14. venkat
    December 23rd, 2008 13:34
    2

    symantec’s tool is very useful when registry is disabled,it also easy to use for beginers.

  15. How to Disable Registry Editor Editing Tool (RegEdit) » My Digital Life
    December 23rd, 2008 02:12
    1

    [...] registry, and will not be able to use Regedit to undo the change. However, there are workarounds to re-enable the Registry Editor after [...]

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

regedit disabled by administrator - how to enable registry editing - how to enable regedit - how to enable regedit disabled by administrator - enable registry editor - enable regedit - enable regedit vista - how to enable registry editor - re enable regedit - regedit is disabled by administrator - enable registry editor xp - Enabling Registry Editing - enable regedit gpedit msc - how to re-enable regedit - how to enable Vista's Registry - regedit disabled by administrator on vista - regedit disabled by administrator vista - UnHookexec.inf - enable registry editing - windows seven how to enable registry editing - download UnHookExec.inf - enable registry editor for vista - windows xp registry changes blocked by administrator - enable registry editing xp - enable registry disable by administrator - how can i enable my registry - reenable regedit - unhookexec.inf free download - UnHookExec.inf does not work - UnHookExec.inf descargar - vista regedit disabled by administrator - how to enable registry key - reenable registry editor - regedit disabled by admin - registry editing is disabled by administrator - script to enable regedit - ENABLE REGISTRY - how to enable registry in vista - regedit enable vista - batch file to enable regedit - open to run the registry as an administrator - administrator re-enable regedit - Can't clilck Start Menu in XP - cannot edit disablecmd error writing the value's new contents - enable regedit vbs - enable regedit on windows 7 - enable regedit registry - enable regedit on win 7 - enable regedit in xp - gpedit.msc delete built in administrator account -