A remote Windows computer experiences recurring system errors following an interrupted update. When a field technician runs the System File Checker utility, the scan reports that corrupted system files were found but could not be repaired because the local side-by-side component store is damaged. The computer lacks internet access to download repair payload files from Windows Update, but a valid Windows installation media ISO is mounted at drive letter D:. Which command should be executed first to repair the component store so that system file replacement can complete successfully?
- dism /online /cleanup-image /restorehealth /source:D:\sources\install.wim /limitaccessAnswer
- Bdism /online /cleanup-image /analyzecomponentstore /source:D:\
- Csfc /scannow /offbootdir=D:\ /offwindir=C:\Windows
- Dsigverif /scan /source:D:\sources\install.wim
Answer
dism /online /cleanup-image /restorehealth /source:D:\sources\install.wim /limitaccess
The command starting with 'dism /online /cleanup-image /restorehealth' accompanied by '/source:D:\sources\install.wim' and '/limitaccess' is correct. DISM repairs the underlying Windows Component Store (WinSxS) repository. When network connectivity is absent, pointing the source flag to a local install.wim file and adding limitaccess instructs DISM to repair the local store directly from the provided ISO without reaching out to Windows Update.
Step-by-Step Solution
Key Concept
Repairing the Windows Component Store with DISM using an offline image source
Estimated Time:1m 15s