Recovering After Failed Update All Services Disabled

From DFWLPiki
Revision as of 02:51, 13 July 2022 by Jhorne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

1) Determine what update failed, and manually install the failed CU patch.

. .\Get-WuaHistory.ps1
Get-WuaHistory | Format-Table

2) Download the patch from Microsoft Update Catalog: https://www.catalog.update.microsoft.com/Home.aspx. Manually apply the patch.
3) Reset exchange services/dependencies to automatic

Get-Service | Where-Object { $_.DisplayName –like “Microsoft Exchange *” } | Set-Service –StartupType Automatic
Get-Service | Where-Object { $_.DisplayName –like “Microsoft Exchange IMAP*” } | Set-Service –StartupType Manual
Get-Service | Where-Object { $_.DisplayName –like “Microsoft Exchange POP*” } | Set-Service –StartupType Manual
Get-Service | Where-Object { $_.DisplayName –eq “IIS Admin Service” } | Set-Service –StartupType Automatic
Get-Service | Where-Object { $_.DisplayName –eq “Microsoft Filtering Management Service” } | Set-Service –StartupType Automatic
Get-Service | Where-Object { $_.DisplayName –eq “World Wide Web Publishing Service” } | Set-Service –StartupType Automatic
Get-Service | Where-Object { $_.DisplayName –eq “Tracing Service for Search in Exchange” } | Set-Service –StartupType Automatic

4) Reboot the server
5) Verify exchange services are started, and set for Automatic Start.
6) Verify exchange servbice are in an active state, and not set for maintenance

Get-ServerComponentState -Identity SERVERNAME
Set-ServerComponentState -Identity SERVERNAME -Component ServerWideOffline -State Active -Requester Functional
Set-ServerComponentState -Identity SERVERNAME  -Component ServerWideOffline -State Active