Soru

Zorluk: OrtaResolving System File Corruption and Driver Issues

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?

  1. Run `dism /image:C:\ /cleanup-image /restorehealth /source:wim:D:\sources\install.wim:1 /limitaccess` to repair the offline component store from local media.Cevap
  2. Run `sfc /scannow /offbootdir=C:\ /offwindir=C:\windows` after component store repair to verify and replace corrupted system files.Cevap
  3. C
    Run `sfc /scannow /online /cleanup-image` to automatically retrieve replacement binaries directly from the local WinRE ramdisk.
  4. D
    Launch Device Manager from the command prompt using `devmgmt.msc` to select the Roll Back Driver option on the system partition.

Cevap

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.

Adım Adım Çözüm

1
Repair the offline servicing image using DISM
The Windows Component Store (WinSxS) on the target system drive is successfully repaired using the verified install.wim file from the local USB media.
SFC relies on a healthy Component Store to restore damaged protected system files. Without internet access, DISM requires a local source WIM and the limitaccess switch.
2
Run SFC with offline parameters targeting the OS directory
SFC scans system integrity and replaces damaged OS binaries using the newly repaired component store.
Standard sfc /scannow targets the active running OS; offline WinRE repair requires explicitly defining /offbootdir and /offwindir.

Anahtar Kavram

Resolving System File Corruption and Driver Issues using DISM and SFC in Offline Environments
Bu soruyu puanla