rizhoums

Untitled

Jan 30th, 2013
7,824
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Set WshShell = CreateObject("WScript.Shell")
  2. Var_YN = MsgBox("Enable Registry Editor?", vbYesNo, "Registry Hacker")
  3. If Var_YN = 6Then
  4. WshShell.RegWrite
  5. "HKCU\Software\Wicrosoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools",0,"REG_DWORD"
  6. WshShell.Run("RegEdit.EXE")
  7.  
  8. Else
  9. WshShell.RegWrite
  10. "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools",1,"REG_DWORD"
  11. Var_Ok = MsgBox("Registry Editor is Disabled!", vbOkOnly, "Registry Status")
  12.  
  13. End If
Advertisement
Add Comment
Please, Sign In to add comment