ACTIVE MALWARE WINDOWS TESTED: WINDOWS 7, WINDOWS SERVER 2008, WINDOWS 8, WINDOWS 10

How to fix
ERROR_FILE_NOT_FOUND error
on Windows

Resolve the ERROR_FILE_NOT_FOUND issue on Windows 10 or 11 effortlessly with our expert-tested solutions. Get back on track in minutes!

How to fix ERROR_FILE_NOT_FOUND error on Windows?
Quick Summary
Error severity
Medium
Est. time
25 minutes
Offer Fortect PC Suite
Start fix →
Ad · we may earn a commission
0 Comments
01

What causes How to fix ERROR_FILE_NOT_FOUND error on Windows?

  • Changed folder or file name
  • Renamed registry keys
  • Incorrect installation of a program
  • Corrupted installation of updates
Offer Fortect PC Suite

Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.

Ad · we may earn a commission
Get Fortect PC Suite ↗

I cannot install Service Pack 1 on Windows 7 because of the 0x80070002 - ERROR_FILE_NOT_FOUND error. How can I fix it?

ERROR_FILE_NOT_FOUND is a Windows system error that usually emerges during the installation of programs. However, it might also show up on system startup or shutdown or when using a particular program.

The error most likely to appear in Windows 7 or Windows Server 2008. However, Windows 8, 8.1 and 10 users can encounter it as well. There are many reasons why the error can appear. However, the name of the error suggests that it is related to missing or deleted file needed for program’s installation operation.

The reasons for the error might be related to:

  • changed folder or file name;
  • renamed registry keys;
  • incorrect installation of a program;
  • corrupted installation of updates.

The error is displayed in the pop-up message that provides the name of the program that cannot be installed or used and a specific error code, for example:

The system cannot find the file specified. 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND)

Clicking OK button in the dialog does not help to fix ERROR_FILE_NOT_FOUND error. For that, you have to repair Windows registry, install updates, clean temporary files[ref en-1] and folders, perform chkdsk scan or other methods we explained below.

Fix error file not found on windows
Fix error file not found on windows

Solutions to fix ERROR_FILE_NOT_FOUND Windows error

Try the following methods to get rid of the error and install needed software. You do not need to perform each of them. Complete them one by one until the error is gone for good. It means that after finishing one method, you should restart your PC and try to reinstall the program in order to check if it helped to fix the error.

This video will provide you with information needed to fix this error:
[youtube 5NDYFYikGVM]

Method 1. Run Microsoft’s System File Checker

One of the methods to fix ERROR_FILE_NOT_FOUND is to run System File Checker[ref en-2] to find and replace corrupted system files. This option is possible only for Windows 10 users:

  1. Enter cmd in the Windows search box.
  2. Right-click Command Prompt in the appeared search results and choose Run as Administrator.
    Run command prompt as admin
    Run command prompt as admin
  3. Type the sfc /scannow command in the Command Prompt.
    Run system file checker
    Run system file checker
  4. After a couple of minutes, the scan is over and you should see if Windows fixed some corrupted files. If not, you can try some third-party tools to fix them and Registry entries, for instance, [rev id=“Reimage”].

Method 2. Clean Temporary files and folders

System junk is often a case of ERROR FILE NOT FOUND error. Thus, cleaning it with Windows Disk Cleanup tool can help to fix it:

  1. Click Start.
  2. In the search box type command and then hold down Ctrl + Shift on the keyboard and then click Enter.
  3. In the prompted permission dialog box click Yes.
  4. In the appeared black box, type cleanmgr and click Enter.
  5. Disk Cleanup starts its tasks and displays a dialog box where you can choose what files you want to delete. Select all options in Temporary Files category and click OK.
    Run disk cleanup
    Run disk cleanup

Method 3. Update Windows OS

System and software updates are crucial to keep the system stable and working properly.[ref en-3] Updates often include various fixes, so you should check if there are available updates and install them. Pay attention to the KB947821 update which helped the majority of users to fix ERROR FILE NOT FOUND error.

Windows 10 users can find Windows Update service in Settings. When in the Settings app, click Update & security and then Windows Update on the left. Finally, click Check for updates button, and wait until OS displays available updates. Follow the onscreen instructions to install them.

Install windows10 updates
Install windows10 updates

Older Windows OS users should access Control Panel and click Windows Update feature. There click Check for updates button, and install available entries by clicking Install updates button.

Install windows updates
Install windows updates

Method 4. Run the chkdsk scan to fix disk issues

Corrupted files and folder might be another source of the problem. So, you should run chkdsk command to check and fix ERROR FILE NOT FOUND problem.

  1. Enter cmd in the Windows search box.
  2. Right-click the entry and choose Command Prompt as Administrator.
  3. Type the following command where X is the letter of your partition and click Enter: chkdsk /f X:
    Run chkdsk scan
    Run chkdsk scan

  4. Wait for the procedure to end and check if the error is gone. 

Bottom line

To fix the ERROR_FILE_NOT_FOUND error, you can try repairing the Windows registry, installing updates, cleaning temporary files and folders, or performing a chkdsk scan. If these methods do not resolve the issue, consider running Microsoft's System File Checker for additional support.

Frequently asked questions

The ERROR_FILE_NOT_FOUND error typically occurs when the system cannot locate a specified file or directory, often due to corrupted files, incorrect paths, or issues with software installations.

You can troubleshoot this error by checking for file path accuracy, running the System File Checker, or reinstalling the program that is causing the error on Windows 10 or Windows 11.

To prevent the ERROR_FILE_NOT_FOUND error, ensure that all your software is up-to-date, perform regular system maintenance, and back up important files on Windows 10 or Windows 11.

Did this fix work for you?
Ryan Mitchell

Written & verified by

Hardware & Driver Specialist
Hardware troubleshooting Driver installation and rollback Device Manager errors USB and peripheral issues Firmware updates

Ryan Mitchell specialises in hardware troubleshooting and driver management for Windows systems. His expertise covers device recognition failures, driver conflicts, firmware updates, and peripheral connectivity issues across all major manufacturers. Ryan's systematic approach to hardware diagnosis — starting with Device Manager, working through driver rollback and clean installs, and escalating to BIOS-level checks — has made his guides a reliable resource for both home users and field technicians. He covers GPUs, printers, audio devices, USB controllers, network adapters, and external storage.

0 Comments

Be the first to comment

Still worried? Run a free check.

Paste any URL or domain — we'll scan it against 4.2M known threats in 10 seconds.

View full scanner → Add to your website →