Soru

Zorluk: OrtaMicrosoft Command-Line Tools

A system administrator suspects that core Windows operating system files have become corrupted on a workstation. To properly repair the system file repository before replacing damaged operating system binaries, in what order should the technician execute the diagnostic and remediation steps?

  1. 1Open an elevated Command Prompt window with administrative privileges.
  2. 2Run dism /online /cleanup-image /restorehealth to repair the Windows component store image.
  3. 3Run sfc /scannow to inspect and replace damaged protected system files.
  4. 4Restart the workstation to apply pending changes for locked files.

Cevap

The correct sequence starts by opening an elevated Command Prompt, followed by executing DISM to fix the component store, running SFC to repair system files using the healthy store, and finally rebooting the workstation.
The proper troubleshooting order requires administrative elevation first, followed by servicing the Windows component store using DISM. Once the store is verified healthy, SFC can successfully repair protected system files, and a system reboot finalizes the process.

Adım Adım Çözüm

1
Elevate command line privileges
Command Prompt opens with administrative rights necessary to modify system binaries.
DISM and SFC commands fail if run in a standard non-elevated user context.
2
Execute DISM restorehealth flag
The local Windows component store image (WinSxS) is verified and repaired using Windows Update or specified source files.
SFC relies on a healthy component store to replace corrupt files; fixing DISM first ensures SFC will succeed.
3
Execute SFC scannow flag
Protected system files are checked for integrity and corrupted files are overwritten with clean copies.
System File Checker compares active binaries against the clean copies in the component store.
4
Reboot the system
Files that were in use during the SFC scan are overwritten during startup.
Completes the remediation process when core files cannot be unlocked during runtime.

Anahtar Kavram

Windows Command-Line Repair Workflow (DISM before SFC)
Bu soruyu puanla