All the Tips and Tricks posted in this blog are gathered from various web sites. We are not responsible for any damage occurred due to these posts.

My Links
Java J2EE Practise

Thursday, March 16, 2006

How to Enable REGEDIT

Copy and paste the following code between the lines in a notepad and save it as EnableRegistryEdit.vbs on our desktop (or any other location)

--------------------------------------------------------------------------
'Enable Registry Editing'
'© Veegertx - 4/7/2004
'This code may be freely distributed/modified
On Error Resume Next
'Prevents errors from values that don't exist
Set WshShell = WScript.CreateObject("WScript.Shell")
'Delete DisableRegistryTools registry values
'save this file as EnableRegistryEdit.vbs

WshShell.RegDelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Po licies\System\DisableRegistryTools"
WshShell.RegDelete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Po licies\System\DisableRegistryTools"

'display message
Message = "You should have access to Regedit now"

X = MsgBox(Message, vbOKOnly, "Done")
Set WshShell = Nothing
Set fso = Nothing
--------------------------------------------------------------------------

Once saved, click on that script file and your registry should start working.



================================================== =========================

Lets say now for some logical reason if you want to disable the regedit again, save the following text between the lines in a notepad on desktop as DisablingRegEdit.reg and execute it once saved. your registry will get disabled.

You can always enable it from the above procedure.

--------------------------------------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\System]
"DisableRegistryTools"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Group Policy Objects\LocalUser\Software\Microsoft\Windows\Curre ntVersion\Policies\System]
"DisableRegistryTools"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer]
"NoSaveSettings"=dword:00000000
--------------------------------------------------------------------------

9 Comments:

Blogger madman said...

it said work done., but th same problem again

11:26 AM  
Blogger omar122 said...

tanxxxxxxx

6:56 AM  
Blogger Vic said...

i followed the instuction and it said that i can access regedit after that.
but turn out that i still can't access it :(

1:24 AM  
Blogger மீறான் அன்வர் said...

Hey ! this is the best way I found.

Start -> Run -> gpedit.msc -> User Configuration -> Administrative Templates -> System -> Prevent access to registry editing tools -> Right Click Properties -> Disabled.

It's working good..

Thanx

Meeran Anwar

10:37 PM  
Blogger somu said...

whenI put regedie.exe cmd in run tab It will opened in notepad.
Pls tell me if anybody solve in this problem.

12:07 PM  
Anonymous Anonymous said...

i had done all the process with carefully but stil my regedit is not opening and showing a error that your "registry editing is disable by your administrator"

6:06 PM  
Blogger Unknown said...

hey none of the above clues has solved my problem can anyone over there help me out to solve this problem

1:56 AM  
Blogger AyazUddin said...

It's not working at all, Can u plz tell me is there anything to manipulate with gpedit.msc since i am unable to find prevent regedit tools in Administrative Templates
->System->Prevent access to registry editing tool in either user configuration or computer configuration

11:39 PM  
Blogger AyazUddin said...

it's working right.

12:17 AM  

Post a Comment

<< Home