August 01, 2007

CMD - Enable/Disable(Win XP)


Recently, I've found that some modified viruses are capable to make Disable CMD (MS-DOS Command Prompt) or sometimes System Administrator makes it Disable. But, you can easily Enable CMD (MS-DOS Command Prompt) with following difference steps:

Step(1) With help of Group Policy:
  • Go to Run command and type "gpedit.msc" and get Group Policy window.
  • Then find "System" settings under "Administrative Templates" in left pane.
  • Then go to right pane and make right click on "Prevent access to the command prompt" and get 'Properties' window.
  • Make it Enable/Disable/Not configured through 'Properties' settings of "Prevent access to the command prompt" which you can see below.
  • Then click on Apply and Ok.

Step(2) With help of Registry Editor:
Go to Run command and type "regedit". Open Registry editor and find "DisableCMD" dword value under following registry hive:
  • HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows \System
..and set it 0(zero) for Enable CMD and set it 1(one) for Disable CMD.

Step(3) With help of Registry Merger:

Go to Notepad and type or copy/paste following text and save it with .reg extension and just run(merge) it with double click:
  • For Enable CMD:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows \System]
"DisableCMD"=dword:00000000

  • For Disable CMD:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows \System]
"DisableCMD"=dword:00000001

No comments: