8 Methods: The system Cannot Find the File Specified
Troubled by “The system cannot find the file specified” in Windows 11,10, 8, 7.? Effective solutions are available in this article to help you fix the “system cannot find the file specified” error on Windows.
By Emily / Updated on May 12, 2023
Share this:
Scenarios
“I get ‘The system cannot find the file specified (0x80070002)’ error preventing backup from starting Windows 10. Upgraded from Windows 7. Everything else works 100% fine. Trying to backup to internal drive. Help would be appreciated, thank you.”

Why “The system cannot find the file specified” occurs?
“The system cannot find the file specified” is a quite common error for Window users, especially for Windows 10. This error is sometimes followed by an error code: 0x80070002. But the failure type or code will be various on the different operating system specification. It might occur when you install disk driver, make a system image, access files or make other operations on the system. The main reasons include:
•Virus or malware attack.
•The connection is loose.
•Abnormal registry keys.
•There are some disk errors on the source volume.
•Crucial system files are missing or damaged.
•System partition is under an offline state.
•System partition is not active.
•Required files for the specific software are missing or corrupted.
8 Methods to fix «The system cannot find the file specified»
Next, we would like to share the following 8 effective solutions for “The system cannot find the file specified” error. For the best result, you can try them one by one until you get the error fixed. Before proceeding, you can first run reliable anti-virus software to remove any possible virus or malware and check whether the connection between hard drive and computer is tight. If everything is OK and the error still pops out, look further.
- Method 1. Change registry key
- Method 2. Check and fix disk errors
- Method 3. Restore or repair the missing files
- Method 4. Install Windows updates
- Method 5. Uninstall and reinstall the Drivers
- Method 6. Make system partition online
- Method 7. Make sure system partition is active
- Method 8. Format the USB flash drive
Method 1. Change registry key
First of all, you can modify the registry key to fix this error. To do so, take the following steps:
1. Press “Windows + R” at the same time, type “regedit” in the pop-out dialogue and press “Enter” to open Registry Editor.
2. Navigate to the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
3. Expand the key and look for “RunOnce” key. If it does not exist, you can first create one: click the “CurrentVersion” key and choose “New > Key” from the drop-down menu, and name the new key as “RunOnce”.

Now, please navigate to “HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion” in the left panel and check if the RunOnce key has successfully been created. If not, repeat the above steps to recreate it. After that, you can close Registry Editor and restart Windows to check whether the error is fixed.

IMPORTANTCE: since making some changes to the current registry condition might cause risks, you can create an exact backup in advance.
1. In the registry editor window, click “File”> “Export” to export your registry.
2. Now enter the file name for your backup, and select “All” in “Export range” section. Click the “Save” button to export your registry.

Method 2. Check and fix disk errors
If “The system cannot find the file specified” error is caused by potential disk errors, you can run chkdsk command to check and repair errors.
1. Click Start button, input “cmd” in the search box and press Enter, right-click the Command Prompt icon and choose “Run as administrator”.
2. In the Command Prompt window, type command “chkdsk g: /f /r /x” and press Enter in order to check and fix possible errors. Replace “g” with the appropriate letter that matches your partition.

Method 3. Restore or repair the missing files
Restoring the missing files is another effective method to fix the issue. This method is quite simple; you just need to run “sfc/scannow” command in the Command Prompt window.

After completion, if everything goes well, the message: “Windows Resource Protection did not find any integrity violations.” will appear.
Method 4. Install Windows updates
If the Windows has not been updated for a long time, the error “The system cannot find the file specified” will occur to inform you that you should install all pending updates. So you need to install them:
1. Press «Windows + I» keys and select “Update & Security”.
2. Click Check for “Updates” and wait.
3. When the list of available updates is revealed, install all of them.
Repeat the same procedure until all needed updates have been installed. After that, you still need to restart the system to finish the installation of updates.
Method 5. Uninstall and reinstall the Drivers
If the error appears after you download the disk driver from the manufacturer’s official website, you can try to uninstall and reinstall the disk driver.
1. Type “Device Manager” in the search box and press enter, double click Device Manager to open it. Expand “Disk Drives” and locate the device you want to uninstall.
2. Right-click the device and select “Uninstall” from the drop-down list.

