Soru

Zorluk: OrtaResolving System File Corruption and Driver Issues

A technician boots an unstartable Windows 11 system into the Windows Recovery Environment (WinRE) Command Prompt to resolve severe system file corruption. The offline Windows installation is mounted on drive letter C:. Which TWO command-line parameters must the technician include to successfully target and repair the offline operating system instance rather than the active recovery environment? (Select TWO.)

  1. The /image:C:\ parameter when executing DISM to repair the offline component storeCevap
  2. The /offbootdir=C:\ and /offwindir=C:\windows parameters when executing SFC scannowCevap
  3. C
    The /online switch when running DISM from the WinRE command prompt
  4. D
    The /scanonce switch combined with default SFC execution without directory pathing

Cevap

To repair an unbootable Windows system from WinRE, the technician must use /image:C:\ with DISM to repair the offline component store, and /offbootdir=C:\ /offwindir=C:\windows with SFC to target the offline system files.
When repairing an offline Windows installation from WinRE Command Prompt, standard online utility execution fails because the active operating system is WinRE (X: drive). Using the /image:C:\ switch with DISM directs component store repairs to the target drive. Similarly, adding /offbootdir=C:\ and /offwindir=C:\windows allows SFC to locate and repair protected system files on the offline drive.

Adım Adım Çözüm

1
Identify the drive letter assigned to the target Windows installation within WinRE.
Drive letter C: is confirmed as the target system directory.
WinRE assigns dynamic drive letters that may differ from standard boot drive assignments.
2
Execute DISM with offline target pathing.
The command DISM /image:C:\ /cleanup-image /restorehealth services the offline component store.
The /image switch directs repair operations to the offline system store rather than the online X: drive environment.
3
Execute SFC with offline boot and directory switches.
The command sfc /scannow /offbootdir=C:\ /offwindir=C:\windows verifies protected files against the restored component store.
Explicit directory switches prevent SFC from erroneously scanning the temporary WinRE kernel.

Anahtar Kavram

Offline System File and Component Store Repair Switches
Bu soruyu puanla