Windows Update error 0x8008005


Recommended Posts

+jnelsoninjax

Recently checked windows update and was greeted with the message that states: There were some problems installing updates, but we'll try again later. If you keep seeing this and want to search the web or contact support for information, this may help (0x8008005) now of course I have Googled the error code and followed steps outlined to reset windows update, however they did not solve the issue. I have also run SFC/scannow to verify that the system files are OK, and it comes back with a clean bill of health. I am hoping that someone else has had this error and/or knows a method for resolving it.

Link to post
Share on other sites
+jnelsoninjax

Still having this issue, can not install any updates, even using the standalone installer.

Link to post
Share on other sites
Brandon H

I'm sure one of the guides mentioned trying this but figured I'd ask. Have you tried purging the windows update directory to rule out corrupt download/cache files?

what about a scan with DISM as opposed to SFC?

  • Like 1
Link to post
Share on other sites
+spikey_richie
2 minutes ago, Brandon H said:

I'm sure one of the guides mentioned trying this but figured I'd ask. Have you tried purging the windows update directory to rule out corrupt download/cache files?

what about a scan with DISM as opposed to SFC?

This. Stop the Windows update service, purge the cache, then start the service up again.

Link to post
Share on other sites
Xahid

Have you tried,

Settings => Update and Security => Troubleshoot => under Get up and running, select Windows Update => Run the troubleshooter. (not applicable for 20H2)

 

It works for me, and disable the Antivirus.

 

 

Link to post
Share on other sites
Jason S.

every time i search for windows updates error codes i see the same thing: reset this, reboot, scan, blah blah blah. all these canned responses never work.

 

have you tried manually downloading and installing the updates? is your C partition full or almost full?

Link to post
Share on other sites
Brandon H
26 minutes ago, Xahid said:

and disable the Antivirus.

that's a good recommendation to try too; wouldn't be the first time a 3rd party Anti-Virus suite like Avast has broken windows update

Link to post
Share on other sites
+jnelsoninjax
9 hours ago, Brandon H said:

I'm sure one of the guides mentioned trying this but figured I'd ask. Have you tried purging the windows update directory to rule out corrupt download/cache files?

what about a scan with DISM as opposed to SFC?

I always use DISM, I have a batch file that runs DISM, then SFC, and copies the result file to the desktop for ease of access

9 hours ago, spikey_richie said:

This. Stop the Windows update service, purge the cache, then start the service up again.

Done that, get the same result :(

This is what the batch file that I found online does to 'reset windows update'

@echo off

:: Created by: Shawn Brink
:: Created on: October 1st 2015
:: Updated on: March 9th 2020
:: Tutorial: https://www.tenforums.com/tutorials/24742-reset-windows-update-windows-10-a.html


:: Prompt to Run as administrator
Set "Variable=0" & if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs"
fsutil dirty query %systemdrive%  >nul 2>&1 && goto :(Privileges_got)
If "%1"=="%Variable%" (echo. &echo. Please right-click on the file and select &echo. "Run as administrator". &echo. Press any key to exit. &pause>nul 2>&1& exit)
cmd /u /c echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "%~0", "%Variable%", "", "runas", 1 > "%temp%\getadmin.vbs"&cscript //nologo "%temp%\getadmin.vbs" & exit
:(Privileges_got)

:: Checking and Stopping the Windows Update services
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 Cannot reset Windows Update since "Background Intelligent Transfer Service" (bits) service failed to stop.
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 Cannot reset Windows Update since "Windows Update" (wuauserv) service failed 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 Cannot reset Windows Update since "Application Identity" (appidsvc) service failed 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 Cannot reset Windows Update since "Cryptographic Services" (cryptsvc) service failed to stop.
echo.
pause
goto Start


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


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
)
 

:: Reset Windows Update policies
reg delete "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f
reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate" /f
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate" /f
gpupdate /force


:: Reset the BITS service and the Windows Update service to the default security descriptor
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)

:: Reregister the BITS files and the Windows Update files
cd /d %windir%\system32
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.exe /s wudriver.dll
netsh winsock reset
netsh winsock reset proxy

:: Set the startup type as automatic
sc config wuauserv start= auto
sc config bits start= auto
sc config DcomLaunch start= auto

