A desktop technician is troubleshooting a Windows workstation where core operating system files are corrupted. Running the System File Checker utility (`sfc /scannow`) reports that corrupt files were detected but could not be repaired because the local Windows Component Store (`WinSxS`) is also damaged. Which of the following commands should the technician execute to repair the component store directly from an online source?
- dism /online /cleanup-image /restorehealthAnswer
- Bdism /online /cleanup-image /checkhealth
- Cfsck /f /r
- Dmmc /repair-store
Answer
The command `dism /online /cleanup-image /restorehealth` should be executed to repair the Windows component store.
The correct command is `dism /online /cleanup-image /restorehealth`. When `sfc /scannow` fails due to component store corruption, DISM must be run to download healthy copies of corrupted payload files from Windows Update and repair the local WinSxS store.
Step-by-Step Solution
Key Concept
Windows Component Store Repair using DISM