Installing Exchange 2016 on Windows Server 2016 Step by Step
Installing Exchange 2016 on Windows Server 2016 Step by Step
Installing exchange server 2016 step by step on Windows Server 2016.
Make sure windows are patches with the latest updates. So that you have all the latest .net versions installed.
Before Exchange 2016 Install – Go through the Minimum system requirements below – Note Preview versions are not Production ready.
Minimum System Requirements and Forest Functional Level for Exchange Server 2016
You can Download the Exchange Server 2016 CU15 Setup using the below Link
Step 1:
To Prepare Active Directory using the same machine.
Install the Below Feature which installs the Active Directory Tools as well.
Open Windows PowerShell.
Install-WindowsFeature RSAT-ADDS |
Step 2:
Install Required Roles.
Open Windows PowerShell
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 |
To check the .Net Version on Windows Server 2016 – It recommended to patch the .net to latest supported version and then install Exchange
( Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full' ).Release |
Install .Net 4.8
https://go.microsoft.com/fwlink/?linkid=2088631
Install
Visual C++ Redistributable Package for Visual Studio 2012
Visual C++ Redistributable Package for Visual Studio 2013
Step 3
Download and Install Unified Communications Managed API 4.0 Runtime
Step 4:
Preparing Schema
Open Windows PowerShell – Browse to Setup Location – Run as administrator.
.\setup /PrepareSchema /IAcceptExchangeServerLicenseTerms |

Step 5:
Preparing Active Directory
.\setup /Preparead /IAcceptExchangeServerLicenseTerms /OrganizationName: "Enter Exchange Org Name" |
Note: If you are already in an Exchange Organization – Remove /OrganizationName Parameter
Step 6:
Preparing Domain
.\setup /Preparedomain /IAcceptExchangeServerLicenseTerms |
Note :
If you are in a Child domain Scenario
.\setup /Preparealldomains /IAcceptExchangeServerLicenseTerms |
Step 7:
Run as Administrator – setup.exe
Choose Next, Accept the agreement.

Step 8:
Choose the Mailbox Role.
Choose Next
Note:” Edge Transport Role” should be installed in DMZ. (if required)

Step 9:
Choose Next

You can always move the Database path for Exchange Databases and log files to a separate drive.
How to move database path and log folder path in Exchange 2013/2016
Step 10:
Choose Next
If you already Did “Step 4” you won’t see an option to create an organization. As Already Exchange Org is already created
Else Enter an Org Name.
Step 11:
Choose “No” for Malware Scanning

Step 10:
Choose Install


Microsoft Exchange Server 2016 – Setup Completed Successfully.
Get-ExchangeServer | FT Name,Admin* |

Known error –
if you have a hybrid object which needs an upgrade.
.\setup /PrepareSchema /IAcceptExchangeServerLicenseTerms
Microsoft Exchange Server 2016 Cumulative Update 20 Unattended Setup
Copying Files…
File copy complete. Setup will now collect additional information needed for installation.
Performing Microsoft Exchange Server Prerequisite Check
Prerequisite Analysis FAILED
A hybrid deployment with Office 365 has been detected. Please ensure that you are running setup with the
/TenantOrganizationConfig switch. To use the TenantOrganizationConfig switch you must first connect to your Exchange
Online tenant via PowerShell and execute the following command: “Get-OrganizationConfig | Export-Clixml -Path
MyTenantOrganizationConfig.XML”. Once the XML file has been generated, run setup with the TenantOrganizationConfig
switch as follows “/TenantOrganizationConfig MyTenantOrganizationConfig.XML”.
If you continue to see this this message
then it indicates that either the XML file specified is corrupt, or you are attempting to upgrade your on-premises
Exchange installation to a build that isn’t compatible with the Exchange version of your Office 365 tenant. Your Office
365 tenant must be upgraded to a compatible version of Exchange before upgrading your on-premises Exchange
installation. For more information, see: http://go.microsoft.com/fwlink/?LinkId=262888
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.DidTenantSettingCrea
tedAnException.aspx
Connect-ExchangeOnline |
Export the config to XML File.
Get-OrganizationConfig | Export-Clixml -Path "MyTenantOrganizationConfig.XML" |
Do Prepare AD first with the XML file. Then the prepare schema as prepare schema doesn’t support TenantOrganizationConfig switch.
.\setup /Preparead /IAcceptExchangeServerLicenseTerms /TenantOrganizationConfig "C:\scripts\MyTenantOrganizationCon<br />fig.XML" |
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 没有源码,如何修改代码逻辑?
· 一个奇形怪状的面试题:Bean中的CHM要不要加volatile?
· [.NET]调用本地 Deepseek 模型
· 一个费力不讨好的项目,让我损失了近一半的绩效!
· .NET Core 托管堆内存泄露/CPU异常的常见思路
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· 没有源码,如何修改代码逻辑?
· PowerShell开发游戏 · 打蜜蜂
· 在鹅厂做java开发是什么体验
· 凌晨三点救火实录:Java内存泄漏的七个神坑,你至少踩过三个!