- Home
- Windows Vista
- Scripts
- Error "Registry editing has been disabled by your administrator" when you open the Registry Editor in Windows Vista
- Home
- Windows Vista
- Error messages
- Error "Registry editing has been disabled by your administrator" when you open the Registry Editor in Windows Vista
Error "Registry editing has been disabled by your administrator" when you open the Registry Editor in Windows Vista
- Copyright © 2008 Ramesh Srinivasan
- Scripts , Error messages
Symptom
When you attempt to start the Registry Editor (regedit.exe) in your Windows Vista system, you may receive the following message:
Registry editing has been disabled by your administrator

Resolution
If the above error message is shown in a standalone system, then it may be a result of Malware infection. It is also possible that the DisableRegistryTools policy had been enabled by a third-party tweak program which you may be using. It's highly advisable to follow up with a complete system checkup for Virus and Malware, especially when you're unsure about the cause.
Method 1 - Using Group Policy Editor
If you are using an edition of Windows Vista (Windows Vista Business, Enterprise and Ultimate editions) which includes the Group Policy Editor, follow these steps:
- Click Start, type gpedit.msc in the Search box, and press ENTER
- Go to the following branch:
User Configuration | Administrative Templates | System
- Double-click Prevent access to registry editing tools
- Set it as Not Configured
Important: If it's already set to Not Configured, set it to Enabled and click Apply. Then repeat the steps and revert the setting back to Not Configured. This removes the registry based policy if set already.
Method 2
This method should work in all editions of Windows Vista.
- Download reg_enable.vbs attached at the end of this article, and save it to Desktop
- Open an elevated command prompt. To do this, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.
- Switch to your Desktop directory by typing the following command, and then pressing ENTER:
cd /d %userprofile%\desktop
- Then, type the following command and press ENTER
wscript.exe reg_enable.vbs
- Type EXIT to close the Command Prompt window.
If everything worked fine, the DisableRegistryTools policy should have been removed by now. See if you're able to launch Regedit.exe now.
Attachments
Related Articles
Related Links
If you enjoyed this post, make sure you
subscribe to our RSS feed!
We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?
38 Responses to "Error "Registry editing has been disabled by your administrator" when you open the Registry Editor in Windows Vista" 
|
said this on 25 Jul 2007 11:29:11 PM PDT
Excellent!
Fantastic!
|
|
said this on 29 Aug 2007 5:14:36 PM PDT
Amazing this tool ineed worked in Win-XP as well. Excellent trick :)
|
|
said this on 03 Sep 2007 2:32:23 PM PDT
Thanks alot man
briliant
u r the hero
|
|
said this on 26 Sep 2007 12:57:44 PM PDT
Amazing, U r ffabulous n this surely helped me 101%
Thanx again
|
|
said this on 27 Sep 2007 5:11:39 PM PDT
You are really wonderful, man. It restored my task manager. Thanks a lot and more power.
|
|
said this on 04 Nov 2007 1:41:45 PM PDT
very helpfull information i solve my problum
|
|
said this on 09 Nov 2007 2:09:56 PM PDT
Thanks dude. It worked. I hope there is no problem in future.
|
|
said this on 23 Nov 2007 2:09:35 AM PDT
This Worked Great! Thanks A Lot!
|
|
said this on 08 Dec 2007 12:38:25 PM PDT
Awesome... working fine
|
|
said this on 04 Jan 2008 3:13:22 AM PDT
Aliluya!!!! Thanks a lot! Worked from 1st try.
One only thing - please use proper path to wscript.exe: c:\windows\system32
|
|
said this on 18 Feb 2008 11:15:41 AM PDT
Great. My system is WinXP and it worked!
|
|
said this on 23 Apr 2008 12:57:49 AM PDT
In Win-XP I manged to launch the REGEDIT command, but could not CREATE a DWORD value named Administrator (for ultimately setting its data to 1) ... & getting the following
Error Creating Value
Cannot create value:Error writing to the Registry
Kindly HELP
|
|
said this on 24 Apr 2008 2:36:42 AM PDT
thank u very much
u re a genius
|
|
said this on 28 May 2008 6:17:22 AM PDT
wonderful .... i'm able to edit regedit now. Thanks
|
|
said this on 04 Jun 2008 4:20:22 AM PDT
thanks man. nice suggession
|
|
said this on 05 Jun 2008 2:23:20 AM PDT
Thank ypu very much it worked fine
|
|
said this on 17 Jun 2008 10:49:17 PM PDT
Both methods do not work for me.
In Method 1, there is no "Prevent access to registry editing tools" option under "System" in the Group Policy Object Editor, and thus I am stuck.
On the other hand after working with DOS using Method 2, a message box pops out and says,
Script: C:\Users\My Account Name\Desktop\reg.enable.vbs
Line: 29
Char: 2
Error: Invalid root in registry key
"HKEY_USERS\S-1-5-21-2326484213-3647833774-1318810321-1000\Soft
ware\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegis
tryTools".
Code: 80070005
Source: WshShell.RegDelete
Please help. What am I going to do?
Thank you very much!
|
|
said this on 21 Oct 2008 10:02:43 AM PDT
Perfect solution esp. the Important section when using Method 1 - Using Group Policy Editor
|
|
said this on 31 Oct 2008 8:16:15 AM PDT
Thanxalot....all i had to do was just download reg_enable.ws 4m here and double click it....para beem para boom
|
|
said this on 07 Nov 2008 1:57:43 AM PDT
Thanxalot....all i had to do was just download reg_enable.ws 4m here and double click it....para beem
|
|
said this on 09 Nov 2008 4:38:04 AM PDT
GEAT JOB. I have solve my problem from your method no.1
|
|
said this on 27 Feb 2009 7:13:33 PM PDT
Genius!!!!!!!!!
Thanks Sir :)
|
|
said this on 06 Apr 2009 12:26:51 PM PDT
This worked pretty good along with malwarebytes.
|

Author)