In short
- An in-place upgrade is only supported from Exchange 2019 CU14 and CU15; older CUs must be updated first.
- The process is the same as installing a CU:
Setup.exe /Mode:Upgrade. SE RTM doesn’t ask for a new product key. - Run Health Checker before and after; in a DAG, put servers into maintenance mode and upgrade them one at a time.
For businesses running Exchange 2019, moving to Exchange Server SE is the easiest version upgrade in Exchange’s history: there is no need to build a new server, move mailboxes or reconfigure clients. Even so, like any Exchange installation done without preparation, it can cause problems. This guide summarises the preparation, installation and verification steps for IT teams, with commands.
1. Check the current state
List the version of every server in the Exchange Management Shell (EMS):
# Servers, version and roles
Get-ExchangeServer | Format-Table Name, Edition, AdminDisplayVersion, ServerRole -AutoSize
# To see the installed product version at file level
Get-Command ExSetup.exe | ForEach-Object { $_.FileVersionInfo.ProductVersion }
If the servers aren’t on CU14 or CU15, update them to CU15 first. If there is any Exchange 2013 in the environment, SE setup stops; 2013 must be removed completely. Exchange 2016 servers can coexist with SE for a while, but plan to remove them too: migrating from Exchange 2016 to SE.
2. Pre-check with Health Checker
The HealthChecker.ps1 script published in Microsoft’s CSS-Exchange repository shows the .NET version, TLS settings, Extended Protection, virtual memory, power plan and missing security updates in a single report. Only download the script from Microsoft’s official repository (aka.ms/ExchangeHealthChecker).
# In an elevated EMS session
.\HealthChecker.ps1
# HTML report for all servers
Get-ExchangeServer | ForEach-Object { .\HealthChecker.ps1 -Server $_.Name }
.\HealthChecker.ps1 -BuildHtmlServersReport
Fix findings marked in red before upgrading. In particular, check:
- Is .NET Framework 4.8.1 (or 4.8) installed? 4.8.1 is recommended on Windows Server 2022/2025.
- Are the Visual C++ 2012 and 2013 redistributables, the IIS URL Rewrite module and the UCMA 4.0 runtime present? (They are already installed with Exchange 2019; confirm they haven’t been removed.)
- Is there a pending restart? If so, restart the server first.
- Are any Exchange certificates, especially the Auth certificate, about to expire?
- Is there at least 30 GB of free space on the system disk and the installation disk?
3. Backup and preparation
- Take an Exchange-aware (VSS) full backup and test it by restoring at least one mailbox. See the 3-2-1 backup rule.
- Note any manual changes you have made to IIS
web.configfiles, OWA customisations or transport settings; CU installations can reset some files to their defaults. - Download the installation media (ISO) from Microsoft’s official source. Volume licensing customers use the Microsoft 365 admin centre.
- Make sure the account running setup is a member of Schema Admins and Enterprise Admins.
- Check that antivirus exclusions are defined for the Exchange folders.
4. Prepare Active Directory
Whether or not SE RTM needs a schema update, running the preparation steps separately with the SE media lets you see errors early. Run the commands from a server in the same Active Directory site as the schema master, in an elevated command prompt:
# From the drive where the ISO is mounted (e.g. D:)
D:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /PrepareSchema
D:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /PrepareAD
D:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /PrepareAllDomains
Then wait for Active Directory replication to complete (you can check with repadmin /syncall /AdeP and repadmin /replsummary).
5. If you use a DAG: enter maintenance mode
Upgrade Database Availability Group (DAG) member servers one at a time. In the example, the server being upgraded is EX01 and the server messages are redirected to is EX02:
# Enter maintenance mode
Set-ServerComponentState EX01 -Component HubTransport -State Draining -Requester Maintenance
Redirect-Message -Server EX01 -Target EX02.company.local
Suspend-ClusterNode EX01
Set-MailboxServer EX01 -DatabaseCopyActivationDisabledAndMoveNow $true
Set-MailboxServer EX01 -DatabaseCopyAutoActivationPolicy Blocked
Set-ServerComponentState EX01 -Component ServerWideOffline -State Inactive -Requester Maintenance
# Check: no active databases should remain and the queue should drain
Get-MailboxDatabaseCopyStatus -Server EX01 | Format-Table Name, Status
Get-Queue -Server EX01
6. Run the upgrade
# In an elevated command prompt, from the ISO drive
D:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /Mode:Upgrade
Setup can take 1–2 hours depending on server hardware. You can also install through the graphical interface, but the command line shows error messages more clearly. If you get an error, the details are in C:\ExchangeSetupLogs\ExchangeSetup.log; Microsoft’s SetupAssist script helps identify common setup problems. Restart the server once setup has finished.
7. Take the server out of maintenance mode
Set-ServerComponentState EX01 -Component ServerWideOffline -State Active -Requester Maintenance
Resume-ClusterNode EX01
Set-MailboxServer EX01 -DatabaseCopyAutoActivationPolicy Unrestricted
Set-MailboxServer EX01 -DatabaseCopyActivationDisabledAndMoveNow $false
Set-ServerComponentState EX01 -Component HubTransport -State Active -Requester Maintenance
# All components should be Active
Get-ServerComponentState EX01 | Where-Object State -ne "Active"
Repeat the same steps for the other DAG members. When they are all done, you can use Microsoft’s RedistributeActiveDatabases.ps1 script (found in the Exchange Scripts folder) to move databases back to their preferred servers.
8. Verification
- Check that
Get-ExchangeServeroutput shows the server on the SE version. - Confirm the required services are running with
Test-ServiceHealth. - In a DAG, check that
Get-MailboxDatabaseCopyStatus *shows copies as Healthy with low queues. - Test OWA, Outlook, ActiveSync (mobile) and inbound/outbound mail flow.
- Reapply the customisations you noted earlier.
- Run Health Checker again and install the latest security update (SU) released for SE.
Next step: the upgrade is the start of security work, not the end. Follow our Exchange Server security hardening guide for Extended Protection, TLS settings, AMSI and closing management interfaces to the outside world.
Conclusion
With a good pre-check, an up-to-date backup and the right maintenance mode steps in a DAG, an in-place upgrade from Exchange 2019 CU14/CU15 to Exchange SE can be completed in a few hours, often without users noticing. At SistemON, as part of our server solutions, we schedule Exchange SE upgrades out of hours, with a health check beforehand and verification afterwards.
Frequently Asked Questions
Will email be down during the upgrade?
In a single-server environment, the email service stops for the duration of setup (usually 1–2 hours), so it should be scheduled out of hours. In environments using a DAG, when servers are put into maintenance mode and upgraded one at a time, users don’t notice any interruption.
Can I roll back if the upgrade fails?
Exchange setup can’t be undone; a setup that stopped halfway is usually completed by running the same command again. That is why an Exchange-aware full backup and, on virtual machines, a rollback plan that meets Microsoft’s supported conditions must be ready beforehand.
Can I upgrade Windows Server at the same time?
No. An in-place upgrade of the operating system on a server with Exchange installed isn’t supported. If you want to move Exchange 2019 on Windows Server 2016 or 2019 to a newer operating system, you should install a new SE server on Windows Server 2022/2025 and move the mailboxes.
Need help with this?
Let us review your infrastructure free for the first month and share a clear list of risks and priorities.