The Windows Server 2008 ServerManagerCmd.exe tool makes installing the Exchange Server 2007 pre-requisites a snap.  In this example I am installing the pre-requisites for a typical Exchange Server 2007 installation (Mailbox Server, Client Access Server, Hub Transport Server).

The components are installed using ServerManagerCmd.exe.  The following commands can be executed in a command shell to install each of the components.

Firstly, if you are intending to use the Windows Server 2008 server to extend the Active Directory Schema for Exchange Server 2007 you must install the Active Directory Domain Services remote management tools.  This usually requires a server restart.

C:\>ServerManagerCmd -i RSAT-ADDS
...........

Start Installation...
[Installation] Succeeded: [Remote Server Administration Tools] Role Administrati
on Tools.
[Installation] Succeeded: [Remote Server Administration Tools] Active Directory
Domain Services Tools.
Warning: [Installation] Succeeded: [Remote Server Administration Tools] Server f
or NIS Tools. You must restart this server to finish the installation process.

Warning: [Installation] Succeeded: [Remote Server Administration Tools] Active D
irectory Domain Controller Tools. You must restart this server to finish the ins
tallation process.

<100/100>

Success: A restart is required to complete the installation.

Once the server is restarted you can install the remaining components. You could install them by entering the commands one at a time, but I prefer to run them all at once like this.

C:\>(
More? ServerManagerCmd -i PowerShell
More? ServerManagerCmd -i Web-Server
More? ServerManagerCmd -i Web-ISAPI-Ext
More? ServerManagerCmd -i Web-Metabase
More? ServerManagerCmd -i Web-Lgcy-Mgmt-Console
More? ServerManagerCmd -i Web-Basic-Auth
More? ServerManagerCmd -i Web-Digest-Auth
More? ServerManagerCmd -i Web-Windows-Auth
More? ServerManagerCmd -i Web-Dyn-Compression
More? ServerManagerCmd -i RPC-over-HTTP-proxy
More? )

The commands will execute in sequence and display output similar to this.

.

Start Installation...
[Installation] Succeeded: [Windows PowerShell].
<100/100>

Success: Installation succeeded.
………………..

Start Installation…
[Installation] Succeeded: [Web Server (IIS)] Management Tools.
[Installation] Succeeded: [Web Server (IIS)] Web Server.
[Installation] Succeeded: [Web Server (IIS)] Common HTTP Features.
[Installation] Succeeded: [Web Server (IIS)] Health and Diagnostics.
[Installation] Succeeded: [Web Server (IIS)] Security.
[Installation] Succeeded: [Web Server (IIS)] Performance.
[Installation] Succeeded: [Windows Process Activation Service] Configuration API
s.
[Installation] Succeeded: [Windows Process Activation Service] Process Model.
[Installation] Succeeded: [Web Server (IIS)] IIS Management Console.
[Installation] Succeeded: [Web Server (IIS)] Request Monitor.
[Installation] Succeeded: [Web Server (IIS)] Static Content.
[Installation] Succeeded: [Web Server (IIS)] HTTP Logging.
[Installation] Succeeded: [Web Server (IIS)] Static Content Compression.
[Installation] Succeeded: [Web Server (IIS)] Request Filtering.
[Installation] Succeeded: [Web Server (IIS)] Default Document.
[Installation] Succeeded: [Web Server (IIS)] Directory Browsing.
[Installation] Succeeded: [Web Server (IIS)] HTTP Errors.
<100/100>

Success: Installation succeeded.
…………

Start Installation…

[Installation] Succeeded: .
[Installation] Succeeded: [Web Server (IIS)] Application Development.
[Installation] Succeeded: [Web Server (IIS)] ISAPI Extensions.
<100/100>

Success: Installation succeeded.
…………

Start Installation…

[Installation] Succeeded: .
[Installation] Succeeded: [Web Server (IIS)] IIS 6 Management Compatibility.
[Installation] Succeeded: [Web Server (IIS)] IIS 6 Metabase Compatibility.
<100/100>

Success: Installation succeeded.
…………

Start Installation…

[Installation] Succeeded: .
[Installation] Succeeded: [Web Server (IIS)] IIS 6 Management Console.
<100/100>

Success: Installation succeeded.
…………

Start Installation…

[Installation] Succeeded: .
[Installation] Succeeded: [Web Server (IIS)] Basic Authentication.
<100/100>

Success: Installation succeeded.
…………

Start Installation…

[Installation] Succeeded: .
[Installation] Succeeded: [Web Server (IIS)] Digest Authentication.
<100/100>

Success: Installation succeeded.
…………

Start Installation…

[Installation] Succeeded: .
[Installation] Succeeded: [Web Server (IIS)] Windows Authentication.
<100/100>

Success: Installation succeeded.
…………

Start Installation…

[Installation] Succeeded: .
[Installation] Succeeded: [Web Server (IIS)] Dynamic Content Compression.
<100/100>

Success: Installation succeeded.
…………

Start Installation…
[Installation] Succeeded: .
[Installation] Succeeded: .
[Installation] Succeeded: .
[Installation] Succeeded: [Web Server (IIS)] Client Certificate Mapping Authenti
cation.
[Installation] Succeeded: [Web Server (IIS)] Tracing.
[Installation] Succeeded: [Web Server (IIS)] Logging Tools.
[Installation] Succeeded: [Web Server (IIS)] HTTP Redirection.
[Installation] Succeeded: [RPC over HTTP Proxy].
<100/100>

Success: Installation succeeded.

Your Windows Server 2008 host is now ready to install Exchange Server 2007.

References:

3 Responses to “Installing Exchange Server 2007 pre-requisites on Windows Server 2008”

  1. Aaron Says:

    You can install multiple roles or features on a single command line by separating the roles with spaces e.g:

    servermanagercmd -install PowerShell Web-Server Web-ISAPI-Ext Web-Metabase -restart

  2. Paul Says:

    Neat. These are my first Windows Server 2008 hosts so I’ve got a fair bit to learn.

  3. Project Coconut: Part 3 - Deploying the first Exchange Server 2007 server - The Capslock Assassin Says:

    [...] I have not included any of the requirements for Unified Messaging as I will not be installing this server role, however you can read about them here. If you happen to be deploying your Exchange server on Windows Server 2008 you can install the pre-requisites by following these instructions. [...]

Leave a Reply