Question

Difficulty: Very hardResolving System File Corruption and Driver Issues

A Windows 11 desktop computer experiences severe system corruption. A technician runs System File Checker (`sfc /scannow`), but the process fails with an error stating that corrupt files were found but could not be repaired. Next, the technician attempts to execute `dism /online /cleanup-image /restorehealth`, but the operation fails with error code `0x800f081f`, indicating that the repair source files could not be located because internet access is disabled and the local Side-by-Side (WinSxS) component store is damaged. The technician mounts a verified Windows 11 installation ISO assigned to drive letter `E:`. Which of the following commands must the technician execute to repair the local component store from the mounted ISO while preventing DISM from attempting to access online update servers?

  1. dism /online /cleanup-image /restorehealth /source:wim:E:\sources\install.wim:1 /limitaccessAnswer
  2. B
    dism /online /cleanup-image /startcomponentcleanup /source:E:\sources\install.wim
  3. C
    sfc /scannow /offbootdir=C:\ /offwindir=C:\windows /source:E:\sources\install.wim
  4. D
    dism /online /cleanup-image /analyzecomponentstore /source:wim:E:\sources\install.wim:1

Answer

dism /online /cleanup-image /restorehealth /source:wim:E:\sources\install.wim:1 /limitaccess
The correct command utilizes `dism /online /cleanup-image /restorehealth` combined with `/source:wim:E:\sources\install.wim:1` to specify the exact path and image index of a clean Windows WIM file. Including `/limitaccess` prevents DISM from reaching out to online Windows Update servers, allowing successful offline repair of the corrupted WinSxS component store so that `sfc /scannow` can subsequently repair protected system files.

Step-by-Step Solution

1
Identify why SFC and standard DISM failed.
SFC fails when the local component store (WinSxS) is corrupt. Standard online DISM restorehealth fails with error 0x800f081f when local source files are missing and Windows Update is unreachable.
DISM requires a valid source payload to repair the component store before SFC can replace corrupted system files.
2
Specify an offline WIM source file from mounted media.
Using the syntax `/source:wim:E:\sources\install.wim:1` points DISM to index 1 of the install.wim image on the mounted media.
This provides known-good replacement files for damaged components directly from install media.
3
Enforce offline source restriction.
Adding the `/limitaccess` parameter prevents DISM from attempting to query Windows Update or WSUS servers.
Ensures the operation relies strictly on the mounted offline ISO payload.

Key Concept

Repairing Component Store Corruption using DISM with an Offline Source File
Rate this question