:Start
net start bits
net start wuauserv
net start appidsvc
net start cryptsvc

:: Restart computer
cls
echo It is required to restart the computer to finish resetting Windows Update.
echo.
echo Please save and close anything open now, before the computer is restarted.
echo.
pause
echo.
echo.
echo.
echo *** Restart computer now. ***
echo.
pause
shutdown /r /f /t 0

8 hours ago, Xahid said:

Have you tried,

Settings => Update and Security => Troubleshoot => under Get up and running, select Windows Update => Run the troubleshooter. (not applicable for 20H2)

 

It works for me, and disable the Antivirus.

Troubleshooter found two issues and fixed them, I am re-running update right now, did not solve the issue.

I have paused my AV right now, and am attempting to search for updates, same error.

8 hours ago, Jason S. said:

every time i search for windows updates error codes i see the same thing: reset this, reboot, scan, blah blah blah. all these canned responses never work.

 

have you tried manually downloading and installing the updates? is your C partition full or almost full?

Yes I have manually tried, and it gives me the same error message, and no, my C partition is nowhere near full (97.5 GB used, 378 GB free)

Link to post
Share on other sites
bawz

i would try " Reset this PC "  something is corrupt

https://windowsreport.com/windows-10-error-0x80080005/

Link to post
Share on other sites
+jnelsoninjax
34 minutes ago, bawz said:

i would try " Reset this PC "  something is corrupt

https://windowsreport.com/windows-10-error-0x80080005/

Not a bad idea, I might as well do that, can't screw things up much more than they are already! :D

Link to post
Share on other sites
Brandon H
12 hours ago, bawz said:

i would try " Reset this PC "  something is corrupt

https://windowsreport.com/windows-10-error-0x80080005/

yeah I was trying to avoid suggesting that as it's really a last resort option since it's basically a re-install of windows, but it seems like you're to that point @jnelsoninjax :/ 

Link to post
Share on other sites
+warwagon
4 minutes ago, Brandon H said:

yeah I was trying to avoid suggesting that as it's really a last resort option since it's basically a re-install of windows, but it seems like you're to that point @jnelsoninjax :/ 

 
 
 

Or just use the media creation tool, and run the windows 10 installer again. It's just an in place upgrade. It's fixed broken stuff before. Not sure how differnet it would be from a reset. Plus, he'd have Windows 10 20H2 when he was done.

  • Like 1
Link to post
Share on other sites
Brandon H
1 minute ago, warwagon said:

Or just use the media creation tool, and run the windows 10 installer again. It's just an in place upgrade. It's fixed broken stuff before. Not sure how differnet it would be from a reset. Plus, he'd have Windows 10 20H2 when he was done.

that's not a bad idea actually. good call (Y)

Link to post
Share on other sites
+warwagon

Though he should still obviously backup his stuff.

Link to post
Share on other sites
+jnelsoninjax
3 hours ago, warwagon said:

Though he should still obviously backup his stuff.

My stuff is always backed up, 2 clouds, and one fireproof and water resistant external HDD, so I'm good there.

  • Like 3
Link to post
Share on other sites
bawz

i had to do a " Reset this PC " awhile ago, funny enough windows10 seems to work a lot better than it used to,  it didnt take me long to reinstall it either. but yeah always make sure you backup all your important stuff before you go ahead an do it,  i chose to do a clean install rather than the other.

  • Like 1
Link to post
Share on other sites
+jnelsoninjax

Decided to go ahead and do the reset, it took ~10 to 15 mins, now it's just a matter of getting the programs that were removed reinstalled and configured.

Link to post
Share on other sites
patgon

After trying several fixes that I could find on the internet, this is the one that finally worked:

Right click on Windows Start > Windows Powershell (Admin)

Type the following one by one and Enter:

  • net stop wuauserv
  • net stop cryptSvc
  • net stop bits
  • net stop msiserver
  • Ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
  • Ren C:\Windows\System32\catroot2 Catroot2.old
  • net start wuauserv
  • net start cryptSvc
  • net start bits
  • net start msiserver

FONT: https://answers.microsoft.com/en-us/windows/forum/all/windows-update-keeps-disabling-itself/76ad8b3d-5223-45ee-a5bf-9b4227b2b51e

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.