Use DISM to Repair Windows 10 Image  

Page 19 of 84 FirstFirst ... 917181920212969 ... LastLast

  1. Posts : 134,174
    Windows 11 Pro (x64) 23H2 Build 22631.3296
       #180

    Have you saved a Windows 10 ISO from tech bench? (has to be from Tech Bench)
    (Do Not use the Media Creation Tool !!)
    If yes, please mount it. If not, you will have to download the iso.
    Then go to elevated command prompt and copy/paste this...............
    Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:H:\sources\install.wim:1 /limitaccess
    Note: H is the letter where the iso is mounted. If yours is not H, change it.
    1) Best way is copying the install.WIM from the ISO to a partition, like E:
    2) DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:E:\Install.wim:1 /LimitAccess
      My Computers


  2. Posts : 2,799
    Linux Mint 20.1 Win10Prox64
       #181

    OldMike65 said:
    Much easier to do if you download the right ISO for your windows 10 from Tech Bench. The big difference is in the Install.wim file.....
    Not neccessary have to be install.wim. You can use install.esd also. Read post:
    DISM - Repair Windows 10 Image - Page 16 - Windows 10 Forums
      My Computer


  3. Posts : 118
    Windows 10 Pro
       #182

    topgundcp said:
    Not neccessary have to be install.wim. You can use install.esd also. Read post:
    DISM - Repair Windows 10 Image - Page 16 - Windows 10 Forums
    Well that kinda gets back to my original question. Since I do not have C:\$Windows.~BT but do have C:\ESD\Windows\sources\install.esd can I use it instead of the downloaded MCT ?

    The last time I downloaded Windows 10 ISO for a clean install on the laptop it only took 10 mins. Could have done that several times this evening instead of keeping OldMike busy. Of course that was thru Media Creation Tool, not TechBench.

    So I think have a fairly good idea of how to proceed. Guess there's is no harm in downloading the ISO & running Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:Full Path to install.wim file:1 /limitaccess

    thanks again
    Last edited by dogpark; 06 Feb 2016 at 22:33.
      My Computers


  4. Posts : 118
    Windows 10 Pro
       #183

    Posting back with results in case may be of help to others :0)

    I ran the DISM command & the operation completed successfully. CheckHealth & ScanHealth both came back Healthy, Yay! So apparently there really was corruption.
    Code:
    Windows PowerShellCopyright (C) 2015 Microsoft Corporation. All rights reserved.
    
    PS C:\WINDOWS\system32> Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:K:\sources\install.wim:1 /limitacc
    
    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0
    
    Image Version: 10.0.10586.0
    
    [==========================100.0%==========================]
    The restore operation completed successfully.
    The operation completed successfully.
    PS C:\WINDOWS\system32> Repair-WindowsImage -Online -CheckHealth
    
    
    Path             :
    Online           : False
    ImageHealthState : Healthy
    RestartNeeded    : False
    
    
    PS C:\WINDOWS\system32> Repair-WindowsImage -Online -ScanHealth
    
    
    Path             :
    Online           : False
    ImageHealthState : Healthy
    RestartNeeded    : False
    One note: Altho I downloaded the TechBench ISO to drive letter J: when mounted it showed on drive letter K:? I went to install.wim on the J: drive & using a trick I learned from Edwin = to fetch the 'path' yourself the easiest way is: navigate to the item, Shift/Right Click/Copy as Path and Paste into the dialog but remove the quotation marks.
    The path it copied was in fact K:\sources\install.wim. I was a little confused as to what the full path name to install.wim might be but the Shift/Right Click/Copy as Path and Paste removed all doubt.

    Ran another sfc/ scannow & it did repair successfully this time:
    Code:
    2016-02-07 11:54:49, Info                  CSI    000050c2 [SR] Beginning Verify and Repair transaction2016-02-07 11:54:51, Info                  CSI    00005112 [SR] Verify complete
    2016-02-07 11:54:51, Info                  CSI    00005113 [SR] Repairing 1 components
    2016-02-07 11:54:51, Info                  CSI    00005114 [SR] Beginning Verify and Repair transaction
    2016-02-07 11:54:51, Info                  CSI    00005116 [SR] Repairing corrupted file [l:23 ml:24]"\??\C:\WINDOWS\SysWOW64"\[l:10]"opencl.dll" from store
    2016-02-07 11:54:51, Info                  CSI    00005118 [SR] Repair complete
    2016-02-07 11:54:51, Info                  CSI    00005119 [SR] Committing transaction
    2016-02-07 11:54:51, Info                  CSI    0000511e [SR] Verify and Repair Transaction completed. All files and registry keys listed in this transaction  have been successfully repaired
    Restarted the PC, ran another sfc /scannow & now we happily see Windows Resource Protection did not find any integrity violations.
    So in my case anyway the nVidia driver issue & hash mismatch for opencl.dll was probably best not ignored as I did appear to actually have a problem.

    Thank you ten forums
    :)
    Last edited by dogpark; 04 Mar 2016 at 14:25.
      My Computers


  5. Posts : 134,174
    Windows 11 Pro (x64) 23H2 Build 22631.3296
       #184

    dogpark said:
    Posting back with results in case may be of help to others :0)

    I ran the DISM command & the operation completed successfully. CheckHealth & ScanHealth both came back Healthy, Yay! So apparently there really was corruption.
    Code:
    Windows PowerShellCopyright (C) 2015 Microsoft Corporation. All rights reserved.
    
    PS C:\WINDOWS\system32> Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:K:\sources\install.wim:1 /limitacc
    
    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0
    
    Image Version: 10.0.10586.0
    
    [==========================100.0%==========================]
    The restore operation completed successfully.
    The operation completed successfully.
    PS C:\WINDOWS\system32> Repair-WindowsImage -Online -CheckHealth
    
    
    Path             :
    Online           : False
    ImageHealthState : Healthy
    RestartNeeded    : False
    
    
    PS C:\WINDOWS\system32> Repair-WindowsImage -Online -ScanHealth
    
    
    Path             :
    Online           : False
    ImageHealthState : Healthy
    RestartNeeded    : False
    One note: Altho I downloaded the TechBench ISO to drive letter J: when mounted it showed on drive letter K:? I went to install.wim on the J: drive & using a trick I learned from Edwin = to fetch the 'path' yourself the easiest way is: navigate to the item, Shift/Right Click/Copy as Path and Paste into the dialog but remove the quotation marks.
    The path it copied was in fact K:\sources\install.wim. I was a little confused as to what the full path name to install.wim might be but the Shift/Right Click/Copy as Path and Paste removed all doubt.

    Ran another sfc/ scannow & it did repair successfully this time:
    Code:
    2016-02-07 11:54:49, Info                  CSI    000050c2 [SR] Beginning Verify and Repair transaction2016-02-07 11:54:51, Info                  CSI    00005112 [SR] Verify complete
    2016-02-07 11:54:51, Info                  CSI    00005113 [SR] Repairing 1 components
    2016-02-07 11:54:51, Info                  CSI    00005114 [SR] Beginning Verify and Repair transaction
    2016-02-07 11:54:51, Info                  CSI    00005116 [SR] Repairing corrupted file [l:23 ml:24]"\??\C:\WINDOWS\SysWOW64"\[l:10]"opencl.dll" from store
    2016-02-07 11:54:51, Info                  CSI    00005118 [SR] Repair complete
    2016-02-07 11:54:51, Info                  CSI    00005119 [SR] Committing transaction
    2016-02-07 11:54:51, Info                  CSI    0000511e [SR] Verify and Repair Transaction completed. All files and registry keys listed in this transaction  have been successfully repaired
    Restarted the PC, ran another sfc /scannow & now we happily see Windows Resource Protection did not find any integrity violations.
    So in my case anyway the nVidia driver issue & hash mismatch for opencl.dll was probably best not ignored as I did appear to actually have a problem.

    Thank you ten forums
    :)
    That is Great News!!! Glad everything worked out for you, and thanks for reporting back too!!!
      My Computers


  6. Posts : 17
    Windows 10 Pro x64
       #185

    lx07 said:
    The install.wim you get in the ISO from the media creation tool does not work (you still get an install.wim not an .esd - but it is compressed and fails with 0x800f081f "The source files could not be found").

    You need to download the ISO from Tech Bench to use the /source option in dism.

    You could try using that one and see if it helps...
    Would like to say thank you, this solves my problem. I have corruption no matter how many clean installs I have done (Because of the NVIDIA driver I'm assuming - I have a GTX 970)

    Download the tech bench, and use the install.esd as /source.
      My Computer


  7. Posts : 5,478
    2004
       #186

    JacobDrivers said:
    Would like to say thank you, this solves my problem. I have corruption no matter how many clean installs I have done (Because of the NVIDIA driver I'm assuming - I have a GTX 970)

    Download the tech bench, and use the install.esd as /source.
    Don't overstate it.

    Even if you do a clean install without Nvidea you'll still have the same issue (I have a 2 MacBook Pro, one with AMD, one with built in Intel and a Lenovo X201 with only Intel Graphics)

    All had the same issue.

    For me I don't care and I can easly fix it. For others who do have NVidea (like @OldMike65) you have to copy back the larger .dll

    It isn't tricky but I didn't give the answer (thanks all the same) - only if you didn't use that type of GPU.
      My Computer


  8. Posts : 134,174
    Windows 11 Pro (x64) 23H2 Build 22631.3296
       #187

    lx07 said:
    Don't overstate it.

    If you do a clean install without Nvidea you'll stll have the same issue (I have a 2 MacBook Pro, one with AMD, one with built in Intel and a Lenovo X201 with only Intel Graphics)

    All had the same issue.

    For me I don't care and I can easly fix it. For others who do have NVidea (like @OldMike65) you have to copy back the larger .dll

    It isn't tricky but I didn't give the answer (thanks all the same) - only if you didn't use that type of GPU.
    Yes that is correct on the opencl.dll problem, but now I don't copy the opencl file back anymore, as anytime you run sfc /scannow windows will remove it everytime. I have found out, at least for me, I see no difference if you copy it back, or let windows remove it. Hopefully Nvidia and MS will get together on this bug, as its been like this for last 3 months.
      My Computers


  9. Posts : 5,478
    2004
       #188

    OldMike65 said:
    I see no difference if you copy it back, or let windows remove it.
    That is interesting. I know for a fact it makes no difference if you have (an old) AMD or Intel GPU like me. Are you saying opencl.dll makes no difference even if you NVidea?

    If so everyone has been crying like babies over one .dll when it changes ABSOLUTELY NOTHING. IT MAKES NO DIFFERENCE.

    Please Microsoft give us another problem (ideally one that makes a difference one way or the other)..
      My Computer


  10. Posts : 134,174
    Windows 11 Pro (x64) 23H2 Build 22631.3296
       #189

    lx07 said:
    That is interesting. I know for a fact it makes no difference if you have (an old) AMD or Intel GPU like me. Are you saying opencl.dll makes no difference even if you NVidea?

    If so everyone has been crying like babies over one .dll when it changes ABSOLUTELY NOTHING. IT MAKES NO DIFFERENCE.

    Please Microsoft give us another problem (ideally one that makes a difference one way or the other)..
    It actually does more than that, meaning running sfc /scannow. Scannow removes 1 of the opencl.dll files completely, then changes 2 others to the MS versions. I will post 2 pics showing the difference, notice the file sizes AND dates. The ones with the dates 10/30/2015 are all MS versions of Opencl.dll The ones with the newer file dates are Nvidia's
    1st pic is what happens after you run sfc 2nd pic is what they look like BEFORE MS changes them. :)

    Use DISM to Repair Windows 10 Image-opencl.png

    Use DISM to Repair Windows 10 Image-opencl2.png

    I know these are older Nvidia drivers, not the latest, but the results are always the same. :)
      My Computers


 

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 02:01.
Find Us




Windows 10 Forums