Unattended Setup Exchange 2010

You can install Exchange Server 2010 using the graphical setup application (setup.exe) but you can also chose to install Exchange Server 2010 unattended using the command-line setup application (setup.com). Please note that the prerequisites for unattended setup are the same as the prerequisites for a 'normal' setup.

Initially you have to prepare Active Directory for Exchange 2010, you can do this with the following switches:

  • setup.com /PrepareExchangeLegacyPermissions
  • setup.com /PrepareSchema
  • setup.com /PrepareAD /OrganizationName:<> (this switch can be omitted when upgrading from Exchange 2003 or Exchange 2007)
  • setup.com /PrepareDomain

When finished you can install the various server roles, and this can be performed unattended as well. To install a combined Exchange Server 2010 Hub and CAS server in an existing Exchange Server 2003 environment you can use the following command:

setup.com /mode:install /role:CA,HT /UpdatesDir:\\share\ExchangeUpdates /LegacyRoutingServer:<<2003FE Server>> /LanguagePack:\\share\ExchangeLanguagePack\LanguagePackBundle.exe /ExternalCASServerDomain:webmail.yourdomain.com

This will install a combined CAS/HUB Server, and it will automatically install updates that are stored in the ExchangeUpdates share, for example Update Rollup 3 for Exchange 2010. The /LegacyRoutingServer will create an Interop Routing Group Connector between Exchange Server 2010 and Exchange Server 2003. This switch can only be used during installation of the first Hub Transport Server.

The /LanguagePack swith will install a pre-downloaded Language Pack Bundle that you have stored on a file share on your network.

the /ExternalCASServerDomain option is used as the domain name that's used for configuring the -ExternalURL options (for Internet accessible CAS servers)

To install a Mailbox Server role you can use the following command:
setup.com /mode:install /role:MB /UpdatesDir:\\share\ExchangeUpdates /EnableLegacyOutlook /LanguagePack:\\share\ExchangeLanguagePack\LanguagePackBundle.exe

It is also possible to use an answer file for the unattended setup with the /Answerfile:c:\answerfile.txt option. you can use the following options in the answer file:
EnableLegacyOutlook, LegacyRoutingServer, ServerAdmin, ForeignForestFQDN, OrganizationName, DoNotStartTransport, UpdatesDir, EnableErrorReporting, NoSelfSignedCertificates, AdamLdapPort, and AdamSslPort.

More information on the Microsoft website: http://technet.microsoft.com/en-us/library/aa997281.aspx

 

Leave a Comment

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

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top