How to Permanently Disable Command Prompt in Windows 10

Despite being one of the most effective utility, you might be thinking to Permanently Disable Command Prompt in Windows 10 because of safety issues. Commands (cmd.exe) comes handy when users need to utilize MS-DOS commands to accomplish advanced tasks, manipulate Windows operating system along with programs and troubleshooting of various problematic processes. So, to stop every user, including the Administrator from accessing this built-in tool, we will show you two simple ways to do it.

Methods to Permanently Disable Command Prompt in Windows 10

Things might reverse either way if bestows in wrong hand using this utility for running a command that might cause harm to the Windows or make drastic changes in the computer. However, making Disable Command Prompt in Windows 10 involves some tweak in Local Group Policy Editor as well as Registry Editor. We will show them in details upon proceedings.

Method-2: Through Registry Editor

3. Now, navigate to the following path from the left pane of the Registry:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System

Note- If you see the System key is missing under Windows, you need to create it. To do so, go through the below procedure:

i. Make a right click on the Windows key, hover the cursor over New and then choose the Key option.

ii. Name this key as System.

4. Now, jump over to the adjacent right side and check if there is a DWORD DisableCMD is present or not.

5. If you cannot find it, you have to Create a New DWORD Value. So, put a right click on System key, select “New” and then click “DWORD (32-bit) Value“.

6. Name the new DWORD as DisableCMD and perform a double-click on it.

7. The value data is 0 by default represents Command Prompt is enabled. As you need to disable it completely, change the value from 0 to 2 and select Ok button to save the changes.

Therefore, with an easy registry tweak also, you can quickly Disable Command Prompt in Windows 10. If you want to enable it again, follow the exact same procedure and put the value of DWORD DisableCMD to 0 again.