Wednesday, June 17, 2009

Running ASP.NET IIS Registration Tool (Aspnet_regiis.exe) using Vista IIS 7

Today I tried running “ASP.NET IIS Registration Tool (Aspnet_regiis.exe)” in my laptop, which is using Vista IIS 7, by following command in command prompt (start->run->cmd)

C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727\\aspnet_regiis –i

It gives the following error,

An error has occurred: 0x800702e4 The requested operation requires elevation.

Then I found that, vista is having tight security model. It won’t allow anything to run easily, also The ASP.NET IIS Registration Tool (Aspnet_regiis.exe) allows an administrator to install this.


I opened the command prompt with administrator access by

Start -> All Programs -> Accessories -> Command Prompt -> right click -> run as administrator

Then I run the same command, it works fine.

I just want to share this solution here, so that it may help someone.

Have a great day!


  1. thk so much, it took me 4hours already

  2. A simple asp rubbish does not work on IIS7 even though one has installed all the things on your VISTA! Visual Studio 2008 to Azure tools.

    What a world... no wonder applications are taking so long ... Everyone is wasting a lot of time configuring their home pcs, laptops, office pcs.,, and stll if they have some time left, that is used for writing applications?

  3. Thanks a lot for this. it helped me

  4. Thanks a lot buddy. it helped me I had a 64 bit windows 7 and it works folks :)

  5. Thanks so much! That worked perfect for me!

  6. Thanks DUDE..!~!

  7. thnks for u.
    i opened cmd with administrative then no error occured


  8. while following the same steps for windows 7 am getting an error,that "an error has occured:0*80004005 Unspecified Error"


    1. I guess, some of your system files of win 7 may corrupted.

      try the below steps, hope some command will help you

      Go to Start / All Programs / Accessories / Command prompt and right click on command prompt and click run as Administrator.

      1. Type sfc /scannow and enter and let it run. It will scan and try to fix some of your system files

      2. type chkdsk /f /r and enter and let it run. It will scan and try to fix any corruption or bad sectors on your hard drive and mostly remove that as a cause.