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.

How to run sfc /scannow from the Windows Recovery Environment (WinRE)

Summary: Info on running the System File Checker in the Windows Recovery Environment in Windows Server 2008 and above

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

This article provides information on running the System File Checker (sfc.exe) in the Windows Recovery Environment in Windows Server 2008 and above.
 

When attempting to run the System File Checker (sfc.exe) within the Windows Recovery Environment (WinRE), you may receive the following error:

Windows Resource Protection could not start the repair service.

The error is shown in the screenshot below (Figure 1 (English-only)):

SLN71990_en_US__11373564438000.Windows Resource Protection error
Figure 1: Windows Resource Protection Error

When running sfc /scannow in WinRE, two switches need to be added to the command in order to run it in offline mode:

  • /offbootdir=<disk> indicates the boot drive letter.
  • /offwindir=<folder> indicates the folder where Windows is installed.

The following is an example of the command with these switches added:

  • sfc /scannow /offbootdir=D:\ /offwindir=D:\Windows 
Important: The drive letter required in both switches is the drive letter as it appears in WinRE. This is typically a different letter from the one assigned to the same partition when Windows is running, because WinRE enumerates partitions differently.  

 

Article Properties


Affected Product

Servers

Last Published Date

21 Feb 2021

Version

3

Article Type

Solution