Soru

Zorluk: Çok zorResolving System File Corruption and Driver Issues

A remote field technician is repairing a Windows 11 workstation at an isolated site without internet connectivity. The system experiences persistent file corruption and fails to boot into Windows. When attempting to repair system files using System File Checker from the Windows Recovery Environment (WinRE) Command Prompt (`sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows`), the tool reports that corrupt files were detected but could not be repaired because the local side-by-side component store (WinSxS) is damaged. The technician inserts a USB drive containing an official Windows installation media image located at `E:\sources\install.wim`. Which of the following DISM commands should the technician execute FIRST to successfully repair the component store before re-running SFC?

  1. dism /image:C:\ /cleanup-image /restorehealth /source:E:\sources\install.wim /limitaccessCevap
  2. B
    dism /online /cleanup-image /analyzecomponentstore /resetbase
  3. C
    sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows /revert
  4. D
    chkdsk C: /f /r /x

Cevap

dism /image:C:\ /cleanup-image /restorehealth /source:E:\sources\install.wim /limitaccess
When system file corruption cannot be repaired by SFC due to component store damage in an offline WinRE environment, DISM must be executed first to restore the store integrity. The command must specify `/image:C:\` to target the offline system partition, `/cleanup-image /restorehealth` to initiate repair, `/source:E:\sources\install.wim` to specify the clean payload source on the USB media, and `/limitaccess` to prevent DISM from attempting to contact Windows Update without network connectivity.

Adım Adım Çözüm

1
Identify the environment and the constraint
The system is offline in WinRE, meaning DISM must target the offline Windows installation (`/image:C:\`) rather than `/online`.
Online switches require a booted operating system instance and network access to Windows Update.
2
Specify the repair source and access limitation
Use `/restorehealth` along with `/source:E:\sources\install.wim` and `/limitaccess`.
Since the local WinSxS store is damaged and no internet access is available, DISM requires a clean local media source (`install.wim`) and `/limitaccess` to prevent network lookup timeouts.
3
Re-run SFC repair after component store restoration
Once DISM reports success, execute `sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows`.
SFC relies on a healthy WinSxS component store to substitute damaged system files.

Anahtar Kavram

Offline DISM Component Store Repair Sequence
Tahmini Süre:1m 30s
Bu soruyu puanla