Download PC Repair Tool to quickly find & fix Windows errors automatically If you recently purchased a mouse or any other peripheral device, tried connecting it to your Windows 11/0/8/7 PC and received the
following error message – ‘The system cannot find the file specified’, check out this tutorial to find the solution. The error can also pop up if some OS file or some software’ file is missing or corrupted. Cleaning the temporary files doesn’t seem to solve this problem. Every time you attempt to do so, you are directed to the manufacturer’s support page and requested to download additional software.
The cause of this error message can be as follows:
- System files are missing or corrupted
- Required Driver files are missing
- Required files for the specific software are missing or corrupted.
Here’s how to address the issue quickly. Please go through the entire post and then see which of the suggestions may apply in your case.
- Run System File Checker
- Identify and reinstall the driver software
- Install the driver using INF file
- Check for driver updates via Optional Windows Updates
- Error upon login.
1] Run System File Checker
If it is your Windows OS file that is found to be missing, run the System File Checker to replace missing or corrupted system files.
2] Identify and reinstall the driver software
If you see The system cannot find the file specified, do this:
- Go to C:/Windows/INF folder
- Open the INF folder
- Locate and open setupapi.dev file.
- Press Ctrl+F and search for ‘cannot find the file’
- Identify and reinstall the missing file.
If it is some Program and Device Driver that is throwing up this error, you may check the System Log. The System log, similar to the application log in Event Viewer contains errors, warnings, and informational events that are related to the operation of applications. You can use its information to locate the problem driver file. For this,
Navigate to the following address C:/Windows/inf.
Next, look for INF folder and click it to open the folder.
Now locate the file bearing the name “setupapi.dev”. Double-click on it to open the file.
Here, press Ctrl+F key in combination to open Find box. Type ‘cannot find the file‘ in the search box then start the search. After a few seconds time the missing file message will be highlighted.
Now identify the file and see if you can find and replace that file in its designated location.
An easier way to do would be to identify the program or driver and then simply reinstall it!
Read: The system cannot find the drive specified
3] Install the driver using INF file
If you have tried downloading the driver from the manufacturer’s website and have come across this problem try these steps:
- Find the downloaded driver file and in the extracted folder, find the .inf file. If there appears to be more than one .inf file choose the one bearing proper description, i.e., “Setup Information”.
- Right-click on the file and select Install from the context menu.
- It is important to mention here that not all .inf files are self-installer. So, if the .inf file does not support this method of installation, you will get a prompt. Here, you can go to the ‘Device Manager’ to uninstall the driver and reinstall the driver again. Follow these steps
- Access Device Manager. Expand the category and locate the device you wish to uninstall. Right-click on the device name and select Uninstall from the context menu. If prompted, confirm the action [uninstall] by checking the box marked against “Delete the driver software for this device.”
- Finally, click “OK” button.
- After uninstalling the driver, install the driver again.
4] Check for driver updates via Optional Windows Updates
Run Windows Updates and see if any driver updates are available via Optional Windows Updates. Install them.
Similar error:
- Fix Error 0x80070002 when adding Windows Features
- Fix Error 0x80070002 during Windows Backup
5] Error upon login
If you see this error message right after you log in, it means that one of your startup programs requires a file – and it cannot find it. Try to troubleshoot in Clean Boot State or check the error logs in Event Viewer.
I hope something here helps you.
Related read: Fix Missing DLL files errors.
A post-graduate in Biotechnology, Hemant switched gears to writing about Microsoft technologies and has been a contributor to TheWindowsClub since then. When he is not working, you can usually find him out traveling to different places or indulging himself in binge-watching.