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
--------------------------------------------------------------------------