How to Modify an Exchange Installation
Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.
Applies to: Exchange Server 2007, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3
This topic explains how to use Setup.com or 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 Control Panel in Windows Server or Setup.com in a Command Prompt window.
Warning
After you install Exchange 2007 on a server, you must not change the server name. Renaming a server after you have installed an Exchange 2007 server role is not supported.
Before You Begin
To perform the following procedure, the account that 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 2007, see Permission Considerations.
Before you perform the procedure in this topic, verify 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.
Verify that your organization meets the requirements that are listed in Exchange 2007 System Requirements.
Also, before you perform this procedure, be aware of the following:
You cannot add a Microsoft Exchange Server 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 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 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:
Setup.com /mode:< setup mode > /roles:< server roles to install > [-OrganizationName:< name for the new Exchange organization >] [/TargetDir:< target directory >] [/SourceDir: <source directory> ] [/UpdatesDir:< directory from which to install updates >] [/DomainController:< domain controller >] [/AnswerFile:< filename >] [/DoNotStartTransport] [/EnableLegacyOutlook] [/LegacyRoutingServer] [/EnableErrorReporting] [/NoSelfSignedCertificates] [/AdamLdapPort] [/AdamSslPort] [.AddUmLanguagePack:<UM language pack name] [/RemoveUmLanguagePack:< UM language pack name >] [/?]
The following describe the command parameters:
/mode:, or /m:<setup mode>
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.
[/AddUmLanguagePack:<UM language pack name>]
Use the /AddUmLanguagePack parameter to specify a Unified Messaging language pack that you want to add. For a list of Unified Messaging languages, see Understanding Unified Messaging Languages.
[/RemoveUmLanguagePack:<UM language pack name>]
Use the /RemoveUmLanguagePack parameter to specify a Unified Messaging language pack that you want to remove. For a list of Unified Messaging languages, see Understanding Unified Messaging Languages.
[/?]
Use the /? parameter to display Help for the Setup.com command.
If you are designating the active node of a clustered mailbox server, use the following syntax for Setup.com:
Setup.com [/NewCms] [/CMSName:<
name>] [/CMSIPAddress:<
IP address>] [/CMSSharedStorage] [/CMSDataPath:<
CMS data path>] [/DomainController:<
name of domain controller>]
The following describe the command parameters:
[/NewCms]
Use the /NewCms parameter to create a new Exchange 2007 clustered mailbox server.
[/CMSName, or /cn]
Use the /CMSName parameter to specify the name of the Exchange clustered mailbox server.
[/CMSIPAddress, or /cip]
Use the /CMSIPAddress parameter to specify the IP address of the Exchange clustered mailbox server.
[/CMSSharedStorage, or /css]
Use the /CMSSharedStorage parameter to specify that this cluster node uses shared storage. By default, the cluster node will not use shared storage.
[/CMSDataPath, or /cdp]
Use the /CMSDataPath parameter to specify the path for shared disks.
[/DomainController, or /dc]
Use the /DomainController parameter to specify the name of the domain controller to use during setup.
How to use Control Panel to modify an Exchange installation
In Control Panel, perform one of the following steps:
If you are running Windows Server 2003, double-click Add or Remove Programs.
If you are running Windows Server 2008, double-click Programs and Features.
In Add or Remove Programs or Programs and Features, select Microsoft Exchange Server 2007.
To remove server roles or remove Exchange, perform one of the following steps:
If you are running Windows Server 2003, click Remove.
If you are running Windows Server 2008, click Uninstall.
To add server roles or to designate the active node in a cluster, click Change.
In the Exchange Server 2007 Setup wizard, on the Exchange Maintenance Mode page, click Next.
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:
How to Perform a Typical Installation Using Exchange Server 2007 Setup
How to Perform a Custom Installation Using Exchange Server 2007 Setup
For detailed steps about how to install Exchange 2007 in unattended mode, see How to Install Exchange 2007 in Unattended Mode.
For more information about installing a clustered Mailbox server, see the following topics:
For more information about removing Exchange, see the following topics:
For information about how to configure each of the server roles after installation, see Post-Installation Tasks.
For information about the feature changes between Windows Server 2003 and Windows Server 2008, see Terminology Changes.