Installing Exchange Server 2010 Pre-Requisites on Windows Server 2008

Exchange Server 2010 can be installed on either Windows Server 2008 64-bit with Service Pack 2, or Windows Server 2008 64-bit R2, and either Standard or Enterprise editions.

In this post I’ll walk through installing the pre-requisites for Exchange 2010 on Windows Server 2008.  If you’re looking for the Exchange 2010 pre-requisites for Windows Server 2008 R2 go here instead.

First, install the following software components.

  1. .NET Framework 3.5 Service Pack 1
  2. .NET Framework 3.5 Family Update
  3. Windows Remote Management and Windows PowerShell 2.0
  4. 2007 Office System Converter: Microsoft Filter Pack (for Hub Transport and Mailbox Server roles only)

Run the following from an elevated command prompt.

C:\>sc config NetTcpPortSharing start= auto

Next we need to install the operating system components.  The Exchange source files contain a series of ServerManagerCmd.exe answer files in XML format that can be used to install the operating system pre-requisites for each of the server roles.

scripts

Each file relates to a specific Exchange 2010 deployment scenario.

  • exchange-all.xml – all server roles
  • exchange-base.xml – only the requirements for Forest and Domain prep operations
  • exchange-cadb.xml – Central Admin Database role
  • exchange-cas.xml – Client Access Server role
  • exchange-eca.xml – Central Admin role
  • exchange-edge.xml – Edge Transport Server role
  • exchange-hub.xml – Hub Transport Server role
  • exchange-mbx.xml – Mailbox Server role
  • exchange-typical.xml – Typical Exchange server (Client Access, Hub Transport, and Mailbox Server roles)
  • exchange-um.xml – Unified Messaging role

For example, here is the contents of the exchange-cas.xml file.

casxml

Execute any of the answer files using ServerManagerCmd.exe and the -inputPath parameter (that can be shortened to -ip).  Here I am installing the pre-requisites for a “Typical” server.

C:\Admin\Exchange 2010\scripts>servermanagercmd -ip exchange-typical.xml
.............................

Start Installation...

Skipping [.NET Framework 3.0 Features] .NET Framework 3.0 Features because it is
 already installed on this computer.

[Installation] Succeeded: [.NET Framework 3.0 Features] WCF Activation.
[Installation] Succeeded: [Web Server (IIS)] Management Tools.
[Installation] Succeeded: [Web Server (IIS)] Web Server.
[Installation] Succeeded: [Remote Server Administration Tools] Feature Administr
ation Tools.
[Installation] Succeeded: [Remote Server Administration Tools] Role Administrati
on Tools.
[Installation] Succeeded: [Remote Server Administration Tools] Active Directory
Domain Services Tools.
[Installation] Succeeded: [Web Server (IIS)] Performance.
[Installation] Succeeded: [Web Server (IIS)] IIS 6 Management Compatibility.
[Installation] Succeeded: [Web Server (IIS)] Health and Diagnostics.
[Installation] Succeeded: [Web Server (IIS)] Application Development.
[Installation] Succeeded: [Web Server (IIS)] Security.
[Installation] Succeeded: [Web Server (IIS)] Common HTTP Features.
<100/100>

Success: A restart is required to complete the installation.

C:\Admin\Exchange 2010\scripts>

If you want the restart to happen automatically add the -restart option to the command.

C:\Admin\Exchange 2010\scripts>servermanagercmd -ip exchange-typical.xml -restart

The server is now ready for installation of Exchange Server 2010.

ready

