Export (0) Print
Expand All

Install Exchange 2016 using unattended mode

[This topic is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders. If you have feedback, we'd love to hear it! Email us at ExchangeHelpFeedback@microsoft.com.]  

Applies to: Exchange Server 2016

To perform an unattended setup, you need to install Microsoft Exchange Server 2016 from the command prompt. For more information about planning for Exchange 2016, see Planning and deployment.

We recommend that the Edge Transport role be installed in a perimeter network outside of your organization's internal Active Directory forest. While you can install the Edge Transport server role on a domain-joined computer, doing so will only enable domain management of Windows features and settings. The Edge Transport role itself doesn't use Active Directory. Instead, it uses the Active Directory Lightweight Directory Services (AD LDS) Windows feature to store configuration and recipient information. For more information about the Edge Transport role, see Edge Transport servers.

importantImportant:
Install Exchange 2016 Preview in a test lab environment only. Installing Exchange 2016 Preview in a production environment isn't supported.
noteNote:
The Edge Transport role can't be installed on the same computer as the Mailbox server role.

For information about tasks to complete after installation, see Exchange 2016 post-Installation tasks.

The following information applies to both the Mailbox and Edge Transport server roles.

  • Make sure you've read the release notes prior to installing Exchange 2016. For more information, see Release notes for Exchange 2016.

  • The computer you install Exchange 2016 on needs to have a supported operating system, have enough disk space, and satisfy other requirements. For information about system requirements, see Exchange 2016 system requirements.

  • To run Exchange 2016 setup, you need to install various Windows roles and features, .NET Framework 4.5.2 or later, and other required software. To understand the prerequisites for all server roles, see Exchange 2016 prerequisites.

  • For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.

CautionCaution:
After you install Exchange 2016 on a server, you must not change the server name. Renaming a server after you have installed an Exchange 2016 server role is not supported.

The following information applies to the Exchange 2016 Mailbox server role.

  • Estimated time to complete: 60 minutes

  • The computer you install Exchange 2016 on must be a member of an Active Directory domain.

  • If you're installing the first Exchange 2016 server in the organization, the account you use needs to be a member of the Enterprise Admins group.

  • If you haven't previously prepared the Active Directory schema, the account you use also needs to be a member of the Schema Admins group.

  • If you've already prepared the schema and aren't installing the first Exchange 2016 server in the organization, the account you use needs to be a member of the Exchange 2016 Organization Management role group.

    Administrators who are members of the Delegated Setup role group can deploy Exchange 2016 servers that have been previously provisioned by a member of the Organization Management role group.

The following information applies to the Exchange 2016 Edge Transport server role.

  • Estimated time to complete: 40 minutes

  • You need to configure the primary DNS suffix on the computer. For example, if the fully qualified domain name of your computer is edge.contoso.com, the DNS suffix for the computer is contoso.com. For more information, see Primary DNS Suffix is missing.

  • Exchange 2010 Hub Transport servers need an update before you can create an EdgeSync Subscription between them and an Exchange 2016 Edge Transport server. If you don't install this update, the EdgeSync Subscription won't work correctly. For more information, see the "Supported coexistence scenarios" section in Exchange 2016 system requirements.

  • Make sure the account you use is a member of the local Administrators group on the computer you're installing the Edge Transport role.

  1. Log on to the computer on which you want to install Exchange 2016.

  2. Download the Exchange 2016 installation files from the Microsoft Download Center.

  3. Navigate to the network location of the Exchange 2016 installation files.

  4. At the command prompt, run the applicable command for your organization.

    importantImportant:
    If you have User Access Control (UAC) enabled, you must run Setup.exe from an elevated command prompt.
    Setup.exe [/Mode:<setup mode>] [/IAcceptExchangeServerLicenseTerms]
    [/Role:<server role to install>] [/InstallWindowsComponents] 
    [/OrganizationName:<name for the new Exchange organization>] 
    [/TargetDir:<target directory>] [/SourceDir:<source directory>]
    [/UpdatesDir:<directory from which to install updates>] 
    [/DomainController:<FQDN of domain controller>] [/DisableAMFiltering]
    [/AnswerFile:<filename>] [/DoNotStartTransport] 
    [/EnableErrorReporting] [/CustomerFeedbackEnabled:<True | False>] 
    [/AddUmLanguagePack:<UM language pack name>] 
    [/RemoveUmLanguagePack:<UM language pack name>] 
    [/NewProvisionedServer:<server>] [/RemoveProvisionedServer:<server>] 
    [/MdbName:<mailbox database name>] [/DbFilePath:<Edb file path>] 
    [/LogFolderPath:<log folder path>] [/ActiveDirectorySplitPermissions:<True | False>]
    [/TenantOrganizationConfig:<path>]
    
  5. Setup copies the setup files locally to the computer on which you're installing Exchange 2016.

  6. Setup checks the prerequisites, including all prerequisites specific to the server roles that you're installing. If you haven't met all the prerequisites, Setup fails and returns an error message that explains the reason for the failure. If you've met all the prerequisites, Setup installs Exchange 2016.

  7. Restart the computer after Exchange 2016 has completed.

  8. Complete your deployment by performing the tasks provided in Exchange 2016 post-Installation tasks.

The following are examples of using Setup.exe:

  • Setup.exe /mode:Install /role:Mailbox /OrganizationName:MyOrg /IAcceptExchangeServerLicenseTerms

    This command creates an Exchange 2016 organization in Active Directory called MyOrg, installs the Mailbox server role and the management tools, and also accepts the Exchange 2016 licensing terms.

  • Setup.exe /mode:Install /role:Mailbox /TargetDir:"C:\Exchange Server" /IAcceptExchangeServerLicenseTerms

    This command installs the Mailbox server role and the management tools in the "C:\Exchange Server" directory. This command assumes an Exchange 2016 organization has already been prepared.

  • Setup.exe /mode:Install /r:MB /IAcceptExchangeServerLicenseTerms

    This command installs the Mailbox server role and the management tools in the default installation location.

  • Setup.exe /mode:Install /r:EdgeTransport /IAcceptExchangeServerLicenseTerms

    This command installs the Edge Transport server role and the management tools in the default installation location.

  • Setup.exe /mode:Install /r:ET /IAcceptExchangeServerLicenseTerms

    This command installs the Edge Transport server role and the management tools in the default installation location.

  • Setup.exe /mode:Uninstall /IAcceptExchangeServerLicenseTerms

    This command completely removes Exchange 2016 from the server and removes this server's Exchange configuration from Active Directory.

  • Setup.exe /PrepareAD /on:"My Org" /IAcceptExchangeServerLicenseTerms

    This command creates an Exchange organization called My Org and prepares Active Directory for Exchange 2016.

  • Setup.exe /role:Mailbox /UpdatesDir:"C:\ExchangeServer\New Patches" /IAcceptExchangeServerLicenseTerms

    This command updates ExchangeServer.msi with patches from the specified directory, and then installs the Mailbox server role and the management tools. If a language pack bundle is included in this directory, the language pack is also installed.

  • Setup.exe /mode:Install /role:Mailbox /DomainController:DC01 /IAcceptExchangeServerLicenseTerms

    This command uses the domain controller DC01 to query and make changes to Active Directory while installing Mailbox server role and the management tools.

  • Setup.exe /mode:Install /role:Mailbox /AnswerFile:c:\ExchangeConfig.txt /IAcceptExchangeServerLicenseTerms

    This command installs the Mailbox server role by using the settings in the ExchangeConfig.txt file.

  • Setup.exe /rprs:Exchange03 /IAcceptExchangeServerLicenseTerms

    This command removes the object Exchange03 from Active Directory.

  • Setup.exe /AddUmLanguagePack:ko-KR /IAcceptExchangeServerLicenseTerms

    This command installs the Korean Unified Messaging language pack from the %ExchangeSourceDir%\ServerRoles\UnifiedMessaging directory.

To verify that you've successfully installed Exchange 2016, see Verify an Exchange 2016 installation.

Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection.

Did you find what you’re looking for? Please take a minute to send us feedback about the information you were hoping to find.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft