Exchange 2016 CU upgrades don’t always go according to plan.

In this scenario, one of my servers just wouldn’t upgrade but the rest did without error.

The upgrade runs like normal from the CLI but fails with the below error:

Exchange 2016 cu13 upgrade error:- quickly fix the upgrade error to proceed with the upgrade.
Exchange 2016 CU13 Upgrade error:- Quickly fix the upgrade error to proceed with the upgrade. 1

“Cannot start service MSExchangeServicehost……”

When I went to check the Exchange Services, some of them were automatic but the rest were disabled.

I ran the command in PowerShell: Get-Service *Exchange* | Set-Service -StartupType Automatic but I was not quick enough and the setup failed again.

On this Blog, One of the comments by a user called “wandersick”, was to set a timer and ensure the services were set to automatic again without having to refresh Services the whole time. Here is the command used:

  • while (1 -le 2) { sleep 1 ; Get-Service | where{$_.DisplayName -Like ‘Microsoft Exchange*’} | Set-Service –StartupType ‘Automatic’ }

While this was running in the background in a PowerShell session, the setup completed successfully and without error.

Hope it helps.

    wpChatIcon

    Discover more from COLLABORATION PRO

    Subscribe now to keep reading and get access to the full archive.

    Continue reading