Skip to main content

How to Disable Command Prompt Windows 10

For someone who expert with DOS, he can do everything through the Command prompt, entering to the system, change the configuration, etc.


To prevent others while use your Window computer  from entering to the command prompt, you can make it disable.

To disable Command prompt in Window 10 the easiest way is through GpEdit (Local Group Policy ditor).
You can also use the Registry editor. But in this post will use  the Local Group Policy editor


How to disable Command prompt using Gpedit:

1. Press Windows + R key (to enter Run), then type gpedit.msc click OK or press Enter.



The Local Group Policy Editor window will appear.
2. Navigate to User Configuration --> Administrative Templates --> System.
3. Double click on Prevent access to the command prompt.



4. In the Prevent access to command prompt window, select Enabled, then click Apply click OK.



Now if you run the command prompt, it will not work and has warning message : The command prompt has been disabled by your administrator,  (see capture below),



To re-enable the Command prompt, do the same step, but in step 4 select Not Configured or Enabled.

Popular posts from this blog

How to Enable Hyper Terminal In Windows 7

Hyperterminal Windows 7. Windows 7 Hyperterminal. Hyper terminal is used for data communication via serial port com or TCP/IP Winsock. Unfortunately on Windows 7, Windows 8 and Windows 10 we can't see anymore, even though many of us who still need it, and it is not the solution if we have to go back to Windows XP. The solution :

Vaio stuck on loading screen after upgrading to Windows 10

My Sony Vaio laptop model : VPCCA16FB with originally using Windows 7 operating system, then now I already upgraded it to Windows 10. All drivers are already installed for each device, everything is OK with this Windows 10 OS. The only problem is:  when I switch the laptop on or restarting it, after vaio logo appears then it stuck with blank screen and it takes about 2 minutes. After that, then it continues to loading Windows. After I googling about the problem, I am not only the one, other people also have the similar problem with their laptops. The cause is in the Ultra Low Power State (ULPS) system. ULPS is a feature or mode in hardware (graphics card) designed to save power by reducing energy consumption to very low levels. Now the problem is solved. If you have the same or similar problem, maybe this below step will help you too.

How to deny access to a drive in Windows 10

How to disable access to drives in Windows.  One of ways to  make disable access to drives in Windows (all Windows, Windows 10, Windows 8, Windows 7, also Windows server.. ), you can use Group policy editor . Below are  the steps: 1. Press Windows + R  (to open Run command ), write gpedit.msc at Run column, then hit Enter or click OK.