Comments

  1. blueberries says

    What is the need of ServerManagerCmd -i Desktop -Experience when installing the necessary O/S components for a server that will host the Client Access, Hub Transport, Mailbox, and Unified Messaging server roles?

    sc config NetTcpPortSharing start=auto
    ServerManagercmd -i Desktop -Experiences
    ServerManagercmd -ip Exchange-Typical.xml

  2. Shakti says

    Hi Paul,
    From where i can get the following files..
    ————————————————————————————————
    xchange-all.xml – all server roles
    exchange-base.xml – only the requirements for Forest and Domain prep operations
    exchange-cadb.xml – Central Admin Database role
    exchange-cas.xml – Client Access Server role
    exchange-eca.xml – Central Admin role
    exchange-edge.xml – Edge Transport Server role
    exchange-hub.xml – Hub Transport Server role
    exchange-mbx.xml – Mailbox Server role
    exchange-typical.xml – Typical Exchange server (Client Access, Hub Transport, and Mailbox Server roles)
    exchange-um.xml – Unified Messaging role
    For example, here is the contents of the exchange-cas.xml file.
    ————————————————————————————————-

    Thanks,
    Shakti

  3. CoolGuy says

    Hi Paul,

    Can u please put more screenshots of Xchg Server 2010 installation (Step-by step) from where we launch the application to end of the installation. That will be helpful.

    CoolGuy

  4. says

    Hi Paul,
    our exchange 2010 is no longer able to log in after updating the windows updates, and Exchange no more running. server got hanged after updates, first, it saying installing updates do not turnoff. and then even after several hours .
    please give me the solution for exchange to run.

  5. Manoj says

    Hi Paul,

    During exchange 2010 server installation on Win28 ,client access role is getting failed . Microsoft Kbs 982867,979917,973136 require all theses KB’s are ASP.net bit when we tried to install these KB ‘s it say not applicable to this system.

    Also in the script folder exchange-cas.xml file is not present can you please help me to solve this issue.

    • says

      Sounds like you may be installing the SP1 build of Exchange 2010, which doesn’t have the same XML files included in it.

      But it does have a checkbox during the setup wizard to automatically install the Windows roles/features required. Try checking that box when you are running setup.

  6. Abdullah says

    HI Paul,
    Paul I have searched everywhere but have failed to find a comprehensive sample of Answer file for unattended Exchange Install; could you please be kind enough to share one with us?
    Thanks in adavnce
    Abdullah

  7. says

    hi paul,

    thanks so much for this. pls i want to know if i need to register my external domain name for CAS before i can receive mail from external network?

    thanks

  8. Gir says

    there is no Exchange-CAS.xml, Exchange-HUB.xml in the scripts folder?
    where do i can download these all the XML prerequisites, becuase some are missing from the scripts folder. help me pplease

  9. shaikh says

    hai dear,

    I have started my job as server admin in a firm, but i have little bit knowldge about the windows server and exchange server, what kind of error wil lcom normally
    please help me
    thnaks iin advance

  10. Ehsan says

    Summary: 5 item(s). 2 succeeded, 3 failed.
    Elapsed time: 00:02:49

    Organization Prerequisites
    Completed

    Warning:
    Setup is going to prepare the organization for Exchange 2010 by using ‘Setup /PrepareAD’. No Exchange 2007 server roles have been detected in this topology. After this operation, you will not be able to install any Exchange 2007 server roles.

    Elapsed Time: 00:01:38

    Languages Prerequisites
    Completed

    Elapsed Time: 00:00:13

    Hub Transport Role Prerequisites
    Failed

    Error:
    The NetBIOS name of the computer does not match the DNS host name. Ensure that the NetBIOS name is not truncated due to the 15-character limit.

    Elapsed Time: 00:00:24

    Client Access Role Prerequisites
    Failed

    Error:
    The NetBIOS name of the computer does not match the DNS host name. Ensure that the NetBIOS name is not truncated due to the 15-character limit.

    Error:
    The start mode for the Net.Tcp Port Sharing service must be set to Automatic before Setup can continue.

    Elapsed Time: 00:00:16

    Mailbox Role Prerequisites
    Failed

    Error:
    The NetBIOS name of the computer does not match the DNS host name. Ensure that the NetBIOS name is not truncated due to the 15-character limit.

    Elapsed Time: 00:00:15

Leave a Reply

Your email address will not be published. Required fields are marked *