Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

如何从 Windows 恢复环境 (WinRE) 中运行 sfc /scannow

Summary: 有关在 Windows Server 2008 及更高版本的 Windows 恢复环境中运行系统文件检查器的信息。

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

本文提供有关在 Windows Server 2008 及更高版本的 Windows 恢复环境中运行系统文件检查器 (sfc.exe) 的信息。
 

尝试在 Windows 恢复环境 (WinRE) 中运行系统文件检查器 (sfc.exe) 时,可能会出现以下错误:

Windows Resource Protection 无法启动维修服务。

错误如下面的屏幕截图所示(图 1 [仅英文]):

SLN71990_zh_CN__11373564438000.Windows Resource Protection error
图 1:Windows Resource Protection 错误

在 WinRE 中运行 sfc /scannow 时,需要将两个开关添加到命令中,以便在离线模式下运行:

  • /offbootdir= 指出启动驱动器盘符。
  • /offwindir= 指出安装 Windows 的文件夹。

以下是添加了这些开关的命令示例:

  • sfc /scannow /offbootdir=D:\ /offwindir=D:\Windows 
重要说明:两个开关中所需的驱动器盘符就是 WinRE 中显示的驱动器盘符。这通常是与 Windows 运行时分配给同一分区的盘符不同的盘符,因为 WinRE 以不同的方式枚举分区。  

 

Article Properties


Affected Product

Servers

Last Published Date

21 Feb 2021

Version

3

Article Type

Solution