Message: "The command prompt has been disabled by your administrator"
When you attempt to run CMD.exe or a batch file, you may receive the message
"The command prompt has been disabled by your administrator". This is caused by restrictions placed in Registry.
DisableCMD value is set to 1 or via Group Policy.
To enable Command Prompt, try any of these methods:
Method 1: Using the console registry tool
Click Start, Run and type this command exactly as given below: (better - Copy and paste)