Random freezes, sfc /scannow can't repair some files

Page 1 of 2 12 LastLast

  1. Posts : 15
    Windows 10 64x
       #1

    Random freezes, sfc /scannow can't repair some files


    Windows 10 Version: 1909 (OS Build 18363.752)

    Few weeks ago I noticed my laptop randomly freezes - I can't do anything when this happens and my only option is to shut it off using the button (which isn't a great idea obviously)
    It's happened maybe 4 times so far, once when I wasn't even using it, I just came back to find it completely frozen up.
    I Googled around a little and found some basic steps which led to me running the DISM and sfc /scannow command. Not sure what DISM did, if anything, but sfc /scannow found some unrepairable files:
    Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log.

    I think I managed to get the CBS.log error details through some command I found: sfcdetails.txt (I've also attached the .txt file to the post)

    I see these errors but I don't know what they mean Please help if you can, I'd like to avoid doing a system reinstall for this sfcdetails.txt
      My Computer


  2. Posts : 5,330
    Windows 11 Pro 64-bit
       #2

    Have you executed Dism /Online /Cleanup-image /Restorehealth command?
      My Computer


  3. Posts : 15
    Windows 10 64x
    Thread Starter
       #3

    FreeBooter said:
    Have you executed Dism /Online /Cleanup-image /Restorehealth command?
    Yes, it does this and I'm not sure if it's done


    EDIT

    It just finished
      My Computer


  4. Posts : 5,330
    Windows 11 Pro 64-bit
       #4

    Is Windows Update working check for update.


    Code:
    DISM /Online /Cleanup-Image /RestoreHealth

    The above command will not work if Windows Update service not working correctly. You will be prompted to use /source parameter to specify the location of the files that are require to restore the damage or missing files.




    The Install.wim is the source of where these corrupted or missing files located.
    The Windows Imaging Format (WIM) is a file-based disk image format. It was developed by Microsoft to help deploy Windows Vista and subsequent versions of Windows operating system family.
    The following command can be executed to extract corrupted or missing Windows Component Store files.

    Code:
    DISM  /Online  /Cleanup-Image   /RestoreHealth     /Source:WIM:X:\Sources\Install.wim:1    /LimitAccess
    Replace the X:\Sources folder path with a folder path where Install.wim image file is stored.
    The /LimitAcess parameter tells DISM utility to not to use Windows Update service to retrieve corrupted or missing files.
    The /Index parameter tells DISM utility to retrieve the corrupted or missing files from which edition of Windows OS. The Install.wim file can contain more than one edition of the Windows OS. You can execute following command to found out index number of your Windows OS edition that you want to repair.

    Code:
    Dism  /Get-WimInfo  /Wimfile:"L:\sources\install.wim"


    Replace the L:\sources with directory path where Install.wim stored. As you can see there is two editions of Windows 10 and all have index number.
      My Computer


  5. Posts : 15
    Windows 10 64x
    Thread Starter
       #5

    FreeBooter said:
    Is Windows Update working check for update.
    Win Updates are working fine.
    It usually installs Win Defender update every time I check, but big ones come through as well
      My Computer


  6. Posts : 5,330
    Windows 11 Pro 64-bit
       #6

    You can use Install.wim image file to repair corrupted system files.

    Use DISM to Repair Windows 10 Image
      My Computer


  7. Posts : 15
    Windows 10 64x
    Thread Starter
       #7

    FreeBooter said:
    You can use Install.wim image file to repair corrupted system files.

    Use DISM to Repair Windows 10 Image
    Thank you, I tried quite a few options there but kept getting errors in spite of using the original ISO. I'll just reinstall (or perhaps even use refresh option) my OS and hopefully solve the issue like that :)
      My Computer


  8. Posts : 5,330
    Windows 11 Pro 64-bit
       #8
      My Computer


  9. Posts : 915
    Windows 10 Pro 64bit 22H2 19045.3324
       #9

    A long shot, but sometimes you need an internet connection or you'll get that message about source files not being found:

    "Running Dism /Online /Cleanup-Image /RestoreHealth while disconnected from the internet reports 'The source files could not be found' so yes, internet connection is required."

    Many unrepairable corrupted Defender files found by sfc /scannow
      My Computers


  10. Posts : 15
    Windows 10 64x
    Thread Starter
       #10

    Farvatten said:
    A long shot, but sometimes you need an internet connection or you'll get that message about source files not being found:

    "Running Dism /Online /Cleanup-Image /RestoreHealth while disconnected from the internet reports 'The source files could not be found' so yes, internet connection is required."

    Many unrepairable corrupted Defender files found by sfc /scannow
    I am connected, so that's not the issue sadly :/ But thanks for the info
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:46.
Find Us




Windows 10 Forums