Fix Windows update error code 0x8024800c (Solved!)

Top 5 methods to solve Windows update download error 0x8024800c.

0x8024800c

Getting an error code when downloading and installing updates in Windows can be really bothersome. In this article, we will be talking about one such case, 0x8024800c. The issue is likely caused by damaged system files, wrongly configured system settings and irregularities in the Windows registry due to incorrect software uninstall. Let us see the causes of this specific error and some methods by which we can tackle the issue when such an error pops up.

Download error 0x8024800 may occur because of timeout issue which means “The data store section could not be locked within the allotted time”. This indicates that SoftwareDistribution data store is out of sync resulting in a WU_E_DS_LOCKTIMEOUTEXPIRED string with _HRESULT_TYPEDEF_(0x8024800CL). To solve the issue, you have to clear the data store for Windows Update. Corrupted Windows Update components may also trigger the 0x8024800c error and their reset is the solution. Now as we look into the possible causes of the Windows Update error 0x8024800c as we are in a better position to understand the solutions pertaining to the issue. See – How to Fix 0x80248014 Windows 10 Update Error WU_E_DS_UNKNOWNSERVICE.

Windows Update Download Error 0x8024800c

Here is how to fix the Windows update error code 0x8024800c –

Way-1: Use the Windows Update Troubleshooter

Whenever getting any error code while downloading and installing Windows updates, the Troubleshooter can be thought of as an easy to handle solution to tackle the problem. You can run the tool by following the steps:

  1. Click the Start button and type Troubleshooter.
  2. Hit – Enter.
  3. When the Settings Window opens and click on Additional troubleshooters.
  4. You will find the Windows Update on the next page; select this.
  5. Click on – Run the troubleshooter.
how to fix the Windows update error code 0x8024800c
  1. The tool will examine the Windows update services, registry, and other components.
  2. Check if the problems have been resolved after restarting your PC.

Way-2: Run SFC scan and DISM

Using the System File Checker (SFC) in Microsoft Windows, you should scan and restore corrupted system files because this has the capability to get rid of error code 0x8024800c.

  1. Access the Command Prompt by typing cmd in the Taskbar Search.
  2. Along the right side of your search tool, there will be the Run as administrator; click on that.
  3. Type the sfc /scannow command.
  4. Then, hit the Enter key and wait for completing verification.
  5. Reboot the system and ensure that the problem is resolved.
  6. If the issue still persists then start the Administrator: Command prompt again and run the below codes sequentially:
dism /online /cleanup-image /checkhealth
dism /online /cleanup-image /scanhealth
dism /online /cleanup-image /restorehealth
running DISM utility on the Administrator command prompt
  1. In the end, restart the device and hopefully, the error should be resolved.

Read: Use Common Windows Update Troubleshooter on Windows 11, 10, 8.1, 7.

Way-3: Clear the SoftwareDistribution Data Store Folder

Since this error is generated because of timeout occurred when fetching the Windows update elements from data store located in SoftwareDistribution directory so this method is super important. Clearing the folder will lead to downloading fresh Windows update files which might be flawless. As a result, the error 0x8024800c will disappear and you will no longer encounter any hitch further.

  1. Launch Command prompt as administrator (steps are mentioned in way-2).
  2. Now, you need to stop the update services by inputting the below commands, turnwise:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
Windows update error code 0x8024800c
  1. Press Winkey+E to access the File Explorer from the Taskbar
  2. Copy the following location address and paste it into the address bar of the Explorer.
C:\WINDOWS\SoftwareDistribution\DataStore
  1. Press Enter to open the DataStore folder.
  2. Select the whole contents by using Ctrl + A keys combination and press Del (Delete).
delete files and folders from data store in softwaredistribution
  1. Similarly, in File Explorer, look for the Download subfolder by inputting the path:
C:\Windows\SoftwareDistribution\Download
  1. Select the whole contents of the Download subfolder and press Del or Delete.
  2. Then, restart the update services with the following commands:
net start wuauserv
net start cryptSvc
net start bits
net start msiserver

Way-4: Reset Windows Update Components

As aforementioned, corrupt Windows update database is the root cause of error 0x8024800c. Resetting the components requires a Windows Update reset script which is meant to automatically reset all services associated with Windows to default state. Thus the repair process becomes much faster.

Follow the method to create the script manually:

  1. Press Windows logo key.
  2. Type Notepad and hit Enter.
  3. Copy the following and paste it into the Notepad:
@ECHO OFF
echo .
echo Simple Script to reset Windows updates components-credits to Shawn Brink for the commands.
echo .
PAUSE
echo .
set b=0

:bits
set /a b=%b%+1
if %b% equ 3 (
goto end1
)
net stop bits
echo Checking the bits service status.
sc query bits | findstr /I /C:"STOPPED"
if not %errorlevel%==0 (
goto bits
)
goto loop2

:end1
cls
echo.
echo Failed to reset Windows Update due to bits service failing to stop
echo Please run the script as administartor by right clicking the WuReset file or your BITS service isn't responding.
echo.
pause
goto Start

:loop2
set w=0

:wuauserv
set /a w=%w%+1
if %w% equ 3 (
goto end2
)
net stop wuauserv
echo Checking the wuauserv service status.
sc query wuauserv | findstr /I /C:"STOPPED"
if not %errorlevel%==0 (
goto wuauserv
)
goto loop3

:end2
cls
echo.
echo Failed to reset Windows Update due to wuauserv service failing to stop.
echo.
pause
goto Start

 

:loop3
set app=0

