Jun 25, 2010

Disable Command Prompt

Do you want to disable the Command Prompt. Try this out.

1. Goto start, then run and type regedit.

2. On the left frame goto HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System.
(If windows is not created then right click, then new and select key. Rename it to windows. same for system)

3. On the right frame, right click,then new and select DWORD Value.

4. Change its name to DisableCMD.

5. Right click on DisableCMD and set a number from the list below:

0 - (default) enable command prompt and batch files
1 - disable command prompt and batch files
2 - disable command prompt but allow batch files

No comments:

Post a Comment