Soru

Zorluk: ZorResolving System File Corruption and Driver Issues

A system administrator is troubleshooting a Windows 11 workstation that experiences random application instability. An elevated Command Prompt session was opened, and the administrator executed `sfc /scannow`. The process completed with the message: "Windows Resource Protection found corrupt files but was unable to fix some of them." Further log analysis reveals that the replacement payload files within the local component store are also corrupted. Which of the following commands should the administrator execute NEXT to repair the component store so that system file integrity can be successfully restored?

  1. dism /online /cleanup-image /restorehealthCevap
  2. B
    chkdsk C: /f /r
  3. C
    sfc /scanfile=C:\Windows\System32\kernel32.dll
  4. D
    rstrui.exe /offline

Cevap

The administrator should run `dism /online /cleanup-image /restorehealth` to repair the damaged local component store before re-running the System File Checker.
The correct action is executing `dism /online /cleanup-image /restorehealth`. System File Checker (`sfc /scannow`) inspects critical operating system files and replaces corrupted ones using healthy copies stored in the Windows component store (`%WinDir%\System32\WinSxS`). When SFC reports that it found corrupt files but could not fix them due to component store corruption, DISM must be used to repair the store first.

Adım Adım Çözüm

1
Analyze the SFC command output message.
Identify that SFC failed to repair files because the source component store (WinSxS) is corrupt.
SFC replaces corrupted core OS files using clean copies cached in the Windows component store. If those cached copies are damaged, SFC cannot perform repairs.
2
Select the proper servicing command to repair the component store.
Execute `dism /online /cleanup-image /restorehealth` from an elevated prompt.
Deployment Image Servicing and Management (DISM) scans and repairs the Windows image and WinSxS store using Windows Update or specified media.
3
Re-run system file verification after DISM repair.
Execute `sfc /scannow` once DISM successfully completes.
With a healthy component store restored, SFC can now successfully replace damaged operating system files.

Anahtar Kavram

Repairing the Windows Component Store with DISM prior to running SFC when local repair payloads are corrupted.
Bu soruyu puanla