:appidsvc
set /a app=%app%+1
if %app% equ 3 (
goto end3
)
net stop appidsvc
echo Checking the appidsvc service status.
sc query appidsvc | findstr /I /C:"STOPPED"
if not %errorlevel%==0 (
goto appidsvc
)
goto loop4

:end3
cls
echo.
echo Failed to reset Windows Update due to appidsvc service failing to stop.
echo.
pause
goto Start

:loop4
set c=0

:cryptsvc
set /a c=%c%+1
if %c% equ 3 (
goto end4
)
net stop cryptsvc
echo Checking the cryptsvc service status.
sc query cryptsvc | findstr /I /C:"STOPPED"
if not %errorlevel%==0 (
goto cryptsvc
)
goto Reset

:end4
cls
echo.
echo Failed to reset Windows Update due to cryptsvc service failing to stop.
echo.
pause
goto Start

:Reset
Ipconfig /flushdns
del /s /q /f "%ALLUSERSPROFILE%\Microsoft\Network\Downloader\qmgr*.dat"
del /s /q /f "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"

 

cd /d %windir%\system32

if exist "%SYSTEMROOT%\winsxs\pending.xml.bak" del /s /q /f "%SYSTEMROOT%\winsxs\pending.xml.bak"
if exist "%SYSTEMROOT%\winsxs\pending.xml" (
takeown /f "%SYSTEMROOT%\winsxs\pending.xml"
attrib -r -s -h /s /d "%SYSTEMROOT%\winsxs\pending.xml"
ren "%SYSTEMROOT%\winsxs\pending.xml" pending.xml.bak
)

if exist "%SYSTEMROOT%\SoftwareDistribution.bak" rmdir /s /q "%SYSTEMROOT%\SoftwareDistribution.bak"
if exist "%SYSTEMROOT%\SoftwareDistribution" (
attrib -r -s -h /s /d "%SYSTEMROOT%\SoftwareDistribution"
ren "%SYSTEMROOT%\SoftwareDistribution" SoftwareDistribution.bak
)

if exist "%SYSTEMROOT%\system32\Catroot2.bak" rmdir /s /q "%SYSTEMROOT%\system32\Catroot2.bak"
if exist "%SYSTEMROOT%\system32\Catroot2" (
attrib -r -s -h /s /d "%SYSTEMROOT%\system32\Catroot2"
ren "%SYSTEMROOT%\system32\Catroot2" Catroot2.bak
)

if exist "%SYSTEMROOT%\WindowsUpdate.log.bak" del /s /q /f "%SYSTEMROOT%\WindowsUpdate.log.bak"
if exist "%SYSTEMROOT%\WindowsUpdate.log" (
attrib -r -s -h /s /d "%SYSTEMROOT%\WindowsUpdate.log"
ren "%SYSTEMROOT%\WindowsUpdate.log" WindowsUpdate.log.bak
)

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
regsvr32 /s wudriver.dll
netsh winsock reset
netsh winsock reset proxy

:Start
net start bits
net start wuauserv
net start appidsvc
net start cryptsvc
echo Task completed sucessfully!Please restart your computer and check for the updates again.
PAUSE
  1. Click on File and select Save.
  2. In the File name bar type WUReset.bat.
  3. Click on Save as type: dropdown and select All Files (*.*).
  4. Then, click on Save.
  5. Go to the saved location, right-click on the script file, and select Run as administrator.
  6. A command prompt window will open and ask you to press any key to continue. Hit on one.
  7. Hold on some time until the script finishes its tasks.
  8. Finally, reboot the computer.

Note: We have manually created the script, you can download, extract and run it to avoid much effort – Reset_Windows_11_update.zip.

Way-5: Perform In-Place upgrade

In-place upgrade is the process of upgrading an operating system to a newer version while keeping all the existing files, programs, and settings intact. Whenever, Windows update fails to install, using this method will upgrade to the version that includes the update furthermore your data won’t be affected. So to rectify error 0x8024800c you can freely use this process and get relief.

  1. Proceed to the Windows 11 official download page at – https://www.microsoft.com/en-in/software-download/windows11.
  2. Scroll far down, and click on – Download Windows 11 Disk Image (ISO).
  3. You can see – “Windows 11 (multi-edition ISO)“; click this.
  4. Then, select the option – “Download.
  5. Choose the language appropriate for your requirement.
  6. Next, select Confirm.
  7. After that click on “64-bit Download” (Yours may be ARM64 depending on your computer’s processor architecture).
  8. Navigate to the saved location, right-click on the ISO file Win11_22H2_Language_x64v1.iso and choose Mount.
  9. Double click on the setup.exe file.
  10. From Install Windows 11 wizard, select – Next.
  11. Check the option that says – Accept.
  12. The setup will calculate how much free space is empty on the drive and if your computer fulfills the requirement (approx 16GB)  you will get Ready to install window.
  13. Select the option that reads – Keep personal files and apps.
  14. In the end, click on Install, wait for completion, and start using the system with the Windows update that was showing the error code.

Methods:
Way-1: Use the Windows Update Troubleshooter
Way-2: Run SFC scan and DISM
Way-3: Clear the SoftwareDistribution Data Store Folder
Way-4: Reset Windows Update Components
Way-5: Perform In-Place upgrade

That’s all!!

Sharing is caring    Share Whatsapp

 
Topics:  Windows
  
About Sunita
Love to play with Windows 11 and 10. Suggestion - Going for Registry change or system files edit then remember to take a backup or create a restore point before Starting.