The system cannot find the file specified (0x80070002)
You may encounter this The system cannot find the file specified – 0x80070002 error when you attempt to run a Windows Backup operation or when adding Windows Features on your Windows 10 device. In this post, we will provide the most suitable solutions you can try to successfully resolve the issue in relation to both scenarios.
See the sections below for the solutions for the different scenarios in which you may receive the error message
The system cannot find the file specified (0x80070002)
When you encounter this issue. you’ll receive the following full error message;
Windows Backup
Windows could not disable the automatic backup job for the following reason:
The system cannot find the file specified. (0x80070002)
Try again.
The main cause of this error are:
- The source volume has disk errors.
- Missing ProfileImagePath
- AUTOMOUNT is disabled.
- Machine has a dual boot configuration.
- Snapshot on the source volume gets deleted or critical services were turned off.
If you’re faced with this Windows Backup error 0x80070002, you can try our recommended solutions below in no particular order and see if that helps to resolve the issue.
- Run CHKDSK
- Delete the missing ProfileImagePath
- Enable AUTOMOUNT
- Fix dual boot configuration
- Increase Shadow Copy storage area
- Reset Windows 10
Let’s take a look at the description of the process involved concerning each of the listed solutions.
1] Run CHKDSK
Using CHKDSK is also one solution that is proved to be effective to fix the Invalid MS-DOS Function issue.
To run CHKDSK, do the following:
- Press Windows key + R to invoke the Run dialog.
- In the Run dialog box, type cmd and then press CTRL + SHIFT + ENTER to open Command Prompt in admin/elevated mode.
- In the command prompt window, type the command below and hit Enter.
chkdsk /x /f /r
You will receive the following message:
Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N).
- Press the Y key on the keyboard and then reboot your computer to let CHKDSK to check and fix the errors on the computer hard drive.
After CHKDSK completes, check to see if the issue is resolved. If not, try the next solution.
2] Delete the missing ProfileImagePath
This is a registry operation, so it is recommended that you back up the registry or create a system restore point as necessary precautionary measures. Once done, you can proceed as follows:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionProfileList
- At the location, select each folder under the ProfileList, then check on the right pane for the ProfileImagePath entry.
- Delete any of the folders that does not have the ProfileImagePath value.
- Restart your computer.
On boot, try the backup operation again and see if the issue is resolved. If not, try the next solution.
3] Enable AUTOMOUNT
The volumes may go offline if AUTOMOUNT is disabled either while using a 3rd party storage software or if the user manually disabled the AUTOMOUNT for the volume.
To enable AUTOMOUNT, do the following:
DISKPART
- Next, type the following commands and hit enter after each one:
automount automount enable
The volume should now be online.
If that doesn’t work, open DiskPart again and run the commands below one after the other. For the Select volume
command, only choose 100 MB or system partition from list volumes. So in your case, the volume might have another number – input that number instead.
List volume Select volume 2 Online volume exit
Reboot you PC to save changes. If the error isn’t resolved, try the next solution.
4] Fix dual boot configuration
Do the following:
- Invoke the Run dialog.
- In the Run dialog box, type
diskmgmt.msc
and hit Enter to open Disk Management. - Right-click on the Windows system partition (which generally is C:) and select Mark Partition as Active.
- Restart to apply changes.
5] Increase Shadow Copy storage area
Snapshot on the source volume gets deleted while the backup is in progress due to a very little shadow copy storage area on the source.
To increase Shadow Copy storage area, do the following:
- Open Command Prompt in admin mode.
- In the CMD prompt window, type the command below and hit Enter.
vssadmin list shadowstorage
- If you have very little Shadow Copy storage area then type or copy and paste the following command and hit Enter:
vssadmin resize shadowstorage /For=C: /MaxSize=5%
- Reboot to apply changes.
If it doesn’t fix your issue, again open CMD prompt in admin mode and type the command below and hit Enter:
vssadmin delete shadows /all
6] Reset Windows 10
If at this point nothing works, you can reset Windows 10.
The system cannot find the file specified – 0x80070002 when adding Windows features
When you encounter this issue. you’ll receive the following full error message;
Windows Features
Windows couldn’t complete the requested changes.
The system cannot find the file specified.
Error code: 0x80070002
If you’re faced with this issue, you can try our recommended solutions in the order presented below and see if that helps to resolve the issue.
- Run SFC scan
- Run DISM scan
- Perform Windows 10 in-place upgrade repair
Let’s take a look at the description of the process involved concerning each of the listed solutions.
1] Run SFC scan
This solution require you run SFC scan and see if the issue is resolved. If not, try the next solution.
2] Run DISM scan
Deployment Image Servicing and Management (DISM.exe) is a command-line tool that can be used to service and prepare Windows images.
3] Perform Windows 10 in-place upgrade repair
This solution requires you to perform Windows 10 In-place Upgrade Repair and see if that helps.
Hope you find this post helpful!