Then you will be asked if you are sure to uninstall the device, click “OK” button to confirm it. After uninstalling the driver, install the driver again.
Method 6. Make system partition online
If the issue still persists, there are chances that your system partition is offline, then you need to do the following:
1. Open Command Prompt again and run “diskpart” command inside it.
2. When diskpart starts, type “list volume” and press “Enter”: to list all partitions on your computer.
3. Type “select volume 1” and press “Enter”: to select the system volume. If your system volume is labeled by a different number, replace 1 with it.
4. Type “online volume” and press “Enter”.

At last, close Command Prompt and restart your PC.
7. Make sure system partition is active
If “The system cannot find the file specified” error occurs while you are using Windows Backup, you can check if your system partition is set to active to fix this issue.
To do so, you just need to open Disk Management, right-click the system drive (usually C drive) and choose “Mark Partition as Active” option. If this option is greyed out, that means your system volume is already set to active.

Finally, close Disk Management and restart your PC to check whether the error disappears.
Method 8. Format the USB flash drive
If “The system cannot find the file specified” error happens when you insert your USB flash drive or any other removable storage devices, you can format them. To do so, you can right click the USB drive in Windows File Explorer, choose “Format” and follow the guide to finish the formatting operation.
If you fail and receive some format errors, you can use AOMEI Partition Assistant Standard. This freeware can format RAW, corrupted or even write-protected USB flash drive, SD card or other hard drives with ease in Windows 11/10/8/7. If you upgrade to Professional version, you can optimize SSD drive performance, migrate OS to SSD, recover lost partitions and more.
Secure Download
1. Download the freeware, install, and run it. Right-click the USB drive and choose “Format Partition”.

2. Choose a proper file system based on your requirements and click “OK”.

3. Back to the main interface, click “Apply” to commit the pending operation.

Sum up
“The system cannot find the file specified” error on Windows 11/10/8/7 can significantly affect the computer’s functioning. With the above effective solutions, I believe you can fix the error easily.
Emily · Staff Editor
Emily is an English editor of AOMEI Technology; she has a great passion for providing easy solutions for people to tackle with all disk or partition management problems. In addition to writing articles about disk/partition management, she also edits great tutorials on how to back up and restore disk for data security. In her spare time, she loves to learn computer skill to improve herself or stay with her family to enjoy a good day.
Related Articles
How to Fix “Reboot and Select Proper Boot Device” Windows 7/8/10?
Have you ever met the “Reboot and Select Proper Boot Device” in Windows 8, Windows 7 or Windows 10? Don’t worry now since here we share 6 effective methods to help fix this error effortlessly.
How to Fix Error Loading Operating System in Windows 10/8/7?
Meet “Error loading operating system” when trying to boot your Windows PC? Follow the quick solutions here to resolve it effectively in Windows 10/8/7.
How to Solve “Error copying file or folders. Access is denied” on Windows?
If you meet «Error copying file or folder, access is denied» error message in Windows 11, 10, 8. 7, here we offer 5 effective solutions to help solve this problem.
Free Download to Try AOMEI Partition Assistant Now
The Best Windows Disk Partition Manager and PC Optimizer
Download Freeware

