RegSwitch, TaskmgrSwitch, cmdSwitch VB Scripts
A virus or trojan usually disables or blocks access to regedit, taskmgr and cmd. Whenever you access these disabled components, you’ll get a dialog box with messages like these :
“Registry editing has been disabled by your administrator” or
“Task Manager has been disabled by your administrator” or
“The command prompt has been disabled by your administrator”

Registry editing has been disabled by your administrator

Task Manager has been disabled by your administrator

The command prompt has been disabled by your administrator
Well, here are my first VB Scripts that are damn useful to fix these problems. I did borrow the idea from another similar script. But these scripts have more features.
-
RegSwitch
You can use this to turn on/off registry editing access i.e to block or unblock regedit.

-
TaskmgrSwitch
You can use this to turn on/off Task Manager i.e to block or unblock taskmgr access.

-
cmdSwitch
Similar to the above two, this will enable/disable Command Prompt access.
All the above scripts first check for existence of regedit.exe/taskmgr.exe/cmd.exe and also log events to the Event Log.

Just run the scripts again to toggle between on and off. The scripts have been tested successfully on XP SP3 and Vista SP1. Please let me know if there are any bugs. You can view the source code of the script by opening it with notepad
Download RegSwitch
Download TaskmgrSwitch
Download cmdSwitch
P.S : These scripts were initially posted by me at Raymond.cc Forum.
