Soru

Zorluk: Çok zorMicrosoft Command-Line Tools

An IT technician is using the Command Prompt within the Windows Recovery Environment (WinRE) to repair a non-booting Windows 11 system suffering from drive errors, component store corruption, missing boot entries, and damaged system files. Place the troubleshooting and command-line repair steps in the correct chronological order to restore system bootability.

  1. 1Verify the drive letter assigned to the offline Windows installation volume using diskpart or dir commands.
  2. 2Execute chkdsk C: /r to locate bad sectors and recover readable information on the target OS volume.
  3. 3Execute dism /image:C:\ /cleanup-image /restorehealth to repair the offline Windows Component Store (WinSxS).
  4. 4Execute sfc /scannow /offbootdir=C:\ /offwindir=C:\windows to scan and replace corrupted protected Windows binaries.
  5. 5Execute bootrec /rebuildbcd to scan all disks for Windows installations and reconstruct the Boot Configuration Data store.

Cevap

The correct sequence for offline command-line system repair is: 1) Identify the assigned OS drive letter, 2) Run chkdsk /r to repair underlying disk surface errors, 3) Run DISM restorehealth to fix the component store, 4) Run offline SFC to replace corrupted protected system files, and 5) Run bootrec /rebuildbcd to reconstruct the boot configuration.
The proper troubleshooting order requires moving from foundational disk structure repairs to higher-level OS and boot repairs. First, verify drive lettering within the WinRE environment. Next, fix physical and file system errors using chkdsk /r. Then, repair the Component Store using DISM offline syntax. After restoring the component store, run SFC with offline parameters (/offbootdir and /offwindir) to fix corrupted system binaries. Finally, rebuild the Boot Configuration Data using bootrec /rebuildbcd so the system bootloader correctly references the fully repaired OS installation.

Adım Adım Çözüm

1
Determine the offline drive letter using diskpart or directory listing.
The target volume is accurately identified.
WinRE assigns letters dynamically, so executing commands on the default drive letter without checking risks modifying the RAM disk or system reserved partition.
2
Run chkdsk C: /r on the identified volume.
File system allocation errors and bad physical disk sectors are fixed.
Physical disk corruption invalidates file writes attempted by repair tools later in the process.
3
Run dism /image:C:\ /cleanup-image /restorehealth.
The offline WinSxS store is verified and restored.
System File Checker relies on a healthy Component Store as its repository for replacing corrupt system files.
4
Run sfc /scannow /offbootdir=C:\ /offwindir=C:\windows.
Protected Windows system binaries are scanned and repaired.
Essential operating system binaries must be restored before boot configuration can successfully initialize the kernel.
5
Run bootrec /rebuildbcd.
The Boot Configuration Data file is reconstructed to point to the repaired installation.
Rebuilding boot entries requires a stable file system and intact boot binaries to function reliably.

Anahtar Kavram

Offline Windows Command-Line System Repair Sequence
Bu soruyu puanla