Trustpilot 4.9/5
«The system cannot find the file specified» error message on a Windows Server 2008 R2-based file server if the remote index server has a catalog that has a credential-enabled UNC path
In this scenario, you receive the following error message:
The system cannot find the file specified
Note This error message indicates that the IAdminIndexServer object cannot access the indexing services on Server A correctly.
Resolution
Hotfix information
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
If the hotfix is available for download, there is a «Hotfix download available» section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:
http://support.microsoft.com/contactus/?ws=supportNote The «Hotfix download available» form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
Prerequisites
To apply this hotfix, you must be running Windows Server 2008 R2 Service Pack 1 (SP1). Additionally, you must install the File Services server role and enable the Indexing Service role service.
For more information about how to obtain a Windows 7 or Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2
Registry information
To apply the hotfix in this package, you do not have to make any changes to the registry.
Restart requirement
You do not have to restart the computer after you apply this hotfix. To avoid restarting, stop the Indexing Service role service.
Hotfix replacement information
This hotfix does not replace a previously released hotfix.
File information
The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows Server 2008 R2 file information notes
-
The files that apply to a specific product, milestone (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:
| Version | Product | Milestone | Service branch |
|---|---|---|---|
| 6.1.760 1.17xxx |
Windows Server 2008 R2 | SP1 | GDR |
| 6.1.760 1.21xxx |
Windows Server 2008 R2 | SP1 | LDR |
Fix The System Cannot Find the File Specified | 10 Solutions
Meet the error message “The system cannot find the file specifed” in Windows 11/10/8/7? This article collects its causes and 10 effective solutions to help you fix it.
by Delia Updated on October 18, 2022
Share this:
Table of Contents
- Symptom: The System Cannot Find the File Specified in Windows 7/8/10/11
- Causes to The System Cannot Find the File Specified Error
- How to Fix The System Cannot Find the File Specified in Windows
- Solution 1. Create RunOnce Registry Key
- Solution 2. Delete ProfilemagePath Key
- Solution 3. Open the Libraries Folder
- Solution 4. Run Antivirus Software
- Solution 5. Run System File Checker
- Solution 6. Run CHKDSK Scan
- Solution 7. Install Windows Update
- Solution 8. Uninstall and Reinstall the Drives
- Solution 9. Format the USB
- Solution 10. Use WinRAR
Symptom: The System Cannot Find the File Specified in Windows 7/8/10/11
When creating a system image backup, accessing files, connecting USB or doing other things, you may get the message “Windows backup failed: the system cannot find the file specified». It is a quite common error for Windows users, especially for Windows 10 or 11. And the error usually indicates an error code 0x80070002.

Causes to The System Cannot Find the File Specified Error
Various reasons can lead to the “The system cannot find the file specified” error in Windows 11/10/8/7. The following are common factors:
- System files are missing or corrupted.
- Connection problems.
- Missing driver file.
- Abnormal registry keys.
- Missing files in drivers.
- Required files for the specific software are missing or corrupted.
- Incorrect file permission settings.
- .
How to Fix The System Cannot Find the File Specified in Windows
Now you know some common reasons that will cause the issue. Although the cause is unknown clearly, there are 10 solutions to solve the problem. Just keep reading.
Solution 1. Create RunOnce Registry Key
This is the first method you can have a try to fix “The system cannot find the file specified” problem.
1. Press Windows key and R key together to open Run box.
2. Type regedit and press Enter.
Tip: Modifying the registry comes with certain risks, you’d better export your registry firstly to create a backup. Click File > Export to make it.
3. After you have backed up the registry, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion.
4. Expand the key and look for RunOnce key. You can create it if this key doesn’t exist. Click the CurrentVersion key and choose New > Key from the menu.

5. Type RunOnce as the name of the new key.
6. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion.
7. Check if the RunOnce key is there. If not, repeat the above steps to create it.
8. Exit Registry Editor and restart your PC.
Solution 2. Delete ProfilemagePath Key
When you are trying to create a backup using the Windows backup utility, backup error 0x80070002 occurs and prevent you from creating your backup. You can delete certain values from your registry to fix the problem. Below are the steps:
1. Press Windows key and R key together to open Run box.
2. Type regedit and press Enter.
Tip: Remember to create a backup before making any changes. Click File > Export and choose a path to save the backup.
3. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList.
4. Expand the ProfileList key. Navigate through each subkey, and check whether it has ProfileImagePath value available on the right pane.
5. If certain subkey doesn’t have ProfileImagePath value available or if its Data is empty, you need to click it and then choose Delete button to delete it from the menu.
Solution 3. Open the Libraries Folder
The Libraries folder is hidden by default in Windows 10. Some users say that accessing the Libraries folder has helped them fix the system cannot find the file specified error successfully. You can also try it with the following steps:
1. Open This PC.
2. Right-click the empty space in the left pane > choose Show libraries.

3. Then you can find the Libraries folder in the left pane.
Solution 4. Run Antivirus Software
The virus, cyber threats, and malicious attack may cause «The system cannot find the file specified» error in Windows 11/10/8/7. You can run antivirus software and scan your system to work out this problem.
Solution 5. Run System File Checker
If the file is missing or corrupted, you can meet the system cannot find the file specified error when you are trying to access or backup some files stored on the system. In this case, you can run SFC scan to repair the missing files.
1. Type Command Prompt in the search box > Right-click its name and choose Run as administrator.
2. Type «sfc /scannow» into the Command Prompt window and press Enter to start.

3. When the process is done, type exit and press Enter to leave this command.
Solution 6. Run CHKDSK Scan
You may meet «The system cannot find the file specified» issue when the file is damaged or corrupted. You can run CHKDSK to scan the file.
1. Type Command Prompt in the search box > Right-click its name and choose Run as administrator.
2. Type chkdsk X: /f (replace X with the appropriate letter that matches your partition). Press Enter to start scanning.
Solution 7. Install Windows Update
Windows updates often help fix hardware and software error. You can go to have a check and update your Windows to the latest version.
1. Press Windows key and I key together to open Settings.
2. Choose Update & security > click Check for updates button.
3. If updates are available, download and install all the updates.
Solution 8. Uninstall and Reinstall the Drives
If you download the driver from the manufacturer’s website and meet “The system cannot find the file specified” problem, then you can try this solution.
1. Right-click This PC > choose Manage > Device Manager.
2. Expand the category and find the device you want to uninstall.
3. Right-click the device and choose Uninstall.
4. Check Delete the driver software for this device and click OK to confirm.
5. Finally, install the driver again.
Solution 9. Format the USB
The system cannot find the file specified error may happen when inserting your USB flash drive, on this occasion, you can format your drive to fix the problem.
1. Open This PC > right-click the USB flash drive > click Format.
2. Check Quick Format option when the format window opens.
3. Click Start to make it.

Tip: It will erase all the existed data on the USB flash drive, just backup your USB in advance to avoid data loss.
Solution 10. Use WinRAR
If you meet “The system cannot find the file specified” when trying to delete a specific file or folder, then you can try this method.
1. Right-click the problematic file > choose Add to archive.
2. Check Delete files after archiving > click the OK button.
Now you are able to delete the file completely.
How to protect your system and data in a powerful way
When you are encounter the system cannot find the file specified issue, you may not access it due to many reasons, for example, system files missing or corrupted, abnormal registry keys, etc. If you don’t want to lose any data in the future, it’s suggested to create a system image regularly with a reliable backup software for Windows PCs. Here I strongly recommend you AOMEI Backupper Standard.
It will include every file, folder, system, installed program, even changes made later in a backup. Once something bad happens or this error occurs again, you can easily restore your computer to an earlier date including all the files. And you can check its advantages in the following before using it:
Backup system regularly: With it, you can use Daily, Weekly, or Monthly backup frequency, depending on how often you change files on the system partition. And you can set backup date, backup time, backup intervals separately. Backup only changed files: This software use Incremental Backup as default backup method, which backup only changed files since last backup. Note it requires all the backups are intact while you restore system image to new hard drive or computer. Multiple backup destinations: You can use it to backup to external hard drive, local disk, NAS network shared folder or other locations.
Now, you could download this free backup software to have a try! For servers users, try AOMEI Backupper Server.
Secure Download
1. Click Backup tab after launching this software, and then select System Backup. The necessary partitions for a full system restore will automatically be included.

2. Specify the backup target location by clicking the circled place and selecting it on the computer or network location.

4. Confirm the information and then click Start Backup to start the backup process.

That’s all the steps for complete system backup in Windows 10 or other systems. It’s really easy, isn’t it? But if you want to run this task automatically, click «Schedule Backup» and Enable Schedule Backup, then select Daily, Weekly, or Monthly backup frequency.

It will be fine in a short time, but in a long run, this may result in backup disk full due to increasing backups. To avoid this problem completely, you can choose to delete old backup regularly based on quantity or backup cycle.
Click Backup Scheme under the Schedule Backup tab, then click Enable Automatic Backup Cleanup and select By quantity, By time or By daily/weekly/monthly cleanup methods.

Conclusion
That’s all for how to fix “The system cannot find the file specified” error in Windows 11/10/8/7. Hope one of the methods can help you get out of the trouble. Meanwhile, please note some operations may result in further data loss, thus it’s suggested to create a system image backup with a free backup software like AOMEI Backupper.
And if you are worried about your computer may fail, you can choose to create a bootable media in advance. Then, you can restore system in a ny situation , even when it is not working.
Delia owns extensive experience in writing technology-related blog posts, and has been a part of AOMEI since 2020 to provide expertise in data security and disaster recovery. She works with Windows operating systems, SQL databases, and virtualization platforms such as VMware and Hyper-V, specializing in troubleshooting and advising on data protection and migration.
Related Articles
Fix Windows Cannot Find a System Image on This Computer Issue
This passage will analyze reasons for “Windows cannot find a system image on this computer” and provide easy ways to solve this issue.
Windows Backup Did Not Complete Successfully-Explained
What can you do when Windows backup did not complete successfully? This article will break it down to you and provide a solution.
Fix The Request Failed Due to a Fatal Device Hardware Error
“The request failed due to a fatal device hardware error” occurs on external hard drive, SSD or SD card? Anyway, you will get the causes and corresponding solutions below.
Error in Process.Start() — The system cannot find the file specified
The above code is throwing the error The system cannot find the file specified . The same code when run without specifying the user credentials works fine. I am not sure why it is throwing this error. Can someone please explain?
339 1 1 silver badge 16 16 bronze badges
asked Mar 3, 2010 at 6:09
Rashmi Pandit Rashmi Pandit
23.5k 17 17 gold badges 72 72 silver badges 112 112 bronze badges6 Answers 6
Try to replace your initialization code with:
ProcessStartInfo info = new ProcessStartInfo(@"C:\Program Files\Internet Explorer\iexplore.exe");Using non full filepath on Process.Start only works if the file is found in System32 folder.
34.2k 9 9 gold badges 99 99 silver badges 120 120 bronze badges
answered Mar 3, 2010 at 6:23
Jojo Sardez Jojo Sardez
8,450 3 3 gold badges 27 27 silver badges 39 39 bronze badges
We should specify the full file name as the UseShellExecute is set to false.
Mar 3, 2010 at 6:25@Rashmi Pandit — yes we should. I already encountered the same problem before :). Don’t forget to accept and upvote the answer 🙂
Mar 3, 2010 at 6:43
Of course, you should really replace it with the actual path to the program on the user’s system. There isn’t always a C: drive, and the program folder isn’t always spelled «Program Files.»
Mar 3, 2010 at 6:45
-1 The code may well work but the reason given is totally wrong.
Aug 15, 2013 at 13:25
@Fraser I encourage everyone to verify the information in the comments discussion as well
Sep 26, 2013 at 16:42You can’t use a filename like iexplore by itself because the path to internet explorer isn’t listed in the PATH environment variable for the system or user.
However any path entered into the PATH environment variable allows you to use just the file name to execute it.
System32 isn’t special in this regard as any directory can be added to the PATH variable. Each path is simply delimited by a semi-colon.
For example I have c:\ffmpeg\bin\ and c:\nmap\bin\ in my path environment variable, so I can do things like new ProcessStartInfo(«nmap», «-foo») or new ProcessStartInfo(«ffplay», «-bar»)
The actual PATH variable looks like this on my machine.
%SystemRoot%\system32;C:\FFPlay\bin;C:\nmap\bin;As you can see you can use other system variables , such as %SystemRoot% to build and construct paths in the environment variable.
So — if you add a path like «%PROGRAMFILES%\Internet Explorer;» to your PATH variable you will be able to use ProcessStartInfo(«iexplore»);
If you don’t want to alter your PATH then simply use a system variable such as %PROGRAMFILES% or %SystemRoot% and then expand it when needed in code. i.e.
string path = Environment.ExpandEnvironmentVariables( @"%PROGRAMFILES%\Internet Explorer\iexplore.exe"); var info = new ProcessStartInfo(path);