Soru

Zorluk: Çok zorResolving System File Corruption and Driver Issues

A Windows 11 workstation experiences repeated critical system crashes after an unexpected hard shutdown. A technician attempts to run System File Checker (SFC) in the standard desktop environment, but SFC fails with an error indicating that the local component store (WinSxS) is corrupted and cannot supply replacement files. The technician decides to perform an offline repair of the component store and corrupted system files using the Windows Recovery Environment (WinRE) Command Prompt. In what order should the technician perform the following recovery actions to properly restore system integrity?

  1. 1Boot the system into the Windows Recovery Environment (WinRE) and open an elevated Command Prompt.
  2. 2Execute DISM with the /image: and /source: flags alongside /cleanup-image /restorehealth to repair the offline component store.
  3. 3Execute sfc /scannow with the /offbootdir= and /offwindir= parameters pointing to the offline system drives.
  4. 4Restart the workstation into normal operating mode and review the CBS.log file to confirm error resolution.

Cevap

The correct order of recovery actions is: 1) Boot into WinRE Command Prompt, 2) Execute DISM with offline image and source switches to repair the component store, 3) Execute SFC with offbootdir and offwindir switches to repair system files, and 4) Restart into normal Windows and verify stability.
System restoration requires servicing dependencies to be addressed in exact sequence: first, boot into an offline environment (WinRE) so files are unlocked; second, repair the component store (WinSxS) using DISM with offline image and source parameters; third, run SFC with offline directory flags (/offbootdir and /offwindir) so it can pull healthy payload files from the component store; and finally, reboot into normal operation to verify that OS instability has been resolved.

Adım Adım Çözüm

1
Boot into Windows Recovery Environment (WinRE) Command Prompt.
Gains access to an offline Command Prompt where Windows system files are unlocked.
Active system files cannot be modified or replaced while the main OS is actively running.
2
Run DISM servicing commands targeting the offline Windows installation.
Restores the health of the offline WinSxS component store using a clean installation image source.
SFC relies on the WinSxS store; if the store is corrupt, SFC cannot repair system files.
3
Run sfc /scannow specifying /offbootdir and /offwindir parameters.
Scans and replaces corrupt system files using the newly repaired component store.
Offline directory switches redirect SFC away from the WinRE X: RAM drive to the actual target Windows partition.
4
Reboot normally into Windows and verify system log integrity.
Confirms that system crashes are resolved and repaired binaries load correctly.
Ensures the operating system operates normally under standard user workloads.

Anahtar Kavram

Offline DISM and SFC Repair Sequencing
Tahmini Süre:2m 30s
Bu soruyu puanla