This topic explains how to use Setup.com or the Control Panel in
Windows Server to modify a
Microsoft Exchange Server 2007 installation.
You can modify an Exchange 2007 installation in the
following ways:

Add an Exchange 2007 server role to an existing
Exchange 2007 server.

In a clustered scenario, designate the active node in the
cluster.

Remove Exchange 2007 server roles or remove Exchange from
an Exchange 2007 server. To remove server roles or to remove
Exchange, you must use the Control Panel in
Windows Server or Setup.com from a Command Prompt window.

Before You Begin

To perform the following procedure, the account you use
must be delegated the following:

Membership in the Enterprise Administrators group

Membership in the Domain Administrators group

For more information about permissions, delegating
roles, and the rights that are required to administer Exchange
Server 2007, see Permission
Considerations.

Before you perform the procedure in this topic, confirm
the following:

You have already installed Exchange 2007 on the server on
which you want to add a server role.

For e-mail messages to flow correctly, you must install both
the Mailbox server role and the Hub Transport server role in each
Active Directory directory service site.

For client access to work correctly, you must install a Client
Access server in each Active Directory site that has a
Mailbox server.

You can install the Mailbox server role, the Hub Transport
server role, the Client Access server role, and the Unified
Messaging server role on the same computer or on separate
computers.

You cannot add an Exchange 2007 Service Pack 1 (SP1) server
role to a computer that is running the release to manufacturing
(RTM) version of Exchange 2007. To add an Exchange 2007 SP1 server
role, you must first upgrade the server to Exchange 2007 SP1. For
more information about upgrading, see How to Upgrade to
Exchange 2007 SP1.

If you have Exchange 2007 SP1 installed on Windows Server 2003,
you must use Exchange 2007 SP1 Setup.com or Add or Remove
Programs from the Control Panel to add server roles. If you
have Exchange 2007 SP1 installed on Windows Server 2008, you must
use Exchange 2007 SP1 Setup.com or Programs and Features
from the Control Panel to add server roles.

Procedure

To use Setup.com to modify an
Exchange installation

Log on to the server on which you want modify the
Exchange 2007 installation.

Open a Command Prompt window and navigate to the
directory where you installed Exchange. By default, this is
%programfiles%\Microsoft\Exchange Server.

Navigate to the bin directory.

If you are adding a server role to or removing a server
role from an existing Exchange 2007 server, at a command
prompt, type the following:

You must use the /mode parameter to specify the setup mode.
If you do not specify a mode, Setup.com uses the default Install
mode. Select one of the following modes:

Install

Upgrade

Uninstall

RecoverServer

Note:

You can only use the Upgrade mode to upgrade from a previous
pre-release version of Exchange 2007. You cannot perform an
in-place upgrade of a previous Exchange version to
Exchange 2007.

Note:

Use the RecoverServer mode to recover a server installation.
For more information, see Server
Recovery.

/roles:, or /r:<server roles to
install>

You must use the /roles parameter to specify which server
roles to install or remove. Select from one or more of the
following roles, in a comma-separated list:

ClientAccess (or CA, or C)

EdgeTransport (or ET, or E)

HubTransport (or HT, or H)

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.

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

For example, to remove the Client Access server role from an
existing server, type the following:
%LocalExchangeInstallationDir%\bin\Setup.com /role:ClientAccess
/Mode:Uninstall

[/OrganizationName:, or /on:<organization
name>]

Use the /OrganizationName parameter to specify the name to
give the new Exchange organization. This parameter is required
if you are installing the first server in an organization. If you
are installing a server in an existing Exchange organization,
you cannot use this parameter.

[/TargetDir:, or /t:<target directory>]

Use the /TargetDir parameter to specify the location to
install Exchange 2007 files. The default location is
%programfiles%\Microsoft\Exchange Server.

[/SourceDir:, or /s:<source directory>]

Use the /SourceDir parameter to specify the location of the
Exchange source files. By default, Setup uses the location of the
source files when you initially installed Exchange 2007. You
need to use this parameter only if you change the source
location.

[/UpdatesDir:, or /u:<updates
directory>]

Use the /UpdatesDir parameter to specify the directory from
which updates will be installed. Files in the updates directory
must be either an Updates.exe file, or one or more *.msp files.

[/DomainController:, or /dc:<domain
controller>]

Use the /DomainController parameter to specify the domain
controller to use to read from and write to Active Directory
during setup. You can use NetBIOS or fully qualified domain
name (FQDN) format.

[/AnswerFile:, or
/af:<filename>]

Use the /AnswerFile parameter to specify the location of a
file that contains advanced parameters for setup. The advanced
parameters that you can use in the answer file are
EnableErrorReporting, NoSelfSignedCertificates, AdamLdapPort, and
AdamSslPort.

[/DoNotStartTransport]

Use the /DoNotStartTransport parameter to specify that the
Microsoft Exchange Transport service will not start when
Setup completes. If you need to do additional configuration before
the Edge Transport or Hub Transport server accepts e-mail, for
example, configuring anti-spam agents, you should use this
parameter.

[/EnableLegacyOutlook]

Use the /EnableLegacyOutlook parameter to specify that you
have client computers that are running
Microsoft Office Outlook 2003 or earlier.
Exchange 2007 will create a public folder database on the
mailbox server. If all of your client computers are running
Office Outlook 2007, public folders are optional in
Exchange 2007. If you do not use this parameter,
Exchange 2007 will not create a public folder database on
the Mailbox server. You can add a public folder database later.

You can only use this parameter if you are installing the first
Mailbox server in an organization.

[/LegacyRoutingServer]

Use the /LegacyRoutingServer parameter to specify the
Exchange 2003 or Exchange 2000 bridgehead
server on which you will create a routing group connector for
coexistence between Exchange 2007 and
either Exchange 2003 or Exchange 2000.

You can only use this parameter if you are installing the first Hub
Transport server in an organization.

[/EnableErrorReporting]

Use the /EnableErrorReporting parameter to enable error
reporting during setup.

[/NoSelfSignedCertificates]

Use the /NoSelfSignedCertificates parameter if you do not
want Setup to create self-signed certificates in the case where no
other valid certificate is found for Secure Sockets Layer (SSL) or
Transport Layer Security (TLS) sessions.

You can only use this parameter if you are installing either the
Client Access server role or the Unified Messaging server role.

[/AdamLdapPort]

Use the /AdamLdapPort parameter to specify the Lightweight
Directory Access Protocol (LDAP) port to use for the Edge Transport
server role Active Directory Application Mode (ADAM)
instance.

You can only use this parameter if you are installing the Edge
Transport server role.

[/AdamSslPort]

Use the /AdamSslPort parameter to specify the SSL port to
use for the Edge Transport server role ADAM instance.

You can only use this parameter if you are installing the Edge
Transport server role.

On the Server Role Selection page, if you are
removing server roles, clear the server roles that you want to
remove, and then click Next. If you are adding server roles
or adding a Clustered Mailbox server role, click the server role
that you want to add, and then click Next.

If you are adding the 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.

Note:

The Exchange 2007 routing topology is based on
Active Directory sites and does not use routing groups.
However, to enable mail flow between Exchange 2007 and
Exchange 2003 or Exchange 2000, there must be a routing
group connector between the Exchange 2007 routing group and
the routing group in the Exchange 2003 or
Exchange 2000 organization.

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

On the Completion page, click Finish.

For More Information

For information about using the
Exchange Server 2007 Setup wizard to install
Exchange 2007, see one of the following topics: