.      How to articles       Windows Services       Group Policy             Donate        
Computer step by step

How to Disable/Enable Command Prompt


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 read the Wikipedia article.

Path Disabled Gpedit Regedit

Type regedit and press Enter


This method shows you how to Disable/Enable Group Policy 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

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 registry key

Please confirm User Account Control pop-up

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