A technician boots a non-responsive Windows workstation into the Windows Recovery Environment (WinRE) Command Prompt to repair system file corruption on the main Windows installation volume (drive D:). Place the following administrative command-line steps in the correct chronological order to safely check disk integrity, restore the offline component store, and repair system files.
- 1Identify and verify the assigned drive letter for the target Windows OS partition using directory or disk utility commands.
- 2Execute chkdsk D: /f to scan and repair underlying volume filesystem errors.
- 3Execute dism /image:D:\ /cleanup-image /restorehealth to repair the offline Windows component store (WinSxS).
- 4Execute sfc /scannow /offbootdir=D:\ /offwindir=D:\windows to scan and replace damaged system binaries against the restored store.
Answer
The correct order of operations is: first, identify the OS drive letter in WinRE; second, run chkdsk D: /f to fix filesystem errors; third, execute dism /image:D:\ /cleanup-image /restorehealth to restore the component store; fourth, run sfc /scannow /offbootdir=D:\ /offwindir=D:\windows to repair system binaries.
Systematic offline troubleshooting requires identifying the active OS volume letter, ensuring disk filesystem stability with chkdsk, repairing the servicing repository via dism /image:D:\ /cleanup-image /restorehealth, and finally replacing corrupt system files using sfc with /offbootdir and /offwindir flags.
Step-by-Step Solution
Key Concept
Offline Windows Command-Line System Repair Sequence