Speeding up installation of Exchange Server 2007 SP1 Prerequisites on Windows Server 2008

Published Mar 10 2008 03:09 PM 4,687 Views

Before you can install Exchange Server 2007 SP1 on a Windows Server 2008 there are varying prerequisites that need to be installed, depending on the Exchange 2007 Server role you plan on installing. Details on how to install those prerequisites manually can be found in the Exchange 2007 SP1 documentation:

How to Install Exchange 2007 SP1 Prerequisites on Windows Server 2008 or Windows Vista

In this blog post, we wanted to share a set of XML files that you can use to simplify the process of installing those prerequisites. Please see the attached ZIP file near the end of this post.

The following XML files are available:

Exchange-Base.xml - this will install the prerequisites that are common for majority of Exchange server roles. Note: To complete the installation, a reboot will be necessary. The reboot must be done before proceeding with the remaining Operating System prerequisites that are detailed below. If the AD management tools are not installed prior to installation of IIS 7 components, there are potential issues with IIS 7 configuration that can crop up as a result, hence the recommendation for a reboot.

Exchange-MBX.xml - this will install the rest of prerequisites that the Mailbox Server role requires.

Exchange-CAS.xml - this will install the rest of prerequisites that the Client Access Server role requires

Exchange-Edge.xml - this will install the rest of prerequisites that the Edge role requires.

Exchange-UM.xml - this will install the rest of prerequisites that the Unified Messaging role requires.

Exchange-ClusMBX.xml - this will install the rest of prerequisites that a clustered Mailbox Server role requires. When compared to the previously mentioned Exchange-MBX.XML, this XML file also installs Failover Clustering.

The Hub Transport Server Role requires no further Operating System prerequisites, other than what is already specified in Exchange-Base.xml.

To run those XML files and install the OS prerequisites you need, you should run the following from the CMD line:

ServerManagerCmd -ip <path>\<Exchange-role>.XML

So to put this into real life - if you wanted to install let's say the Mailbox server role, you would first run the Exchange-Base.xml followed by Exchange-MBX.xml.

Using those XML you can also test if correct Operating System prerequisites have already been installed. For example, let say I thought I had installed the clustered Mailbox Server prerequisites. I could run the following to verify:

ServerManagerCmd -w -ip <path>\exchange-clusmbx.xml

Note: Running in 'WhatIf' Mode.
Skipping [Web Server (IIS)] Web Server (IIS) because it is already installed on this computer.
Skipping [Web Server (IIS)] Basic Authentication because it is already installed on this computer.
Skipping [Web Server (IIS)] Windows Authentication because it is already installed on this computer.
Skipping [Web Server (IIS)] ISAPI Extensions because it is already installed on this computer.
Skipping [Web Server (IIS)] IIS 6 Metabase Compatibility because it is already installed on this computer.
Skipping [Web Server (IIS)] IIS 6 Management Console because it is already installed on this computer.
Specified for installation: [Failover Clustering]

This server may need to be restarted after the installation completes.

The above tells us that all the Operating System prerequisites have been installed, except for Failover Clustering. The remaining will be skipped, since they were installed sometime in the past. It does no harm to re-run the <Exchange-Role>.xml file if some of the prerequisites have already been installed, they will simply be skipped.

You can also quickly verify the OS components that have been installed by running:

ServerManagerCmd -q

Finally, you can download the XML files from here.

- Matt Richoux, Roman Maddox

