Exchange 2016 removal unsupported OS Error

Aidan Macphail 46 Reputation points
2021-06-24T05:33:02.67+00:00

Sorry if this has been asked before.
I was tasked with decommissioning our exchange 2016 server (or trying to). I have removed the mailboxes, and the mail database. I went to remove Exchange via control panel and it failed on the prerequisite check, stating unsupported operating system, which is odd, OS is Server 2012 R2 with all updates. The attached image shows the errors, is there a way to resolve this and properly remove Exchange?

108818-exchange.png

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,635 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,503 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 145.6K Reputation points MVP
    2021-06-25T11:27:55.607+00:00

    Removing Exchange using ADSIEDIT is not supported.

    The supported method would be to bring up a new server with the same name using the recoverserver switch, then run the Add/Remove steps and remove Exchange gracefully

    https://learn.microsoft.com/en-us/exchange/high-availability/disaster-recovery/recover-exchange-servers?view=exchserver-2019


2 additional answers

Sort by: Most helpful
  1. Andy David - MVP 145.6K Reputation points MVP
    2021-06-24T11:24:00.54+00:00

    Is the "Remote Desktop Host Manager." role installed on that server? If so, remove it first, then see if you can remove Exchange.


  2. Eric Yin-MSFT 4,386 Reputation points
    2021-06-25T03:21:56.237+00:00

    Hi,
    Try uninstalling in CMD:

    Setup.exe /IAcceptExchangeServerLicenseTerms /mode:Uninstall  
    

    I suspect everytime you run setup.exe it would check those prerequisites/requirements even though you are going to uninstall it, I would suggest to use ADSI.edit to remove Exchange directly: How to remove Exchange from Active Directory

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.