.      How to articles       Windows Services       Group Policy             Donate        
Computer step by step
How to Disable/Enable Command Prompt
Path Disabled Gpedit Regedit
In the Group Policy window please navigate to User Configuration - Administrative Templates -  System and open Prevent access to the command prompt Type gpedit.msc and press Enter The Default state is Not Configured and Command Prompt is Enable To Enable cmd select Disable To Disable cmd select Enable   To finish press ok button and close Group Policy window