How to install Exchange 2016 (CU3 and beyond) on Windows Server 2016

Exchange2016-and-Windows-Server-2016

In this blog post we’ll look at how to install the latest version of Exchange 2016 on Windows Server 2016. At the time of writing the current version of Exchange 2016 is CU3.

When Exchange 2016 was first released it wasn’t possible to install it on the Windows Server 2016 Technical Previews due to some missing features in the OS that it relies upon, but now Windows Server 2016 has been released to manufacturing, installation of Exchange 2016 on WIndows Server 2016 is supported.

The demo environment I am using includes a Windows Server 2016 domain controller that is running at the Windows 2016 forest and domain level, and a Windows Server 2016 member server.

In the demo environment no previous versions of Exchange have been installed so as part of the installation the Exchange 2016 we will upgrade the AD Schema.

Finally before we start, always test in a demo environment before deploying in Production!

I hope this walk through helps.

Carl,
OxfordSBSGuy

1. Download Exchange 2016, see here for the latest version here. Note: check for the latest cumulative Update and install directly from that to save you patching the install.

2. The latest cumulative update is an iso image, so once downloaded copy the iso image locally and mount the image on your member server.

3. On a server 2016 member server, run PowerShell as Administrator.

PowerShell Run as Administrator

4. Run the following command to install the the required windows components for the Mailbox server role (Source: Exchange 2016 Prerequisites).
Install-WindowsFeature NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation, RSAT-ADDS
 

install-exchange-2016-windows-components-using-powershellAs you can see below the installation completed and no restart was required.

install-exchange-2016-windows-components-using-powershell-completeIf you are installing the edge server role only the ADLDS windows feature is required.

5. Download and install Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit (Source: Exchange 2016 Prerequisites).

Microsoft Unified Communications Managed API 4.0 RuntimeMicrosoft Unified Communications Managed API 4.0 Runtime 1Microsoft Unified Communications Managed API 4.0 Runtime 2Microsoft Unified Communications Managed API 4.0 Runtime 3Microsoft Unified Communications Managed API 4.0 Runtime 4

6. Reboot the 2016 member server, or confirm there are no pending reboots required from Windows Updates.

7. On the 2016 member server, run Cmd as Administrator.

Exchange 2016 setup - Run CMD as Administrator

8. Now let’s prepare the domain for Exchange 2016. Go to the location of the mounted Exchange iso image (D:\).

First run setup.exe /help to list the help options available to you.

exchange-2016-cu3-setup-help

As this is the first Exchange Server in our environment we need to prepare the topology so next run setup.exe /help:preparetopology.

exchange-2016-setup-help-preparetopology

The three commands we are interested in are the /PrepareSchema, /PrepareAD, /PrepareDomain, but as this is a new installation we’ll also need to use the /OrganizationName switch

9. So let’s run the first command:

Setup.exe /PrepareSchema

exchange-2016-setup-iacceptexchangeserverlicenseterms-warning-messageYou’ll see without adding the additional switch /IAcceptExchangeServerLicenseTerms we get a warning and the installation goes no further.

So let’s run the first command in full:

Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms

exchange-2016-setup-prepareschema-iacceptexchangeserverlicenseterms-1exchange-2016-setup-prepareschema-iacceptexchangeserverlicenseterms-2

10. Now we run Setup /PrepareAD with the /OrganizationName paramter as this is a new Exchange installation:

Setup /PrepareAD /OrganizationName:OxfordSBSGuy /IAcceptExchangeServerLicenseTerms

exchange-2016-setup-preparead-organizationname-oxfordsbsguy-iacceptexchangeserverlicenseterms

11. Finally the last command we run is to prepare the domain, note in a multi domain environment there is the option to use /PrepareAllDomains:

Setup /PrepareDomain /IAcceptExchangeServerLicenseTerms

exchange-2016-setup-preparedomain-iacceptexchangeserverlicenseterms

12. Now type Setup.exe and hit return. Click Next to check for updates. (In my test setup I’ve not configured Internet access so I selected Don’t check for updates right now).

exchange-2016-setup-check-for-updates13. Click Next.

exchange-2016-setup-copying-filesexchange-2016-setup-initializing-setup

14. Read the Introduction and click Next.

exchange-2016-setup-introduction15. Accept the license agreement and click Next.

exchange-2016-setup-license-agreement16. Use recommended settings, click Next.

exchange-2016-setup-recommended-settings17. Select the server roles you require, for my test lab I am selecting the Mailbox role, click Next. Note the Client Access role is no longer a separate option.

exchange-2016-setup-server-role-selection18. Choose a location to install, click Next.exchange-2016-setup-installation-space-and-location

19. Choose Malware settings and click Next. exchange-2016-setup-malware-protection-settings

20. Once the readiness check has completed click Install.

exchange-2016-setup-readiness-checks

Wait for the installation to complete, it will take approximately an hour depending on the speed of your hardware.

exchange-2016-setup-step-2-copying-exchange-files

exchange-2016-setup-step-7-mailbox-role-transport-serviceexchange-2016-setup-step-11-mailbox-role-front-end-transport-service

21. Tick the box to Launch the Exchange Administration Center, and click Finish. exchange-2013-setup-setup-completeYou have successfully installed Exchange 2016 CU3!

22. Take a look at the start menu.

exchange-2016-cu3-start-menu-programs

23. Launch the Exchange Administrative Center from the icon or in your favourite browser go to https://127.0.0.1/ecp.

exchange-2016-admin-center

Now Exchange 2016 CU3 has been installed check out the multi-part series on Exchange 2013 Initial Configuration Settings. The Exchange 2016 version is coming soon!

Source Material:

  1. Technet Exchange 2016 Prerequisites
  2. Technet Exchange 2016 System Requirements
  3. Exchange Team Blog – On .NET Framework 4.6.1 and Exchange compatibility
  4. Exchange Server 2016 Forged in the cloud now available on premises
  5. Technet Prepare Active Directory and Domains

Related Posts:

1. Exchange 2013 Initial Configuration Settings multi-part series

2. Exchange Server and Update Rollups Build Numbers

3. Exchange 2010 SP3 Update Rollup 16 released and installation tips

4. Exchange PowerShell: How to list all SMTP email addresses in Exchange

5. Exchange PowerShell: How to enumerate Distribution Lists, managers and members

Related Posts

Leave a Reply

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