10 Comments
%3CLINGO-SUB%20id%3D%22lingo-sub-587827%22%20slang%3D%22en-US%22%3ESpeeding%20up%20installation%20of%20Exchange%20Server%202007%20SP1%20Prerequisites%20on%20Windows%20Server%202008%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-587827%22%20slang%3D%22en-US%22%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EBefore%20you%20can%20install%20Exchange%20Server%202007%20SP1%20on%20a%20Windows%20Server%202008%20there%20are%20varying%20prerequisites%20that%20need%20to%20be%20installed%2C%20depending%20on%20the%20Exchange%202007%20Server%20role%20you%20plan%20on%20installing.%20Details%20on%20how%20to%20install%20those%20prerequisites%20manually%20can%20be%20found%20in%20the%20Exchange%202007%20SP1%20documentation%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20x-small%3B%22%3E%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fbb691354(EXCHG.80).aspx%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EHow%20to%20Install%20Exchange%202007%20SP1%20Prerequisites%20on%20Windows%20Server%202008%20or%20Windows%20Vista%3C%2FSPAN%3E%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EIn%20this%20blog%20post%2C%20we%20wanted%20to%20share%20a%20set%20of%20XML%20files%20that%20you%20can%20use%20to%20simplify%20the%20process%20of%20installing%20those%20prerequisites.%20Please%20see%20the%20attached%20ZIP%20file%20near%20the%20end%20of%20this%20post.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EThe%20following%20XML%20files%20are%20available%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3E%3CB%3EExchange-Base.xml%20-%20%3C%2FB%3Ethis%20will%20install%20the%20prerequisites%20that%20are%20%3CI%3Ecommon%3C%2FI%3E%20for%20majority%20of%20Exchange%20server%20roles.%20Note%3A%20To%20complete%20the%20installation%2C%20a%20reboot%20will%20be%20necessary.%20The%20reboot%20must%20be%20done%20before%20proceeding%20with%20the%20remaining%20Operating%20System%20prerequisites%20that%20are%20detailed%20below.%20If%20the%20AD%20management%20tools%20are%20not%20installed%20prior%20to%20installation%20of%20IIS%207%20components%2C%20there%20are%20potential%20issues%20with%20IIS%207%20configuration%20that%20can%20crop%20up%20as%20a%20result%2C%20hence%20the%20recommendation%20for%20a%20reboot.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3E%3CB%3EExchange-MBX.xml%20%3C%2FB%3E-%20this%20will%20install%20the%20rest%20of%20prerequisites%20that%20the%20Mailbox%20Server%20role%20requires.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3E%3CB%3EExchange-CAS.xml%20%3C%2FB%3E-%20this%20will%20install%20the%20rest%20of%20prerequisites%20that%20the%20Client%20Access%20Server%20role%20requires%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3E%3CB%3EExchange-Edge.xml%20%3C%2FB%3E-%20this%20will%20install%20the%20rest%20of%20prerequisites%20that%20the%20Edge%20role%20requires.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3E%3CB%3EExchange-UM.xml%20-%20%3C%2FB%3Ethis%20will%20install%20the%20rest%20of%20prerequisites%20that%20the%20Unified%20Messaging%20role%20requires.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3E%3CB%3EExchange-ClusMBX.xml%20%3C%2FB%3E-%20this%20will%20install%20the%20rest%20of%20prerequisites%20that%20a%20clustered%20Mailbox%20Server%20role%20requires.%20When%20compared%20to%20the%20previously%20mentioned%20Exchange-MBX.XML%2C%20this%20XML%20file%20also%20installs%20Failover%20Clustering.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EThe%20%3CB%3EHub%20Transport%20Server%20Role%20%3C%2FB%3Erequires%20no%20further%20Operating%20System%20prerequisites%2C%20other%20than%20what%20is%20already%20specified%20in%20Exchange-Base.xml.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3ETo%20run%20those%20XML%20files%20and%20install%20the%20OS%20prerequisites%20you%20need%2C%20you%20should%20run%20the%20following%20from%20the%20CMD%20line%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20Courier%20New%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EServerManagerCmd%20-ip%20%3CPATH%3E%5C%3CEXCHANGE-ROLE%3E.XML%3C%2FEXCHANGE-ROLE%3E%3C%2FPATH%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3ESo%20to%20put%20this%20into%20real%20life%20-%20if%20you%20wanted%20to%20install%20let's%20say%20the%20Mailbox%20server%20role%2C%20you%20would%20first%20run%20the%20Exchange-Base.xml%20followed%20by%20Exchange-MBX.xml.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EUsing%20those%20XML%20you%20can%20also%20test%20if%20correct%20Operating%20System%20prerequisites%20have%20already%20been%20installed.%20For%20example%2C%20let%20say%20I%20thought%20I%20had%20installed%20the%20clustered%20Mailbox%20Server%20prerequisites.%20I%20could%20run%20the%20following%20to%20verify%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20Courier%20New%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20Courier%20New%3B%22%3EServerManagerCmd%20%3C%2FSPAN%3E-w%20-ip%20%3CPATH%3E%5Cexchange-clusmbx.xml%3C%2FPATH%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20Courier%20New%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3ENote%3A%20Running%20in%20'WhatIf'%20Mode.%20%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20Courier%20New%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3ESkipping%20%5BWeb%20Server%20(IIS)%5D%20Web%20Server%20(IIS)%20because%20it%20is%20already%20installed%20on%20this%20computer.%20%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20Courier%20New%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3ESkipping%20%5BWeb%20Server%20(IIS)%5D%20Basic%20Authentication%20because%20it%20is%20already%20installed%20on%20this%20computer.%20%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20Courier%20New%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3ESkipping%20%5BWeb%20Server%20(IIS)%5D%20Windows%20Authentication%20because%20it%20is%20already%20installed%20on%20this%20computer.%20%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20Courier%20New%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3ESkipping%20%5BWeb%20Server%20(IIS)%5D%20ISAPI%20Extensions%20because%20it%20is%20already%20installed%20on%20this%20computer.%20%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20Courier%20New%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3ESkipping%20%5BWeb%20Server%20(IIS)%5D%20IIS%206%20Metabase%20Compatibility%20because%20it%20is%20already%20installed%20on%20this%20computer.%20%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20Courier%20New%3B%22%3ESkipping%20%5BWeb%20Server%20(IIS)%5D%20IIS%206%20Management%20Console%20because%20it%20is%20already%20installed%20on%20this%20computer.%20%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20Courier%20New%3B%22%3ESpecified%20for%20installation%3A%20%5BFailover%20Clustering%5D%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EThis%20server%20may%20need%20to%20be%20restarted%20after%20the%20installation%20completes.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EThe%20above%20tells%20us%20that%20all%20the%20Operating%20System%20prerequisites%20have%20been%20installed%2C%20except%20for%20Failover%20Clustering.%20The%20remaining%20will%20be%20skipped%2C%20since%20they%20were%20installed%20sometime%20in%20the%20past.%20It%20does%20no%20harm%20to%20re-run%20the%20%3CEXCHANGE-ROLE%3E.xml%20file%20if%20some%20of%20the%20prerequisites%20have%20already%20been%20installed%2C%20they%20will%20simply%20be%20skipped.%3C%2FEXCHANGE-ROLE%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EYou%20can%20also%20quickly%20verify%20the%20OS%20components%20that%20have%20been%20installed%20by%20running%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20Courier%20New%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EServerManagerCmd%20-q%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2Fthemes%2Fexchange%2Fimages%2F448405_W2008XMLs.jpg%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fthemes%2Fexchange%2Fimages%2F448405_W2008XMLs.jpg%22%20%2F%3E%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EFinally%2C%20you%20can%20download%20the%20XML%20files%20%3CA%20target%3D%22_blank%22%20href%3D%22http%3A%2F%2Fgallery.technet.microsoft.com%2FExchange-Server-2007-SP1-f8356436%22%20title%3D%22Exchange%20Server%202007%20Prerequisite%20install%20XML%20files%20for%20Windows%20Server%202008%22%20rel%3D%22noopener%20noreferrer%22%3Efrom%20here%3C%2FA%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3E-%20%3C%2FSPAN%3E%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Farchive%2F2006%2F12%2F08%2F431794.aspx%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EMatt%20Richoux%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3E%2C%20%3C%2FSPAN%3E%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Farticles%2F448268.aspx%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3ERoman%20Maddox%3C%2FSPAN%3E%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Version history
Last update:
‎Jul 01 2019 03:35 PM
Updated by: