An IT technician is servicing an offline Windows workstation in a secure facility that cannot boot into the desktop environment after a corrupted system update. Working from the Windows Recovery Environment (WinRE) Command Prompt with an attached USB drive containing valid installation media (`D:\sources\install.wim`), the technician needs to repair the corrupt offline Windows installation located on drive C:. Which TWO of the following command-line operations must the technician perform to properly repair the component store and fix corrupted system files?
- Run `dism /image:C:\ /cleanup-image /restorehealth /source:wim:D:\sources\install.wim:1 /limitaccess` to repair the offline component store from local media.Answer
- Run `sfc /scannow /offbootdir=C:\ /offwindir=C:\windows` after component store repair to verify and replace corrupted system files.Answer
- CRun `sfc /scannow /online /cleanup-image` to automatically retrieve replacement binaries directly from the local WinRE ramdisk.
- DLaunch Device Manager from the command prompt using `devmgmt.msc` to select the Roll Back Driver option on the system partition.
Answer
The technician must execute the DISM command specifying the offline image directory along with a local WIM source and limitaccess switch, followed by running the System File Checker with offbootdir and offwindir switches targeting the offline Windows path.
When servicing an offline Windows installation that cannot connect to Windows Update, DISM must be pointed to the target Windows partition (/image:C:\) and a valid local installation image (/source:wim:...) with /limitaccess. After restoring the Component Store's integrity, System File Checker must be invoked with /offbootdir and /offwindir to scan and restore protected system files on the offline drive.
Step-by-Step Solution
Key Concept
Resolving System File Corruption and Driver Issues using DISM and SFC in Offline Environments