OS: Windows Server 2016 Datacenter Issue: Windows Update cannot update automatically, stuck at download 95%
Attempted Solutions:
Phase 1: Original Server
Manually installed the update package. After installation and reboot, the update status showed "Fail."
Executed the following commands, but they failed:
sfc /scannow
`DISM /Online /Cleanup-Image /RestoreHealth`
`DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM /LimitAccess`
Phase 2: In-Place Upgrade with Data Retention Using Windows 2016 ISO
After the reinstallation, executed Windows Update automatically. The October update failed, stuck at the download process.
Manually installed the update. After installation and reboot, the server showed "Fail."
Executed the following commands successfully, then rebooted. Automatic update still failed, stuck at the download process:
sfc /scannow
`DISM /Online /Cleanup-Image /CheckHealth`
`DISM /Online /Cleanup-Image /ScanHealth`
`DISM /Online /Cleanup-Image /RestoreHealth`
Executed commands to reset all update-related components. After successful execution and reboot, automatic update still failed, stuck at the download process:
text
PowerShell
net stop wuauserv
net stop bits
net stop cryptSvc
net stop msiserver
net stop appidsvc
net stop sppsvc
Remove-Item "C:\Windows\SoftwareDistribution" -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item "C:\Windows\System32\catroot2" -Recurse -Force -ErrorAction SilentlyContinue
sc.exe sdset bits "D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
sc.exe sdset wuauserv "D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
regsvr32.exe /s shdocvw.dll
regsvr32.exe /s browseui.dll
regsvr32.exe /s jscript.dll
regsvr32.exe /s vbscript.dll
regsvr32.exe /s scrrun.dll
regsvr32.exe /s msxml.dll
regsvr32.exe /s msxml3.dll
regsvr32.exe /s msxml6.dll
regsvr32.exe /s actxprxy.dll
regsvr32.exe /s softpub.dll
regsvr32.exe /s wintrust.dll
regsvr32.exe /s dssenh.dll
regsvr32.exe /s rsaenh.dll
regsvr32.exe /s gpkcsp.dll
regsvr32.exe /s sccbase.dll
regsvr32.exe /s slbcsp.dll
regsvr32.exe /s cryptdlg.dll
regsvr32.exe /s oleaut32.dll
regsvr32.exe /s ole32.dll
regsvr32.exe /s shell32.dll
regsvr32.exe /s initpki.dll
regsvr32.exe /s wuapi.dll
regsvr32.exe /s wuaueng.dll
regsvr32.exe /s wuaueng1.dll
regsvr32.exe /s wucltui.dll
regsvr32.exe /s wups.dll
regsvr32.exe /s wups2.dll
regsvr32.exe /s wuweb.dll
regsvr32.exe /s qmgr.dll
regsvr32.exe /s qmgrprxy.dll
regsvr32.exe /s wucltux.dll
regsvr32.exe /s muweb.dll
regsvr32.exe /s wuwebv.dll
net start cryptSvc
net start bits
net start msiserver
net start wuauserv
net start appidsvc
net start sppsvc
Canceled the last automatic update, executed the following commands, rebooted, and performed a manual update. After installation and reboot, the server showed "Fail":
text
PowerShell
Set-Service -Name wuauserv -StartupType Disabled
net stop wuauserv
net stop bits
net stop cryptSvc
Remove-Item "C:\Windows\SoftwareDistribution" -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item "C:\Windows\System32\catroot2" -Recurse -Force -ErrorAction SilentlyContinue
Executed the reset component commands again, along with system repair and reboot. After reboot, manually installed the update, then rebooted the server. The server showed "Fail":
text
PowerShell
net stop wuauserv
net stop bits
net stop cryptSvc
net stop msiserver
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 Catroot2.old
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /RestoreHealth
Performed another in-place upgrade with data retention using the Windows 2016 ISO. Attempted automatic and manual updates again, but both failed.
Phase 3: In-Place Upgrade with Data Retention Using Windows 2019 ISO
After the upgrade and reboot, the process was stuck at 52%.
The upgrade failed. After reboot, the server remained on Windows 2016.
Executed the following steps, then attempted the upgrade again. After reboot, the process was still stuck at 52%:
In System Configuration, hid all Microsoft services and disabled them.
Executed:
text
Dockerfile
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
chkdsk C: /f
Current Status: The machine is now back to the reinstalled Windows 2016 version, and the Windows Update for November is still stuck at download 95%.
OS: Windows Server 2016 Datacenter Issue: Windows Update cannot update automatically, stuck at download 95%, error code: 0X800f0922
Attempted Solutions:
Phase 1: Original Server
Manually installed the update package. After installation and reboot, the update status showed "Fail."
Executed the following commands, but they failed:
sfc /scannow
`DISM /Online /Cleanup-Image /RestoreHealth`
`DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM /LimitAccess`
Phase 2: In-Place Upgrade with Data Retention Using Windows 2016 ISO
After the reinstallation, executed Windows Update automatically. The October update failed, stuck at the download process.
Manually installed the update. After installation and reboot, the server showed "Fail."
Executed the following commands successfully, then rebooted. Automatic update still failed, stuck at the download process:
sfc /scannow
`DISM /Online /Cleanup-Image /CheckHealth`
`DISM /Online /Cleanup-Image /ScanHealth`
`DISM /Online /Cleanup-Image /RestoreHealth`
Executed commands to reset all update-related components. After successful execution and reboot, automatic update still failed, stuck at the download process:
text
PowerShell
net stop wuauserv
net stop bits
net stop cryptSvc
net stop msiserver
net stop appidsvc
net stop sppsvc
Remove-Item "C:\Windows\SoftwareDistribution" -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item "C:\Windows\System32\catroot2" -Recurse -Force -ErrorAction SilentlyContinue
sc.exe sdset bits "D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
sc.exe sdset wuauserv "D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
regsvr32.exe /s shdocvw.dll
regsvr32.exe /s browseui.dll
regsvr32.exe /s jscript.dll
regsvr32.exe /s vbscript.dll
regsvr32.exe /s scrrun.dll
regsvr32.exe /s msxml.dll
regsvr32.exe /s msxml3.dll
regsvr32.exe /s msxml6.dll
regsvr32.exe /s actxprxy.dll
regsvr32.exe /s softpub.dll
regsvr32.exe /s wintrust.dll
regsvr32.exe /s dssenh.dll
regsvr32.exe /s rsaenh.dll
regsvr32.exe /s gpkcsp.dll
regsvr32.exe /s sccbase.dll
regsvr32.exe /s slbcsp.dll
regsvr32.exe /s cryptdlg.dll
regsvr32.exe /s oleaut32.dll
regsvr32.exe /s ole32.dll
regsvr32.exe /s shell32.dll
regsvr32.exe /s initpki.dll
regsvr32.exe /s wuapi.dll
regsvr32.exe /s wuaueng.dll
regsvr32.exe /s wuaueng1.dll
regsvr32.exe /s wucltui.dll
regsvr32.exe /s wups.dll
regsvr32.exe /s wups2.dll
regsvr32.exe /s wuweb.dll
regsvr32.exe /s qmgr.dll
regsvr32.exe /s qmgrprxy.dll
regsvr32.exe /s wucltux.dll
regsvr32.exe /s muweb.dll
regsvr32.exe /s wuwebv.dll
net start cryptSvc
net start bits
net start msiserver
net start wuauserv
net start appidsvc
net start sppsvc
Canceled the last automatic update, executed the following commands, rebooted, and performed a manual update. After installation and reboot, the server showed "Fail":
text
PowerShell
Set-Service -Name wuauserv -StartupType Disabled
net stop wuauserv
net stop bits
net stop cryptSvc
Remove-Item "C:\Windows\SoftwareDistribution" -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item "C:\Windows\System32\catroot2" -Recurse -Force -ErrorAction SilentlyContinue
Executed the reset component commands again, along with system repair and reboot. After reboot, manually installed the update, then rebooted the server. The server showed "Fail":
text
PowerShell
net stop wuauserv
net stop bits
net stop cryptSvc
net stop msiserver
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 Catroot2.old
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /RestoreHealth
Performed another in-place upgrade with data retention using the Windows 2016 ISO. Attempted automatic and manual updates again, but both failed.
Phase 3: In-Place Upgrade with Data Retention Using Windows 2019 ISO
After the upgrade and reboot, the process was stuck at 52%.
The upgrade failed. After reboot, the server remained on Windows 2016.
Executed the following steps, then attempted the upgrade again. After reboot, the process was still stuck at 52%:
In System Configuration, hid all Microsoft services and disabled them
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
chkdsk C: /f
Current Status: The server is now back to the reinstalled Windows 2016 version, and the Windows Update for 2025-11 Cumulative Update for Windows Server 2016 for x64-based Systems (KB5068864). is still stuck at download 95%. Windows Defender cannot start which error code is 0x800705b4