Soru

Zorluk: KolayMicrosoft Command-Line Tools

A system administrator needs to resolve system instability on a Windows workstation suspected of having corrupted operating system files. Place the command-line remediation steps in the correct sequential order from first to last.

  1. 1Open Command Prompt with administrative privileges.
  2. 2Execute `dism /online /cleanup-image /scanhealth` to check for component store corruption.
  3. 3Execute `dism /online /cleanup-image /restorehealth` to repair the Windows component store image.
  4. 4Execute `sfc /scannow` to scan protected system files and replace corrupted files.

Cevap

The correct sequence starts with opening an elevated Command Prompt, followed by scanning the Windows image health with DISM /scanhealth, repairing the Windows component store image with DISM /restorehealth, and finally running SFC /scannow to replace corrupted protected system files.
The proper sequence for repairing Windows OS corruption requires administrative rights first. Next, DISM /scanhealth verifies if the Windows component store is corrupted. DISM /restorehealth then fixes the component store using Windows Update or local repair sources. Finally, SFC /scannow uses the repaired component store to replace corrupted protected system files.

Adım Adım Çözüm

1
Open Command Prompt as Administrator.
Grants elevated permissions required for servicing system files and Windows image stores.
DISM and SFC commands will fail if executed without administrative privileges.
2
Run `dism /online /cleanup-image /scanhealth`.
Scans the component store for corruption and reports whether the image is healthy or repairable.
Verifies image integrity prior to initiating repairs.
3
Run `dism /online /cleanup-image /restorehealth`.
Downloads clean files from Windows Update to fix corruption within the local component store.
SFC relies on a healthy component store to pull replacement system files.
4
Run `sfc /scannow`.
Scans protected system files and replaces damaged ones with cached copies from the repaired component store.
Completes the system file repair using a verified healthy Windows image store.

Anahtar Kavram

Windows Image and System File Repair Workflow (DISM and SFC)
Bu soruyu puanla