
Error 0x80070002 is Windows saying “the system cannot find the file specified.” The last four digits, 0002, are the standard Windows code ERROR_FILE_NOT_FOUND. Something went looking for a file or folder at a particular path, and it wasn’t there.
Which file depends on where you saw the error. In Windows Update it’s usually an update file that was half-downloaded, cleaned away or never finished installing. In an installer or backup, it’s often a path that changed: a moved folder, a renamed drive, a USB stick that was unplugged. Find the context first, and the fix is usually short.
Try these first
- Restart from the Start menu, then retry the same update or install.
- Set date, time and time zone to automatic and select Sync now.
- Make sure C: has about 20 GB free before updates or upgrades.
- Reconnect any external drive or network share the task expects to find.
- For Windows Update, clear the SoftwareDistribution folder, then check for updates.
- Still failing: run DISM and then SFC from an admin Terminal.
Rather not fix it yourself?
A GoProIT technician can connect remotely, with your permission, and fix it while you watch. $59 flat per fix · Mon–Fri 8am–8pm ET.
Match the error to what was missing
| Where you saw 0x80070002 | What is usually missing | Best first fix |
|---|---|---|
| Windows Update, a monthly update fails | Update files that were damaged, deleted mid-download, or left behind by an earlier update that never finished | Restart, clear the update cache, then DISM and SFC |
| Windows version upgrade: 0x80070002 – 0x20009 | Setup can’t identify the right system partition, often because a second drive with its own old system partition is connected | Disconnect the extra drive for the upgrade |
| Windows upgrade from downloaded media | A damaged or incomplete ISO or USB installer | Download the media again |
| Microsoft Store app install or update | The Store’s cached package or the app’s own files | Repair or Reset the app |
| Running a desktop installer, shortcut or script | The program or a file it calls is no longer at that path | Re-download the installer and run it from a local folder |
| A backup or sync job | The destination drive, folder or share that the job points at | Reconnect it, or point the job at the new location |
A close cousin, 0x80070003, means the path itself wasn’t found rather than the file. It’s handled the same way.
0x80070002 in Windows Update
Microsoft puts this error down to missing or corrupt files the update needs, or an earlier update that never finished. Start with the cheap fixes below and only move on when one fails.
1. Restart and check the clock
Restart from the Start menu (not Shut down). Then open Settings > Time & language > Date & time, turn on Set time automatically and Set time zone automatically, and select Sync now. Microsoft notes that wrong date and time settings interfere with Windows Update. A PC whose battery-backed clock resets to an old date is a classic cause.
2. Free up space
Microsoft asks for 20 GB free to upgrade 64-bit Windows. A drive that fills up mid-download leaves exactly the kind of incomplete files that cause this code. Our C drive full guide shows what’s safe to remove.
3. Clear the update cache
Stop the Windows Update service in services.msc, delete the contents of C:\Windows\SoftwareDistribution, then start the service again. This removes the half-downloaded files so Windows fetches clean copies; installed updates and your documents aren’t touched. Our Windows Update troubleshooter guide walks through this with the service checks around it.
4. Repair the component store and system files
From Terminal (Admin), run DISM /Online /Cleanup-Image /RestoreHealth, then sfc /scannow, and restart. If an update half-installed and left the component store missing pieces, DISM is what puts them back.
5. Install the update by hand
Note the KB number from Settings > Windows Update > Update history, download it from the Microsoft Update Catalog for your Windows version and processor type, and run the file. A manual install often succeeds where Windows Update’s own download keeps failing.
Reading the log to find the missing file
When the steps above don’t work, the log names the file. Open C:\Windows\Logs\CBS\CBS.log in Notepad (copy it to the desktop first if it won’t open) and search for 80070002 or ERROR_FILE_NOT_FOUND. Microsoft notes the log can roll over into files named CBSPersist in the same folder, so check those if the current log is short.
Microsoft’s IT-pro article on this error gives examples of what turns up: entries for the .NET optimization service pointing at an empty .NET folder, a missing System Tools folder under the Start menu’s Programs folder in ProgramData, or a specific DLL missing from WinSxS. The documented fixes involve deleting registry keys or copying files from a healthy PC running the same build.
Warning: those are registry and system-folder edits. Microsoft says to back up the system disk and the registry first, and any copied files should come from a PC on the same Windows build. If that’s beyond what you’re comfortable with, stop here; a mistake can leave Windows unable to update at all.
During a Windows 11 upgrade
0x80070002 – 0x20009: more than one system partition
Microsoft documents this pair as a failure during partition analysis, caused by the presence of multiple system partitions. The common office example: someone fitted a new SSD and left the old drive connected, so both carry boot files. Disconnect or disable the drive you aren’t using for the upgrade, then reconnect it once the upgrade has finished.
On a desktop, that means unplugging its data cable with the PC shut down. On a laptop, check whether a second drive is listed in Disk Management (right-click Start > Disk Management) and whether it’s an external USB drive you can simply unplug. Don’t delete partitions to fix this unless you’re certain which one Windows boots from.
Damaged installation files
If you’re upgrading from an ISO or USB stick, download it again from Microsoft’s Windows 11 download page and rebuild the stick. If you’re using the Installation Assistant, it needs 9 GB free to download Windows 11, and it only runs on x64 PCs. A download interrupted by sleep or a dropped connection produces this error too.
For the full upgrade process, see our guide to upgrading Windows 10 to Windows 11.
Rather have a technician sort it out?
A technician can connect with your permission, read the logs to find exactly which file is missing, and get the update, install or backup working again while you watch. A GoProIT technician can connect remotely, with your permission, and fix it while you watch. $59 per fix, Mon–Fri 8am–8pm ET.
Store apps, installers and backups
Microsoft Store apps
Go to Settings > Apps > Installed apps, select the three dots next to the app (or next to Microsoft Store if every install fails), then Advanced options. Try Repair first; it keeps the app’s data. Reset clears it, so you’ll need to sign in to the app again.
Desktop installers and shortcuts
- Download the installer again and save it to a local folder such as Downloads, not a network share or a cloud folder that may not have finished syncing.
- If a shortcut throws the error, the program was moved or uninstalled. Right-click the shortcut, select Properties, and check the Target path exists.
- Line-of-business apps that run from a mapped drive fail this way when the drive letter isn’t connected. Check the drive is mapped; see network drive not showing up.
Backup and sync jobs
Backup software reports “cannot find the file specified” when its source or destination moved. Common causes in a small office: an external drive that now gets a different letter, a NAS share that was renamed, or a user folder moved into OneDrive. Reconnect the drive or update the job’s paths, then run it once by hand and confirm it completes.
If several office PCs show it
One PC with 0x80070002 is a local glitch. Several PCs failing the same update on the same day usually share a cause, and fixing each PC by hand wastes a morning.
- Check Microsoft’s Windows release health page for the update’s KB number first. If Microsoft lists a known issue, the fix may simply be the next monthly update.
- Look at what sits between the PCs and Microsoft. A web filter, proxy or firewall that strips or interrupts downloads leaves every PC with the same incomplete files.
- Check for an update server nobody remembers. If Settings > Windows Update says some settings are managed by your organization, a WSUS server or Group Policy may be handing out broken or outdated content. Run
gpresult /ron one PC to see which policies apply. - On Intune-managed PCs, compare the failing devices in the update ring’s reports: same model, same driver or same app often points straight at the cause.
- Look for a shared low-disk pattern. Laptops bought together often have the same small SSD, and they all fill up at about the same time.
When to stop and get help
- The CBS log points at missing files in WinSxS or registry entries for services, and DISM can’t repair them.
- An upgrade fails with 0x80070002 – 0x20009 and you aren’t sure which drive holds the active system partition.
- Files keep vanishing from the same drive, or the drive shows errors. That’s a disk health problem, not an update problem; back up first.
- The same update fails on several office PCs, which suggests a shared cause such as an update server, a web filter or a known issue Microsoft is already tracking.
If you’d rather someone else read the logs and restore what’s missing, this is a typical $59 remote fix when Windows still starts.
Common questions
What does ‘the system cannot find the file specified’ mean?
It’s the plain-English text for Windows error code 2, ERROR_FILE_NOT_FOUND, which appears inside 0x80070002. A program asked Windows to open a file at a particular path, and no file existed there. It doesn’t tell you which file; the program’s log, the shortcut target or the job settings usually do.
Can a wrong date and time cause error 0x80070002?
It can contribute. Microsoft lists incorrect date and time settings as something that interferes with Windows Update, and a clock that’s far off can make update downloads and their security checks fail. Setting the time and time zone to automatic takes seconds, so do it before anything more involved. If the clock keeps resetting after shutdown, the PC’s CMOS battery may be failing.
Is it safe to delete the SoftwareDistribution folder contents?
Yes, with the Windows Update service stopped first. Microsoft’s own troubleshooting steps include deleting the files inside it. The folder holds downloaded update files and Windows Update’s working data; installed updates, apps and personal files are unaffected. Windows recreates what it needs on the next check, which may take longer than usual and re-download some updates.
What’s the difference between 0x80070002 and 0x80070003?
0x80070002 means a specific file wasn’t found, while 0x80070003 means the path, usually a folder, wasn’t found. Both come from the same family of Windows errors and turn up in the same places: Windows Update, upgrades and installers. Microsoft’s advice for 0x80070003 during updates is to check the CBS log for the missing path, the same approach as for 0x80070002.
Will reinstalling Windows fix 0x80070002?
It usually would, but it’s rarely needed. Clearing the update cache, repairing with DISM and SFC, or installing the update manually fixes most cases. On Windows 11, the Reinstall now option under Settings, System, Recovery, Fix problems using Windows Update reinstalls the current version while keeping apps and files, and is a far smaller step than a clean install.