Windows 10: Use DISM to Repair Windows 10 Image  

Page 41 of 57 FirstFirst ... 31394041424351 ... LastLast
  1.    10 Apr 2017 #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:

    Click image for larger version. 

Name:	15063 offline RestoreHealth.png 
Views:	1351 
Size:	29.8 KB 
ID:	129262
      My ComputerSystem Spec


  2. Posts : 30,692
    64-bit Windows 10 Pro build 17713
    Thread Starter
       12 Apr 2017 #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.

    Click image for larger version. 

Name:	DISM_at_boot.png 
Views:	1190 
Size:	48.6 KB 
ID:	129788
    Last edited by Brink; 13 Apr 2017 at 09:07.
      My ComputersSystem Spec


  3. Posts : 7,655
    10 Home x64 (1803) (10 Pro on 2nd pc)
       13 Apr 2017 #402

    Brink said: View Post
    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 ComputersSystem Spec


  4. Posts : 2,014
    Windows 3.1 to Windows 10
       13 Apr 2017 #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 ComputerSystem Spec


  5. Posts : 7,655
    10 Home x64 (1803) (10 Pro on 2nd pc)
       13 Apr 2017 #404

    Kyhi said: View Post
    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 ComputersSystem Spec


  6. Posts : 30,692
    64-bit Windows 10 Pro build 17713
    Thread Starter
       13 Apr 2017 #405

    Kyhi said: View Post
    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 ComputersSystem Spec

  7.    16 Apr 2017 #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 ComputerSystem Spec


  8. Posts : 30,692
    64-bit Windows 10 Pro build 17713
    Thread Starter
       16 Apr 2017 #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 ComputersSystem Spec

  9.    16 Apr 2017 #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 ComputerSystem Spec

  10.    20 Apr 2017 #409

    Some news about fixing the problem ? :/

    Click image for larger version. 

Name:	Screenshot (31).png 
Views:	681 
Size:	87.7 KB 
ID:	131075
      My ComputerSystem Spec


 
Page 41 of 57 FirstFirst ... 31394041424351 ... LastLast

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 Xbox Windows Phone


Related Threads
SFC Scannow or DISM/RestoreHealth using Image in Performance & Maintenance
Windows 10 user. Having some trouble with my system after coming back from a weekend. Nothing major...just having trouble playing some games that require plugins etc Regardless if it's related, I just wanted to run an SFC/Scannow or...
Hello, everyone, I've managed to resolve most of my problems with build 10041 by making SFC work. I've opened a thread on Windows Insider's forums explaining how to do it. Check it out:...
I've just upgraded Windows 7 64-bit HP OEM to Windows 10 Technical preview 64-bit. Extracted the install while booted within 7, install went smoothly, opted to keep all my files, and once the install was finished it went to boot Windows 10. It hung...
I installed the 32 bit version of W10 on an old Acer laptop to get back up to speed with developments, and one of the first questions or issues that cropped up is when using W10's disk image utility to make a system image. I deliberately wished to...
Windows 10 TP Repair and Recovery Features in Installation and Upgrade
I'm currently running the 10 TP in a virtual machine. I see that the various boot and repair options can be accessed by <shift> Restart from the desktop, however F8 during boot doesn't appear to work. Can someone who is actually running this on...

Tags for this Thread

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 19:47.
Find Us