Question

Difficulty: MediumResolving System File Corruption and Driver Issues

During routine system maintenance, an IT specialist finds that critical Windows system files are damaged. Running System File Checker fails to repair the corrupted files because the local component store payload is missing or damaged. Which command should the specialist execute first to repair the Windows component store from an online source?

  1. dism /online /cleanup-image /restorehealthAnswer
  2. B
    dism /online /cleanup-image /checkhealth
  3. C
    sfc /r
  4. D
    chkdsk /f /r

Answer

Executing dism /online /cleanup-image /restorehealth repairs the corrupted Windows component store by fetching clean copies from Windows Update, allowing System File Checker to successfully repair system files afterwards.
The command dism /online /cleanup-image /restorehealth scans the operating system component store for corruption and uses Windows Update to download clean replacement files, which subsequently allows System File Checker to successfully resolve system file errors.

Step-by-Step Solution

1
Identify the cause of System File Checker repair failure
Recognize that System File Checker relies on a healthy local component store (WinSxS) to repair corrupted OS files.
When the local component store itself is damaged, System File Checker cannot restore corrupted files.
2
Select the correct command-line repair tool and switch
Use Deployment Image Servicing and Management (DISM) with the /restorehealth switch.
The /restorehealth switch actively scans the image for corruption and repairs it automatically using Windows Update.

Key Concept

Repairing the Windows component store with DISM before running System File Checker
Rate this question