Home > Security, Software, Tweak > RegSwitch, TaskmgrSwitch, cmdSwitch VB Scripts

RegSwitch, TaskmgrSwitch, cmdSwitch VB Scripts

April 20th, 2009 Leave a comment Go to comments

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

Registry editing has been disabled by your administrator



Task Manager has been disabled by your administrator

Task Manager has been disabled by your administrator

The command prompt 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.
    regswitch3regswitch2
  • TaskmgrSwitch
    You can use this to turn on/off Task Manager i.e to block or unblock taskmgr access.
    taskmgr2taskmgr3
  • 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.

regswitch

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.

  1. No comments yet.
  1. No trackbacks yet.