> How to > Resource > How to Fix the System Cannot Find the File Specified

How to Fix the System Cannot Find the File Specified

Updated on Oct 26, 2018 by Brithny to Resource

Summary

Effective solutions are available in this article to help fix system cannot find the file specified error. If you are faced with 'The system cannot find the file specified' error, never hesitate to check out this tutorial to find the suitable solution.

What is "The system cannot find the file specified" error

“The system cannot find the file specified” is a Windows 10 bug, which usually indicates an Error Code 0x80070002. The error may occur under various conditions, but most people encounter it when trying to access or backup some files stored on the system. The cause for this error message can be as follows:

  • System files are missing or corrupted
  • Required files for the specific software are missing or corrupted 

the system cannot find the file specified

Because the cause of this error for everyone is unknown clearly, you can try the solutions one by one to see which one works perfectly.

Solution one. Use antivirus software to scan your computer

The problem can be caused by some threat and virus. Run the antivirus software if you have one. Use it to scan your computer and clean the system if necessary.

Solution two. Check the system log files

If scanning and cleaning the system temporary files fails, you are suggested to try the second solution.

  • Navigate to the C:/Windows/inf directory and open Inf folder.
  • Locate the setupapi.dev or setupapi.dev.log file and open it.
  • Press Ctrl + F hotkey and type “cannot find the file” in the search.
  • Press Enter to run the search. You should get the missing file.
  • Copy and paste it into the Windows/inf folder.
  • Reinstall it and reboot the system.

Solution three. Uninstall the driver and reinstall the driver again

Another solution is to reinstall the driver again if you download the driver from the manufacturer’s website and meet this problem.

  • Go to Device Manager.
  • Expand the category and locate the device you wish to uninstall. (Here let’s take uninstalling video driver for example.)
  • Right-click on the device name and select Uninstall on the context menu. 
  • Windows will prompt you to confirm the uninstallation. Check the box next to “Delete the driver software for this device.” then click “OK” button. 
  • After uninstalling the driver, install the driver again.

Solution four. Install Windows updates

If you haven’t updated Windows for a long time, “The system cannot find the file specified” error is a sign that it’s about time to install all pending updates. For this purpose, you have to:

Press Windows key + I and select Update & Security.

Click Check for Updates and wait.

When the list of available updates is revealed, install all of them.

Repeat the same procedure several times to ensure that all needed updates have been installed.

Don’t forget to restart the system to finish the installation of updates.

Tips: If you find files are missing after Windows update, you can restore the files with the help of EaseUS's data recovery freeware. This free tool allows you to recover lost files in Windows 10, 8 or 7 etc due to the system upgrade, system crash, careless deleting or virus attacking within three simple steps:

Step 1: Select the location - Open the file recovery tool and select a location where you have lost data after Windows 10 update.

scan the data after windows 10 update

Step 2: Scan the location - Click the "Scan" button and the program will start the scanning process.

wait patiently during the scanning process

Step 3: Recover lost data - Find the desired data by clicking the "Filter" option. Once you have selected the wanted files or data, click the "Recover" button to get them back right away.

recover data after windows 10 update

Solution five. Restore or repair the missing files 

Right-click the Start button and select “Command Prompt (Admin)”.
Type "sfc /scannow" into the Command Prompt window and press Enter to run a full system scan.

restore missing files with sfc

Leave the Command Prompt to run – this may take between 5-10 minutes. If everything goes well, you would get the message: "Windows Resource Protection did not find any integrity violations." If you see a message "Windows Resource Protection found corrupt files and repaired them", it tells you that you have successfully repaired missing or corrupted system files in Windows 10 with SFC.