Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

When I try running the following command, logged in as admin, I get the accompanying error:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis -i

An error has occurred: 0x8007b799
You must have administrative rights on this machine in order to run this tool.

WTF? How many more admin rights do you get than an admin user?

share|improve this question
up vote 5 down vote accepted

The command has to be run from an elevated command prompt, not just the normal command prompt. Even Admin needs to explicitly run an elevated prompt to do certain things.

share|improve this answer
Right click on CMD link Start menu and select "Run as Administrator". – Paul Sep 21 '10 at 17:30
Thanks, that did the trick. – ProfK Sep 21 '10 at 17:37

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.