Exchange Server prerequisites

Tip

Looking for Exchange 2013 prerequisites? See Exchange 2013 prerequisites.

This topic provides the steps for installing the necessary Windows Server operating system prerequisites for Exchange Server 2016 and Exchange Server 2019 Mailbox servers and Edge Transport servers, and also the Windows prerequisites for installing the Exchange Management Tools on Windows client computers.

After you've prepared your environment for Exchange Server, use the Exchange Deployment Assistant for the next steps in your actual deployment. For information on hybrid deployments, see Exchange Server Hybrid Deployments.

Tip

Have you heard about the Exchange Server Deployment Assistant? It's a free online tool that helps you quickly deploy Exchange Server 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 Microsoft Exchange Server Deployment Assistant.

To actually install Exchange 2016 and Exchange 2019, see Deploy new installations of Exchange.

What do you need to know before you begin?

  • Verify that your Active Directory meets the requirements for Exchange 2016: Exchange 2016 Network and directory servers.

  • The full installation option of Windows Server 2012 and Windows Server 2012 R2 must be used for all servers running Exchange 2016 server roles or management tools.

  • Some prerequisites require you to reboot the server to complete installation.

Note

You can't upgrade Windows from one version to another, or from Standard to Datacenter, when Exchange is installed on the server.

Note

New to Exchange 2019 is the ability to upgrade your operating system to a newer version while Exchange is installed on Windows Server 2019 or later.

  • Verify the computer is joined to the appropriate internal Active Directory domain.

  • Install the latest Windows updates on your computer. For more information, see Deployment Security Checklist.

Tip

Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server.

Exchange 2019 prerequisites for preparing Active Directory

You can use any member of the Active Directory domain to prepare Active Directory for Exchange 2019.

  1. The computer requires the following software:

    a. .NET Framework 4.7.2 or later

    b. Visual C++ Redistributable Package for Visual Studio 2012

    Note: The Visual C++ Redistributable package is required if you're using the Exchange Setup Wizard to prepare Active Directory. If you're using unattended Setup from the command line to prepare Active Directory, this package isn't required. For more information, see Prepare Active Directory and domains.

  2. Install the Remote Tools Administration Pack by running the following command in Windows PowerShell:

    Install-WindowsFeature RSAT-ADDS
    

    Note: Using the Exchange Setup Wizard to prepare Active Directory requires the installation of the Management Tools Exchange role.

Windows Server 2019 prerequisites for Exchange 2019

The requirements to install Exchange 2019 on Windows Server 2019 computers are described in the following sections. We recommend either of the following methods to install the Windows prerequisites for Exchange 2019:

  • Use the /InstallWindowsComponents switch in unattended Setup mode.

  • Select the check box in the Exchange Setup Wizard to install Windows prerequisites.

When you use one of these options, you don't need to restart the computer after the Windows components have been added.

Exchange 2019 Mailbox servers on Windows Server 2019

  1. Install the following software:

    a. .NET Framework 4.7.2 or later

    b. Visual C++ Redistributable Package for Visual Studio 2013.

  2. Add the required Lync Server or Skype for Business Server components:

    a. Install the Server Media Foundation windows feature by executing the following command in Windows PowerShell:

    Install-WindowsFeature Server-Media-Foundation
    

    b. Install Unified Communications Managed API 4.0. This package is available for download and in the \UCMARedist folder on the Exchange Server media.

    Note

    When installing on Windows Server Core, you must use the installation package located in \UCMARedist on distributed media.

  3. If you aren't going to use Exchange Setup to install the required Windows components (in the wizard or from the command line), run the one of the following commands in Windows PowerShell:

    • Desktop Experience:

      Install-WindowsFeature Server-Media-Foundation, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, 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
      
    • Server Core:

      Install-WindowsFeature Server-Media-Foundation, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-PowerShell, 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-Metabase, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, RSAT-ADDS
      

Exchange 2019 Edge Transport servers on Windows Server 2019

  1. Install the Visual C++ Redistributable Package for Visual Studio 2012.

  2. If you aren't going to use Exchange Setup to install the required Windows components (in the wizard or from the command line), run the following command in Windows PowerShell:

    Install-WindowsFeature ADLDS
    

