Expert: Windows X Pro Image Corruption: Even after reinstall from ISO

Page 1 of 3 123 LastLast

  1. Posts : 10
    Windows 10nPro
       #1

    Expert: Windows X Pro Image Corruption: Even after reinstall from ISO


    Desperate assistance needed please: I have upgraded directly from a Windows Ten Pro ISO downloaded directly from Microsoft, but both sfc /scannow and Dism "restore heallth" run from an elevated prompt report that they cannot repair the image errors. Windows help desk simply says to "reset" from Update and Security from the Settings menu, but this machine was running CLEAN Windows 8.1 (sfc /scannow or DISM commmands reported no errors) and resetting as they suggest will (at a minimum) mean that all of my installed software will be entirely lost.

    I am desperate for a person proficient in restoring the integrity of a Windows Ten Pro image (have tried BOTH reinstalling directly from the downloaded ISO (multiple times and from re-downloaded ISO's and doing in-place upgrades). Both methods report the same errors upon reinstallation or in-place upgrade methods.

    The running image is corrupt, corrupt, corrupt. Please...please tell me the command(s) to restore it to health, as was the case with the previous clean 8.1 that was running before the upgrade???

    Both Sfc /scannow and DISM restorehealth report that the image is repairable, but it is beyond my understanding how to do do. Please...please help??

    I beg you..

    Thank you kindly and sincerely,

    BB
      My Computer


  2. Posts : 5,169
    64bit Win 10 Pro ver 21H2
       #2

    Have you checked the CBS.log to see which files are corrupt? There is a known problem that if you have an NVidia graphics card the driver causes a file called opencl.dll to change and it no longer matches the W10 version. This causes sfc to signal it as a corrupt file. If this is your only error I would not be concerned.

    While you could change it back to the W10 version I do not feel that this is necessary and I believe W10 will address this inconsistency in a future update.

    There are a lot of threads about this. Some information can be found here: SFC some corrupt files can not be fixed


    Of course if you have other errors then we can take this further, you will need to run the DISM tool.

    https://www.tenforums.com/tutorials/7...-10-image.html
      My Computers


  3. Posts : 10
    Windows 10nPro
    Thread Starter
       #3

    Expert: Windows X Pro Image Corruption: Even after reinstall from ISO


    @philc43: Thank you so kindly for your quick reply.

    The first suggestion to examine the CBS.log is unfortunately not something I am able to interpret for errors. The display adapter you mention appears to be Intel, rather than nVidia, I believe?

    I have attached the latest cbs.log run a few minutes ago from an elevated command prompt for sfc /scannow if you will please review?
    -----------------------------------

    The second attachment is also from an elevated prompt using the command "Dism /Online /Cleanup-Image /restorehealth" The other DISM commands I have seen asked to be run, "scanhealth" and "checkhealth" both report that the image is repairable, but "restorehealth" fails. I also ask for review/repair help here as well please?

    ------------------------------------------------

    I should have mentioned initially that also...NONE of the store or its "apps" (Skype, Edge, etc.) will open/function...and give only some kind of error that they cannot be opened with the "built-in Administrator Account". Perhaps that is comparable in some ways to the other errors mentioned?

    -----------------------------------------------

    Thanks so very kindly,

    BB
      My Computer


  4. Posts : 5,169
    64bit Win 10 Pro ver 21H2
       #4

    Ok, now that we have ruled out a false signal from the nVidia adaptor it looks like you do need to try and repair the corrupt files. Please refer to the DISM tutorial I included in my previous post and run Option 1, step 6. As indicated you will need to download the ISO file which matches your system (you have the W10N PRO version, probably 64bit and English but it could be English international if you are not in the US). Mount the ISO file so that it gets a drive letter by which you can address it to identify the source location of the install.wim file for the DISM command.

    This can take a while and then you can restart and try the sfc command again.

    Take your time and check everything via the tutorials if you can, post back to let us know how you get on.
      My Computers


  5. Posts : 10
    Windows 10nPro
    Thread Starter
       #5

    Expert: Windows X Pro Image Corruption: Even after reinstall from ISO


    Okay so far:

    I have again "re-downloaded the Windows 10 Pro 64 image directly from MS using the only allowed defaults provided with their "download tool" (the "N" in previous posts was a typo so does not apply), and stored it on my desktop.

    I mounted it as drive F, according to the instructions on the DISM page you provided the link to.

    *According to step 7, of option 1, I am prepared to use the "install.esd" file from the Sources folder of that image to attempt the restore, instead of step 6, because according to instructions on that same page, I should use that file instead of "install.wim", when my ISO contains that file (not install.wim).*

    Last, I am prepared to execute the DISM command using drive F as the mounted drive for that image, however I apologize I do not understand how to execute the command properly given what is pasted below (I pasted that entire step 7 of option 1, not knowing what part may or may not be used.

    Specifically, I do not understand exactly how to write the command for it to execute properly...do you see? I do not understand the full path line of the command, especially the part in red. It is beyond me...so I am hoping you will provide the exact "****" command to paste in the elevated prompt to accomplish the image "restorehealth"?

    Please do not be "afraid" (given my explanation before that the store and any other app(s) do not function), to do "more" repair than may be necessary, if it will just put it the way its supposed to be, before I upgraded from a perfectly clean 8.1 image that was giving no problems at all beforehand. Perhaps to be safe, I can do just the command you suggest, and if any remaining errors remain after sfc /scannow, etc., I can post the new logs, and we might address those (if any) at that time?

    I am really counting on this....hoping hoping hoping!:) And thank you so very kindly!
    -----------------------------------------------------------------------------------------------------------

    7. To Use DISM /RestoreHealth /Source:esd Command

    Note

    You would use /Source with /RestoreHealth to specify the location of an install.esd file as the source of known good versions of files that can be used for the repair. This can take around 10-15 minutes up to a few hours to finish depending on the level of corruption. It will stay at 20% for a while before continuing.

    This can be useful if step 5 above was not able to repair the Windows image (component store).


    The install.esd file will be in the Sources folder of a mounted Windows 10 ISO from Microsoft TechBench (use ISO from OPTION ONE at link) file. (I don't know if the download tool uses Microsoft TechBench as the source?)

    If you have an install.wim file instead of install.esd, then you would need to use step 6 above instead.



    A) In the elevated command prompt, type the command below you want to use, press Enter, and go to step 8 below. (see screenshot below)

    Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:Full Path to install.esd file:1

    OR

    (To prevent DISM from using Windows Update for online images)
    Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:Full Path to install.esd file:1 /limitaccess

    For example:

    Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:C:\$Windows.~BT\Sources\Install.esd:1 /limitaccess

    OR

    (USB from Media Creation Tool where E is drive letter of USB)
    Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:E:\Sources\Install.esd:1 /limitaccess
      My Computer


  6. Posts : 150
    Windows 10 Pro
       #6

    This is from Davidhk. Its a system restore health using an ISO
    This method requires you to have an iso downloaded from Tech Bench. You need techbench for the esd file

    https://www.microsoft.com/en-us/soft...load/techbench
    Once you have it downloaded from Tech Bench (just save it to your download folder) go to that download, right click on it > click Mount> leave it there.
    Now go into my PC and see what the drive letter of the mount is...this is important
    Now go back to your elevated command prompt (Admin), at the flashing prompt, copy/paste this command line......................
    Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:d:\sources\install.wim:1 /limitaccess
    Note :d is the drive where the iso is mounted. Change it if your driver letter is different.
    When it is completed, you should get the report that the operation is successful.
    Now run the sfc /scannow again. It should be ok this time and fix corrupted files.
    You may have to run the sfc scan a few times for it to fix all files
      My Computer


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

    You've already mounted the ISO in F: Drive. Double check under F:\sources:
    If you have install.wim then use this syntax:
    DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:F:\sources\Install.wim:1 /LimitAccess

    If you have install.esd then use this syntax:
    DISM /Online /Cleanup-Image /RestoreHealth /Source:ESD:F:\sources\Install.esd:1 /LimitAccess

    NOTE:
    Just copy and paste the command into the Admin command and run
      My Computer


  8. Posts : 5,169
    64bit Win 10 Pro ver 21H2
       #8

    Sorry @Bondbeau, I was unavailable for a while. @topgundcp has provided the exact command you need to use. It will be the second one as you have the .esd file.
      My Computers


  9. Posts : 10
    Windows 10nPro
    Thread Starter
       #9

    Expert: Windows X Pro Image Corruption: Even after reinstall from ISO


    Please confirm:

    I have differing instructions....2 say the same and 1 says something else.

    As a result

    1. I am currently downloading the Tech Bench ISO version recommended by @AnEdge (the link provided was dead/404 by the way).

    2. @philc43 and @topgundcp say I already have the correct ISO downloaded using the MS download tool, and to use the syntax for the "install.esd" command.

    Apologies...but I do not have the knowledge to distinguish what to me are indecipherable details...so I just want to run the correct command and not take a chance on making things worse.

    At present, I lean toward @philc43 et al, except that the original page they all reference, does say the source iso should be from "Tech Bench" (if there's a difference?)...so please...may I have clarification before trying anything?

    Thank everyone so kindly for your generous assistance!
      My Computer


  10. Posts : 150
    Windows 10 Pro
       #10

    https://www.microsoft.com/en-us/soft...load/techbench

    Just follow Davidhk's post that I sent you...it will work fine
      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 07:02.
Find Us




Windows 10 Forums