Soru

Zorluk: OrtaMicrosoft Command-Line Tools

A desktop technician is troubleshooting a Windows workstation where core operating system files are corrupted. Running the System File Checker utility (`sfc /scannow`) reports that corrupt files were detected but could not be repaired because the local Windows Component Store (`WinSxS`) is also damaged. Which of the following commands should the technician execute to repair the component store directly from an online source?

  1. dism /online /cleanup-image /restorehealthCevap
  2. B
    dism /online /cleanup-image /checkhealth
  3. C
    fsck /f /r
  4. D
    mmc /repair-store

Cevap

The command `dism /online /cleanup-image /restorehealth` should be executed to repair the Windows component store.
The correct command is `dism /online /cleanup-image /restorehealth`. When `sfc /scannow` fails due to component store corruption, DISM must be run to download healthy copies of corrupted payload files from Windows Update and repair the local WinSxS store.

Adım Adım Çözüm

1
Identify the cause of the failure during the initial SFC scan.
The local system store (WinSxS) is corrupted, preventing SFC from retrieving clean file copies.
SFC relies on the local component store to replace damaged system files.
2
Select the DISM utility with appropriate repair switches.
Specifying `/online /cleanup-image /restorehealth` connects to Windows Update to download fresh copies of corrupted payload components.
DISM must repair the component store before SFC can successfully resolve system file corruption.

Anahtar Kavram

Windows Component Store Repair using DISM
Bu soruyu puanla