Showing posts with label VBScript. Show all posts
Showing posts with label VBScript. Show all posts

Tuesday, June 3, 2008

Enabling The Registry Editor

If some malware disables the Registry Editor, use the following steps to restore it.

1. Open Notepad. Click Start>Run, type Notepad, then press Enter.
2. Copy and paste the following:

 on error resume next
 set jzw = CreateObject("Wscript.Shell")
 jzw.regwrite  "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools",0,"REG_DWORD"
 jzw.regwrite  "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr",0,"REG_DWORD"
 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
  "DisableRegistryTools" = dword:00000000


3. Save this file as C:\RESTORE.REG.
4. Click Start>Run, type C:\RESTORE.REG, then press Enter,
5. Click Yes at the prompt of the message box.