Custom Search

Wednesday, October 14, 2009

How to Enable Taskmanager, Command, and RegEdit using VBScripting

In this How To blog I'm going to show you how to enable Taskmanager, Command, and RegEdit using vbscript.

Before we begin enabling this tools be sure to kill/terminate all processes that you think is malicious. Go to this post to know how to do it: How to Kill a Process Using VBScript

Creating a .vbs file

Go to run and type 'notepad', without quotes. Then press enter. A notepad will open, go to file then click Save As.. then change the Save As Type into All Files. Then name it as 'enable_tools.vbs'.

Enabling Taskmanager, command (cmd), and Regedit

Paste this code inside enable_tools.vbs file that you have just created:
set a=wscript.createobject("wscript.shell")
a.regwrite "HKCU\software\microsoft\windows\currentversion\policies\system\disableregistrytools", 0, "REG_DWORD"
a.regwrite "HKCU\software\microsoft\windows\currentversion\policies\system\disabletaskmgr", 0, "REG_DWORD"
a.regwrite "HKCU\Software\policies\microsoft\windows\system\DisableCMD", 0, "REG_DWORD"
Then click save and run it by double clicking the actual file (enable_tools.vbs). After that your Taskmanager, Regedit, and cmd are now enabled!

Again, be sure to kill the malicious process first before running your script (enable_tools.vbs), because if you don't those tools that you have enabled (taskmanager, regedit, and cmd) will automatically be disabled again right after you run your script.

Thats All!





No comments:

Post a Comment