# HG changeset patch # User Oleksandr Gavenko # Date 1501538435 -10800 # Node ID c3baf557ff0c3f74a73c01af3b15d9d8a0e22938 # Parent b7cd886c07b5cb837ccb82f4eaa38f4b86535b5c Check system files integrity. diff -r b7cd886c07b5 -r c3baf557ff0c windows.rst --- a/windows.rst Wed Dec 19 15:54:27 2018 +0200 +++ b/windows.rst Tue Aug 01 01:00:35 2017 +0300 @@ -79,17 +79,23 @@ How to download updates that include drivers and hotfixes from the Windows Update Catalog. -Check system files integrity. -============================= -:: +Check system files integrity +============================ + +Run check with (utility is available starting from Windows 2000):: cmd> sfc /Scannow -To complete repair you may need original installation CD (you can mount it from -.iso image for example with DemonTools). Look to ``c:/Windows/Logs/CBS/CBS.log`` -for errors and warnings. +Look to ``c:/Windows/Logs/CBS/CBS.log`` for errors and warnings. + +To repair run:: -Works starting from Windows 2000. + dism /Online /Cleanup-image /Scanhealth + dism /Online /Cleanup-Image /RestoreHealth + +If Windows Update is broken you can provide path:: + + dism /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess See: