How To Disable the Command Prompt in Windows 10
Sometimes it can be useful to prevent users from accessing the classic Command Prompt app in Windows 10. E.g. if you are a system administrator, you may want to apply this restriction when your users should not use console apps and built-in tools. There are two ways to disable the command prompt in Windows 10.