Setup Failure Occurred While Installing a Server Role

[This topic is intended to address a specific issue called out by the Exchange Server Analyzer Tool. You should apply it only to systems that have had the Exchange Server Analyzer Tool run against them and are experiencing that specific issue. The Exchange Server Analyzer Tool, available as a free download, remotely collects configuration data from each server in the topology and automatically analyzes the data. The resulting report details important configuration issues, potential problems, and nondefault product settings. By following these recommendations, you can achieve better performance, scalability, reliability, and uptime. For more information about the tool or to download the latest versions, see "Microsoft Exchange Analyzers" at https://go.microsoft.com/fwlink/?linkid=34707.]  

Topic Last Modified: 2007-04-12

Microsoft Exchange Server 2007 setup cannot continue because a previous setup failure occurred while installing a server role.

Exchange 2007 setup requires that a failed server role installation be successfully re-installed, or removed from the setup process, before any other setup task can continue.

To address this issue, either reinstall just the failed server role(s), or remove the server role(s).

To reinstall the failed server role from the command line

  1. Open a Command Prompt window, and then navigate to the installation files.

  2. Run the following command:

    Setup /roles:<Failed Server Role>
    

    Select from one or more of the following roles, in a comma-separated list:

    ClientAccess (or CA, or C)

    EdgeTransport (or ET, or E)

    Note

    The Edge Transport server role cannot coexist on the same computer with any other server role.

    Note

    You must deploy the Edge Transport server role in the perimeter network and outside the Active Directory forest.

    HubTransport (or HT, or H)

    Mailbox (or MB, or M)

    UnifiedMessaging (or UM, or U)

    ManagementTools (or MT, or T)

    Note

    If you specify ManagementTools, you will install the Exchange Management Console, the Exchange cmdlets for the Exchange Management Shell, the Exchange Help file, the Exchange Best Practices Analyzer Tool, and the Exchange Troubleshooting Assistant. If you install any other server role, the management tools will be installed automatically.

    For example, to add the Hub Transport server role to an existing Mailbox server, type the following: %LocalExchangeInstallationDir%\bin\Setup.com /role:HubTransport /Mode:Install

Note

If any Exchange Server 2007 server role previously installed successfully, the Setup wizard will run in maintenance mode. If no Exchange 2007 server roles were previously successfully installed, the Setup wizard will start from where it stopped.

To use the Exchange Server 2007 Setup wizard in maintenance mode to reinstall the failed server role

  1. Log on to the server for which you want to reinstall a server role.

  2. Open Control Panel and then double-click Add or Remove Programs.

  3. On the Change or Remove Programs page, select Microsoft Exchange Server, and then click Change.

  4. In the Exchange Server 2007 Setup wizard, on the Exchange Maintenance Mode page, click Next.

  5. On the Server Role Selection page, select the check boxes for the server roles that you want to install, and then click Next.

    Note

    The Edge Transport server role cannot coexist on the same computer with any other server role.

    Note

    You must deploy the Edge Transport server role in the perimeter network and outside the Active Directory forest.

    Note

    If you select Management Tools, you will install the Exchange Management Console, the Exchange cmdlets for the Exchange Management Shell, and the Exchange Help file. The management tools will be installed automatically if you install any other server role.

  6. If you selected Hub Transport Role, and if you are installing Exchange 2007 in a forest that has an existing Exchange Server 2003 or Exchange 2000 Server organization, on the Mail Flow Settings page, select a bridgehead server in the existing organization that is a member of the Exchange 2003 or Exchange 2000 routing group to which you want to create a routing group connector.

  7. On the Readiness Checks page, view the status to determine if the organization and server role prerequisite checks completed successfully. If they have completed successfully, click Install to install Exchange 2007.

  8. On the Completion page, click Finish.

To use the Exchange Server 2007 Setup wizard to reinstall the failed server role when no other server role was previously successfully installed

  1. Follow the guidance in "How to Perform a Custom Installation Using Exchange Server 2007 Setup" (https://go.microsoft.com/fwlink/?LinkId=86648) in the Exchange Server 2007 product documentation.

To remove the failed server role

  1. Follow the guidance in "How to Remove Exchange 2007 Server Roles" (https://go.microsoft.com/fwlink/?LinkId=86649) in the Exchange Server 2007 product documentation.

For More Information

For more information about how to install Exchange 2007 in unattended mode, see "How to Install Exchange 2007 in Unattended Mode" (https://go.microsoft.com/fwlink/?LinkId=86476).