Problem:-“whenever
i open regedit, it shows it has been disabled by your administrator.”
Hey We have
a Script to solve this problem....
Open Notepad
and Write down these lines:
'Enable
Registry Editing'
'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
WshShell.RegDelete
"HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools"
WshShell.RegDelete
"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools"
'display
message
Message =
"Hey your problem is solved by www.dimbeswar.blogspot.com. You should have
access to Regedit now"
X =
MsgBox(Message, vbOKOnly, "Done")
Set WshShell
= Nothing
Set fso =
Nothing
After that
save it as EnableRegistryEdit.vbs and run the file.
No comments:
Post a Comment