Windows operating systems are con­fig­ured as standard to search for the newest updates once they’re connected to the internet. However, you can also start the search for the latest updates manually in the Update Center. It’s certainly advisable to use one of these two options. After all, without regular Windows updates, you not only miss out on the latest features of Windows and other Microsoft ap­pli­ca­tions like Office or Outlook, but also important bug fixes and security im­prove­ments (such as the removal of security vul­ner­a­bil­i­ties).

However, issues like error 0x80070002 can occur when searching for updates and in­stalling them au­to­mat­i­cal­ly or manually. These problems prevent the update process, thereby exposing the stability of the system to sig­nif­i­cant risk. We explain what’s behind error message 0x80070002 and how you can resolve this problem yourself.

$1 Domain Names – Grab your favorite one
  • Simple reg­is­tra­tion
  • Premium TLDs at great prices
  • 24/7 personal con­sul­tant included
  • Free privacy pro­tec­tion for eligible domains

What Does Error Code “0x80070002” Mean?

The error message “0x80070002” is one of the more well-known error codes for problems en­coun­tered when updating Windows. It not only occurs in current versions of Windows, like Windows 10, but also in older editions such as Vista or XP. In some cases, the code “0x80070003” is also shown which refers to the same problem. Plus, depending on the system version, there are the al­ter­na­tive codes “80070002” or “80070003”. The message behind these four possible codes is “ERROR_FILE_NOT_FOUND”.

The fact that the Windows update process failed because a file could not be found could be due to a missing file or a file that’s damaged. The key processes that may be re­spon­si­ble for this are the down­load­ing and unpacking of the in­stal­la­tion files. Since Windows doesn’t resolve this problem itself but instead displays error 0x80070002, it’s a good idea to try to solve the problem yourself and install the relevant update anyway.

Note

The “0x80070002” error can occur when starting as well as unin­stalling other Microsoft ap­pli­ca­tions and third-party programs. Here too, the files required for the re­spec­tive action are missing or damaged.

Possible Solutions to the Windows Error 0x80070002

If you get the error code “0x80070002” when in­stalling a Windows update, this could be due to various reasons. For instance, one pos­si­bil­i­ty is that the Windows service re­spon­si­ble for updates is not working properly, making in­stal­la­tion im­pos­si­ble. It’s also possible that important system files have been lost or deleted, or that incorrect system settings have been applied. This may not nec­es­sar­i­ly be due to any changes made by yourself; these system issues can also be caused by malware or defective hardware.

Read the following solution sug­ges­tions to find out how best to approach the 0x80070002 error in each case.

Solution 1: Check the System Date and Time

As soon as you’ve connected to the internet, the operating system will usually determine the right in­for­ma­tion about the time zone, time, and date au­to­mat­i­cal­ly. If this syn­chro­niza­tion process doesn’t work, or you manually enter the time in­for­ma­tion, this can lead to issues like the update error 0x80070002 in the event of sig­nif­i­cant dis­crep­an­cies from the actual values. First, take a look at the “Date and Time” menu, which can be opened via the Control Panel (in the Windows Start menu). Follow the steps below:

  1. Check whether the right time zone is set in the “Date and Time” tab. If this isn’t the case, you can change the current setting via “Change time zone”. Also, make sure “Au­to­mat­i­cal­ly switch to summer/win­ter­time” is checked.
  2. Go to the “Internet time” tab and click on the button “Change settings”.
  3. Make sure “Syn­chro­nize with an internet time server” is checked and select one of the suggested servers.
  4. Click on “Update now” and then on “OK” to confirm the changes.

Solution 2: Restart the Windows Update Service

Windows operating systems contain a wide range of services and processes which are either per­ma­nent­ly active or are executed as soon as they are needed by the system. One of these services is the Windows Update Agent (WUA) – re­spon­si­ble for rec­og­niz­ing, down­load­ing and in­stalling updates for Windows and other installed Microsoft ap­pli­ca­tions. If this system isn’t work properly, it won’t be possible to update the system. One possible approach to solving the 0x80070002 error is to restart the Update Agent.

Like all other Windows services, you can find the Update Service in the Microsoft Man­age­ment Console, which can be accessed via the Control Panel (“Ad­min­is­tra­tion” -> “Services”) or the search function in the Start menu. In the case of the latter, enter the search term “services” and open the link with the same name. Search for the entry “Windows Update” in the list and click on “End the service” or the square stop symbol.

