Use DISM to Repair Windows 10 Image  

Page 41 of 84 FirstFirst ... 31394041424351 ... LastLast

  1. Posts : 119
    Windows 10
       #400

    Here is how DISM offline repair looks. Boot with Windows 10 version 1703 Official install media (mine has both x86 and x64). Use SHIFT-F10 to get a Command Prompt. Create a folder called C:\Scratch. Run this command (for Home Edition -- Pro would use "...install.esd:1"):
    Code:
    DISM /Image:C:\ /Cleanup-Image /RestoreHealth /Source:ESD:D:\x64\sources\install.esd:2 /ScratchDir:C:\Scratch
    Below was done on version 1703 Windows 10 Home:

    Use DISM to Repair Windows 10 Image-15063-offline-restorehealth.png
      My Computer


  2. Posts : 68,952
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #401

    warning   Warning
    Nevermind. This option doesn't work. It doesn't get applied to the online Windows.



    Thank you @DonCuthbert for the at boot option. :)

    Here's an addition to what you posted for running DISM at boot. What do you think?

    I thought it may be a good idea to use "list volume" with the "diskpart" command first to verify the drive letters of the Windows and USB drives.

    Not specifying a scratch directory would have the command use the Temp directory by default instead. I didn't have an issue by not specifying a scratch directory, so I'm not sure it's an absolute necessity.

    If it works out well for others, I'll add this as another option in the tutorial.

    Use DISM to Repair Windows 10 Image-dism_at_boot.png
    Last edited by Brink; 13 Apr 2017 at 09:07.
      My Computers


  3. Posts : 31,657
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #402

    Brink said:
    If it works out well for others, I'll add this as another option in the tutorial.
    Works for me...

    Code:
    D:\>dism /image:e:\ /cleanup-image /restorehealth /source:esd:d:\x86\sources\install.esd:1 /scratchdir:e:\scratch
    Deployment Image Servicing and Management tool
    Version: 10.0.15063.0
    Image Version: 10.0.15063.0
    [==========================100.0%==========================] The restore operation completed successfully.
    The operation completed successfully.
    Running DISM online afterwards still fails though, reporting 'The component store is repairable' for /scanhealth and 'The source files could not be found' for /Restorehealth.
      My Computers


  4. Posts : 4,143
    Windows 3.1 to Windows 11
       #403

    Check the "C:\Windows\Logs\CBS\CBS.log"
    that CBS.log will tell you which file is being flagged as corrupt...
    that file is missing from the Installation image, but the reference to it is within online windows. (registry probably)

    the offline repair works (or seems to) because it is not looking (at the registry) for the reference in the installation image

    It is a problem MS has created and for MS to fix. fight-signing package (or the likes there of, that is)
      My Computer


  5. Posts : 31,657
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #404

    Kyhi said:
    Check the "C:\Windows\Logs\CBS\CBS.log"
    that CBS.log will tell you which file is being flagged as corrupt...
    That has been looked at in some depth on this thread....
    Creators update component store shows corruption but unable to repair
      My Computers


  6. Posts : 68,952
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #405

    Kyhi said:
    Check the "C:\Windows\Logs\CBS\CBS.log"
    that CBS.log will tell you which file is being flagged as corrupt...
    that file is missing from the Installation image, but the reference to it is within online windows. (registry probably)

    the offline repair works (or seems to) because it is not looking (at the registry) for the reference in the installation image

    It is a problem MS has created and for MS to fix. fight-signing package (or the likes there of, that is)
    It not being applied to the online Windows is what I was starting to suspect as well.

    I sure hope Microsoft gets this fixed soon.
      My Computers


  7. Posts : 1,523
    windows 10 PRO
       #406

    My PC keeps shutting down randomly with the windows has found an error or something like that and will restart in 1 minute, but not apparently in safe mode.....So going to try DISM method I have the install.esd file from a downloaded windows 10 iso, but the line
    Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:C:\$Windows.~BT\Sources\Install.esd:1 /limitaccess confuses me.....what is the ~BT for....? also $Windows.
      My Computer


  8. Posts : 68,952
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #407

    Hey Steve, :)

    The $WINDOWS.~BT folder contains your previous Windows installation. These files are used to downgrade to a previous version/build of Windows.
      My Computers


  9. Posts : 1,523
    windows 10 PRO
       #408

    Hello, I thought this procedure repaired replaced files.....I downloaded a new ISO, so can't I use this ?

    thanks

    found this from Microsoft technet
    Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess

    doesmt mention an esd file, or does it specify the folder it is in ?
    Last edited by reddwarf4ever; 16 Apr 2017 at 13:36.
      My Computer


  10. Posts : 34
    Windows 10 PRO 64 Bit
       #409

    Some news about fixing the problem ? :/

    Use DISM to Repair Windows 10 Image-screenshot-31-.png
      My Computer


 

Tutorial Categories

Use DISM to Repair Windows 10 Image Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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 13:29.
Find Us




Windows 10 Forums