• February 22, 2024

How to get rid of error 8020002e in Windows 7, 8.1 and 10?

Error 8020002e, as a rule, appears during the installation of some important update for Windows through Update (WU) – for example, when installing a security update.

Why does error 8020002e occur?

  • Glitch in Windows Update.
  • Corrupted components of the Update Center.
  • An overly caring third-party antivirus.
  • Damage to Windows system files.

Methods for resolving error 8020002e

8020002e

Method # 1 Run the troubleshooter

The most obvious solution is to run the Windows Update Troubleshooter. This system tool will scan your system for problems with the update process and provide you with a solution for them.

Press Windows + I on your keyboard to open the System Settings window in front of you. Next, open the “Update and Security” section, then – the “Troubleshooting” subsection. Find the item called “Windows Update” and select it LMB. Now click on the Run the troubleshooter button.

Wait for the scan to finish and apply the solution that prompts you with a troubleshooter. When you are finished using the tool, check for error 8020002e.

Method # 2 Disable third-party antivirus

It is worth noting that some certain third-party antiviruses can literally interfere with the normal operation of the operating system. These antiviruses include, for example, AVG Antivirus Free or Kaspersky Internet Security. If you have any third-party antivirus software installed in your OS, then we strongly recommend that you try deactivating it and see if the 8020002e error goes away.

How do I disable antivirus? Well, as a rule, you can disable this or that antivirus through the tray in the taskbar. Right-click on the anti-virus tray and select the item to disable active protection (or something like that). In some cases, unfortunately, it may be necessary to completely remove the antivirus.

Method # 3 Resetting all components of the Update Center

Perhaps you are unlucky enough to come across some kind of bug in the work of the Update Center, due to which you can no longer carry out a normal update of the Windows system. What to do in this case? In this situation, you will have to resort to resetting Windows Update (WU) components, after which everything will return to normal.

Typically, resetting WU components is done with a bunch of commands executed inside the Command Line. However, nowadays you can create a bat file yourself that will do everything for you. So, first, create a text file in a convenient location, and then drag the following set of commands into it:

@echo off

:: Reset Update Center
:: GamesQA.ru

:: Checking and Stopping the Windows Update services
set b = 0

: bits
set / ab =% 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 / aw =% 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 / ac =% 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 ;; CCLCSWRPWP ;; PU)

sc.exe sdset wuauserv D: (A ;; CCLCSWRPWPDTLOCRRC ;;; SY) (A ;; CCDCLCSWRPWPDTLOCRSDRCWDWO ;;; BA) (A ;; CCLCSWLOCRRC ;;; AU) (A ;; CCLCSWRPWPDTL;

:: 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

Save the text file and change its extension to .bat. You can also name the created file by some name, for example, “Reset WU.bat”. Now double-click the left mouse button on the batch file and wait until the Windows Update components are reset. Restart your computer and check for error 8020002e.

Method # 4 SFC and DISM

In some cases, error 8020002e can occur due to corrupted system files. You can test this by running system tools such as SFC and DISM to help you restore Windows to normal operation.

Right-click on Start and select “Command Prompt (Admin)”. Next, run the following two commands, remembering to restart your computer in between:

  • sfc / scannow
  • DISM / Online / Cleanup-Image / RestoreHealth

From the Command Line, you will find out if any system files have been corrupted or not. Try updating your Windows and check for error 8020002e.

Method # 5 Reinstall Windows

Before proceeding to reinstall your Windows, we recommend that you try to install the problematic update on your own through the Microsoft catalog. You can find out which update you need through the update log in the Update Center. Well, if nothing could solve your problem, then it’s time to do reinstalling Windows

We hope this article was helpful in resolving the 8020002e error.

Earn points and exchange them for valuable prizes – details

Leave a Reply

Your email address will not be published. Required fields are marked *