Question

Difficulty: MediumMicrosoft Command-Line Tools

A desktop technician is troubleshooting a Windows workstation where core system files are corrupted, preventing operating system updates from installing properly. The technician determines that the local Windows Component Store image itself is damaged and must be repaired before corrupted system binaries can be replaced. Which TWO Windows command-line utility operations should the technician run in an elevated command prompt to complete this repair sequence? (Select TWO.)

  1. dism /online /cleanup-image /restorehealthAnswer
  2. sfc /scannowAnswer
  3. C
    fsck -f /dev/sda1
  4. D
    gpupdate /force

Answer

The technician should run DISM with the cleanup-image and restorehealth parameters to fix the Windows Component Store, followed by System File Checker (sfc /scannow) to inspect and replace damaged system binaries.
When a Windows system exhibits OS corruption and an unreadable or damaged component store, the correct repair sequence involves executing Deployment Image Servicing and Management (dism /online /cleanup-image /restorehealth) to service the store image, followed by System File Checker (sfc /scannow) to replace corrupted system binaries with verified originals.

Step-by-Step Solution

1
Repair the Windows Component Store image
Runs DISM /online /cleanup-image /restorehealth in an elevated Command Prompt.
SFC relies on a healthy Component Store as its payload source; if the Component Store is damaged, DISM must repair it first.
2
Scan and replace protected operating system files
Runs sfc /scannow.
SFC checks system file hashes against known good versions in the Component Store and restores any damaged OS binaries.

Key Concept

Windows System File & Component Store Repair Commands (DISM and SFC)
Rate this question