Microsoft is been releasing new patches every quarter to fix vulnerability, security updates and hardware drivers. Windows patches are so long it takes hours to update based on the version of Windows. Some common issues of Windows update in Windows 10 and Windows server are
- error codes: 0x80240034; 0x8007000E, 0x80242006, 0x80244018, 0x80D02002, 0x80246017, 0x80240438, 0x80070070, 0x8007000D, 0x80246008, 0x80096004, 0x80070020.
- windows update gets stuck
- windows update error 80072efe
- windows update error encountered
- windows update error 0x800f0922
- windows update error 0x8000ffff
- windows update error 80072ee2
- windows update error 0x800f0831
- windows update installing stuck
- windows update just keeps spinning
The Steps shown here should help to fix any errors that come up during the Windows patch Update.
Preliminary checks to Fix errors of Windows update
- Check C drive has 16 GB of free space to upgrade a 32-bit OS and 20 GB for a 64-bit OS.
- If you manage to free up disk space check for updates, select Start > Settings > Update & Security > Windows Update > Check for updates.
- Remove any external storage device attached, USB device and check for updates.
- Check Device manager shows drivers errors, if any errors found, uninstall drivers and update drivers
- Open elevated command prompt DISM.exe /Online /Cleanup-image /Restorehealth
- Open elevated command prompt enter sfc /scannow
- Rename the Software Distribution folder
open powershell and then enter the below commands
net stop bits
net stop wuauserv
ren %systemroot%\softwaredistribution softwaredistribution.bak
ren %systemroot%\system32\catroot2 catroot2.bak
net start bits
net start wuauservIf you still has issues with updating windows updates, then move forward for the next level.
Fix Windows update errors by resetting Windows update agent.
Type in search bar “cmd” Run as administrator
net stop wuauserv
rd /s /q %systemroot%\SoftwareDistribution
net start wuauservReset Windows update Components
net stop bits
net stop wuauserv
net stop cryptsvcDelete qmgr*.dat file
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"Rename datastore, Download and catroot2 folders
Ren %Systemroot%\SoftwareDistribution\DataStore DataStore.bak
Ren %Systemroot%\SoftwareDistribution\Download Download.bak
Ren %Systemroot%\System32\catroot2 catroot2.bakReset BITS Service and Windows update service
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)In command prompt go system32 folder
cd /d %windir%\system32Now Register BITS and Windows update files.
regsvr32.exe atl.dll
regsvr32.exe urlmon.dll
regsvr32.exe mshtml.dll
regsvr32.exe shdocvw.dll
regsvr32.exe browseui.dll
regsvr32.exe jscript.dll
regsvr32.exe vbscript.dll
regsvr32.exe scrrun.dll
regsvr32.exe msxml.dll
regsvr32.exe msxml3.dll
regsvr32.exe msxml6.dll
regsvr32.exe actxprxy.dll
regsvr32.exe softpub.dll
regsvr32.exe wintrust.dll
regsvr32.exe dssenh.dll
regsvr32.exe rsaenh.dll
regsvr32.exe gpkcsp.dll
regsvr32.exe sccbase.dll
regsvr32.exe slbcsp.dll
regsvr32.exe cryptdlg.dll
regsvr32.exe oleaut32.dll
regsvr32.exe ole32.dll
regsvr32.exe shell32.dll
regsvr32.exe initpki.dll
regsvr32.exe wuapi.dll
regsvr32.exe wuaueng.dll
regsvr32.exe wuaueng1.dll
regsvr32.exe wucltui.dll
regsvr32.exe wups.dll
regsvr32.exe wups2.dll
regsvr32.exe wuweb.dll
regsvr32.exe qmgr.dll
regsvr32.exe qmgrprxy.dll
regsvr32.exe wucltux.dll
regsvr32.exe muweb.dll
regsvr32.exe wuwebv.dllReset Winsock
netsh winsock resetRestart BITS, Windows update service and Cryptographic service
net start bits
net start wuauserv
net start cryptsvcAfter applying the above commands, Reboot your computer and check for windows update, this is a standard fix to all the errors which are mention above are common issues of Windows update.
If you still have problem and could get a fix, please do comment will do help and support to fix it.