Zend certified PHP/Magento developer

Does DISM CheckHealth need either internet or Windows ISO to give an accurate result?

Using an elevated command prompt, on a PC without an internet connection or a downloaded Windows 10 ISO, I entered:

Dism /Online /Cleanup-Image /CheckHealth

It takes a few seconds, with the result:

No component store corruption detected. The operation completed successfully.

How does it know it is not corrupted, when it has no access to Windows Update nor an ISO to check against?

(I would like to know I can trust this result.)

Background:

  • SFC VerifyOnly said: “Windows Resource Protection found integrity violations.”

  • Before using SFC ScanNow I wanted to check for corrupted files with DISM.

  • I have a Windows 10 ESD-ISO DVD, however Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:E:sourcesinstall.esd:1 /limitaccess does not access the DVD. It gives the result “The restore operation completed successfully. The operation completed successfully.” without spinning the DVD.

  • I used SFC (after scans for malware, with none found) because Windows Firewall keeps turning off and won’t turn back on. After the PC is restarted the firewall is back on.