How to fix ERROR_FILE_NOT_FOUND error on Windows?


Issue: How to fix ERROR_FILE_NOT_FOUND error on Windows?

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

Solved Answer

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[1] and folders, perform chkdsk scan or other methods we explained below.

fix ERROR_FILE_NOT_FOUND error on Windows

Solutions to fix ERROR_FILE_NOT_FOUND Windows error

Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect.

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:

Method 1. Run Microsoft’s System File Checker

Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect.

One of the methods to fix ERROR_FILE_NOT_FOUND is to run System File Checker[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
  3. Type the sfc /scannow command in the Command Prompt.
    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, Fortect.

Method 2. Clean Temporary files and folders

Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect.

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

Method 3. Update Windows OS

Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect.

System and software updates are crucial to keep the system stable and working properly.[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 Windows 10 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

Method 4. Run the chkdsk scan to fix disk issues

Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect.

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 command
  4. Wait for the procedure to end and check if the error is gone.

Repair your Errors automatically team is trying to do its best to help users find the best solutions for eliminating their errors. If you don't want to struggle with manual repair techniques, please use the automatic software. All recommended products have been tested and approved by our professionals. Tools that you can use to fix your error are listed bellow:

do it now!
Download Fix
Compatible with Microsoft Windows
Still having problems?
If you failed to fix your error using Fortect, reach our support team for help. Please, let us know all details that you think we should know about your problem.
Fortect - a patented specialized Windows repair program. It will diagnose your damaged PC. It will scan all System Files, DLLs and Registry Keys that have been damaged by security threats.
This patented repair process uses a database of 25 million components that can replace any damaged or missing file on user's computer.
To repair damaged system, you have to purchase the licensed version of Fortect malware removal tool.

Protect your online privacy with a VPN client

A VPN is crucial when it comes to user privacy. Online trackers such as cookies can not only be used by social media platforms and other websites but also your Internet Service Provider and the government. Even if you apply the most secure settings via your web browser, you can still be tracked via apps that are connected to the internet. Besides, privacy-focused browsers like Tor is are not an optimal choice due to diminished connection speeds. The best solution for your ultimate privacy is Private Internet Access – be anonymous and secure online.


Data recovery tools can prevent permanent file loss

Data recovery software is one of the options that could help you recover your files. Once you delete a file, it does not vanish into thin air – it remains on your system as long as no new data is written on top of it. Data Recovery Pro is recovery software that searchers for working copies of deleted files within your hard drive. By using the tool, you can prevent loss of valuable documents, school work, personal pictures, and other crucial files.

About the author
Olivia Morelli
Olivia Morelli - PC & Mac repair expert

Olivia Morelli is a young, but a perspicacious IT expert who is currently just a year away from a Bachelor’s Degree in Software Systems. Her primary passion is cyber security, however, thanks to her detailed understanding of computer networks, operating systems and hardware, she can find a fix for any PC or Mac issue...

Contact Olivia Morelli
About the company Esolutions


What you can add more about the problem: "How to fix ERROR_FILE_NOT_FOUND error on Windows?"