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
--------------------------------------------------------------------------
--------------------------------------------------------------------------
'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:
it said work done., but th same problem again
tanxxxxxxx
i followed the instuction and it said that i can access regedit after that.
but turn out that i still can't access it :(
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
whenI put regedie.exe cmd in run tab It will opened in notepad.
Pls tell me if anybody solve in this problem.
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"
hey none of the above clues has solved my problem can anyone over there help me out to solve this problem
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
it's working right.
Post a Comment
<< Home