HomeTechnology

Easy Steps For How To Disable CMD On Your System

Easy Steps For How To Disable CMD On Your System
Like Tweet Pin it Share Share Email

At first, we want to tell you about what is CMD? The main meaning of CMD is command line interpreter (CLI) to execute commands and variously operates through this interface. The operation is mainly implemented through the Windows 32 console. Early time the same thing is coming with the name DOS. Here we will show you the process how to disable CMD on your Windows PC. Actually, the CMD is also known as command prompt in general. This command prompt or CMD comes by default with Windows Operating System. Normally user has no need to disable this command prompt interface.

how to disable CMD

But still, if some of you want to disable and re-enable it on your PC then also it is available for you. To perform this operation you need to follow some steps one by one. Some of you may know about those steps very well. Still, besides that, some of the users do not have any idea to disable CMD or command prompt console in your Windows PC. Depending on this situation today we want to provide you the total information to disable CMD on your PC by applying some simple steps. Let’s start to do this operation by following the points below.

If you are Blocked On Facebook then check out how you can still send friend request.

Step by step process how to disable CMD on Windows PC?

As we already told you earlier that there is no need to disable CMD on a PC generally. But still, sometime you may require disabling it due to many reasons. Thus you must know the process to disabling the CMD feature on your system. There are total two recommended ways available through which you can able to disable CMD. They are:

  1. By using group policy editor
  2. By using registry editor

How to disable CMD by using Group Policy Editor?

At first, we will discuss the process to disable the CMD using group policy editor. This is an inbuilt application through which you can disable and enable your CMD console. Follow the steps discussed below for disabling CMD using group policy editor.

1. At first, Make sure that you have administrator right to makes those changes in system files or application. If you are a local user then try to log-in into the PC using Admin account ID and password. OR you may contact your device administrator for more.

2. Then after logging in to your PC press Win + R to open the run Window. Otherwise, you can press the Start button and then type the keyword Run in the search box. Hence the application will display and you need to click on it to open.

3. Now type the command gpedit.msc in the search box of the Run Windows and hit Enter button.

4. Thus the local group policy editor will open on your screen where it will show you the entire System file in every folder.

local group

5. From the left side of the editor Window navigate through the folder User Configuration>>Administrative Templates>>System and choose the option Prevent access to the command prompt by double click on it from the right side of the Window.

6. By this operation, the policy window will open to make changes in the settings of CMD. Here choose the button Enabled and click on Ok button. If you want to disable the command prompt script processing option then choose Yes from the drop-down menu under ‘Disable the command prompt script processing also?’

7. Now after making the whole changes, the command prompt will be disabled on your PC until you re-enable it again.

8. Now when you will open the Command Prompt Interface, it will show you that ‘The command prompt has been disabled by your administrator’.

9. If you want to re-enable the CMD on your PC then on the same process you can choose the Disable first and then choose No for script processing and make the changes to policy settings.

cancel prompt access

Also check out on how you can Shut Down A Computer Forever

How to disable CMD by using Registry editor?

The process is to disable the CMD by using the Registry editor window. Sometime sit is found that there is a problem coming while you want to open the group policy editor on your PC. In that case, you can also use the registry editor for disabling the CMD interface console. Know the process to disable the CMD using registry editor window.

1. At first, Make sure that you have administrator right to makes those changes in system files or application.

2. Then after logging in to your PC press Win + R to open the run Window. Otherwise, you can press the Start button and then type the keyword Run in the search box. Hence the application will display and you need to click on it to open same as like previous one.

3. Now type the command regedit in the search box of the Run Windows and hit Enter button.

4. Once the Registry editor Window has been open, now navigate to the folder as HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System.

registry editor

5. If you did not find the folder Windows or System then create them here.

6. Now you will see that the default value is set to ‘0’ for ‘DisableCMD’ which mean that command prompt is enabled for all users on this PC.

7. Now you need to change the value data by double click on the option ‘DisableCMD’ and set the value to ‘2’. Again if you want to stop the script processing then set the Value data to ‘1’.

8. If there is no specified value appear then create one Dword value with name ‘DisableCMD’ as the value you require.

disabled

That’s all about the two main recommended process how to disable CMD using the group policy and registry editor. Both the processes are an application for Windows PC to disable the CMD as our need. On the same process, you can enable the CMD again using the existing value. Besides these processes, if you want the simple one then choose any recommend app locker to disable using the CMD on your PC. Hope you all are satisfied with the information which we have provided here for disabling the command prompt interface.

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *

Skip to toolbar