Soru

Zorluk: ZorResolving System File Corruption and Driver Issues

A network administrator is servicing a Windows workstation experiencing recurring system instability. Running the System File Checker utility (`sfc /scannow`) returns an error message indicating that Windows Resource Protection found corrupt files but was unable to repair them because the local Windows component store (Side-by-Side/WinSxS store) is damaged. The workstation has an active internet connection to online updates. Which TWO command-line operations must the administrator run to repair the component store corruption and then successfully restore the system files? (Select TWO.)

  1. dism /online /cleanup-image /restorehealthCevap
  2. sfc /scannowCevap
  3. C
    dism /online /cleanup-image /analyzecomponentstore
  4. D
    chkdsk /r

Cevap

The technician must execute 'dism /online /cleanup-image /restorehealth' to repair the damaged component store, followed by 'sfc /scannow' to repair corrupt system files.
When Windows Resource Protection detects system corruption but cannot repair it due to a corrupted component store (WinSxS directory), Deployment Image Servicing and Management (DISM) must be executed first using the '/restorehealth' switch. Because the machine has internet access, DISM uses Windows Update to repair the local component store. Once the component store is repaired, re-running System File Checker via 'sfc /scannow' allows SFC to replace corrupted protected system files successfully.

Adım Adım Çözüm

1
Run DISM with the RestoreHealth parameter
DISM connects to Windows Update to retrieve healthy copies of component payloads and fixes the local WinSxS store corruption.
SFC relies on the local component store as its healthy source repository; SFC cannot fix corrupt system files if the component store itself is corrupt.
2
Re-run SFC with the scannow parameter
System File Checker compares operating system binaries against the now-repaired component store and replaces corrupted files.
Once the component store is healthy, SFC has valid source files to perform the replacement.

Anahtar Kavram

DISM and SFC Repair Sequence for System File Corruption
Bu soruyu puanla