A network administrator is servicing a Windows workstation experiencing recurring system instability. Running the System File Checker utility (`sfc /scannow`) returns an error message indicating that Windows Resource Protection found corrupt files but was unable to repair them because the local Windows component store (Side-by-Side/WinSxS store) is damaged. The workstation has an active internet connection to online updates. Which TWO command-line operations must the administrator run to repair the component store corruption and then successfully restore the system files? (Select TWO.)
- dism /online /cleanup-image /restorehealthAnswer
- sfc /scannowAnswer
- Cdism /online /cleanup-image /analyzecomponentstore
- Dchkdsk /r
Answer
The technician must execute 'dism /online /cleanup-image /restorehealth' to repair the damaged component store, followed by 'sfc /scannow' to repair corrupt system files.
When Windows Resource Protection detects system corruption but cannot repair it due to a corrupted component store (WinSxS directory), Deployment Image Servicing and Management (DISM) must be executed first using the '/restorehealth' switch. Because the machine has internet access, DISM uses Windows Update to repair the local component store. Once the component store is repaired, re-running System File Checker via 'sfc /scannow' allows SFC to replace corrupted protected system files successfully.
Step-by-Step Solution
Key Concept
DISM and SFC Repair Sequence for System File Corruption