Enabling IIS 7.X on Windows 7, Vista SP1, Windows 2008, Windows 2008/R2

To set up IIS to run ASP.NET applications (including MVC 3 and Web Matrix):

  1. Install the Microsoft Web Platform Installer 3.0  from here.
  2. Run the Web Platform Installer (WPI) and select Products on the top and Server in the left pane. 


  3. Click the Add button for IIS 7 Recommended Configuration.
  4. Click Install.

The image below from Windows 2008 R2/SP1 Server Manger shows the 21 Role Services enabled by the IIS 7 recommended configuration.



If you need additional features (known as role services in Windows 2008)  such as  Window Authentication, Dynamic compression, or Tracing:

In Windows 7:

  1. Select the windows start button and enter Prog.
  2. Select Programs and Features.
  3. Select Turn Windows features on or off.
  4. Select Internet Information Services.
  5. Select the feature you want to enable. In the image below, Windows Authentication is selected.
  6. Select OK.

In Windows 2008:

  1. Enter Server in the Start menu and select Server Manager.


  2. In the Web Server(IIS) section, select Add Role Services (see the Roles image above.)
  3. Select each role service you need.
  4. Select Next.
  5. Select Install.

Comments (6)

  1. HELLO im trying to install II7 express says:

    hello everyone, i am trying to install II& express in my WINDOWS XP PROFESSIONAL, sp3, but seems , this system is not longer compatible, anyone knows how can i do this, cause i just finished a aplication project and i wanted to deploy in the web server.


  2. branko says:

    U need XP installation disc, just put it in your  drive, run it (double click), and choose 'install optional windows components'. on the next form choose IIS

  3. Ankur says:

    Many Many thanks…

    U saved lot of time

  4. TomJ says:

    I get lost trying to follow Item 2. Where is Web Server(IIS)!! I don't have Windows 2008 Server. I am working on a Win 7 platform using VS 2010 Express, SQL Server 2008 Express R2 and IIS7. Where do I need to look to apply the suggested 'Roles' as outlined in this doc?

    Thanks  . . .


  5. dinesh says:

    hello i want to install sql 2005 and it shows me an warning that iis is not install in this system what should i do for it please some body help me

  6. vaibhav says:

    download the IIS from Microsoft website