Forum Discussion

Deleted's avatar
Deleted
Oct 17, 2023

Error uninstalling Exchange 2013

Hey all,

 

I got an error uninstalling Exchange 2013 from Server 2012 (because of course I did, it's Exchange!).

 

All mailboxes have been removed, DAG has been decommissioned, I've had it in maintenance mode to ensure that nothing is using it.  I was using the following guide (and consulting other sites as well).

 

Decommissioning Exchange Server 2013 - Microsoft Tech Community

 

I ran Setup.exe /mode:Uninstall from the Exchange\v15\bin directory.  Here is the result:

 

C:\Program Files\Microsoft\Exchange Server\V15\Bin>Setup.exe /mode:Uninstall

Microsoft Exchange Server 2013 Cumulative Update 23 Unattended Setup

Mailbox role: Mailbox service
Mailbox role: Unified Messaging service
Mailbox role: Client Access service
Mailbox role: Transport service
Client Access role: Front End Transport service
Management tools
Client Access role: Client Access Front End service
Languages

Performing Microsoft Exchange Server Prerequisite Check

Configuring Prerequisites COMPLETED
Prerequisite Analysis COMPLETED

Configuring Microsoft Exchange Server

Preparing Setup COMPLETED
Mailbox role: Mailbox service COMPLETED
Mailbox role: Unified Messaging service COMPLETED
Mailbox role: Client Access service COMPLETED
Mailbox role: Transport service FAILED
The following error was generated when "$error.Clear();
stop-SetupService -ServiceName MSExchangeTransport

" was run: "Microsoft.Exchange.Configuration.Tasks.ServiceDidNotReachStatusExcep
tion: Service 'MSExchangeTransport' failed to reach status 'Stopped' on this server.
at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception
, ErrorCategory errorCategory, Object target, String helpUrl)
at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception
, ErrorCategory category, Object target)
at Microsoft.Exchange.Management.Tasks.ManageSetupService.WaitForServiceStatu
s(ServiceController serviceController, ServiceControllerStatus status, Unlimited
`1 maximumWaitTime, Boolean ignoreFailures, Boolean sendWatsonReportForHungService)
at Microsoft.Exchange.Management.Tasks.ManageSetupService.StopService(Service
Controller serviceController, Boolean ignoreServiceStopTimeout, Boolean failIfServiceNotInstalled, Unlimited`1 maximumWaitTime)
at Microsoft.Exchange.Management.Tasks.ManageSetupService.StopService(String
serviceName, Boolean ignoreServiceStopTimeout, Boolean failIfServiceNotInstalled, Unlimited`1 maximumWaitTime)
at Microsoft.Exchange.Management.Tasks.StopSetupService.InternalProcessRecord()
at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".

 

I can see that the MSExchangeTransport service is in the Stopping state.  Seeing as Exchange is what it is, I want to be sure of the troubleshooting steps.

 

Do I just reboot and try the uninstall again?  Should I try set this service to not start at startup before rebooting?  Is there some other advisable step to do?

 

thanks

 

jc

5 Replies

  • Dan_Snape's avatar
    Dan_Snape
    Iron Contributor
    Try the reboot and see if that works. I have had to set the services to stopped and reboot to finish off the uninstall in the past.
    • Deleted's avatar
      Deleted
      Came in this morning and the service had stopped. I just ran the uninstall command again and it continued where it left off and has finished the uninstall!
      • Deleted's avatar
        Deleted

        It's doing something similar now with the second (and last) 2013 server.

         

        Stuck at Mailbox role: Mailbox service 10% and I can see the Exchange Information Store service is in the stopping state.  Uninstaller hasn't crashed yet, I assume it will when some timeout is reached.

Resources