Question

Difficulty: MediumTroubleshooting Windows OS Startup and Boot Errors

A Windows 10 workstation experiences a Blue Screen of Death (BSOD) during boot pointing to a corrupted critical system file. The automated Startup Repair tool fails to resolve the issue. Place the troubleshooting steps in the correct chronological order to repair the system files using the Windows Recovery Environment (WinRE) Command Prompt.

  1. 1Boot the computer into the Windows Recovery Environment (WinRE) and open the Command Prompt tool.
  2. 2Use the diskpart tool or dir commands to identify the assigned drive letter for the offline Windows installation volume.
  3. 3Execute the System File Checker command using the /offbootdir and /offwindir parameters pointing to the designated drives.
  4. 4Reboot the workstation normally to verify that Windows completes the startup sequence successfully.

Answer

The correct sequence begins with booting into WinRE and launching the Command Prompt, determining the offline Windows drive letter using diskpart or dir, running sfc with the /offbootdir and /offwindir flags, and finally rebooting the workstation normally to verify boot functionality.
To repair corrupted Windows boot files offline, a technician must first gain command-line access via WinRE. Before running repair utilities, the technician must verify which volume letter corresponds to the installed OS because WinRE drive letter mappings differ from normal operation. Next, running System File Checker requires explicit parameters (/offbootdir pointing to the boot partition and /offwindir pointing to the Windows directory) to scan the correct offline files. Finally, restarting the machine confirms whether the repairs allowed the operating system to boot normally.

Step-by-Step Solution

1
Boot into WinRE and open Command Prompt
Establishes an un-booted environment where locked system files can be modified.
WinRE loads into a RAM disk (X: drive), freeing up the main OS partition for repair operations.
2
Determine the offline Windows drive letter
Identifies the correct drive assignment for the installed operating system.
WinRE does not always assign C: to the primary Windows partition, requiring manual volume verification.
3
Run sfc /scannow with /offbootdir and /offwindir switches
Scans the offline system partition and replaces damaged Windows system files.
Standard sfc /scannow without switches would only attempt to scan the WinRE temporary RAM drive instead of the corrupted OS installation.
4
Reboot the system
Tests system bootability.
Ensures that the replaced system files allow Windows to initialize normally.

Key Concept

Offline System File Repair in Windows Recovery Environment
Rate this question