Products
Windows 2012 R2 Std, Windows 2016 Std, Windows 2016 Datacenter, Windows 2019 Std, Windows 2019 Datacenter
Description
Windows updates are hanging on Downloading updates 0% for over 1 hour.
Solution
1 Perform a Clean Reboot
2 Start CMD as an Administrator
3 Run the following commands from CMD as an Administrator
Stop the Windows Update Service, Run this twice if the first attempt to stop the service fails
net stop wuauservStop the Cryptographic Services service
net stop cryptSvcStop the Background Intelligent Transfer service
net stop bitsStop the Windows Installer Service
net stop msiserverDelete all qmgr*.dat files from ALLUSERSPROFILE
del /f /q “%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat”Delete all files from %SystemRoot%\SoftwareDistribution
del /f /s /q %SystemRoot%\SoftwareDistribution\*.*Delete all files from %SystemRoot%\system32\catroot2
del /f /s /q %SystemRoot%\system32\catroot2\*.*Delete the WindowsUpdate.log file
del /f /q %SystemRoot%\WindowsUpdate.logStart the Windows Update Service
net start wuauservStart the Cryptographic Services service
net start cryptSvcStart the Background Intelligent Transfer service
net start bitsStart the Windows Installer Service
net start msiserver
4) Retry automatic updates, this will clear the Windows Update cache and the automatic updates should work again through the native interface.