ForTech
  • Home
  • Computers
  • Gaming
  • Internet
  • Business
  • Tech
  • How To
  • Gadgets
  • Lifestyle
  • Phones
No Result
View All Result
  • Home
  • Computers
  • Gaming
  • Internet
  • Business
  • Tech
  • How To
  • Gadgets
  • Lifestyle
  • Phones
No Result
View All Result
ForTech
No Result
View All Result
Home Computers

How to Disable Command Prompt on Windows 10 PC?

by SOUL
January 26, 2021
in Computers
Reading Time: 4 mins read
Disable Command Prompt

On Windows 10, Command Prompt is indeed a tremendously powerful feature that lets you do all kinds of essential things on your computer quickly. However, sometimes you might need to Disable Command Prompt for individual users to prevent them from accessing the unwanted commands when you have to abide by a separate policy.

If you want to apply this restriction on your computer, you can use two methods to disable the console using the Local Group Policy and the Registry Editor.

How to Disable Command Prompt on Windows 10

You can use two methods to Disable Command Prompt on your Windows 10 PC:

  • Using Local Group Policy Editor.
  • Through Registry Editor.

1: Using Local Group Policy

If you’re using Windows 10 Pro, Enterprise, or Education version, you can use Group Policy to block users from using the Command Prompt. Here are the steps to do so:

  • Right-click on the Start button & select Run.
  • In the text field, type gpedit.MSC and Tap Enter.
  • In the Local Group Policy Editor window 10, go to the following path:

User Configuration > Administrative Templates > System

Disable Command Prompt

  • Move to the right pane and double-click the Prevent access to the command prompt policy.

Disable Command Prompt

  • On the next page, mark the Enabled checkbox.
  • If you want to disable the command prompt script processing, go to the Options section and select Yes.
  • Click Apply > OK button.
READ:  Wireless Xbox One controller requires a PIN - Windows 10 [Solved]

After performing the above steps, you can still open the console, but you will receive a message – “The command prompt has been disabled by your administrator.”

2: Through Registry Editor

If you’re using Windows 10 home edition, you can’t use the local group policy on your computer. You can use Registry Editor to disable the command prompt on your Windows 10 PC in such a case. To continue it, follow the below steps:

  • Open Run dialogue box using Windows+R keys.
  • In this text field, type Regedit & press Enter to open the Registry Editor.
  • On the following screen, browse the next path. Alternatively, copy and paste the given way in the Registry’s
  • address bar to open the critical destination directly.

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows

  • Right-click the Windows key and select New > Key.
  • Name the new key “System” and press Enter.
  • Now right-click on the System folder and select New > DWORD (32-bit) Value.
  • Name the created key “DisableCMD” and press Enter.

Disable Command Prompt

  • Then double-click on the DisableCMD DWORD and set the Value data from 0 to 2. This will Disable Command Prompt while allowing batch files to run on the device. To Disable Command Prompt while preventing batch files from running on Windows 10, set the Value data from 0 to 1.
  • Tap the OK button to save these changes.
  • Close the window and reboot your computer.
READ:  Best File and Folder Locker Tools and Software for Windows 10

Final Words:

  1. Rdio
  2. Default Search Engine in Microsoft Edge
  3. Find Someone On Snapchat Without A Username

Final Thought:

Once you perform the above steps, the Disable Command Prompt is now completely disabled for all users.

Share196Tweet122
Previous Post

How Will AI Change the Mobile Industry in 2021

Next Post

How to Grow your Business with Austin Web Design Services?

Related Posts

Music Notation Software

Great Free Music Notation Software For Windows

March 13, 2023
Mac Screen Recorder

Some Best Mac Screen Recorder To Try In 2022

October 13, 2022

Leave a Reply Cancel reply

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

Latest Posts

  • 20 Ronaldo7 Alternatives To Watch Soccer Live
  • 20 VIPStand Alternatives To Watch Live Sports
  • 20 Streamcomando Alternatives To Watch Live Sports
  • 20 StreamSport Alternatives To Watch Free Sports
  • 20 JioTV Alternatives To Watch Live TV
  • 20 Sport365 Alternatives For Streaming Live Sports
  • Some Best Open World Survival Games For PS4/PS5

Random Posts

  • SFlix
  • BlooKet
  • TinyZone
  • HDMovie2
  • AnimeKisa
  • WcoForever
  • 0123Movies
  • SimplyaWeeb
  • MangaForFree
  • CPSB Launchpad
  • TechBar
  • Digital Magazine
  • Terms
  • Privacy Policy
  • Write for us
  • Contact us
ForTech © 2023, All Rights Reserved.
No Result
View All Result
  • Home
  • Computers
  • Gaming
  • Internet
  • Business
  • Tech
  • How To
  • Gadgets
  • Lifestyle
  • Phones