Before restart­ing the agent, first open the following directory on your computer (if you’ve installed Windows on a different drive, replace the drive letter ac­cord­ing­ly):

C:/Windows/SoftwareDistribution

The Update Agent tem­porar­i­ly saves files in this directory which are needed for the in­stal­la­tion process. In order for the service not to revert back to these files after restart­ing, and instead download and unpack the re­spec­tive update from scratch, you should delete the contents of this directory:

Now restart the Update Service via the button with the same name in the Microsoft Man­age­ment Console and then carry out a system restart. Af­ter­wards, the agent will be able to try to download and install the prob­lem­at­ic update again.

My­De­fend­er
Easy cyber security
  • Regular virus and malware scans
  • Automatic backups and simple file recovery

Solution 3: Check and Repair System Files

Missing or faulty system files can likewise cause the 0x80070002 error. But since the error message provides no in­for­ma­tion what­so­ev­er about where you should look in this event, you have to rely on the services of the SFC tool (System File Checker). This program checks and repairs all system files in your Windows in­stal­la­tion. If repairs aren’t possible, the SFC will inform you about the affected file(s). Ad­min­is­tra­tor rights are required to use the command line tool, as you have to run the command prompt as an ad­min­is­tra­tor. To do so, follow these steps:

  1. Open the Start menu.
  2. Type “cmd” into the search bar.
  3. Select “Command Prompt” by right-clicking and click on “Run as ad­min­is­tra­tor”.

As soon as you’ve opened the command line, enter the following commands to start the SFC:

sfc /scannow

Keep the command prompt open until the check process has been fully completed. The tool will then show you the result of the check. A list of damaged files that couldn’t be repaired can sub­se­quent­ly be found in the log file cbs.log, located in the directory Windows/Logs/CBS.

Solution 4: Check the Windows Drive for File System Errors

System crashes or improper deletion can result in file system errors, i.e. defective hard drive sectors. In turn, these can cause a wide range of com­pli­ca­tions such as the 0x80070002 update problem. Windows offers a solution in­te­grat­ed as standard, the CHKDSK tool (Check Disk), which enables you to discover these kinds of errors in the file system structure and resolve them at any time. Like the SFC program described above, CHKDSK can be run via command line.

Here, too, it’s necessary to start the command prompt as an ad­min­is­tra­tor:

  1. Open the Windows Start menu.
  2. Enter the term “cmd” into the search.
  3. Right-click on “Command Prompt” and then “Run as ad­min­is­tra­tor”.

To scan and repair the drive you’ve installed Windows on (usually C:), enter the following command:

chkdsk C: /F /R

Since the drive is currently being used by Windows and its various services and processes, you’ll receive a message that CHKDSK can’t be started at this time. Type “J” and confirm with the [Enter] key, so that the check program will be run prior to the next system start instead.

Solution 5: Use the Update Trou­bleshoot­er

For current Windows versions, the Update Trou­bleshoot­er provides a service specially tailored to resolving update errors like 0x80070002. You can download the latest version of the trou­bleshoot­er at any time from the official Microsoft Support Forum; it’s only a few kilobytes (KB) in size. After you’ve opened the down­loaded .diagcab file with the “Assistant for Trou­bleshoot­ing by Diagnosis”, simply follow the in­struc­tions to fix the 0x80070002 error:

Solution 6: Check the System for Malware

If important system files or settings are erroneous or missing, there’s also the chance your computer is infected with malware. In this case, your efforts to fix the 0x80070002 error will likely remain un­suc­cess­ful until you find the harmful software and remove it entirely from your system. Learn about the best tools for finding and removing spyware, Trojan horses, viruses, and other harmful software by reading our extensive article on malware.

Solution 7: Manually Install the Prob­lem­at­ic Update

If, despite following these solution sug­ges­tions, the Update Center still displays the error code “0x80070002”, you should try to download and install the relevant update yourself. Microsoft makes all released updates available on its Online Update Catalog. You just need to type in the knowledge base number of the update (always starting with “KB”) into the search bar and press “Search”; the web ap­pli­ca­tion will then look for the right in­stal­la­tion files au­to­mat­i­cal­ly.

Note

Make sure you select and install the in­stal­la­tion files for the right Windows edition (server vs. desktop) and ar­chi­tec­ture (x64/ARM64/x86).

Click here for important legal dis­claimers.

Go to Main Menu