Difference between revisions of "Recovering After Failed Update All Services Disabled"

From DFWLPiki
Jump to: navigation, search
 
Line 13: Line 13:
 
  Get-Service | Where-Object { $_.DisplayName –eq “Tracing Service for Search in Exchange” } | Set-Service –StartupType Automatic
 
  Get-Service | Where-Object { $_.DisplayName –eq “Tracing Service for Search in Exchange” } | Set-Service –StartupType Automatic
 
4) Reboot the server<br>
 
4) Reboot the server<br>
5) Verify exchange services are started, and set for Automatic Start.
+
5) Verify exchange services are started, and set for Automatic Start.<br>
 
6) Verify exchange servbice are in an active state, and not set for maintenance
 
6) Verify exchange servbice are in an active state, and not set for maintenance
 
  Get-ServerComponentState -Identity SERVERNAME
 
  Get-ServerComponentState -Identity SERVERNAME
 
  Set-ServerComponentState -Identity SERVERNAME -Component ServerWideOffline -State Active -Requester Functional
 
  Set-ServerComponentState -Identity SERVERNAME -Component ServerWideOffline -State Active -Requester Functional
 
  Set-ServerComponentState -Identity SERVERNAME  -Component ServerWideOffline -State Active
 
  Set-ServerComponentState -Identity SERVERNAME  -Component ServerWideOffline -State Active

Latest revision as of 02:51, 13 July 2022

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