Discussion Locked

registry editer

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
logged on as administratior and getting message that regedit has been disabled by my administrator. Since I should be the administrator how can I restore this privelege

2 replies

by darts32

Found this from someone else. I tried it and it does work.

Copy all starting with 'Enable Registry Editing and save to a text file and call it EnableRegistryEdit.vbs
Of course you need to have scripting enabled. Then simply double click and it will delete that value from registry.

'Enable Registry Editing
'? Veegertx - 06/27/2003
'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 = "You should have access to Regedit now"

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

Good luck.

by sfc_gijoe

If logging onto the Local Admin account then go to run and enter gpedit.msc. Go to User Configuration => Administartive Templates => System. Make sure "Prevent access to registry editing tools" is not enabled.

If logging on to a Domain you will need to make sure the above policy is not enabled on the Server Group Policy

This discussion is closed to new replies.