Installing Exchange 2007 on Windows 2008
Since Windows 2008 was just released I figured I would put togethor a quick article on how to install Exchange 2007 on Windows 2008 since there are some additional steps.
Windows 2008 has added a number of new security enhancement from firewalls to a more secure version of IIS, with these new security settings the installation of Exchange 2007 SP1 is slightly different. You cannot install Exchange 2007 on Windows 2008 but only Exchange 2007 SP1.
Thanks to Paul Bowden of Microsoft I am going to post a few Xml files which can make your installation of Exchange 2007 SP1 easier on a Windows 2008 server. These file where not included with the Exchange 2007 release but will be included in future version of Exchange
No longer is powershell a download and install but Windows 2008 has included powershell in the OS and can be installed from a command prompt as you will see later in this blog.
Note: the following xml files are not included with Exchange 2007 you can choose to use them to simplify an installation or manually install each component.
Windows 2008 has added a new command line tool that allows an administrator to install any number of Windows components from a command line. To evoke this tool you would use the command ServerMangerCmd the -i switch tell the system to install.
For Example to install powershell on a Windows 2008 server you would type ServerManagerCmd -i PowerShell
http://technet.microsoft.com/en-us/library/bb691354(EXCHG.80).aspx
There are 5 Xmil files to install componets, notice the Hub do not have any special requirements and the base is all that is needed to install those roles.
XML Files:
1. Exchange-base.xml
2. Exchange-Typical.xml
3. Exchange-CAS.xml
4. Exchange-Mbx.xml
** Please note I had to remove bracets to display the information on the page, see the screen shot for the correct format***
I have also labeled each row with a letter so I can refer to each line of the code
a:ServerManagerCmd Answer File compatible with Longhorn
b:Usage: ServerManagerCmd -ip Exchange-Base.xml
c:Contact: PBowden
d:ServerManagerConfiguration
E: Action=”Install” xmlns=”http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1“>
F:BASE: Install PowerShell feature
G:Feature Id=”PowerShell”
H:– PREPARESCHEMA: Install LDIFDE and other directory tools –
I:Feature Id=”RSAT-ADDS”
j:ServerManagerConfiguration
What does this file do?
The baseline file will install Powershell and the Directory tools for a Windows 2008 server, you can see in lines G and I calls to install those components.
to use this file I would open a command windows and type servermanagecmd -ip c:\exchange-base.xml
This would then install powershell and the Admin tools for Windows 2008
2. Exchange-Typical.xml
– ServerManagerCmd Answer File compatible with Longhorn Beta 3 –
- Usage: ServerManagerCmd -ip Exchange-Typical.xml –
– Contact: PBowden –
ServerManagerConfiguration Action=”Install” xmlns=”http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1“>
– BASE: Install PowerShell feature –
Feature Id=”PowerShell”
– PREPARESCHEMA: Install LDIFDE and other directory tools –
Feature Id=”RSAT-ADDS”
– CAS/MBX: Install the Web Server role with additional child components –
Role Id=”Web-Server”
RoleService Id=”Web-Metabase”
RoleService Id=”Web-Lgcy-Mgmt-Console”
– CAS: Install the three authentication types for OWA, GZip compression, plus Outlook Anywhere support –
RoleService Id=”Web-Basic-Auth”
RoleService Id=”Web-Digest-Auth”
RoleService Id=”Web-Windows-Auth”
RoleService Id=”Web-Dyn-Compression”
Feature Id=”RPC-over-HTTP-proxy”
ServerManagerConfiguration
A typical Exchange 2007 installation would constist of the hub,cas, and mbx role and as we can see this xmil file install the required Windows componets including the components of the Exchange-base.xml file.
The following components are install in the typical file:
Feature Id=”PowerShell”
Feature Id=”RSAT-ADDS”
Role Id=”Web-Server”
RoleService Id=”Web-Metabase”
RoleService Id=”Web-Lgcy-Mgmt-Console”
RoleService Id=”Web-Basic-Auth”
RoleService Id=”Web-Digest-Auth”
RoleService Id=”Web-Windows-Auth”
RoleService Id=”Web-Dyn-Compression”
Feature Id=”RPC-over-HTTP-proxy”
3. Exchange-CAS.xml
– ServerManagerCmd Answer File compatible with Longhorn
– Usage: ServerManagerCmd -ip Exchange-CAS.xml –
- Contact: PBowden -
ServerManagerConfiguration Action=”Install” xmlns=”http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1“>
– Install the Web Server role with additional child components -
Role Id=”Web-Server”
RoleService Id=”Web-Metabase”
RoleService Id=”Web-Lgcy-Mgmt-Console”
– Install the three authentication types for OWA, GZip compression, plus Outlook Anywhere support –
RoleService Id=”Web-Basic-Auth”
RoleService Id=”Web-Digest-Auth”
RoleService Id=”Web-Windows-Auth”
RoleService Id=”Web-Dyn-Compression”
Feature Id=”RPC-over-HTTP-proxy”
The Exchange-CAS.xml install the same components as the Exchange-Typical exceprt for powershell and the Adminsitration tools. This mean you would need to run the Exchange-base.xml file first or user the typical installation file which installs the same components.
4. Exchange-Mbx.xml
Exchange 2007 SP1 still requires a small amount of IIS components to be installed on the mailbox server.
ServerManagerConfiguration
Action=”Install” xmlns=”http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1“>
– Install the Web Server role with default child components –
Role Id=”Web-Server”
– Install the optional IIS6 Metabase and console –
RoleService Id=”Web-Metabase”
RoleService Id=”Web-Lgcy-Mgmt-Console”
ServerManagerConfiguration
The Exchange-Edge.xml installs ADAMServerManagerConfiguration Action=”Install” xmlns=”http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1“>
– Install AD Lightweight Directory Services (aka ADAM) –
Role Id=”ADLDS”
ServerManagerConfiguration

http://www.microsoft.com/technet/network/ipv6/ipv6faq.mspx











![[Google]]( http://www.exchange-genie.com/wp-content/plugins/easy-adsenser/google-light.gif)
July 2nd, 2008 at 1:26 pm
Very good article. I think that will guide me through mine Outlook Anywhere enabling session. Do you know why its not possible to enter the external plain IP adress of the Exchangeserver in the Externalhostname property?
November 4th, 2008 at 3:23 pm
Hi Brian,
Excellent post. However the link you gave here only directed me to the step-by-step guide to install the prerequisites, and I couldn’t find the XML files. Luckily a quick Google search revealed that the XML files were available at MS Exchange Team Blog Site: http://msexchangeteam.com/files/12/attachments/entry448276.aspx
May 12th, 2009 at 3:51 pm
[...] Install the Exchange pre-requisites according to the guidelines here. This can be done autmatically with these handy XML files found here. [...]