当您尝试运行 Windows 备份操作(run a Windows Backup operation)或在Windows 10 设备上添加 Windows 功能(adding Windows Features)时,您可能会遇到此系统找不到指定的文件 – 0x80070002错误。(The system cannot find the file specified – 0x80070002)在这篇文章中,我们将提供最合适的解决方案,您可以尝试成功解决与这两种情况相关的问题。
有关您可能收到错误消息的不同情况的解决方案,请参阅以下部分
系统找不到指定的文件(0x80070002)
当你遇到这个问题。您将收到以下完整的错误消息;
Windows Backup
Windows could not disable the automatic backup job for the following reason:
The system cannot find the file specified. (0x80070002)
Try again.
此错误的主要原因是:
- 源卷有磁盘错误。
- 缺少 ProfileImagePath
- 自动安装已禁用。
- 机器具有双引导配置。
- 源卷上的快照(Snapshot)被删除或关键服务被关闭。
如果您遇到此Windows 备份(Windows Backup)错误 0x80070002,您可以尝试以下我们推荐的解决方案(不分先后顺序),看看是否有助于解决问题。
- 运行 CHKDSK
- 删除缺少的 ProfileImagePath
- 启用自动挂载
- 修复双启动配置
- 增加 Shadow Copy 存储区域
- 重置 Windows 10
让我们看一下关于列出的每个解决方案所涉及的过程的描述。
1]运行CHKDSK
使用CHKDSK也是一种被证明可以有效解决无效 MS-DOS 功能(Invalid MS-DOS Function)问题的解决方案。
要运行 CHKDSK,请执行以下操作:
chkdsk /x /f /r
您将收到以下消息:
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).
- 按键盘上的Y键,然后重新启动计算机,让CHKDSK 检查并修复(CHKDSK to check and fix)计算机硬盘上的错误。
CHKDSK完成后,检查问题是否已解决。如果没有,请尝试下一个解决方案。
2]删除(Delete)缺少的ProfileImagePath
这是一项注册表操作,因此建议您备份注册表(back up the registry) 或 创建系统还原点 作为必要的预防措施。完成后,您可以执行以下操作:
- 按Windows key + R调用“运行”对话框。
- 在“运行”对话框中,键入
regedit
并按 Enter 以打开注册表编辑器(open Registry Editor)。 - 导航或跳转到下面的注册表项路径:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
- 在该位置,选择ProfileList下的每个文件夹,然后在右侧窗格中检查ProfileImagePath条目。
- 删除(Delete)任何没有ProfileImagePath值的文件夹。
- 重启你的电脑。
在启动时,再次尝试备份操作,看看问题是否已解决。如果没有,请尝试下一个解决方案。
3]启用自动安装
如果在使用 3rd 方存储软件时禁用(AUTOMOUNT is disabled)了 AUTOMOUNT, 或者如果用户手动禁用了卷的AUTOMOUNT ,则卷可能会脱机 。
要启用AUTOMOUNT,请执行以下操作:
DISKPART
automount
automount enable
该卷现在应该在线。
如果这不起作用,请再次打开DiskPart并一个接一个地运行下面的命令。对于该Select volume
命令,仅从列表卷中选择 100 MB 或系统分区。所以在你的情况下,卷可能有另一个数字——输入那个数字。
List volume
Select volume 2
Online volume
exit
重新启动(Reboot)PC 以保存更改。如果错误未解决,请尝试下一个解决方案。
4]修复双启动配置
请执行下列操作:
- 调用运行对话框。
- 在 Run 对话框中,键入
diskmgmt.msc
并按 Enter打开 Disk Management(open Disk Management)。 - 右键单击(Right-click)Windows系统(Windows)分区(通常为 C:)并选择将分区标记为活动。(Mark Partition as Active.)
- 重新启动(Restart) 以应用更改。
5]增加Shadow Copy(Increase Shadow Copy)存储区域
(Snapshot)由于源卷上的卷影副本存储区域非常小,因此在备份过程中源卷上的快照会被删除。
要增加Shadow Copy存储区域,请执行以下操作:
- 在管理员模式下打开命令提示符。
- 在CMD提示窗口中,键入下面的命令并按Enter。
vssadmin list shadowstorage
- 如果Shadow Copy 存储区域(Shadow Copy storage area)很少 ,则键入或复制并粘贴以下命令,然后按 Enter(Enter):
vssadmin resize shadowstorage /For=C: /MaxSize=5%
如果它不能解决您的问题,请再次以管理员模式打开CMD提示符并键入以下命令并按Enter:
vssadmin delete shadows /all
6]重置Windows 10
如果此时没有任何效果,您可以重置 Windows 10。
添加Windows(Windows)功能时系统找不到指定的文件 – 0x80070002
当你遇到这个问题。您将收到以下完整的错误消息;
Windows Features
Windows couldn’t complete the requested changes.
The system cannot find the file specified.
Error code: 0x80070002
如果您遇到此问题,可以按以下顺序尝试我们推荐的解决方案,看看是否有助于解决问题。
- 运行 SFC 扫描
- 运行 DISM 扫描
- 执行(Perform)Windows 10 就地升级修复
让我们看一下关于列出的每个解决方案所涉及的过程的描述。
1]运行SFC扫描
此解决方案要求您运行 SFC 扫描并查看问题是否已解决。如果没有,请尝试下一个解决方案。
2]运行DISM扫描
部署映像服务和管理 (DISM.exe)(Deployment Image Servicing and Management (DISM.exe))是一个命令行工具,可用于服务和准备Windows映像。
3]执行(Perform)Windows 10就地升级修复
此解决方案要求您执行 Windows 10 就地升级修复,看看是否有帮助。
希望这篇文章对您有所帮助!
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:
- Press Windows key + R to invoke the Run dialog.
- In the Run dialog box, type
regedit
and hit Enter to open Registry Editor. - Navigate or jump to the registry key path below:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
- 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:
- 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 to open DiskPart.
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%
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!