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. Restrictions can made a virus, spyware, malware or you can also disable manually.
How to enable Command Prompt :
Method 1: Using the console registry tool
Just Click on Start, Run and type this command exactly as given below or you can simply copy and paste :
REG add HKCU\Software\Policies\Microsoft\Windows\System /v DisableCMD /t REG_DWORD /d 0 /f
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 data to 0
Method 3: Using Group Policy Editor in Windows XP Professional.
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.
How to enable Command Prompt in Windows Vista and Windows 7 :
Download the FixWin portable software (download link is below the post) and run it. Now go to System Tools as in above screenshot. You will "Enable Command Prompt................." and on right side Fix button. Just click on Fix button and problem has been solved.
0 comments:
Post a Comment