Tutorials

How to disable the command prompt

Anonim

The Prompt command is a Windows tool that can be used to perform various actions, including advanced administrative tasks such as manipulating the operating system and its programs and executing batch files.

So if you are a system administrator and don't want your users to use Prompt, the best thing you can do is disable this feature. To help you, Profesionalreview shows you how to do it in this mini tutorial.

Step 1. Click on the Start menu and type gepedit.msc in the search field. When the app appears in the list, click menu to run it;

Step 2. In the Local Group Policy Editor window, click the arrow next to the "user settings" option. Click the arrow next to "Administrative Templates" and then do the same for "system." Finally, double-click the item "prevent access to commands";

Step 3. In the window that appears, select the activated option. If you also want to disable script execution (.bat,.cmd files, and so on), click the arrow under "Disable script that also processes command prompt" and select "Yes." Click the "OK" button to save the changes.

Step 4. Close the program and it will be ready.

Step 5. If later you want to reactivate the command prompt, simply reverse the process by checking the option “not configured” or “Disabled”.

Ready! Now that the change has been made, you will prevent anyone from making any type of change through the Prompt command, because when they try to execute it, the user will see only the program window and the message " Prompt has been disabled by the administrator ".

Tutorials

Editor's choice

Back to top button