For Windows Server 2016, the most relevant next checks are the servicing stack state, component store health, and installing the update payload manually.
- Verify the servicing stack is current.
Error
0x800f0823indicates the servicing stack is out of date, and Windows Server 2016 can require the latest SSU before newer cumulative updates will install correctly. If the latest SSU is not already present, get the most recent one from the Microsoft Update Catalog and install it first, then retry the cumulative update. - Repair the component store again with the full DISM and SFC sequence, then restart.
Run these commands from an elevated Command Prompt:
Then restart the server and try the update again.DISM /ONLINE /CLEANUP-IMAGE /SCANHEALTH DISM /ONLINE /CLEANUP-IMAGE /CHECKHEALTH DISM /ONLINE /CLEANUP-IMAGE /RESTOREHEALTH Sfc /Scannow - Install the update manually from the Microsoft Update Catalog. If Windows Update and the standalone installer both roll back, download the exact package that matches Windows Server 2016 from the Catalog and install it locally. This is a recommended next step when normal installation paths fail.
- If the update is partially installed or the component payload is damaged, remove and re-add the package with DISM.
This is more invasive than a normal install path. Use caution because removing packages can affect update state.
Restart if prompted, then install it again:Dism /online /remove-package /packagepath:C:\temp\<CabFileName>.cab
Restart again, then retry the update.Dism /online /add-package /packagepath:C:\temp\<CabFileName>.cab - If the server repeatedly reports that a restart is required, restart it again two or three times. If the problem continues after multiple restarts, reinstall any recently installed programs or Windows updates that may have failed to complete.
- Do not try to fix this by deleting or changing registry keys related to pending restart or update state. That workaround is specifically discouraged because it can cause later servicing problems.
- If the rollback continues after the steps above, collect logs and escalate to Microsoft support. The documented guidance for persistent restart/update servicing failures is to contact Microsoft support.
- Troubleshoot Windows Update error code 0x800f0823
- Error 0x800f0831 when you install an update
- Troubleshoot Windows Update installation error 0x800f0831 (CBS_E_STORE_CORRUPTION)
- The computer needs to restart before Setup can continue in Exchange Server
- Windows update can't install some KB - Microsoft Q&A