After you have installed Exchange 2016 pre-requisites you can proceed with the installation of Exchange Server itself.
In this article we will cover:
- Active Directory domain preparation for Exchange 2016 Installation
- Exchange 2016 Installation of the Mailbox Server Role on a new server
Before proceeding with the installation it is highly recommended to take an Active Directory Backup and remember than changes performed to the AD schema, while unharmful especially when installing Microsoft products, are permanent and irreversible.
If you are performing the Exchange 2016 Installation in a new forest where no previous Exchange deployment exists you will have to choice an Organization Name which cannot be changed later on, unless you completely remove Exchange, so should be something fitting for the environment.
Exchange 2016 Installation – Prepare the AD Schema
As with previous Exchange versions Exchange 2016 installation requires a Schema Extension that will prepare AD with necessary attributes. I have described the process of extending AD Forest Schema in this article here I will concentrate on the domain preparation for Exchange 2016 installation.
Assuming no previous Exchange installation exists you will need to provide a name for the organization that Exchange will use
Setup.exe /PrepareAD /OrganizationName:"<OrgName>" /IAcceptExchangeServerLicenseTerms Welcome to Microsoft Exchange Server 2016 Unattended Setup Copying Files... File copy complete. Setup will now collect additional information needed for installation. Performing Microsoft Exchange Server Prerequisite Check Prerequisite Analysis 100% Setup will prepare the organization for Exchange Server 2016 by using 'Setup /PrepareAD'. No Exchange Server 2013 roles have been detected in this topology. After this operation, you will not be able to install any Exchange Server 2013 roles. For more information, visit: http://technet.microsoft.com/library(EXCHG.160)/ms. exch.setupreadiness.NoE15ServerWarning.aspx Setup will prepare the organization for Exchange Server 2016 by using 'Setup /PrepareAD'. No Exchange Server 2010 roles have been detected in this topology. After this operation, you will not be able to install any Exchange Server 2010 roles. For more information, visit: http://technet.microsoft.com/library(EXCHG.160)/ms. exch.setupreadiness.NoE14ServerWarning.aspx Configuring Microsoft Exchange Server Organization Preparation COMPLETED The Exchange Server setup operation completed successfully.
If you are installing in a domain where an Exchange organization already exists you only need to run the following version of the command
Setup.exe /PrepareAD /IAcceptExchangeServerLicenseTerms
Exchange 2016 Installation – Mailbox Server Role
Exchange 2016 architecture is composed of a single role the Mailbox Server Role with the optional Edge Server role, which will not be covered in this article, so that installation is straightforward with fewer options than in the past.
Exchange 2016 installation can be performed either using the GUI or directly via command line I will describe both methods.
[su_spoiler title=”Exchange 2016 Installation via GUI” style=”fancy” anchor=”Exchange 2016 GUI Installation”]
Extract Exchange 2016 Installation files in a convenient location and launch the setup file, in the first window you will be asked to check for updates and then installation files copy will start.
Read the introduction and accept the license agreement
Next you will be asked to participate or not in the Customer Improvement Experience
Finally you will be presented with the component selection. Ticking the Mailbox Server role will automatically select Management Tools as well and you can select the option to install any missing Windows feature or Role
Select the path where Exchange binaries and default databases will be installed
Finally you will be asked to either enable or disable Anti Malware settings, as usually a dedicated antimalware solution sits in front of the Exchange server it is generally a good idea to disable the setting
Setup will run the Readiness Tool which will check if all Exchange 2016 pre-requisites have been installed and then will finally allow you to start Exchange 2016 Installation.
[su_spoiler title=”Exchange 2016 Installation via Command Line” style=”fancy” anchor=”CLI”]
As with most things the CLI is the fastest way to complete a task and Exchange 2016 Installation is no exception. Open an elevated command prompt or PowerShell session and navigate to the folder where Exchange setup files are located and launch the following command
setup.exe /mode:Install /Role:MAilbox /IAcceptExchangeServerLicenseTerms Languages Management tools Mailbox role: Transport service Mailbox role: Client Access service Mailbox role: Unified Messaging service Mailbox role: Mailbox service Mailbox role: Front End Transport service Mailbox role: Client Access Front End service Performing Microsoft Exchange Server Prerequisite Check Configuring COMPLETED Prerequisite Analysis COMPLETED Configuring Microsoft Exchange Server Preparing Setup COMPLETED Stopping Services COMPLETED Copying Exchange Files COMPLETED Language Files COMPLETED Restoring Services COMPLETED Language Configuration COMPLETED Exchange Management Tools COMPLETED Mailbox role: Transport service COMPLETED Mailbox role: Client Access Service COMPLETED Mailbox role: Unified Messaging Service COMPLETED Mailbox role: Mailbox Service COMPLETED Mailbox role: Front End Transport Service COMPLETED Mailbox role: Client Access Front End service COMPLETED Finaliying Setup COMPLETED The Exchange Server setup operation completed successfully. Setup has made changes to the operating system settings that require a reboot to take effect. Please reboot this server prior to placing it into production.
Once you have rebooted the server it will be fully functional and you can take remaining steps to configure it for production.