Install IIS 7 on Windows Vista and Windows 7

Introduction

You can use the Microsoft® Web Platform Installer (Web PI) to easily install Internet Information Services (IIS), and applications that run on IIS. To learn more about the Web PI, see Learn about and install the Web PI.

If you choose to install IIS 7.0 or IIS 7.5 (collectively known as IIS 7) manually, you can use this article for guidance.

Before You Begin

Ensure that you have installed one of the editions of Windows Vista or Windows 7 on which IIS 7 is supported before you proceed. Not all IIS features are supported on all editions of Windows Vista and Windows 7. Home Basic and Starter editions include only limited basic features of IIS. To see a list of which features are supported on the edition of Windows you are using, see one of the following:

Also be sure that you have administrative user rights on the computer. By default, you do not have administrative privileges if you are logged on as a user other than the built-in administrator, even if you were added to the local Administrators group on the computer (this is a new security feature in Windows Server® 2008 called Local User Administrator). Log on either to the built-in administrator account, or explicitly invoke applications as the built-in administrator using the runas command-line tool.

Note that you can run runas /user:administrator cmd.exe so that every application you run from that command line will be elevated, eliminating the need to use the runas syntax from that command line.

If you are logged on to an account other than the built-in local administrator account, you may see the following security alert dialog box.

Figure 1: Windows Security (User Account Control)

Install IIS 7

1. To open the Windows Features dialog box, click Start, and then click Control Panel.

 

Figure 2: Windows Vista Start menu

2. In the Control Panel, click Programs.

Figure 3: Control Panel Home

3. Click Turn Windows features on or off.

 

Figure 4: Control Panel install options

4. You may receive the Windows Security warning. Click Allow to continue. The Windows Features dialog box is displayed.

Figure 5: Windows Security dialog box

5. Expand Internet Information Services. Additional categories of IIS features are displayed. Select Internet Information Services to choose the default features for installation.

 

Figure 6: Windows Features dialog box - IIS

6. Expand the additional categories displayed, and select any additional features you want to install, such as Web Management Tools.

Figure 7: Windows Features dialog box - IIS feature selection

7. If you are installing IIS 7 for evaluation purposes, you may want to select additional features to install. Select the check boxes for all IIS features you want to install, and then click OK to start installation.

Figure 8: Windows Features dialog box - Installation selection

8. The progress indicator appears.

 

Figure 9: Progress indicator

9. When the installation completes, the Windows Features dialog box closes, and the Control Panel is displayed.

Figure 10: Control Panel Home page

10. IIS 7 is now installed with a default configuration on Windows Vista or Windows 7. To confirm that the installation succeeded, type the following URL into your browser, http://localhost.

Figure 11: Default Web site

11. Next, you can use the Internet Information Services Manager to manage and configure IIS. To open the IIS Manager, click Start, type inetmgr in the Search Programs and Files box, and then press ENTER.


Figure 12: Default Web Site Home page

If you want to use ASP, Microsoft® ASP.NET, or PHP, install the modules needed to host these pages; this can be done during the installation of IIS or after the installation is complete.

Use Unattended Setup to Install IIS 7.0

IIS 7.0 can also be installed unattended on Windows Vista. For detailed instructions and scripts, see Using Unattended Setup to Install IIS 7.0.

Links for More Information

IIS 7 Installation and Deployment

How to install ASP.NET 1.1 with IIS7 on Vista and Windows 2008.

Installing IIS 7 on Vista.

Related Content

Comments

I have gone through this tutorial step by step. The only difference between the tutorial an my setup is on step 6 I don't have FTP Publishing Service. When I get to the end, step 10, all I get is the browser message "Unable to Connect".

The file that is supposed to display is located in C:inetpub/wwwroot/welcome.png and does run when I double click on it. Why doesn't the http://localhost/ command work?

Mar 30 2008 by InSpokane

I need to add the Window Authentication sub-feature in Security folder of World Wide Web Services. But when I open the security sub-folder, there is no "Window Authentication". Only "Basic Authentication", "IP Security", "Request Filtering", and
"URL Authorization" show up in the Security folder. Is there anybody can tell me how
to solve this problem? I'm using Window Vista Home Premium with Service Pack 1 installed. Do I need somehting else in order to see the "Window Authentication"?

