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?

link|improve this question
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
2  
@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
feedback

migrated from stackoverflow.com Sep 18 '11 at 12:46

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

1 Answer

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown