Step by Step Guide to Install Exchange Server 2016

This post is a Step by Step Guide to Install Exchange Server 2016. The installation considers a single server deployment of Exchange Server 2016 with the Mailbox role.

Before you install Microsoft Exchange Server 2016, I recommend that you install it in an isolated test environment.

That’s because this test environment will act as your proof of concept for your new Exchange 2016 design. Based on the results, you can either move forward or roll back any implementations before deploying into your production environments.

When it comes to installing Exchange Server 2016, you can install it in 2 ways. The first method is more of GUI based setup where you run setup without any command-line switches. This provides an interactive experience where you are guided by the Exchange 2016 Setup wizard.

While the second method is you run setup with command-line switches that facilitates you to install Exchange from an interactive command line or through a script.

Here are some of the topics that I strongly recommend you to go through first before setting up Exchange 2016.
Exchange Server 2016 system requirements
Exchange Server 2016 prerequisites
Deploy a new installation of Exchange 2016
Exchange Server 2016 can be installed on Windows Server 2012 and Windows Server 2012 R2. I prefer to install it on Windows Server 2012 R2 as it is more stable.

For both versions of Windows Server either the Standard or Datacenter edition can be used to run Exchange Server 2016.

Exchange Server 2016 Prerequisites

Before you install Exchange server 2016, you might have to install some prerequisites.

Download Microsoft Exchange Server 2016
Microsoft .NET Framework 4.5.2 (Offline Installer)
Unified Communications Managed API 4.0 Runtime

Before you install Microsoft Exchange Server 2016, you need to prepare your Active Directory forest and its domains.

In my lab setup I am installing Exchange 2016 on a server that is running Windows Server 2012 R2 Datacenter edition. The account that is used to install exchange server is a member of Enterprise Admins group and Schema admins group.

Exchange needs to prepare Active Directory so that it can store information about your users mailboxes and the configuration of Exchange servers in the organization.

For Exchange 2016 setup, you need to install various Windows roles and features, .NET Framework 4.5.2 or later, and other required software.

Install Dot Net Framework 4.5.2

Let us start with installing Microsoft .NET framework 4.5.2 on the machine where Exchange 2016 is going to be installed. Download and install .net framework 4.5.2 and click Finish.

Step by Step Guide to Install Exchange Server 2016

Open Windows PowerShell and run the following command to install the Remote Tools Administration Pack.

Install-WindowsFeature RSAT-ADDS

Step by Step Guide to Install Exchange Server 2016

Prerequisites for Exchange Mailbox Server Role

In this section we will see the prerequisites that needs to be installed on a server running a standalone Exchange 2016 server with the Mailbox Server Role.

First of all launch the Windows PowerShell (run as administrator). Run the following command to install the required Windows components. You must restart after the server to complete the installation process.

Install-WindowsFeature AS-HTTP-Activation, Desktop-Experience, 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

Step by Step Guide to Install Exchange Server 2016

Prerequisites for Edge Server Role

If you are planning to install Edge server role then run the following command to install the required Windows components.

Install-WindowsFeature ADLDS

Extend the Active Directory schema

Before you install Microsoft Exchange Server 2016, you need to extend the active directory schema and prepare your Active Directory forest and its domains.

So mount the Exchange Server 2016 installation Media. Launch Command Prompt (run as administrator) and navigate to path where setup files are present.

Once you successfully enter the below command, the prerequisite analysis and extending AD schema steps should shows the status as Completed.

Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms
Extend the Active Directory schema
Extend the Active Directory schema

Prepare Active Directory for Exchange 2016

Next step is to prepare the Active Directory. In the same command prompt that you launched, run the below command by replacing organization name with a name.

Setup.exe /PrepareAD /OrganizationName:”” /IAcceptExchangeServerLicenseTerms
Prepare Active Directory for Exchange 2016
Prepare Active Directory for Exchange 2016

The next step is to download and install Unified Communications Managed API 4.0 Runtime.

Additionally, run the below command to avoid the Error: The Windows component RSAT-Clustering-CmdInterface isn’t installed on this computer and needs to be installed before Exchange Setup can begin.

Install-WindowsFeature RSAT-Clustering-CmdInterface

Step by Step Guide to Install Exchange Server 2016You have now prepared your server to install Exchange Server 2016.

Install Exchange Server 2016

Download the Exchange 2016 installation files from the Microsoft Download Center. Log on to the computer on which you want to install Exchange 2016.

Navigate to the network location of the Exchange 2016 installation files. Start Exchange 2016 Setup by double-clicking Setup executable.

On the Check for Updates page, choose whether you want Setup to connect to the Internet and download product and security updates for Exchange 2016.

If you select Connect to the Internet and check for updates, Setup will download updates and apply them prior to continuing.

If you select Don’t check for updates right now, you can download and install updates manually later. Click Next to continue.

 

Step by Step Guide to Install Exchange Server 2016

The Introduction page begins the process of installing Exchange into your organization. Click Next to continue.

Step by Step Guide to Install Exchange Server 2016

On the License Agreement page, review the software license terms. Select I accept the terms in the license agreement, and then click Next.

Step by Step Guide to Install Exchange Server 2016On the Recommended settings page, select whether you want to use the recommended settings.

If you select Use recommended settings, Exchange will automatically send error reports and information about your computer hardware and how you use Exchange to Microsoft.

If you select Don’t use recommended settings, these settings remain disabled but you can enable them at any time after Setup completes. Click Next.

Step by Step Guide to Install Exchange Server 2016

Exchange Server Role Selection

On the Server Role Selection page, choose whether you want to install the Mailbox role or just the Management Tools on this computer.

The management tools install automatically when you install the Mailbox server role. Select Automatically install Windows Server roles and features that are required to install Exchange Server to have the Setup wizard install required Windows prerequisites.

You may need to reboot the computer to complete the installation of some Windows features. If you don’t select this option, you need to install the Windows features manually. Click Next.

Exchange Server 2016 Server Role Selection
Exchange Server 2016 Server Role Selection

If you’re installing the Mailbox role, on the Malware Protection Settings page, choose whether you want to enable or disable malware scanning.

If you disable malware scanning, it can be enabled in the future. Click Next to continue.

Malware Protection Settings
Malware Protection Settings

On the Readiness Checks page, ensure all readiness checks have completed successfully. To install Exchange Server 2016, click Install.

Install Exchange Server 2016

Once the setup is complete, click Finish. Restart the computer after Exchange Server 2016 has completed.

Step by Step Guide to Install Exchange Server 2016

Exchange 2016 Admin Center

Let’s now open Exchange Admin Center. Open the web browser and type the below https://exchangeServerFQDN/ECP.

This link should load the Exchange Admin Center. Enter the username and password and click sign in.

Exchange Admin Center

You are now ready to explore the options available in Exchange admin center. Furthermore, you could also see Exchange 2016 post-installation tasks.

Exchange Admin Center

Related Posts
guest
42 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Karan

PLease share ISO images too, so guys can learn, it is good to give info but how to work on it if resources are not available

Milind

This topic is helpful

NguriJ

Blessings for sharing this, was necessary to my success today

alireza ghahrood

thank bro ! it helping for Other

Tony Thomas

I got to tell you, I love your write ups.. everytime I do a new install of Exchange (2013/2016) I consistently find your step by step guides to walk me through all of the installs. Thank you for sharing your knowledge and expertise, Prajwal.

Chatrughan Prasad

I am trying to install Exchange 2016 CU4 in Server 2019. It is giving OS compatbililty error. How can use the ADSI edit to solve this.

Rahul Sharma

Hey Prajwal, Thanks for sharing this information. However how to integrate SFB 2015 with Exchange 2016…

netsoe

thank bro ! it helping for my setup lab 😀

Adnan Tariq

Hi, i have installed Exchange 2016 fresh installation. everything is working fine except Outlook 2016 is not able to connect to the server.
Outlook 2013 is connecting to the server successfully. any idea what could be the issue.

KO Oo

I also Have Some errors while I’m in=stalling Exchange Server 2016

Bilal

Hi, I’ve set up exchange server 2016 and my internal mail flow is fine, but the External mail flow(send & receive) won’t work
can you provide me with a procedure of what record need to created on domain providers website and the DNS setup for external mail flow to work
Thanks in advance.

Bilal

Hi, I’ve setup exchange server 2016 and my internal mail flow is fine, but the External mail flow(send & receive) won’t work
can you provide me with a procedure of what record need to created on domain providers website and the DNS setup for external mail flow to work
Thanks in advance.

