Question

Difficulty: Very hardResolving System File Corruption and Driver Issues

A Windows 11 workstation fails to start critical operating system services following a corrupted third-party driver installation during a forced reboot. When booting into the Windows Recovery Environment (WinRE), running `sfc /scannow` fails with a message indicating that Windows Resource Protection found corrupt files but was unable to repair them due to damage within the local Windows Component Store (WinSxS). An offline Windows installation ISO has been mounted to drive letter `E:`. Which TWO of the following command-line operations must the technician execute to repair the component store and successfully recover the system files?

  1. Execute DISM specifying `/Image:C:\` and `/Cleanup-Image /RestoreHealth` along with `/Source:E:\sources\install.wim` to repair the WinSxS store from the mounted media.Answer
  2. Execute `sfc /scannow` with `/offbootdir=C:\` and `/offwindir=C:\Windows` after the DISM restoration completes to replace corrupt system files.Answer
  3. C
    Execute `sfc /scannow /revert` from the WinRE command prompt to replace corrupted system files directly from the local cache.
  4. D
    Execute DISM with `/online /cleanup-image /restorehealth` from WinRE to download replacement component files from Windows Update.

Answer

The technician must execute DISM pointing to the offline Windows installation path while supplying an explicit installation media source file to restore the WinSxS component store, and subsequently run the SFC utility configured with offline boot and Windows directory parameters.
When repairing corrupted Windows system files from WinRE where the local component store (WinSxS) is damaged, DISM must first be executed using the `/Image` path to target the offline system drive and the `/Source` parameter pointing to a known good `install.wim` image. Following a successful DISM restoration of the component store, `sfc /scannow` must be targeted at the offline installation using `/offbootdir` and `/offwindir` parameters to successfully scan and repair corrupted protected system files.

Step-by-Step Solution

1
Identify the dependency between DISM and SFC when repairing corrupted operating system files.
Recognize that System File Checker (SFC) relies on a healthy WinSxS component store; if WinSxS is corrupted, DISM must be run first.
SFC uses the local WinSxS store as its source for replacing corrupted protected files. If the store itself is damaged, SFC repairs will fail until DISM fixes the store.
2
Configure the DISM repair command for an offline image inside WinRE.
Run DISM with the `/Image:C:\` parameter and set `/Source:E:\sources\install.wim` combined with `/Cleanup-Image /RestoreHealth`.
Because WinRE is active, using `/online` targets WinRE instead of the target system. The command requires explicit target and repair source paths.
3
Execute System File Checker against the offline system drive post-DISM repair.
Run `sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows`.
Now that the WinSxS store is healthy, SFC can extract clean system binaries and repair corrupt files on the offline volume.

Key Concept

Offline System File and Component Store Repair Sequence
Rate this question