Error 0x80070002 is the Windows code for “file not found”: a file that setup or Windows Update needs is missing or could not be read. On Windows 10 it shows up in two places, when the installer tool fails to start (sometimes as 0x80070002-0x20000) and when an update stops partway through installing. The quick checks below, such as free disk space, disconnecting extra drives and restarting, solve many cases. If an update keeps failing, the repair steps further down go a little deeper.
How this guide was made: it is compiled from Microsoft Learn troubleshooting articles and Microsoft Q&A threads, checked on November 30, 2026; user-posted fixes are labelled as such.

What the 0x80070002 error means and when it appears
According to Microsoft, its Windows Update 0x80070002 article, 0x80070002 is the Windows code ERROR_FILE_NOT_FOUND: a file the operation needs could not be found. The same article says the error typically appears when files required for an update are missing or corrupt, or when earlier updates were left incomplete. That article is written for Windows Server.
Vendor status: Microsoft documents 0x80070002 for Windows Update on Windows Server (article above) and for System Image Recovery on Windows 8.1, where it applies only with KB2919355 installed and a backup on a small partition on the same disk as drive C. The Windows 10 installer reports below come from Microsoft Q&A.
What Windows 10 users report:
- Launching the installer tool fails with a message saying the failure is for an unknown reason, with code 0x80070002-0x20000. Source: a Microsoft Q&A thread about this installer error. Status: user report, not confirmed by Microsoft.
- An automatically generated answer in that thread says this code means the system cannot find the specified file during Windows setup. Status: not vendor documentation, and it cites no source.
- A Windows Update downloads, then fails about 87% into the installation with 0x80070002. Source: a Microsoft Q&A thread about the install error. Status: user report, not confirmed by Microsoft.
- On Windows 11 23H2, a user reports every update failing with 0x80070002, usually followed by 0x20007, with the PC staying on 23H2. Source: a Microsoft Q&A thread about Windows 11 stuck on 23H2. Status: user report, not confirmed by Microsoft.
Checks to make before retrying the installer
These come from the Microsoft Q&A threads. Some are automatically generated answers, so treat them as user-level advice, not Microsoft guidance. They are listed from least to most invasive.
- Restart the PC. An automatically generated answer in the update thread says a restart can clear temporary conditions that block installation.
- Check free space. A user in the update thread says to have at least 20 GB free on a 64-bit system, or at least 16 GB free on a 32-bit system, before updating.
- Disconnect nonessential hardware. Before retrying, unplug external drives, printers, scanners and speakers. This advice comes from an automatically generated answer in the installer thread.
- Disconnect other disks. Temporarily disconnect any disk that is not the intended Windows installation disk, then run the installer again. The thread attributes this to Microsoft guidance for upgrades and installations, but it is an automatically generated answer.
- Install pending updates. Install all important Windows updates, including hardware driver updates, before retrying the upgrade (same automatically generated answer).
- Remove a non-Microsoft antivirus temporarily. Uninstall it from Programs and Features before the upgrade, and reinstall it afterwards if you need it. This applies only if you use a non-Microsoft antivirus product.
If you are in the Russian region
A volunteer moderator in the installer thread says this error occurs for users in the Russian region because the setup image cannot be downloaded there. The moderator adds that the Media Creation Tool fails and that downloading the image file directly fails too. Status: moderator statement in a community thread, not confirmed by Microsoft.
If you can obtain the image file by other means, the moderator says to mount it and run setup.exe for a repair install or an in-place upgrade.
If Windows Update fails with 0x80070002 (user-reported fixes)
Back up your data, and ideally the system disk, before registry changes or deeper repair steps. Both the Q&A thread and Microsoft’s Windows Server article give this advice.
- Run the Windows Update troubleshooter. On Windows 10, open Settings > Update & Security > Troubleshoot > Additional troubleshooters. Under Get up and running, select Windows Update and choose Run the troubleshooter.
- Repair the component store with DISM. If Windows Update files appear missing or corrupt, open an elevated Command Prompt and run
DISM.exe /Online /Cleanup-image /Restorehealth. The thread suggests this only when the problem is with Windows Update. Microsoft’s Windows Server article lists the same command as a step that follows restoring a missing file.
For related repair problems, see our guide to DISM error 0x800f0915 when repair content cannot be found and our page on the 0x800F0922 Windows Update error.
Windows 11 23H2 report: driver store cleanup
This applies only to the Windows 11 23H2 report described above. A moderator suggested it, and the original poster says an in-place upgrade worked afterwards. It is the experience of one user and is not confirmed by Microsoft.
Risk: the cleanup command removes old drivers. The export in step 2 saves a copy of your drivers in C:\DrvStore first. Keep that folder until the upgrade has finished and all your devices work.
- In an elevated Command Prompt, create the folder:
md C:\DrvStore - Export all drivers:
pnputil /export-driver * C:\DrvStore - Remove old drivers:
rundll32.exe pnpclean.dll,RunDLL_PnpClean /DRIVERS /MAXCLEAN. This command is case-sensitive, so copy it exactly. - Write the driver list to a file:
dism /online /get-drivers /format:table >c:\drivers.txt - Try an in-place upgrade.
Documented by Microsoft for Windows Server
The Microsoft article is written for Windows Server, so these steps are most relevant to administrators and may not map directly to a Windows 10 PC. They apply only when the logs point to the specific cause. Microsoft says the component log at C:\Windows\Logs\CBS\CBS.log is the main place to find the missing file or service. It can roll over to files named CBSpersisttXXXXXXXXXXXXX.log or CBSpersisttXXXXXXXXXXXXX.cab in the same folder, so check those too.
Before any registry edit: back up the registry so you can restore it if something goes wrong. Undo a change by restoring that backup.
- Missing System Tools folder. Applies only if the log shows STATUS_OBJECT_NAME_NOT_FOUND for that folder during update installation. Check that
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\System Toolsexists. If it does not, copy it, with all its shortcuts, from a working machine. - Security Monthly Rollup failing with clr_optimization errors in the log. Check whether
C:\Windows\Microsoft.NET\Framework\v4.0.30319is empty. Microsoft then says to back up and delete the keysHKLM\System\CurrentControlSet\services\clr_optimization_v4.0.30319_32andHKLM\System\CurrentControlSet\services\clr_optimization_v4.0.30319_64, and run the update again. This applies when the log has the entry for clr_optimization_v4.0.30319_32. - Missing driver service key. Applies only when the log points to a missing driver service key. Export the driver’s registry keys from a working computer and import them on the affected one. In Microsoft’s example, a failing flpydisk.inf driver required
HKLM\System\CurrentControlSet\Services\flpydiskandHKLM\System\CurrentControlSet\Services\sfloppy. - Windows upgrade failure. Check Setupact.log for errors about mounting setup image files. If they appear, export the WIMMount service key from a working server and merge it into the affected one. Microsoft writes the path as
HKLM\System\CCS\Services\Wimmount.sys. - Cumulative update rolls back after a restart. Check Event Viewer for 0x80070002 and review the log for driver update problems. Microsoft’s sample shows Event ID 20 from Windows Update Client in the System log.
After any of these fixes, Microsoft advises bringing the system fully up to date.
What to collect before asking for help
- The full error code, including any suffix such as 0x20000 or 0x20007. The installer thread advises giving Microsoft support the complete code if the installer still fails.
- Where it fails: when launching the installer tool, or partway through an update (one user reports about 87%).
- Your Windows version, whether it is 32-bit or 64-bit, and the free space on the system drive.
- Your region, if it is the Russian region.
- The relevant lines from
C:\Windows\Logs\CBS\CBS.logand its rollover files, and Setupact.log if an upgrade failed.
Sources
- Troubleshoot Windows Update Error 0x80070002 – Windows Server | Microsoft Learn
- System Image Recovery fails with a 0x80070002 error – Windows Client | Microsoft Learn
- Install error – 0x80070002 – Microsoft Q&A
- Error when launching the installer Windows 10 – Microsoft Q&A
- Windows 11 stuck on 23H2 as every update attempts fails with error code 0x80070002 (usually followed by the specifier 0x20007) – Microsoft Q&A



