We want to create a Hybrid deployment between Exchange on-premises and Exchange Online. When we…
Today is the day to uninstall the Exchange Server. Only this time, it’s not going as you planned it. An error shows up that an incomplete installation was detected. Run setup to complete Exchange installation. The incomplete installation was detected error could show up if you uninstall Exchange 2013/2016/2019. How to uninstall Exchange Server with the error an incomplete installation was detected?
Table of contents
Uninstall Exchange Server
On the Exchange Server, navigate to Control Panel and click Programs and Features. Select the Microsoft Exchange Server in the list and click Uninstall. In our example, it’s Microsoft Exchange Server 2016 Cumulative Update 17.
Read more: Remove Exchange Server from domain »
The setup will check the computer, and if all is okay, you will see the uninstall button. It means you can start uninstalling Exchange Server. Click uninstall, and it will go through all the steps to uninstall Exchange Server.
An error shows up at step 9 of 14: Languages. The only option you have is to click on exit.
Error an incomplete installation was detected
Go back to Programs and Features. The Exchange Server is still available in the program list. Select the Exchange Server and click Uninstall.
This time you don’t see the Exchange uninstall wizard window as in the previous step. This time an error shows up.
An incomplete installation was detected. Run setup to complete Exchange installation.
How to uninstall Exchange Server when you can’t start the uninstall wizard anymore? What is the solution to an incomplete installation was detected in Exchange 2013/2016/2019 uninstall?
Solution to an incomplete installation was detected
Download the Exchange Server CU ISO. Mount the ISO and check to which drive it’s mounted. In our example, it’s the I: drive.
Run Command Prompt as administrator and run the command I:\Setup.exe /mode:Uninstall /IAcceptExchangeServerLicenseTerms. It will resume the Exchange Server uninstallation where it was left off. In our example, Language Files.
C:\>I:\Setup.exe /mode:Uninstall /IAcceptExchangeServerLicenseTerms Microsoft Exchange Server 2016 Cumulative Update 17 Unattended Setup Mailbox role: Mailbox service Mailbox role: Unified Messaging service Mailbox role: Client Access service Mailbox role: Transport service Mailbox role: Front End Transport service Mailbox role: Client Access Front End service Languages Performing Microsoft Exchange Server Prerequisite Check Configuring Prerequisites COMPLETED Configuring Microsoft Exchange Server Preparing Setup COMPLETED Language Files COMPLETED Stopping Services COMPLETED Removing Exchange Files COMPLETED Restoring Services COMPLETED Finalizing Setup COMPLETED The Exchange Server setup operation completed successfully.
Uninstall did finish successfully. Reboot the Windows Server.
If you still get errors and fail to uninstall Exchange Server, you can remove Exchange Server from Active Directory with ADSI Edit.
Verify uninstallation Exchange Server
Go to Programs and Features and verify that you can’t see the Exchange Server in the programs list.
You did successfully fix the Exchange Server error an incomplete installation was detected.
Don’t forget to remove other tools on the Exchange Server, for example, SCOM or the back-up agent. After that, remove the IP and DNS entries. As of last, remove the AD object in ADUC (Active Directory Users and Computers).
Keep reading: Uninstall Exchange Server 2010 step by step »
In this article, you learned why you receive the error that an incomplete installation was detected when uninstalling Exchange Server. Mount the Exchange Server ISO and run Command Prompt as administrator. Run the uninstall command, and it will start where it was left off in the previous uninstall step. Reboot the server and verify that it’s uninstalled from Programs and Features.
Did you enjoy this article? If so, you may like Uninstall Windows Defender on Windows Server. Don’t forget to follow us and share this article.