Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Whenever I open a Command Prompt I get the following message:

The command prompt has been disabled by your administrator.

I am the administrator so I have full rights; it was always like that.

I really need to use the Command Prompt to install PHP and Apache on my computer, as well as prehacking Flash games.

How can I get access to the Command Prompt?

share|improve this question

migrated from Sep 18 '11 at 12:46

This question came from our site for professional and enthusiast programmers.

What version of Windows are you on? – Alex Sep 17 '11 at 12:34
Are you on a domain? It is possible that the domain admins have disabled the cmd prompt using GPO – Joe Taylor Sep 18 '11 at 13:30
@Alex Windows xp version. – user98336 Sep 19 '11 at 10:39
@JoeTaylor When I bought the computer, the cmd was disabled. – user98336 Sep 19 '11 at 10:39
@aristos007, to regain ownership of this question you need to register you accounts on SO and SU with the same credentials, once the accounts are linked you'll automatically own this question again. – DMA57361 Sep 19 '11 at 11:16

Either edit the registry directly (Note: the usual disclaimers about hacking your registry by hand apply) In regedit, navigate to: HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System, open the DisableCMD entry and set thevalue to 0

Or use XP Professional's Group Policy Editor (gpedit.msc). Go to User Configuration|Administrative Templates|System and open the "Prevent access to the command prompt" entry. From here you can either disable the policy or set it to Not Configured.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.