Sep 26 2008 by Chirung Yen

Hi Chirung. Unfortunately, Windows Authentication is not available on Vista Home Premium. Vista Ultimate however does support this feature. Hope this helps.

Sep 30 2008 by SaadL

Hi there!
I did the above (on a new Vista 64-bit), but I don't get the welcome screen. I went to the Internet Information Services (IIS) Manager in the Control Panel and it appears to show that the web server is up and running. But in fact it isn't. When I go to http://localhost, I get a message: "Internet Explorer cannot display the webpage." When I type in the localhost name I thought it would be, I get a message: "the address is not valid" and the URL changes to "http:///". Any clues?

Jan 17 2009 by heynow

If Vista Home Premium doesn't have Windows Authentication, is there an action to take to enable it through the MMC? If not, what are the ramifications of not being able to select this? I, too, have been through these steps, and I can get to the IIS 7.0 splash screen, I can view pure HTML and javascript, but .asp language doesn't display. Can't find the problem despite DAYS on this website! :(
??

Mar 13 2009 by AndeDana

Windows Integrated authentication method in IIS requires domain environment. Windows Vista Home Premium cannot join domain so IIS on it does not support Windows Integrated authentication. Therefore, even if there is Windows Authentication feature installed, it shall not work. So why should it be packaged? :)

Also ASP feature is not installed by default. You need to turn this feature on.

Mar 19 2009 by lextm

>>>Therefore, even if there is Windows Authentication feature installed, it shall not work. So why should it be packaged?

My understanding is that the Windows Authentication service is required to use the Server Explorer feature of Visual Studio 2008.

Furthermore, most computers available through retail channels are pre-configured with a Vista Home edition.

Therefore, Visual Studio developers who want to use Server Explorer to manage sql server (databases, stored procedures, etc.) must upgrade to Vista Ultimate in order to utilize this feature of Visual Studio.

