Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Windows»How To Fix Windows Update Error 0x80070002

How To Fix Windows Update Error 0x80070002

Anup ThapaBy Anup ThapaDecember 17, 2022
error 0x80070002

Error 0x80070002 is a Windows update error that generally happens when the necessary update files are missing or corrupted. If the Windows Update service isn’t working properly, that can also lead to this error.

The 0x80070002 error, which can also alternatively display with the 0x80070003 error code sometimes, occurs when the system cannot find the specified file for the update. The main reasons for this include:

  • Incorrect system configuration
  • System file corruption
  • Malware
In some cases, a minifilter-based product that uses Microsoft Filter Manager technology can also cause this error.

As always, the first thing you should do is restart your PC. Once that’s done, try checking for updates multiple times. Also, ensure you don’t have an unstable or slow internet connection as that could also be interrupting the update.

People ignore these things as they seem trivial, but quite often, these are enough to fix the issue. But in case they didn’t help, you should check out the solutions listed below.

Table of Contents

  • Verify Date and Time
  • Run Windows Update Troubleshooter
  • Reset Windows Update Components
  • Using GUI
  • Using CLI
  • Manually Download the Updates
  • Scan and Repair Corrupt System Files
  • Scan System Drive Using CHKDSK
  • Clean Boot and Check for Updates
  • Scan for Malware
  • Temporarily Disable Third-Party Antivirus / Firewall
  • Update using Media Creation Tool
  • Restore / Reset PC
    • Using System Restore
    • Using Reset PC

Verify Date and Time

As unlikely as it may sound, incorrect Date and Time can actually cause issues with the Windows Update process. So, before getting into the more technical solutions, we recommend you try this quick fix first.

  1. Press Windows + R, type timedate.cpl and press Enter.
  2. In the Internet Time tab, select Change settings > Update Now to sync your date and time automatically.
    update-date-time-synchronize
  3. Press OK in both windows to apply the new configurations.
  4. Open Run again and enter ms-settings:windowsupdate.
  5. Press Check for Updates and see if you’re still receiving the error.

Run Windows Update Troubleshooter

Windows has dedicated troubleshooters that are easy to use and can diagnose and fix issues with specific features. You can use the Windows Update Troubleshooter, in particular, to resolve most update-related issues in just a few steps:

  1. Press Windows + I to launch Settings.
  2. Navigate to Update and Security > Troubleshoot > Additional Troubleshooters.
  3. Click on Windows Update and press Run the troubleshooter.
    windows-update-troubleshooter
  4. Follow the on-screen instructions to fix any issues detected.

Reset Windows Update Components

If the troubleshooter couldn’t resolve the issue, you should try to reset the Windows Update Components manually. The GUI method with only the core steps is listed directly below, but we highly recommend you use the Command Line method further down as it’s a lot more comprehensive and efficient.

Using GUI

The Software Distribution folder temporarily stores Windows Update files. Deleting, or renaming it (if you don’t want to lose the update history log), will force Windows to download the contents again, thus replacing any missing or corrupt ones.

  1. Press Windows + R, type services.msc, and press Enter.
  2. Scroll down and double-click Windows Update to open Properties.
  3. Click on Stop and press Apply.
    stop-windows-update-service
  4. Open Run and enter %windir%.
  5. Delete the SoftwareDistribution folder or rename it to something else (SoftDisOld for instance).
    delete-software-distribution-folder
  6. Open Windows Update Properties again (Step 2), press Start, and press OK.
  7. Check for updates and test if you can install them now.

Using CLI

The command-line approach resets way more Windows Update-related services, deletes and restores update files, registers some Update libraries, and resets your Winsock catalog (network configurations).

  1. Press Windows + R to launch Run.
  2. Type cmd and press Ctrl + Shift + Enter to launch Elevated Command Prompt.
  3. Copy the following commands and press Enter after each one to execute them:
    • net stop bits
    • net stop wuauserv
    • net stop cryptsvc
    • net stop msiserver
    • net stop appidsvc
    • net stop trustedinstaller
    • Del “%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat”
    •  cd /d %windir%\system32
    •  regsvr32.exe atl.dll
    • regsvr32.exe urlmon.dl
    • 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.dll
    • ren %systemroot%\softwaredistribution softwaredistributiontemp
    • ren %systemroot%\system32\catroot2 catroot2temp
    • netsh winsock reset
    • net start bits
    • net start wuauserv
    • net start cryptsvc
    • net start msiserver
    • net start appidsvc
    • net start trustedinstaller
      net-stop-bits-wuauserv-cryptsvc-msiserver-appidsvc
  4. Restart your PC and try checking for updates now.

Manually Download the Updates

We recommend checking out this article on how to use the Windows Update Assistant as it contains all the information you need to use this tool.

windows-update-assistant

If the tool doesn’t prove helpful, you can download a specific update manually from the official Microsoft Update Catalog website with the steps listed below:

  1. Launch Run and enter ms-settings:windowsupdate.
  2. Click on View Update History.
    windows-update-history-failed-updates
  3. Look for the failed update from the list and note the Update Name and Code (e.g. KB4023057).
  4. Visit the Update Catalog and use the code to search for the update. Make sure you download and install the correct version for your system.

If a minifilter-based product is causing the update error, manually downloading the required update will be helpful in this scenario as well.

Scan and Repair Corrupt System Files

Corruption of system files leads to a lot of issues including the 0x8007002 update error. The best way to find and repair corrupt system files is using the DISM and SFC utilities.

  1. Launch Elevated Command Prompt and execute the following commands:
    dism /online /cleanup-image /restorehealth
    sfc /scannow

    dism-sfc
  2. Once the operation is complete, you’ll receive a message stating No Integrity Violations or Successful Repair. In this case, either no corruption was found or it was resolved.
    In case the issues weren’t fixed, we have an article detailing what to do for your further reading.
  3. Check if the update error persists.

