Page copy protected against web site content infringement by Copyscape
Showing posts with label fix. Show all posts
Showing posts with label fix. Show all posts

Wednesday, February 27, 2008

Reversal Script to fix the damage that Destrukto did to the registry.

Dim fix
Set fix = WScript.CreateObject("WScript.Shell")
fix.regwrite "HKCU\Software\Microsoft\Internet Explorer\Main\Window Title","Microsoft Internet Explorer"
fix.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoFind",0,"REG_DWORD"
fix.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoRun",0,"REG_DWORD"
fix.regwrite "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools",0,"REG_DWORD"
fix.regwrite "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr",0,"REG_DWORD"
fix.regwrite "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ShowSuperHidden",1,"REG_DWORD"
fix.regwrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\NoFolderOptions",0,"REG_DWORD"
fix.regwrite "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore\DisableConfig",0,"REG_DWORD"
fix.regwrite "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore\DisableSR",0,"REG_DWORD"
fix.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDriveTypeAutoRun",1,"REG_DWORD"

Copy the script above and rename it to whatever you like,(fix.vbs). It is important to have an extension of vbs so that it will be a script. And now you can use task manager to kill the "wscript.exe" and to find that annoying explorar.vbs.