Install Exchange 2013 Using Unattended Mode
Applies to: Exchange Server 2013
Topic Last Modified: 2013-09-20
To perform an unattended setup, you must install Microsoft Exchange Server 2013 from the command prompt. For more information about planning and deploying Exchange 2013, see Planning and Deployment.
|Have you heard about the Exchange Server Deployment Assistant? It's a free online tool that helps you quickly deploy Exchange 2013 in your organization by asking you a few questions and creating a customized deployment checklist just for you. If you want to learn more about it, go to Exchange Server Deployment Assistant.|
|After you install any server roles on a computer running Exchange 2013, you can't use the Exchange 2013 Setup wizard to add any additional server roles to this computer. If you want to add more server roles to a computer, you must either use Add or Remove Programs from Control Panel or use Setup.exe from a Command Prompt window.|
For information about tasks to complete after installation, see Exchange 2013 Post-Installation Tasks.
Estimated time to complete: 60 minutes
Make sure you've read the release notes prior to installing Exchange 2013. For more information, see Release Notes for Exchange 2013.
Each organization requires at a minimum one Client Access server and one Mailbox server in the Active Directory forest. Additionally, each Active Directory site that contains a Mailbox server must also contain at least one Client Access server. If you're separating your server roles, we recommend installing the Mailbox server role first.
The computer you install Exchange 2013 on must have a supported operating system (such as Windows Server 2008 R2 with Service Pack 1 (SP1) or Windows Server 2012), have enough disk space, be a member of an Active Directory domain, and satisfy other requirements. For information about system requirements, see Exchange 2013 System Requirements.
To run Exchange 2013 setup, you must install Microsoft .NET Framework 4.5, Windows Management Framework 3.0, and other required software. To understand the prerequisites for all server roles, see Exchange 2013 Prerequisites.
You must ensure the account you use is delegated membership in the Schema Admins group if you haven't previously prepared the Active Directory schema. If you're installing the first Exchange 2013 server in the organization, the account you use must have membership in the Enterprise Admins group. If you've already prepared the schema and aren't installing the first Exchange 2013 server in the organization, the account you use must be a member of the Exchange 2013 Organization Management management role group.
Administrators who are members of the Delegated Setup role group can deploy Exchange 2013 servers that have been previously provisioned by a member of the Organization Management role group.
For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard Shortcuts in the Exchange Admin Center.
|After you install Exchange 2013 on a server, you must not change the server name. Renaming a server after you have installed an Exchange 2013 server role is not supported.|
|To download the latest version of Exchange 2013, see Cumulative Updates for Exchange 2013.|
Log on to the computer on which you want to install Exchange 2013.
Navigate to the network location of the Exchange 2013 installation files.
At the command prompt, run the applicable command for your organization.
Important: If you have User Access Control (UAC) enabled, you must run
Setup.exefrom an elevated command prompt.
Setup.exe [/Mode:<setup mode>] [/IAcceptExchangeServerLicenseTerms] [/Roles:<server roles 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>]
Setup copies the setup files locally to the computer on which you're installing Exchange 2013.
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 2013.
Restart the computer after Exchange 2013 has completed.
Complete your deployment by performing the tasks provided in Exchange 2013 Post-Installation Tasks.
The following are examples of using Setup.exe:
- Setup.exe /mode:Install /role:ClientAccess,Mailbox /OrganizationName:MyOrg /IAcceptExchangeServerLicenseTerms
This command creates an Exchange 2013 organization in Active Directory called MyOrg, installs the Client Access server role, Mailbox server role, and the management tools and also accepts the Exchange 2013 licensing terms.
- Setup.exe /mode:Install /role:ClientAccess,Mailbox /TargetDir:"C:\Exchange Server"
This command installs the Client Access server role, the Mailbox server role, and the management tools to the "C:\Exchange Server" directory. This command assumes an Exchange 2013 organization has already been prepared.
- Setup.exe /r:CA,MB
This command installs the Client Access server role, the Mailbox server role, and the management tools to the default installation location.
- Setup.exe /mode:Uninstall
This command completely removes Exchange 2013 from the server and removes this server's Exchange configuration from Active Directory.
- Setup.exe /PrepareAD /on:"My Org"
This command creates an Exchange organization called My Org and prepares Active Directory for Exchange 2013.
- C:\ExchangeServer\bin\Setup.exe /m:Install /r:ClientAccess /SourceDir:d:\amd64
This command adds the Client Access server role to an existing Exchange 2013 server using D:\amd64 as the source directory.
- Setup.exe /role:ClientAccess,Mailbox /UpdatesDir:"C:\ExchangeServer\New Patches"
This command updates ExchangeServer.msi with patches from the specified directory, and then installs the Client Access server role, 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:ClientAccess,Mailbox /DomainController:DC01
This command uses the domain controller DC01 to query and make changes to Active Directory while installing the Client Access server role, Mailbox server role, and the management tools.
- Setup.exe /mode:Install /role:ClientAccess /AnswerFile:c:\ExchangeConfig.txt
This command installs the Client Access server role by using the settings in the ExchangeConfig.txt file.
- Setup.exe /rprs:Exchange03
This command removes the object Exchange03 from Active Directory.
- Setup.exe /AddUmLanguagePack:ko-KR
This command installs the Korean Unified Messaging language pack from the %ExchangeSourceDir%\ServerRoles\UnifiedMessaging directory.
To verify that you've successfully installed Exchange 2013, see Verify an Exchange 2013 Installation.
Did you find what you’re looking for? Please take a minute to send us feedback about the information you were hoping to find.