Computer step by step
 Make your Pc better
Type C:\Windows\System32 and press Enter
In the System32 folder you can find cmd file
Disable:          

When you open Command Prompt this message will be displayed:
The command prompt has been disabled by your administrator.
Press any key to continue ...
Type gpedit.msc and press Enter
In the Group Policy window please navigate to User Configuration -> Administrative Templates ->
System and open Prevent access to the command prompt
The Default state is Not Configured and Command Prompt is Enable
To Enable cmd select Disable
To Disable cmd select Enable

To finish press ok button and close Group Policy window
Type regedit and press ok
Please confirm UAC pop-ups in order to continue
Microsoft official disclaimer

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by
using another method. These problems might require that you reinstall the operating system. Microsoft
cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Please navigate to HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System
and locate DisableCMD registrykey
Double click on DisableCMD and edit the value:

To Disable Command Prompt Only:

Change the data value with 2

To Disable Command Prompt and Scripts

Change the data value with 1

To Enable Command Prompt:

Change the data value with 0

To finish press ok button and close Registry Editor window
Path:          
This method shows you where Command Prompt is located in Windows using Windows Explorer
Please perform the following steps:

Please go to Pearl button (Start) and click on the Search programs and files
For more information about the change from Start to Pearl button click here
Description:  

Command Prompt is a feature of Windows that provides an entry point for typing MS-DOS (Microsoft Disk
Operating System) commands and other computer commands. The most important thing to know is that
by typing commands, you can perform tasks on your computer without using the Windows graphical
interface. Command Prompt is typically only used by advanced users.

For more information please continue to read the official Microsoft article
How to Disable/Enable Command Prompt
Windows Vista Windows 7 Windows Xp
Gpedit:          

Warning Computers running Windows Vista Home do not have access to Group Policy (gpedit.msc)
This method shows you how to Disable/Enable Command Prompt from Group Policy
Please perform the following steps:

Please go to Pearl button (Start) and click on the Search programs and files
For more information about the change from Start to Pearl button click here
Regedit:          
This method shows you how to Disable/Enable Command Prompt from Registry Editor
Please perform the following steps:

Please go to Pearl button (Start) and click on the Search programs and files
For more information about the change from Start to Pearl button click here
   
   
   
   
   
Description Path Disable Gpedit Back Regedit Up Back