"The command prompt has been disabled" - Error

Satheesh C B | Sunday, May 11, 2008 | 0 comments

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 Task Manager, try any of these methods:
cogsani32 Method 1: Using the console registry tool
Click Start, Run and type this command exactly as given below: (better - Copy and paste)

REG add HKCU\Software\Policies\Microsoft\Windows\System /v DisableCMD /t REG_DWORD /d 0 /f

sparksSpace037 cogsani32 Method 2: Edit the registry directly
Open Registry Editor (Regedit.exe) and navigate to:
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System]In the right-pane, double-click DisableCMD and set it's value from 1 to 0

cogsani32 Method 3: Using Group Policy Editor in XP Pro.
Click Start, Run, type gpedit.msc and click OK.
Navigate to User Configuration \ Administrative Templates \ System
Double-click the Prevent access to the command prompt
You can then disable or set the policy to Not Configured. Disabling or setting this policy to Not Configured should solve the problem.


Category: , , ,

Welcome to SparksSpace . This blog launched on Dec 2007 with a focus on Technology.You can find latest Computer Software, Tutorials, Tricks,Tips & Software promotions here!