Windows 10 client prerequisites for the Exchange 2019 management tools

  1. Install the Visual C++ Redistributable Package for Visual Studio 2012.

  2. If you aren't going to use Exchange Setup to install the required Windows components (in the wizard or from the command line), run the following command in Windows PowerShell:

    Enable-WindowsOptionalFeature -Online -FeatureName IIS-ManagementScriptingTools,IIS-ManagementScriptingTools,IIS-IIS6ManagementCompatibility,IIS-LegacySnapIn,IIS-ManagementConsole,IIS-Metabase,IIS-WebServerManagementTools,IIS-WebServerRole
    

Exchange 2016 prerequisites for preparing Active Directory

You can use any member of the Active Directory domain to prepare Active Directory for Exchange 2016.

  1. The computer requires the following software:

    a. .NET Framework 4.7.1

    b. Visual C++ Redistributable Packages for Visual Studio 2013

  2. Install the Remote Tools Administration Pack by running the following command in Windows PowerShell:

    Install-WindowsFeature RSAT-ADDS
    

After you've installed the Remote Tools Administration Pack you can use the computer to prepare Active Directory. For more information, see Prepare Active Directory and domains.

Windows Server 2016 prerequisites for Exchange 2016

The prerequisites that are needed to install Exchange 2016 on computers running Windows Server 2016 depends on which Exchange role you want to install. Read the section below that matches the role you want to install.

Important

Windows Server 2016 requires Exchange 2016 Cumulative Update 3 or later.

Exchange 2016 Mailbox servers on Windows Server 2016

  1. Run the following command in Windows PowerShell to install the required Windows components:

    Install-WindowsFeature NET-Framework-45-Features, Server-Media-Foundation, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, 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
    
  2. Install the following software in order:

    a. .NET Framework 4.7.1

    b. Microsoft Knowledge Base article KB3206632

    c. Visual C++ Redistributable Packages for Visual Studio 2013

    d. Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit

Exchange 2016 Edge Transport servers on Windows Server 2016

  1. Run the following command in Windows PowerShell to install the required Windows components:

    Install-WindowsFeature ADLDS
    
  2. Install the following software in order:

    a. .NET Framework 4.7.1

    b. Visual C++ Redistributable Packages for Visual Studio 2013

Windows Server 2012 and Windows Server 2012 R2 prerequisites for Exchange 2016

The prerequisites for Exchange 2016 on Windows Server 2012 or Windows Server 2012 R2 computers depend on the Exchange role that you're installing. Read the following section that matches the role you want to install.

Exchange 2016 Mailbox servers on Windows Server 2012 or Windows Server 2012 R2

  1. Run the following command in Windows Powershell to install the required Windows components:
Install-WindowsFeature AS-HTTP-Activation, Server-Media-Foundation, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, 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
  1. Install the following software in order:

    a. .NET Framework 4.7.1

    b. Visual C++ Redistributable Packages for Visual Studio 2013

    c. Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit

Exchange 2016 Edge Transport servers on Windows Server 2012 or Windows Server 2012 R2

  1. Run the following command in Windows PowerShell to install the required Windows components:

    Install-WindowsFeature ADLDS
    
  2. Install the following software in order:

    a. .NET Framework 4.7.1

    b. Visual C++ Redistributable Packages for Visual Studio 2013

Windows client prerequisites for the Exchange 2016 management tools

Exchange 2016 management tools on Windows 10

  1. Install Visual C++ Redistributable Packages for Visual Studio 2013.

  2. Run the following command in an elevated Windows PowerShell window (a Windows PowerShell window you open by selecting Run as administrator):

    Enable-WindowsOptionalFeature -Online -FeatureName IIS-ManagementScriptingTools,IIS-ManagementScriptingTools,IIS-IIS6ManagementCompatibility,IIS-LegacySnapIn,IIS-ManagementConsole,IIS-Metabase,IIS-WebServerManagementTools,IIS-WebServerRole
    

Exchange 2016 management tools on Windows 8.1

  1. Install .NET Framework 4.7.1.

  2. Install Visual C++ Redistributable Packages for Visual Studio 2013.

  3. Run the following command in an elevated Windows PowerShell window (a Windows PowerShell window you open by selecting Run as administrator):

    Enable-WindowsOptionalFeature -Online -FeatureName IIS-ManagementScriptingTools,IIS-ManagementScriptingTools,IIS-IIS6ManagementCompatibility,IIS-LegacySnapIn,IIS-ManagementConsole,IIS-Metabase,IIS-WebServerManagementTools,IIS-WebServerRole