Soru

Zorluk: ZorMicrosoft Command-Line Tools

A desktop technician is troubleshooting a Windows 11 workstation that displays system instability. Running the System File Checker utility (sfc /scannow) produces an error stating that corrupted files were found but could not be repaired because the local store is also damaged. Which command must the technician run from an elevated command prompt to repair the Windows Component Store image prior to re-running the System File Checker?

  1. dism /online /cleanup-image /restorehealthCevap
  2. B
    sfc /purgecache
  3. C
    fsck /f /r C:
  4. D
    perfmon /report

Cevap

dism /online /cleanup-image /restorehealth
The Deployment Image Servicing and Management (DISM) tool with the parameters '/online /cleanup-image /restorehealth' scans the currently running Windows operating system for Component Store corruption and downloads replacement files via Windows Update to repair the image. Once the Component Store is healthy, System File Checker (sfc /scannow) can successfully restore corrupted system files.

Adım Adım Çözüm

1
Identify the cause of the SFC repair failure.
SFC cannot repair system files when the local Component Store (WinSxS) image itself is corrupted.
SFC relies on a healthy Component Store as the source for replacing damaged system files.
2
Select the appropriate servicing command.
Deployment Image Servicing and Management (DISM) is used to service Windows images.
The /restorehealth parameter instructs DISM to scan the operating system for corruption and download repair files.
3
Execute DISM and follow up with SFC.
Running dism /online /cleanup-image /restorehealth restores Component Store health.
Once DISM completes successfully, sfc /scannow can be executed again to repair the system files.

Anahtar Kavram

Repairing Windows Component Store with DISM before running SFC
Bu soruyu puanla