Avatar of csimmons1324
csimmons1324
Flag for United States of America asked on

Exchange 2013 Uninstall Error

Long story short...with the help of a consultant we moved from an on-prem exchange 2013 server to O365 a few years back.  I thought that the on-prem server converted to a hybrid environment.  As it turned out, I found out that it was not. 


I have since setup an Exchange 2016 server in a hybrid environment and shut off the Exchange 2013 server.  The Exchange 2013 server has been powered down for quite some time will not negative effects.  I am now ready to remove the Exchange 2013 server from my environment.  


I removed the mailboxes and whatnot on the Exchange 2013 server using powershell.  I then went into the control panel to start uninstall Exchange 2013.  It started to uninstall and then failed on Step 1 with the following error:


Error:
The following error was generated when "$error.Clear();
          if ((Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\ExchangeServer\v15\UnifiedMessagingRole\TeleLanguagePacks" -Name "zh-CN" -ea SilentlyContinue) -eq $null)
          {
             Uninstall-MsiPackage `
              -ProductCode ([Microsoft.Exchange.Management.Deployment.UmLanguagePackUtils]::GetTeleProductCode("zh-CN")) `
              -LogFile ([System.IO.Path]::Combine($RoleSetupLoggingPath, "UninstallSpeech-zh-CN.msilog"))
          }
        " was run: "Microsoft.Exchange.Configuration.Tasks.TaskException: Couldn't remove product with code bad2a75a-1708-47ba-a498-20890d2c78a7. Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel. Error code is 1638. ---> System.ComponentModel.Win32Exception: Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
   at Microsoft.Exchange.Management.Deployment.UninstallMsi.RemoveProductCode(Guid productCode)
   at Microsoft.Exchange.Management.Deployment.UninstallMsi.InternalProcessRecord()
   at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
    at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".


I canceled the installation and tried to run it again.  Now it tells me:


An incomplete installation was detected.  Run setup to complete Exchange installation.


Please help!!!

ExchangeOutlookEmail ServersMicrosoft 365

Avatar of undefined
Last Comment
M A

8/22/2022 - Mon
M A

Remove the watermark entry and try uninstalling again

Saif Shaikh

Use the Microsoft ad remove utility and select uninstall an application and uninstall the TeleLanguagePacks for unified messaging.
https://support.microsoft.com/en-us/topic/fix-problems-that-block-programs-from-being-installed-or-removed-cca7d1b6-65a9-3d98-426b-e9f927e1eb4d

Then resume uninstall of exchange. If you again get an error on another language then you re-run the Microsoft ad remove utitlity and select uninstall an application and uninstall the new language.


csimmons1324

ASKER
M A & Saif Shaikh,

There is no watermark entry in the registry.  The only entries within the v15 folder are: Default, ConfiguredVersion, PostSetupVersion, UnpackedVersion.

I did download and run the microsoft ad remove utility.  There is nothing called "TeleLanguagePacks for unified messaging" in the list.  I have numerous entries for "Microsoft Exchange Client Language Pack", such as for Chinese, English, French, etc.  I also have numerous entries for "Microsoft Exchange Server Language Pack" for various languages as well.  Are those the language packs that you are recommend installing using the tool?

Thanks,

Chris
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ASKER CERTIFIED SOLUTION
M A

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question