Problem uninstalling Exchange 2007 following migration to Exchange 2013

I have migrated all data from a legacy Exchange 2007 SP3 server to a new Exchange 2013 server.  However, when attempting to uninstall Exchange 2007 SP3 from the legacy server as the final step of decommissioning it, the uninstall fails with the resulting error message:

   C:\> /mode:uninstall

   Welcome to Microsoft Exchange Server 2007 Unattended Setup

   Preparing Exchange Setup

   The following server roles will be removed
       Mailbox Role
       Hub Transport Role
       Management Tools

   Performing Microsoft Exchange Server Prerequisite Check

       Mailbox Role Checks              ......................... FAILED
        Cannot find at least one global catalog server running Windows Server 2003 Service Pack 1 or later in the local Active Directory site.

    Hub Transport Role Checks        ......................... FAILED
     Cannot find at least one global catalog server running Windows Server 2003 Service Pack 1 or later in the local Active Directory site.

   The Exchange Server Setup operation did not complete. For more information, visit and enter the Error ID.

   Exchange Server setup encountered an error.

I have a feeling this may be due to the 2003 R2 domain controllers having been replaced with Window Server 2016 DC's, and the Exchange server not being able to talk to them.  Is there something I'm missing?  Any suggestions for successfully installing the Exchange 2007 SP3 server, or do I need to do a manual removal and cleanup?
RichNetwork EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jose Gabriel Ortega CastroCEOCommented:
I think this answer will point you in the good way:

And the answer to this question:
1. First please ensure that all the AD related roles have been all transfer to the new DC/GC.
2. Please ensure that the new DC/GC has replicated all the information from the old one.
3. Try to turn off the old one, and then monitor if Exchange can work normally.
3. Once everything is running, you could then go ahead and run dcpromo to demote the DC and remove it from the domain.

More information to share with you:

How to replace single domain controller in domain with a single domain controller?

Exchange Active Directory Provider could not find an available domain controller in the domain

RichNetwork EngineerAuthor Commented:
1. Currently, there is only one Domain Controller and Global Catalog server running in the environment.  This is on a Windows Server 2016 server.  All other domain controllers that were in operation have been demoted to member servers and decommissioned.

2.  The single domain controller holds all of the FSMO roles currently.

I reviewed the linked articles.  However, there did not seem to be any problems with the legacy Exchange server communicating to the domain controller, except when attempting to perform the uninstall.

Any attempt to uninstall Exchange 2007 SP3 from the legacy Exchange server still results in the message "Cannot find at least one global catalog server running Windows Server 2003 Service Pack 1 or later in the local Active Directory site."

Any other thoughts?
Todd NelsonSystems EngineerCommented:
Unfortunately, Exchange 2007 is not supported in an environment with any Windows 2016 DCs--hence the errors.  If you did not remove Exchange 2007 prior to installing Windows 2016, you are most likely out of luck with the current method being used to remove Exchange 2007.

You may need to resort to manual, dangerous, and unsupported tactics via ADSI Edit.
RichNetwork EngineerAuthor Commented:
I figured out a way to successfully uninstall Exchange 2007.  First, I downgraded the Forest and Domain levels to 2008 R2 using this article:

I then built a new Virtual Machine with Server 2008 R2 and promoted it to a domain controller and Global Catalog server in the domain.  After that, I was able to successfully uninstall Exchange from the server.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RichNetwork EngineerAuthor Commented:
Found the solution to resolve the issue by downgrading the domain and then uninstalling Exchange.  Todd Nelson's solution helped point me in the direction of looking for a way to downgrade the domain level.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.