How to disable access to the CMD command prompt in Windows 10

Who I am
Philippe Gloaguen
@philippegloaguen
Author and references

The versatility of the work operating Windows is already known and beyond the various configurable functions it has. That is why, if we are not the only ones using the computer, it is possible that someone with average knowledge of its use may make changes without permission. As we understand, today we want to teach you how to disable access to CMD command prompt in Windows 10.

This is possible due to the fact that this command prompt tool can access many tasks and be edited. Something that could have dire consequences.



If a curious user enters this window to make changes, the results can be fatal to the system. For this reason it is suggested to disable this feature and only the administrator can access it.

In Windows, these have been a widely used tool to perform specific tasks on the system. But now with the new version of Windows 10 it is possible to take advantage of another tool that is much more powerful than the previous one. And if you want, you can simply replace the cmd command prompt with PowerShell.

How to disable access to the CMD command prompt in Windows 10

If we are the manager user of a computer with work operating Windows 10, we don't want anyone else to have access to the command prompt for any reason. Especially if the simple path to it is already known, via the executable box and typing the command cmd.

Is that through this console you can perform various tasks at the administrative level, configure important aspects of the operating system, among other things. So if we decided to disable access to command prompt, here we will indicate the simple steps to take for this to be applicable from now on.



Here are the steps to disable access to the CMD command prompt in Windows 10

Before we begin, you should know that we will enter the system registry in order to disable access to the CMD command prompt in Windows 10. And for this reason we must be extremely attentive to the changes we are going to make. So the first thing we're going to do is go to the Windows 10 Start menu and type the following command in the search box.

Regedit and then we will follow the following path in this registry, HKEY_CURRENT_USER Software Policies Microsoft Windows System. It is very likely that you will not get the System section and will have no choice but to create it. To do this, we will go to the menu located on the right side.

This way we will have the path we need, now we need to create the 32-bit DWORD type value and the value name will be DisableCMD.

Now the next step is to enter the value information. If we put the number 2, we will disable the command line. But if we put the number 1 instead, it would also disable the command line, as well as the use of batch files.


In this way we end up with the changes that we are going to make in the registry and we have to exit them and then restart our computer. This will apply the changes we have made, we insist that you be very careful when entering this delicate area of ​​the system.

Once the Windows 10 OS is reloaded, you can verify that Command Prompt access has been limited. We know for logical reasons that sooner or later you will have to reactivate this tool. To do this, you just have to follow the same steps that we indicate in this tutorial and cancel or delete the entry you created.


You realize how easy it can be to disable features in Windows 10, so that only you can have complete control over your computer. And in the time it took you to read the article, you learned how to disable access to CMD command prompt in Windows 10.


add a comment of How to disable access to the CMD command prompt in Windows 10
Comment sent successfully! We will review it in the next few hours.