在某些情况下,您需要执行系统还原(System Restore)操作。但有时您可能会遇到错误 –要使用系统还原,您必须指定要还原的 Windows 安装(To use System Restore you must specify which Windows installation to restore)。此错误是由于系统中的文件损坏而弹出此错误。由于此错误,您无法执行系统还原,这可能是进一步进行的障碍。
在某些情况下,一旦遇到此错误,您将无法启动。本文提供了解决此错误的解决方案。因此,首先,让我们看看是什么原因导致“要使用系统还原(System Restore),您必须指定要还原的Windows安装”错误 -
- 您之前的任何操作都可能损坏了系统文件(corrupted System files)并可能导致此错误。
- 由于BCD(引导配置数据(Boot Configuration Data))用于存储所有数据 - 它可能是BCD 损坏(BCD Corruption)
要使用系统还原(System Restore),您必须指定要还原的Windows安装
如果您看到错误消息要使用系统还原,您必须指定要还原的 Windows 安装(To use System Restore you must specify which Windows installation to restore),以下是您可以尝试修复此错误的解决方案 -
- 脱机运行系统文件检查器
- 运行 DISM(Run DISM)以修复可能损坏的系统映像
- 修复 BCD 损坏
- 运行自动启动修复
- 使用Windows 恢复环境(Windows Recovery Environment)
- 尝试使用命令提示符执行(Command Prompt)系统还原(System Restore)。
1]脱机运行系统文件检查器
正如我在文章开头提到的,系统文件损坏我们需要离线运行系统文件检查器。这是这样做的方法-
一一键入以下命令,以了解您的系统驱动器。
Cd /
Dir
如果看到“用户”(Users”)文件夹,那么这是您系统的驱动器。如果没有,您可以通过将卷的字母设置为“ D:”来更改驱动器。(D:”.)
然后,在命令提示符下输入以下命令(这里“C”是您的系统驱动器),
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
(Repeat)如上所述按顺序重复步骤。
2]运行 DISM(Run DISM)以修复可能损坏的系统映像
在这里,我们需要检查系统的健康状况,即我们需要检查系统文件和服务Windows的完整性。这是使用部署映像服务(Deployment Image Servicing)和管理(Management)工具完成的。要运行 DISM(run DISM),请打开命令提示符并给出以下命令
DISM /Image:C:\Windows /Cleanup-Image /RestoreHealth /Source:C:\Windows\WinSxS
这里,“C:”是系统音量。
如果抛出错误,请插入Windows USB od DVD并给出以下命令 -
DISM /Image:C:\Windows /Cleanup-Image /RestoreHealth /Source:esd:E:\Sources\Install.esd:1 /limitaccess
这里“ E:”是您的 USB 或DVD驱动器,如果它显示另一个字母,请更换它。
在极少数情况下,install.esd将是install.wim。
在这种情况下,您需要修改并给出以下命令,
DISM /Image:C:\Windows /Cleanup-Image /RestoreHealth /Source:wim:E:\Sources\Install.wim /limitaccess
如上所述按顺序运行这些步骤,并检查这是否可以解决您的错误。
3]修复BCD损坏
Bootrec.exe是一个内置的命令行工具,用于解决与启动和Windows 启动(Windows Startup)相关的问题。我们将使用此工具扫描系统以解决启动问题。
在运行以下命令之前,请(Make)确保将可引导 USB 或DVD插入您的系统。要修复 BCD(repair the BCD),请打开命令提示符并一一给出以下命令-
Bootrec /Fixmbr
Bootrec /FixBoot
上述每个命令都应输出“操作成功完成”。如果没有再试一次。
接下来,要重建BCD ,请执行以下命令,
Bootrec /RebuildBCD
这应该会有所帮助。
4]运行自动启动修复
(Run Automatic Repair)从高级启动选项屏幕(Advanced Startup Options)运行自动修复,看看是否有帮助。
5]使用(Use)Windows恢复(Windows Recovery Environment)环境
如果您已经尝试了上述所有方法,那么这是修复错误的最后一种方法。您需要运行Windows 修复(Windows Repair)并使用Windows可启动USB或DVD。
插入(Insert)可启动的USB或DVD并启动,然后选择“修复计算机(Repair your computer)”。
如果您遇到任何问题,请尝试执行以下步骤:
- 插入 DVD(Insert DVD)驱动器并硬重置计算机。
- 出现制造商徽标后,按 键进入 Windows 恢复环境(Windows Recovery Environment )(例如,戴尔用户按 F2)。
- 在 UEFI 固件设置下, (UEFI firmware settings, )将 引导顺序 (Boot sequence )更改为 DVD 驱动器(DVD Drive)并 重新启动。(Restart.)
- PC 重新启动后,选择引导顺序并进行相应的更改,如BIOS屏幕上所示。
6]尝试(Try)使用命令提示符(Command Prompt)执行系统还原(System Restore)
打开命令提示符(Open Command Prompt)并给出以下命令
rstrui.exe /OFFLINE:C:\Windows
将“C”替换为Windows 安装(Windows Installation)所在的驱动器。
请确保您仔细遵循所有这些步骤。希望这里提到的解决方案之一会对您有所帮助。(Please make sure you follow all these steps carefully. Hopefully one of the solutions mentioned here will help you.)
To use System Restore you must specify which Windows installation to restore
There are situations where you need to pеrform the System Restore operation. But аt times you may face an error – To use System Restore you must specify which Windows installation to restore. This error is caused due to corrupted files in the system which pops up this error. Because of this error, you are not able to perform the system restore and this can be a hurdle to proceed further.
There are scenarios where you are not able to boot up once you encounter this error. This article provides solutions to solve this error. So, first, let us see what causes “To use System Restore you must specify which Windows installation to restore” error-
- Any of your previous actions might have corrupted System files and may cause this error.
- As BCD (Boot Configuration Data) is used to stores all data – it could be BCD Corruption
To use System Restore you must specify which Windows installation to restore
If you see an error message To use System Restore you must specify which Windows installation to restore, here are the solutions you can try to fix this error-
- Run System File Checker Offline
- Run DISM to repair a potentially corrupted system image
- Repair BCD corruption
- Run Automatic Startup Repair
- Use the Windows Recovery Environment
- Try performing System Restore using Command Prompt.
1] Run System File Checker Offline
As I mentioned at the beginning of the article, system files corruption we would need to run System File Checker Offline. Here is the way to do it-
Type the following commands one by one, to know your system’s drive.
Cd /
Dir
If the “Users” folder is seen, then this is your system’s drive. If not, you can change the drive by giving the alphabet of your volume as “D:”.
Then, give below command in command prompt (Here “C” is your system drive),
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
Repeat steps sequentially as mentioned above.
2] Run DISM to repair a potentially corrupted system image
Here, we need to check the health of the system i.e, we need to check the integrity of the system files and service Windows. This is done using the Deployment Image Servicing and Management tool. To run DISM, open the command prompt and give the following command
DISM /Image:C:\Windows /Cleanup-Image /RestoreHealth /Source:C:\Windows\WinSxS
Here, “C:” is system volume.
If it throws an error, insert Windows USB od DVD and give the following command-
DISM /Image:C:\Windows /Cleanup-Image /RestoreHealth /Source:esd:E:\Sources\Install.esd:1 /limitaccess
Here “E:” is your USB or DVD drive and replace it if it is showing another alphabet.
In rare cases, install.esd would be install.wim.
In such cases, you need to modify and give the following command,
DISM /Image:C:\Windows /Cleanup-Image /RestoreHealth /Source:wim:E:\Sources\Install.wim /limitaccess
Run the steps sequentially as mentioned above and check if this can solve your error.
3] Repair BCD corruption
Bootrec.exe is a built-in command-line tool, which is used to troubleshoot problems related to boot up and Windows Startup. We would use this tool to scan the system to solve boot up issues.
Make sure bootable USB or DVD is inserted into your system before running the following commands. To repair the BCD, open the command prompt and give the following commands one by one-
Bootrec /Fixmbr
Bootrec /FixBoot
Each of the above commands should output “The operation completed successfully”. If not try again.
Next, to rebuild the BCD give the following command,
Bootrec /RebuildBCD
This should help.
4] Run Automatic Startup Repair
Run Automatic Repair from Advanced Startup Options screen and see if that helps.
5] Use the Windows Recovery Environment
If you have tried all the ways mentioned above, then this is the last way to fix the error. You need to run Windows Repair and using a Windows bootable USB or DVD.
Insert the bootable USB or DVD and boot into it and select “Repair your computer”.
If you are facing any problems, try doing these steps:
- Insert DVD drive and hard reset the computer.
- Once the manufacturer logo appears, press the key to enter into Windows Recovery Environment (eg. Press F2 for Dell users).
- Under UEFI firmware settings, change the Boot sequence to DVD Drive and Restart.
- Once the PC restarts, select the boot order and make changes accordingly as shown on the BIOS screen.
6] Try performing System Restore using Command Prompt
Open Command Prompt and give the following command
rstrui.exe /OFFLINE:C:\Windows
Replace “C” with the drive where Windows Installation is located.
Please make sure you follow all these steps carefully. Hopefully one of the solutions mentioned here will help you.