Difference between revisions of "Recovering After Failed Update All Services Disabled"
From DFWLPiki
(Created page with "1) Determine what update failed, and manually install the failed CU patch. . .\Get-WuaHistory Get-WuaHistory | Format-Table 2) Download the patch from Microsoft Update Cat...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Exchange]] | ||
1) Determine what update failed, and manually install the failed CU patch. | 1) Determine what update failed, and manually install the failed CU patch. | ||
− | . .\Get-WuaHistory | + | . .\Get-WuaHistory.ps1 |
Get-WuaHistory | Format-Table | Get-WuaHistory | Format-Table | ||
2) Download the patch from Microsoft Update Catalog: https://www.catalog.update.microsoft.com/Home.aspx. Manually apply the patch.<br> | 2) Download the patch from Microsoft Update Catalog: https://www.catalog.update.microsoft.com/Home.aspx. Manually apply the patch.<br> | ||
Line 11: | Line 12: | ||
Get-Service | Where-Object { $_.DisplayName –eq “World Wide Web Publishing 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 | Get-Service | Where-Object { $_.DisplayName –eq “Tracing Service for Search in Exchange” } | Set-Service –StartupType Automatic | ||
− | 4) Reboot the server | + | 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 | ||
+ | Get-ServerComponentState -Identity SERVERNAME | ||
+ | Set-ServerComponentState -Identity SERVERNAME -Component ServerWideOffline -State Active -Requester Functional | ||
+ | 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