Press Start, type “Command Prompt”, and click the top result. You should always check to ensure your policy is working correctly. If you're wondering how to unblock Command Prompt in the future, simply switch the policy from “Enabled” to “Disabled” or “Not Configured”. Make your choice, then click “OK” and “Apply”. Turning this on will stop users from running batch files. You then have a choice: you can choose whether or not you want to disable the command script processing also. In the “Prevent access to the command prompt” policy, tick “Enabled”. You'll find the System folder under User Configuration > Administrative Templates. Open the ‘System' folder and double-click ‘Prevent access to the command prompt'.Press “Start” and then type “gpedit.msc”. A few clicks is all it takes to turn off CMD in Windows 10. Gpedit is a favorite tool of admins when comes to blocking applications, and Command Prompt is no exception.