For most developers, this is an expensive (financially and productivity) endeavor. I consider this another "cost" of doing business with Microsoft:-(

Hello Microsoft?

Mar 21 2009 by rdaddis

Please - I have been trying to get IIS7 to serve ASP pages to no avail; all required options have been selected for ASP. Vanilla html pages work fine; ASP pages which worked fine on XP Pro totally puke on Vista; do I need Ultimate to serve ASP pages? I have heard on other boards that people have issues getting any database pages to work. Can someone tell me if it is possible to serve ASP if I am running Vista Home Premium 64-bit? Or will I need to upgrade to Ultimate for full functionality? I dont mind paying for the upgrade if that is what is required, but I need to know for certain if that is the problem because I dont have money to throw away.

Apr 20 2009 by rlockard

You can certainly use Classic ASP on Vista, but since you are using a 64-bit version of Windows a database application might not work by default because ODBC is 32-bit only. But that being said, you can configure your IIS application to use a 32-bit worker process. You can configure this by setting Enable 32-bit Applications to True for your application pool.

Apr 22 2009 by robmcm

rdaddis, I don't know the statistics, but most developers may consider using Windows Vista Business or Ultimate.

As you mentioned Server Explorer, I guess your company is a startup or small business. Then please consider our open license system. Please talk to our sale representatives locally so that they can provide you suitable solution to buy our products.

Also many computer vendors such as Dell provide customers nice offer to upgrade from Windows Vista Home to upper editions. You may consider contact your computer vendor to see if it has such offer.

Apr 30 2009 by lextm

You can help me something, i can't IIS 7.0 Features for Install in vista sp1
because it's have a ASP pages to no avail.

May 15 2009 by tieuphi2006

I've been trying to understand a tutorial on another website, but it is telling me I need to type a command into a script.

Tutorial is at http://tutorials.whichdomainhost.co.uk/windows/installing-iis7-in-vista

And after the installation goes on to say;

• Type the following command into a script:

start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;
IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;
IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;
IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;
IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;
IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;
IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;
IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;
IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;
IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;
IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;
IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;
IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;
IIS-FTPPublishingService;IIS-FTPServer;IIS-FTPManagement;
WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;
WAS-ConfigurationAPI

Now you need to open your web browser and type the following URL for testing

http://localhost

I'm assuming it's just an alternative method of setting it up if the normal installation doesn't go too well?

Jun 04 2009 by Betchers

I've been trying to understand a tutorial on another website, but it is telling me I need to type a command into a script.

Tutorial is at

http://tutorials.whichdomainhost.co.uk/windows/installing-iis7-in-vista

And after the installation goes on to say;

• Type the following command into a script:

start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;
IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;
IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;
IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;
IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;
IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;
IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;
IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;
IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;
IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;
IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;
IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;
IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;
IIS-FTPPublishingService;IIS-FTPServer;IIS-FTPManagement;
WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;
WAS-ConfigurationAPI

Now you need to open your web browser and type the following URL for testing

http://localhost

I'm assuming it's just an alternative method of setting it up if the normal installation doesn't go too well?

Jun 04 2009 by Betchers

I'm also trying to install IIS. It does not work through control panel and so I have tried by typing various commands in at the command prompt. I have seen various variations of what to type in and have tried loads including full version to scaled down versions. The last error message I got was '14098' is not recognized as an internal or external command, operable program or batch file. I am running Vista Ultimate (and am very new to all this) so if anyone can help in very simple terms it would be great.
Thanks

Jun 22 2009 by janedurnin

I agree, the install always fails if the instructions in this tutorial are followed. Everything's fine until Step 9 when some sort of error is reported, and then http://localhost/ doesn't connect. Clearly there is some sort of problem since so many people are having the similar experiences. When are you going to sort it out, Microsoft?

Jul 08 2009 by csykes

after three days, i run iis 7 full but i can't run iis in "Visual Studio 2008" . who can hepl me
thank

Aug 09 2009 by tieuphi2006

I need help configureing IIS7, PHP, and MSQL for a PHP class.

When I enter localhost I do see the IIS 7 box.

But if I run a simple test script I can't get it to show up anywhere. I am running windows vista 64. Nothing sets up like the textbook and I need help.

Thanks

Sep 20 2009 by barbaraw3

How can I email my emails do not go out

Oct 02 2009 by littlefunurse

I had window vista home basic, Can I used after configure IIS 7.0. Because after I load it and configure IIS 7.0 give my message following:
HTTP Error 404.4 - Not Found
The resource you are looking for does not have a handler associated with it. Detailed Error Information
Module IIS Web Core
Notification MapRequestHandler
Handler Not yet determined
Error Code 0x80070002
Requested URL http://localhost:80/
Physical Path C:\inetpub\wwwroot
Logon Method Anonymous
Logon User Anonymous
Most likely causes:
•The file extension for the requested URL does not have a handler configured to process the request on the Web server.

Then I try to run command start inetmgr.exe but my system doesn't reconize. Please help us. I appreciated your time

Oct 13 2009 by wilsonto69

Hi,

I tried installing IIS following the steps mentioned above. But after selecting the components when i press the OK button. It pormpts me that all components were not installed successfuly. And I end up with no IIS :(

please help

Oct 14 2009 by ifarooqi

My variation on this issue is that I am unable to install SQL Server 2005 Reporting Services on my new PC with Windows 7 Home Premium edition. (Reporting Services uses IIS.) I have both enabled all of the available IIS features through the "Windows Features" dialogue box and run a script that activates ALL of the available IIS features. In the Windows Features dialogue box it appears that ALL of the IIS modules have been activated; however, when I attempt to install the Reporting Services module of SQL Server 2005 from my CD I receive a warning that the requisite IIS capabilities are unavailable and the checkbox for installing Reporting Serviceds is greyed out and cannot be selected. All of the other SQL Server 2005 modules (Database, Integration Services and Analysis Services) install without issue. What's the deal? Do I have to upgrade to Windows 7 Business or Ultimate before I can install Reporting Services?

Jan 22 2010 by Elkinsecon

Submit a Comment

You must Log In to comment.