'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\Policies\System\DisableRegistryTools" WshShell.RegDelete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools" WshShell.RegDelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr" WshShell.RegDelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRun" 'display message Message = "You should have access to Regedit and Task Manager now" X = MsgBox(Message, vbOKOnly, "Done") Set WshShell = Nothing Set fso = Nothing