CyberSolutions: Disable Cmd In Windows

Wednesday, June 24, 2015

Disable Cmd In Windows

The Command Prompt is one of the advanced tools you get in Windows which emulates MS-DOS command line abilities to perform various actions like advanced administrative tasks, manipulating the entire operating system and its programs, executing batch files, troubleshooting Windows issues, etc. In good hands, the Command Prompt can do a lot of advanced stuff on your Windows computer. But if you are a system administrator and don’t want your users to mess around with the Command Prompt, you are better off disabling this feature entirely.


1. To disable the command prompt using the Group Policy editor, press “Win + R”, type gpedit.msc and press the Enter button. This action will open the Windows Group Policy Editor.

Here, navigate to the Policy “User Configuration -> Administrative Templates -> System” and double-click on the option “Prevent access to the command prompt” located in the right pane.

2. This action will open the policy settings window. Here select the radio button “Enabled” and click on the “Ok” button to save the changes. Now, if you also want to disable the script execution, then select the option “Yes” from the drop-down menu next to “Disable command prompt script processing also” under “Options.”

3. Once you are done with the configurations, the change is immediate. In fact, open up the command prompt and you will see a message something like “The command prompt has been disabled by your administrator.” Since the change is universal, even the administrator is locked out of the command prompt. Pressing any key after the message will just exit the command prompt window by default.

4. If you ever want to re-enable the command prompt, just reverse the process by selecting either of the radio buttons “Not configured” or “Disabled” and you are good to go.

No comments :

Post a Comment