regedit permissions

  • Thread starter Thread starter Gary Roach
  • Start date Start date
G

Gary Roach

i'm trying to run regedit under xp home using an administrative account and
i get a message saying that the administrator has disabled registry editing.
how do i reenable it? if i create a new administrative account i'm able to
run regedit but i want to be able to use it under the account in question.
any help is greatly appreciated.

gary
 
Copy and paste the following code in Notepad, save the text file as
"unlockreg.vbs" and then run the script file. This will unlock the regedit
for you.

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\DisableRegis
tryTools"
WshShell.RegDelete
"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegis
tryTools"

X = MsgBox("You should have access to Regedit now", vbOKOnly, "Done")
Set WshShell = Nothing
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top