Soru

Zorluk: OrtaResolving System File Corruption and Driver Issues

A Windows 11 computer frequently displays system stability alerts following an improper shutdown. A system administrator attempts to verify system integrity by executing `sfc /scannow`, but the tool reports that it found corrupt files and was unable to fix them because the local component store itself is corrupted. Which command should the administrator execute first to repair the local component store before re-running the System File Checker?

  1. dism /online /cleanup-image /restorehealthCevap
  2. B
    dism /online /cleanup-image /analyzecomponentstore
  3. C
    chkdsk C: /r /f
  4. D
    sfc /scanfile=C:\Windows\System32\WinSxS

Cevap

Execute `dism /online /cleanup-image /restorehealth` from an elevated command prompt to repair the Windows component store.
Executing `dism /online /cleanup-image /restorehealth` connects to Windows Update to download clean copies of corrupted files within the local Windows component store. Repairing the component store first restores the source payload required for `sfc /scannow` to successfully fix corrupted operating system files.

Adım Adım Çözüm

1
Identify the cause of the SFC repair failure.
The SFC utility relies on healthy replacement files stored in the Windows Component Store (WinSxS). When WinSxS is corrupted, SFC cannot complete file repairs.
SFC cannot repair operating system files if its source payload repository is damaged.
2
Execute the DISM restorehealth command.
Run `dism /online /cleanup-image /restorehealth` in an elevated command prompt.
DISM checks the health of the operating system image and repairs the local component store using Windows Update or specified installation media.
3
Re-run System File Checker.
Execute `sfc /scannow` after DISM successfully completes.
With the component store fully restored, SFC can now successfully replace remaining corrupted system files.

Anahtar Kavram

DISM and SFC Repair Dependency Sequence
Bu soruyu puanla