Scan System Drive Using CHKDSK

The CHKDSK utility will scan the selected partition and attempt to repair any soft bad sectors that it finds. To use this:

  1. Launch Command Prompt with admin privileges once again.
  2. Type the following command, replace C: with the drive letter where your OS is installed if different, and press Enter:
    chkdsk c: /x /r
    chkdsk-c-x-r

Clean Boot and Check for Updates

In case some driver or program is interfering with the update process, you can perform a clean boot and launch only the most essential ones. With the conflict resolved, you should be able to perform the update now. To do so:

  1. Press Windows + R to launch Run.
  2. Type msconfig and press Enter to open the System Configuration window.
  3. In the Services tab, enable the Hide all Microsoft services option.
  4. Press the Disable all button.
    Disable-services-system-configuration
  5. In the Startup tab, click on Open Task Manager.
  6. Select all unnecessary startup programs and press Disable.
    disable-startup-items-task-manager
  7. Restart your PC and check for updates now.

To revert these changes later, simply repeat the steps from earlier but Enable all services this time.

Scan for Malware

With most antivirus programs, all you need to do is right-click the icon from the taskbar and select the Scan option. Alternatively, you can also perform a scan or enable real-time protection from the program’s home screen.

While using a reliable antivirus is ideal, a Windows Defender scan is also a fine option. To perform one:

  1. Launch Run, type windowsdefender://threat/, and press Enter.
  2. Select Scan Options > Full Scan and press Scan Now.
    Full-scan-windows-defender
  3. If any threats are found, clear them and try checking for updates afterward.

In any case, once you’ve verified there’s no more malware on your PC, your next step should be to temporarily disable your antivirus/firewall.

Temporarily Disable Third-Party Antivirus / Firewall

Third-party antiviruses, while great for protection, are known to often interfere with normal Windows services, mostly because of false alerts. The same goes for third-party firewalls. Disabling them temporarily while you try to update can be of help. To do so:

Note: If the firewall in use is Windows Firewall, it is not recommended to disable the service.
  1. Launch your Antivirus/Firewall application.
  2. Select the turn OFF protection option. This will typically be either on the home screen or under Advanced Settings.
    turn-off-antivirus-real-time-protection
  3. Alternatively, you can just right-click their icons from the taskbar and select Stop Service or a similar option as well.
    disable-third-party-firewall
  4. Try updating now. You should revert the changes and turn everything back on afterward.

Update using Media Creation Tool

It’s possible to use the Upgrade option in the Media Creation Tool to update your PC. Here are the steps to do so:

  1. On the Microsoft Software Download page, click on Download tool now.
    media-creation-tool-download
  2. Launch the downloaded .exe file.
  3. Accept the License terms, select Upgrade this PC now and click Next.
    upgrade-this-pc-now
  4. Follow the on-screen instructions.

Restore / Reset PC

If none of the solutions so far were helpful, the final option is to restore your PC to a previous state or reset it entirely. Both of these options can also preserve your personal files.

Using System Restore

  1. Launch Run, type systempropertiesprotection, and press Enter.
  2. Click on System Restore and press Next.
    system restore
  3. Select a restore point (ideally the one right before the update issue started) and press Next.
    restore-point-sample
  4. Follow the on-screen instructions.

Using Reset PC

  1. Press Windows + I to launch Settings.
  2. Navigate to Update and Security > Recovery.
  3. In the Reset this PC section, press Get Started.
  4. Select Keep my files to keep your personal files.
    reset-pc-keep-my-files
  5. Follow the on-screen instructions.
fix
Anup Thapa
  • LinkedIn

Anup Thapa is a tech writer at TechNewsToday. He mostly writes informative articles, tutorials, and troubleshooting guides related to Windows systems, networking, and computer hardware. Anup has been writing professionally for almost 5 years, and tinkering with PCs for much longer. His love for all things tech started when he got his first PC over 15 years ago. It was a Pentium IV system running Windows XP on a single 256 MB stick. He spent his formative years glued to this PC, troubleshooting any hardware or software problems he encountered by himself. Professionally, Anup has had brief forays into a variety of fields like coding, hardware installation, writing, etc. In doing so, he's worked with people of different backgrounds and skill levels, from average joes to industry leaders and experts. This has given him not just a versatile skillset, but also a unique perspective for writing that enables him to concisely communicate complex information and solve his reader's problems efficiently. You can contact him at anup@technewstoday.com

Related Posts

how to change windows startup sound

How to Change Windows Startup Sound

March 17, 2023
scan disk windows 10

How to Scan Disk Windows

March 16, 2023
Shared GPU Memory

What is Shared GPU Memory? How is It Different From Dedicated VRAM?

March 12, 2023
firmware vs software

Firmware Vs Software – What’s the Difference?

March 8, 2023
update sound drivers

How to Update Sound Drivers on Windows

March 7, 2023
nvidia-users-account-is-locked

Fixed: NVIDIA Users Account is Locked

March 7, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
Shared GPU Memory

What is Shared GPU Memory? How is It Different From Dedicated VRAM?

March 12, 2023
c drive vs d drive

C Drive Vs D Drive – What’s the Difference?

March 12, 2023
firmware vs software

Firmware Vs Software – What’s the Difference?

March 8, 2023
You may also like
how-to-connect-brother-printer-to-wifi

How to Connect Brother Printer to Wi-Fi

March 17, 2023
my computer won't connect to wifi

Fixed: My Computer Won’t Connect to Wi-Fi

March 17, 2023
how to change windows startup sound

How to Change Windows Startup Sound

March 17, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.