A Windows 11 workstation fails to boot following a forced shutdown during a cumulative update installation. An IT technician accesses the Command Prompt within the Windows Recovery Environment (WinRE) to remediate corrupted system files and restore normal startup. Order the following administrative command-line steps sequentially to execute a complete offline repair workflow.
- 1Run diskpart and list volume to confirm the dynamic drive letter assigned to the offline Windows system partition within WinRE.
- 2Execute dism /image:D:\ /cleanup-image /revertpendingactions to remove interrupted update operations blocking system servicing.
- 3Run dism /image:D:\ /cleanup-image /restorehealth /source:E:\sources\install.wim to repair the offline Component Store (SxS) using external media.
- 4Execute sfc /scannow /offbootdir=D:\ /offwindir=D:\windows to replace corrupt protected system files against the restored store.
- 5Run bootrec /rebuildbcd to scan for installed Windows installations and regenerate the Boot Configuration Data store.
Cevap
The correct sequence begins with using Diskpart to identify target partition letters, followed by reverting pending update operations via DISM, repairing the offline Component Store from install media, running System File Checker with offline parameters, and finally rebuilding the Boot Configuration Data using Bootrec.
The sequence follows the standard Windows offline servicing protocol: First, Diskpart confirms actual volume assignments in WinRE. Second, DISM reverts pending update states that block file access. Third, DISM restores the offline Component Store using clean installation media. Fourth, SFC scans and replaces corrupted OS files against the validated Component Store using offline path parameters. Fifth, Bootrec rebuilds the Boot Configuration Data to ensure proper boot sequence execution.
Adım Adım Çözüm
Anahtar Kavram
Offline Windows Recovery Workflow using DISM, SFC, Diskpart, and Bootrec