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?
- dism /online /cleanup-image /restorehealth /source:wim:\\deploy\share\install.wim:1 /limitaccessCevap
- Bdism /online /cleanup-image /restorehealth /source:wim:\\deploy\share\install.wim:1 /startcomponentcleanup
- Cdism /online /cleanup-image /revertpendingactions
- Ddism /online /cleanup-image /analyzecomponentstore
Cevap
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.
Adım Adım Çözüm
Anahtar Kavram
Repairing corrupt Windows Component Store using DISM with an offline WIM source and /limitaccess switch prior to running SFC.
Tahmini Süre:2m 0s