Re-install Exchange 2016 after system corruption

Mueller, Jim 1 Reputation point
2025-02-12T16:37:35.8833333+00:00

Hi All,
Before we open a pay-per-incident(s) MS ticket, I thought I'd lob this scenario out to the community.

Our sister organization has a lot of technical debt, both hardware and & software. We needed to get them on Exchange Online, and to do that, 1-2 years ago we installed ADSync and hybrid Exchange on separate VMs at our office instead of at their office and depended upon the site-to-site tunnel & Windows 2-way trust to integrate it with their old 2008R2 domain/forest in their office.

Fast forward to October 2024, we had a ransomware attack on our VM environment, which encrypted all the VMDKs, various logs, etc. We wiped all our VMware hosts and shared storage partitions, re-installed from scratch, performed bare metal recovery for all of our servers, but not for our sister company servers. That is because we removed the trust & S2S tunnel and there are no plans to reactivate them. We put in a tiny physical server for ADSync in their office.

But during attempted recovery of their Exchange 2016, the AD computer object was deleted before realizing the AD Recycle Bin was not enabled, so without that object we can't perform a recovery. We need to get the hybrid Exchange 2016 back into their environment quickly, but orphan references from the last 2016 server remain in AD.

Knowing that E2016 & E2019 reach end of extended support in October 2025, what is best practice to permit Exchange 2016 to re-install while trying to keep as many as the prior settings as possible, and then to get them migrated to Exchange SE before EOS?

Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,446 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,791 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
682 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,229 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alex Zhang-MSFT 5,055 Reputation points Microsoft Vendor
    2025-02-13T07:30:39.27+00:00

    Hello, @Mueller, Jim,

    Welcome to the Microsoft Q&A platform!

    According to the official statement (Upgrading your organization from current versions to Exchange Server SE | Microsoft Community Hub), only Exchange 2019 CU15 version supports in-place upgrade to SE version. So, I would recommend you use the latest Exchange 2019 CU15 version now.

    If you need to use Exchange 2016 version in your organization, you need to fully backup the database as well as other custom settings while doing the update migration. The following methods are for your reference:

    1. using Windows Server Backup, backup the entire Exchange database. You can download the Features through Server manager.
    2. Create a backup folder and export the customized settings (database, connectors, etc.) using powershell:
    Get-MailboxDatabase | Export-Clixml -Path “C:\Backup\MailboxDatabases.xml”
    Get-ReceiveConnector | Export-Clixml -Path “C:\Backup\ReceiveConnectors.xml”
    Get-SendConnector | Export-Clixml -Path “C:\Backup\SendConnectors.xml”
    Get-TransportRule | Export-Clixml -Path “C:\Backup\TransportRules.xml”
    
    1. Backup the certificate:
    $cert = Get-ExchangeCertificate | Where-Object { $_.Services -match “IIS” }
    Export-ExchangeCertificate -Thumbprint $cert.Thumbprint -BinaryEncoded -Password (Read-Host “Enter password” -AsSecureString) | Set-Content - Path “C:\Backup\ExchangeCert.pfx” -Encoding Byte
    

    User's image

    After completing the backup operation, when releasing the SE, then upgrade from Exchange 2016 CU23 to Exchange 2019 CU15 and finally to the SE version.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.