Question

Difficulty: HardResolving System File Corruption and Driver Issues

A desktop support specialist is servicing a Windows 11 client workstation that lost power during a major system update. System File Checker (`sfc /scannow`) completes with an error stating that Windows Resource Protection found corrupt files but was unable to fix some of them because the local Component Store (WinSxS) is corrupted. The workstation is connected to an internal network with access to a shared repository containing an offline Windows installation file at `\\deploy\share\install.wim`, but it does not have public internet access to reach Windows Update. Which of the following DISM commands should the specialist run first to repair the component store using the internal repository?

  1. dism /online /cleanup-image /restorehealth /source:wim:\\deploy\share\install.wim:1 /limitaccessAnswer
  2. B
    dism /online /cleanup-image /restorehealth /source:wim:\\deploy\share\install.wim:1 /startcomponentcleanup
  3. C
    dism /online /cleanup-image /revertpendingactions
  4. D
    dism /online /cleanup-image /analyzecomponentstore

Answer

Execute `dism /online /cleanup-image /restorehealth /source:wim:\\deploy\share\install.wim:1 /limitaccess` to repair the corrupted Windows Component Store using the specified local WIM image.
When System File Checker fails because the local Component Store is corrupt, DISM (`/restorehealth`) must be executed to repair the store first. In environment configurations where public internet access is restricted or unavailable, the `/source` flag points to a valid Windows installation media (such as an `install.wim` image), and the `/limitaccess` switch prevents DISM from attempting to contact Windows Update.

Step-by-Step Solution

1
Identify the cause of SFC failure
System File Checker (`sfc`) failed because the local backup source (WinSxS Component Store) is corrupt.
SFC relies on a healthy Component Store to pull replacement system files.
2
Formulate the DISM repair command targeting an offline source
Use `dism /online /cleanup-image /restorehealth` along with `/source` specifying the network WIM path and index number.
The system lacks internet access, so DISM must be directed to an internal WIM file.
3
Append the `/limitaccess` switch to the DISM command
DISM is blocked from trying to reach Windows Update servers over the internet.
Without `/limitaccess`, DISM will time out attempting to connect to public Microsoft servers.
4
Re-run System File Checker (`sfc /scannow`)
SFC successfully repairs operating system files using the restored Component Store.
With the WinSxS store healthy, SFC has valid reference copies to replace damaged OS binaries.

Key Concept

Repairing corrupt Windows Component Store using DISM with an offline WIM source and /limitaccess switch prior to running SFC.
Estimated Time:2m 0s
Rate this question