Soru

Zorluk: ZorResolving System File Corruption and Driver Issues

A cybersecurity analyst's workstation experiences recurring application failures following an unexpected shutdown. When executing `sfc /scannow` in an elevated Command Prompt, the utility reports that it found corrupt files but was unable to fix some of them because the local component store is also corrupted. The workstation is in an isolated subnet with no access to Windows Update online servers, but a verified Windows installation image is available on a local network share path (`\\deploy\images\install.wim`). Which command must the technician execute to repair the component store before running SFC again?

  1. dism /online /cleanup-image /restorehealth /source:wim:\\deploy\images\install.wim:1 /limitaccessCevap
  2. B
    sfc /scannow /offbootdir=c:\ /offwindir=c:\windows
  3. C
    dism /online /cleanup-image /analyzecomponentstore
  4. D
    chkdsk C: /f /r

Cevap

dism /online /cleanup-image /restorehealth /source:wim:\\deploy\images\install.wim:1 /limitaccess
When System File Checker (SFC) cannot repair corrupted system files, it indicates that the local component store (`C:\Windows\WinSxS`) is corrupted. The Deployment Image Servicing and Management (`dism`) utility with the `/restorehealth` parameter must be used to fix the component store. Because the system is on an isolated network without Windows Update access, the `/source` switch pointing to a valid Windows Image (`install.wim`) along with `/limitaccess` must be specified to direct DISM to use the specified local file rather than attempting to connect to public Microsoft servers.

Adım Adım Çözüm

1
Identify the root cause of the System File Checker (SFC) repair failure.
SFC relies on the local component store (WinSxS) to replace corrupted system files. If SFC fails to repair files, the component store itself is corrupted.
SFC cannot repair files if its source library (WinSxS) contains damaged component files.
2
Determine the environment constraints for repair.
The machine has no internet connectivity to reach Windows Update servers, requiring a local or network source file.
By default, DISM attempts to download clean files from Windows Update unless instructed otherwise.
3
Formulate the correct DISM repair command line.
Use `dism /online /cleanup-image /restorehealth` along with `/source:wim:<path>:1` to target the local image and `/limitaccess` to prevent online fallback attempts.
This repairs the component store offline/locally, allowing a subsequent `sfc /scannow` execution to succeed.

Anahtar Kavram

Deployment Image Servicing and Management (DISM) Repair with Alternate Source
Bu soruyu puanla