'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" 'display message Message = "You should have access to Regedit now" X = MsgBox(Message, vbOKOnly, "Done") Set WshShell = Nothing Set fso = Nothing