In short
- There is no in-place upgrade from Exchange 2016 to SE; a new SE server is installed on Windows Server 2022/2025.
- If the namespace (e.g.
mail.yourcompany.com) stays the same, nothing needs to change for users or clients. - Once system mailboxes, user mailboxes and public folders have been moved, the 2016 server must be removed properly.
Support for Exchange 2016 ended in October 2025, and paid ESU updates ended in October 2026. For those who want to keep email on-premises, the target is Exchange Server SE. Unlike Exchange 2019, an in-place upgrade from 2016 to SE isn’t supported; the migration follows the pattern “install a new server, move the mailboxes, remove the old one”. This guide summarises the steps for environments with one or a few servers, with commands.
Prerequisites
- Exchange 2016 servers must be on CU23 with the latest security update.
- No Exchange 2013 may remain in the environment; if it does, SE setup stops.
- Domain controllers and the forest functional level must meet the Exchange SE support matrix; upgrade any old domain controllers first.
- For the new server, prepare Windows Server 2022 or 2025, enough memory (at least 128 GB is recommended for a mailbox server) and separate data/log disks.
- An Exchange-aware full backup must have been taken and its restore tested.
To document the current environment, save the output of these commands before you start:
Get-ExchangeServer | Format-Table Name, AdminDisplayVersion, ServerRole
Get-MailboxDatabase -Status | Format-Table Name, Server, DatabaseSize, EdbFilePath
Get-ReceiveConnector | Format-Table Identity, Bindings, RemoteIPRanges, PermissionGroups
Get-SendConnector | Format-Table Name, AddressSpaces, SourceTransportServers, SmartHosts
Get-ExchangeCertificate | Format-Table Thumbprint, Subject, Services, NotAfter
Get-OwaVirtualDirectory | Format-List Server, InternalUrl, ExternalUrl
1. Prepare Active Directory and install SE
After installing the prerequisites on the new server (.NET Framework 4.8.1, the Visual C++ 2012 and 2013 packages, the IIS URL Rewrite module, UCMA 4.0 and the required Windows features), in an elevated command prompt:
D:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /PrepareSchema
D:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /PrepareAD
D:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /PrepareAllDomains
# Install the Mailbox role
D:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /Mode:Install /Roles:Mailbox
As soon as setup finishes, install the latest security update released for SE and check the server with HealthChecker.ps1.
2. Certificate and virtual directory URLs
So users don’t notice anything, the new server must use the same namespace as the old one. Export the existing certificate with its private key and import it on the new server:
# On Exchange 2016
$pw = Read-Host "PFX password" -AsSecureString
Export-ExchangeCertificate -Thumbprint <THUMBPRINT> -BinaryEncoded -Password $pw |
ForEach-Object { [System.IO.File]::WriteAllBytes("C:\migration\mail.pfx", $_.FileData) }
# Copy mail.pfx to the new server, then on Exchange SE
$pw = Read-Host "PFX password" -AsSecureString
Import-ExchangeCertificate -Server EXSE01 -FileData ([System.IO.File]::ReadAllBytes("C:\migration\mail.pfx")) -Password $pw
Enable-ExchangeCertificate -Server EXSE01 -Thumbprint <THUMBPRINT> -Services IIS,SMTP
Then make the internal and external URLs of the virtual directories the same as on the old server. For example:
$url = "https://mail.yourcompany.com"
Set-OwaVirtualDirectory "EXSE01\owa (Default Web Site)" -InternalUrl "$url/owa" -ExternalUrl "$url/owa"
Set-EcpVirtualDirectory "EXSE01\ecp (Default Web Site)" -InternalUrl "$url/ecp" -ExternalUrl "$url/ecp"
Set-WebServicesVirtualDirectory "EXSE01\EWS (Default Web Site)" -InternalUrl "$url/EWS/Exchange.asmx" -ExternalUrl "$url/EWS/Exchange.asmx"
Set-ActiveSyncVirtualDirectory "EXSE01\Microsoft-Server-ActiveSync (Default Web Site)" -InternalUrl "$url/Microsoft-Server-ActiveSync" -ExternalUrl "$url/Microsoft-Server-ActiveSync"
Set-OabVirtualDirectory "EXSE01\OAB (Default Web Site)" -InternalUrl "$url/OAB" -ExternalUrl "$url/OAB"
Set-MapiVirtualDirectory "EXSE01\mapi (Default Web Site)" -InternalUrl "$url/mapi" -ExternalUrl "$url/mapi"
Set-ClientAccessService EXSE01 -AutoDiscoverServiceInternalUri "https://autodiscover.yourcompany.com/Autodiscover/Autodiscover.xml"
If Outlook Anywhere is in use, set its internal and external host names the same way with Set-OutlookAnywhere.
3. Point traffic at the new server
Exchange 2016 and SE can coexist for a while; the SE server proxies requests for mailboxes that haven’t moved yet to 2016. Once testing is complete:
- Point the
mailandautodiscoverrecords in internal DNS to the SE server’s IP address. - Move the port 443 and 25 forwards on the firewall to the SE server.
- Add the SE server as a source server on send connectors:
Set-SendConnector "Internet" -SourceTransportServers EX2016,EXSE01 - Recreate custom receive connectors (SMTP relay) for printers, scanners and applications on SE, matching the allowed IP ranges exactly to the old connector.
The danger of an open relay: when creating the relay connector, limit RemoteIPRanges to the devices that need it. Opening an unauthenticated connector to the whole network or the internet leads to your server sending spam and your domain being blacklisted. Details: why business emails go to spam.
4. Move the mailboxes
Move system mailboxes first, then users, and public folders last:
# 1) System (arbitration) and audit log mailboxes
Get-Mailbox -Arbitration -Server EX2016 | New-MoveRequest -TargetDatabase "DB-SE01"
Get-Mailbox -AuditLog -Server EX2016 | New-MoveRequest -TargetDatabase "DB-SE01"
# 2) Users: a few test users first, then in batches
Get-Mailbox -Database "DB2016" -ResultSize Unlimited |
New-MoveRequest -TargetDatabase "DB-SE01" -BatchName "Wave1" -BadItemLimit 10
# Monitor progress
Get-MoveRequest -BatchName "Wave1" | Get-MoveRequestStatistics |
Format-Table DisplayName, Status, PercentComplete, TotalMailboxSize
# 3) Public folder mailboxes (if any)
Get-Mailbox -PublicFolder | New-MoveRequest -TargetDatabase "DB-SE01"
Clean up completed move requests with Get-MoveRequest -MoveStatus Completed | Remove-MoveRequest. Transaction logs grow quickly during moves; watch the log disk and, if needed, truncate logs with an Exchange-aware backup.
5. Remove Exchange 2016
Rather than just switching the old server off, remove it properly; otherwise orphaned objects remain in Active Directory and future SE updates may run into problems.
- Confirm no mailboxes remain on the old server: check
Get-Mailbox -Server EX2016separately with the-Arbitration,-AuditLogand-PublicFolderparameters. - Remove the old server from send connectors and confirm from protocol logs that no more traffic reaches its receive connectors.
- Keep the old server running for a few days and monitor that no requests reach it from DNS, the firewall or applications.
- Remove the empty databases, then uninstall Exchange 2016 from Programs and Features or with
Setup.exe /Mode:Uninstall. - Remove the server from the domain and securely destroy its disks.
Conclusion
When well planned, migrating from Exchange 2016 to Exchange SE is a process users barely notice. The critical points are keeping the same namespace, moving relay connectors completely and removing the old server properly. After the migration, don’t forget to harden the new server. At SistemON, as part of our server solutions, we run Exchange migrations end to end, from inventory to removing the old server.
Frequently Asked Questions
Is it easier to move to Exchange 2019 first and then to SE?
It is technically possible, but not recommended: Exchange 2019 is no longer supported, and you would be doing the work twice. Microsoft also recommends migrating directly from Exchange 2016 to Exchange SE.
Can users keep working while their mailboxes are moved?
Yes. The move runs in the background; users only see a brief interruption at the final synchronisation and may be asked to restart Outlook. For large mailboxes, moves can be planned so the final step happens out of hours.
How long can I keep the Exchange 2016 server running?
Remove it as soon as possible. Exchange 2016 no longer gets any security updates. Microsoft has also announced that a later SE update can’t be installed while Exchange 2016 or 2019 remains in the environment; if the old server stays, you won’t be able to keep SE up to date either.
Need help with this?
Let us review your infrastructure free for the first month and share a clear list of risks and priorities.