Nur

Reset iis and try again

Nur

I think you should entry two records in your isp end . One is webmail. Domain Name and another is auto discover.domainName.

Venu Gopal Mantha

I think in your firewall add the port numbers in both Incoming and out going. then just restart all exchange services and try I am sure i will work. At the same time please check your records which are mentioned in DNS entry as well as in your server records shoud match each other. then I am sure all out going mail will work and it will fetch all the mail from both in and out.

Theophilus Blaudfaust

This is great guide to Install install Microsoft Exchange 2016.

Chad

Thanks Praj, your Step by step guide is awesome.
have you got any plans to do the same for SharePoint?

Gary

After fighting through Microsoft’s confusing and incomplete documentation and having the install fail 2 times, damaging AD both times(Yes, I did have backups), I began searching for a third party step by step and found this page. I had decided that installing exchange was just stupidly complicated. But, after following the steps on this page. I was able to install the first time using the steps on this page. Prajwal Desai, you sir should be in charge of the Technical writing department and at Microsoft! Thank you sir!

Pete

I installed server 2016 core, and tried to install exchange 2016 cu5. Install failed. Server 2016 needs “desktop experience” version installed. Had to start over with fresh server 2016 install, choosing “desktop experience”.

Pete

(installing on server 2016 cu7)

Pete

I’ve found that the “install-windowsfeature as-http-activation…….” in powershell doesn’t work. Had to use this command instead:

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

brian

I was stuck on this part and I came across your comment and it worked perfectly Thanks!!

Mark

This guide was pretty much 100% accurate. Thanks oodles for the writeup, Prajwal!
–Mark

Atif

I am getting the following error at “step 6 of 13 Mailbox Role – Transport Services” and i am installing on Windows Server 2016, I have disabled the IPV6 and also Started all the Exchange server services with automatic option. Please advise. Error: The following error was generated when “$error.Clear(); if ($exsSid -eq $null -or $exsSid -eq “”) { $exsSid = get-ExchangeServerGroupSID -DomainController $RoleDomainController } start-setupservice -ServiceName MSExchangeADTopology -ServiceParameters $exsSid,$RoleDomainController ” was run: “Microsoft.Exchange.Configuration.Tasks.ServiceDisabledException: Service ‘MSExchangeADTopology’ is disabled on this server. —> System.InvalidOperationException: Cannot start service MSExchangeADTopology on computer ‘.’. —> System.ComponentModel.Win32Exception: The service cannot be started, either because it… Read more »

Prashanth Kondeti

Hi, Thanks for the post. I have followed the same procedure posted, everything was going smoothly. But, unfortunately someone switched off my Machine where I have installed Virtual Box and running both AD and Exchange installation. Was in the process of Roles (5/14). When i started the setup again I am getting the below error. _____ Error: The following error was generated when “$error.Clear(); $roleList = $RoleRoles.Replace(‘Role’,”).Split(‘,’); if($roleList -contains ‘LanguagePacks’) { & $RoleBinPathServiceControl.ps1 Save & $RoleBinPathServiceControl.ps1 DisableServices $roleList; & $RoleBinPathServiceControl.ps1 Stop $roleList; }; ” was run: “System.Management.Automation.MethodInvocationException: Exception calling “Reverse” with “1” argument(s): “Value cannot be null. Parameter name: array”… Read more »

Yery

someone have any coments about this issues. I have the same error.

Tks

sdcrutch

I am receiving an error HTTP 500 the website cannot display page when opening Exchange Admin Center. This is my first install could you assist?

Nur

Reset iis and try again

Hameed

Will this work on Windows 2016 Server too?

Rada

It’s working well just it don’t need this AS-HTTP-Activation. You will get error when trying to install this one

Wei Pin

Thanks for the details step, It means a lot to me

Wei Pin

Hi I am having issue HTTP 500 Internal Server Error when logging into Exchange 2013 do you encounter this before? I try many resolution posted by others and still the same issue encounter.

khalid raza

Go to IE internet Option Security >> trusted site >> then open

Noushad

One of the best ..Thanks for sharing this info.

tahir

hello can you guide me how to make edge server and after make edger server how will external user can connect to my lyn forefornt internal users?

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More