A system administrator is resolving persistent system instability on a Windows 11 workstation. Running sfc /scannow fails with the error message: "Windows Resource Protection found corrupt files but was unable to fix some of them." Diagnostic logs indicate that the local Windows Component Store (WinSxS) is itself corrupted. Because network access to Windows Update is blocked by security policy, the administrator has mounted an official Windows 11 ISO file containing installation source files at drive letter D:. Which of the following commands must the administrator execute from an elevated Command Prompt to repair the local Component Store using the mounted image before re-running the System File Checker?
- dism /online /cleanup-image /restorehealth /source:D:\sources\install.wim /limitaccessCevap
- Bsfc /scannow /offbootdir=D:\ /offwindir=D:\windows /repairsource:install.wim
- Cdism /online /cleanup-image /analyzecomponentstore /source:D:\sources\install.wim
- Drsync -avz /media/D/sources/install.wim /C/Windows/WinSxS/
Cevap
The command dism /online /cleanup-image /restorehealth /source:D:\sources\install.wim /limitaccess must be executed to repair the corrupted Windows Component Store using the local WIM source without querying Windows Update.
The correct command utilizes DISM with the /online switch to target the active OS, /cleanup-image /restorehealth to repair corruption, /source:D:\sources\install.wim to point directly to the mounted installation image, and /limitaccess to prevent attempts to connect to Windows Update over a restricted network.
Adım Adım Çözüm
Anahtar Kavram
Repairing Windows Component Store corruption using DISM with alternate repair sources prior to SFC execution.