You are on page 1of 3

7/16/12

Installing IIS 7.0 on Windows Server 2008

Installing IIS 7.0 on Windows Server


2008
Applies To: Windows Server 2008
By default, IIS 7 is not installed on Windows Server 2008. You can install IIS by using the Add Roles
wizard in Server Manager or by using the command line.
When you install Windows Server 2008, you can perform a Server Core installation, which installs a
minimal server installation of Windows Server 2008. For example, with this type of installation the
traditional Windows interface is not installed, so you must configure the server from the command
prompt.
If you use a Server Core installation, you cannot install some modules that rely on the .NET Framework
or managed code. For this reason, we also provide procedures that show how to install IIS 7 on a
Windows Server 2008 Server Core installation.

Requirements
Administrative Credentials
You must be a member of the following IIS administrative role or roles to perform this procedure:
Web Server Administrator

To Install IIS 7.0 on Windows Server 2008


You can perform this procedure using the user interface (UI) or a script.
Using the UI
1. Click Start, point to Administrative Tools and then click Server Manager.
2. In Roles Summary, click Add Roles.
3. Use the Add Roles Wizard to add the Web server role.
Important
If you use the Add Roles Wizard to install IIS, you get the default installation, which has a
minimum set of role services. If you need additional IIS role services, such as Application
Development or Health and Diagnostics, make sure to select the check boxes associated with
those features in the Select Role Services page of the wizard.

Using a script
Type the following command into a script:
start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IISStaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIStechnet.microsoft.com/en-us/library/cc771209(d=printer,v=ws.10).aspx

1/3

7/16/12

Installing IIS 7.0 on Windows Server 2008

HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IISCGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IISHealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IISHttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IISBasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IISClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IISURLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IISHttpCompressionStatic;IIS-HttpCompressionDynamic;IISWebServerManagementTools;IIS-ManagementConsole;IISManagementScriptingTools;IIS-ManagementService;IISIIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IISLegacyScripts;IIS-LegacySnapIn;IIS-FTPPublishingService;IIS-FTPServer;IISFTPManagement;WAS-WindowsActivationService;WAS-ProcessModel;WASNetFxEnvironment;WAS-ConfigurationAPI
Important
If you use this script, you get the full IIS installation, which installs all available feature packages. If
there are feature packages you do not need, you should edit the script to install only the packages
you require.

To Install IIS 7.0 on Windows Server 2008 using a Server Core installation
Using a script for the full IIS installation on Server Core
Type the following command into a script:
start /w pkgmgr /iu: IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IISStaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IISHttpRedirect;IIS-ApplicationDevelopment;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IISISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IISLoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IISODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IISDigestAuthentication;IIS-ClientCertificateMappingAuthentication;IISIISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IISIPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IISHttpCompressionDynamic;IIS-WebServerManagementTools;IISManagementScriptingTools;IIS-IIS6ManagementCompatibility;IIS-Metabase;IISWMICompatibility;IIS-LegacyScripts;IIS-FTPPublishingService;IIS-FTPServer;WASWindowsActivationService;WAS-ProcessModel
Important
If you use this script, you get the full IIS installation, which installs all available feature packages
for Server Core. If there are feature packages you do not need, you should edit the script to install
only the packages you require.

Using a script for the default installation on Server Core


Type the following command into a script:
technet.microsoft.com/en-us/library/cc771209(d=printer,v=ws.10).aspx

2/3

7/16/12

Installing IIS 7.0 on Windows Server 2008

start /w pkgmgr /iu:IIS-WebServerRole;WAS-WindowsActivationService;WASProcessModel


Important
If you use this script, you get the default IIS installation, which installs a minimal set of available
feature packages.

See Also
Other Resources
Windows Automated Installation Kit (WAIK) User's Guide for Windows Vista (online)1
Server Core Installation Option (online)2

Links Table
1http://go.microsoft.com/fwlink/?LinkId=63893
2http://go.microsoft.com/fwlink/?LinkId=91717

Community Content
2012 Microsoft. All rights reserved.

technet.microsoft.com/en-us/library/cc771209(d=printer,v=ws.10).aspx

3/3

You might also like