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 system cannot find the file specified
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.
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.
How do you fix The system cannot find the file specified Windows?
There are several things you may need to do in order to get rid of this problem on your Windows PC. You can start by identifying the corrupt driver and reinstalling it. Next, you can install the driver using the INF file, check for driver updates via Optional Windows Updates, etc. Finally, you can use the System File Checker to rectify the corrupt file from the cache.
How do I fix file errors in Windows 11?
To fix any file error in Windows 11 or Windows 10 PC, you need to identify the driver or program first. Then, you can follow the tips and tricks mentioned above. In most cases, reinstalling the driver or application can fix the issue for you.
I hope something here helps you.
Related read: Fix Missing DLL files errors.