How to set up a source for A repair via DISM

Page 1 of 2 12 LastLast

  1. Posts : 75
    Win 10-64 Home
       #1

    How to set up a source for A repair via DISM


    I have some corrupted Op Sys files in my desktop that cannot be repaired via SFC/scannow and am trying to do so by DISM using the windows folder in my laptop but I cannot figure out how to use the source option to repair my desktop. I have perused the DISM.exe /? info but it is too dense for me. The pages from MS help do not help either and have me wondering if what examples they show really work. The insert below is where I started but I have tried many different ideas the last two days and am rather frustrated.

    I am hoping to avoid a repair install as this will take a coupled weeks getting all my programs up and running and this is not the time of yea to be able to do so easily.

    How to set up a source for A repair via DISM-clipboard01.jpg

    Any help would be appreciated.
      My Computer


  2. Posts : 4,224
    Windows 10
       #2

    According to most experts here at TenForums, one good way to make sources available to DISM is to download a Win10 ISO that matches the installation to be repaired (VERY IMPORTANT: must be same type [home, pro, enterprise, education], bittedness [x86/32-bit, x64/64-bit], base language, and major build [1507, 1511, or 1607]). Then you can mount that ISO as a drive (let's say it's drive J: for the purposes of the example I'm about to provide). Here's what the syntax for the /restorehealth version that points to that /source will look like:

    dism /online /cleanup-image /restorehealth /source:WIM:J:\sources\install.wim:1

    See the DISM - Repair Windows 10 Image - Windows 10 Tutorials for more information. It will set you straight.
    HTH,
    --Ed--
      My Computers


  3. Posts : 42,979
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #3

    ... and if DISM doesn't fix it, then an in-place upgrade repair install leaves most settings and all programs and data as they should be.

    There are possible issues if you've changed the language, and the updates from the base build need redoing. Certainly shouldn't take a huge effort to sort out once done.
      My Computers


  4. Posts : 75
    Win 10-64 Home
    Thread Starter
       #4

    Ed; I tried twice to follow your advice but failed. The shortcut is better than what I found earlier, MS sure can make explanations complicated. MS must give all the possibilities which is fine for a person with experience. I copied your example changing the Drive to "D", my DVD/CD drive. Can I use this drive?

    Besides the two pictures I have attached a copy of my DISM.log file.

    How to set up a source for A repair via DISM-capture.jpg How to set up a source for A repair via DISM-capture0.jpg

    Attachment 114195
      My Computer


  5. Posts : 75
    Win 10-64 Home
    Thread Starter
       #5

    FYI I came to the understanding that I had to repair gradually over a couple months time after which I no longer had a good backup to restore. MalewareBytes became corrupted every few weeks, SuperAntiSpyware corrupted or failed to work properly occasionally. Windows installer (msiexec) was messed up and left a popup on booting up, something I only do on updates but this was nothing but a minor thing. plus a few other things.

    From now on I will keep a backup copy of every major update until the next major update. And also keep more backups between.
      My Computer


  6. Posts : 75
    Win 10-64 Home
    Thread Starter
       #6

    dalchina said:
    ... and if DISM doesn't fix it, then an in-place upgrade repair install leaves most settings and all programs and data as they should be.

    There are possible issues if you've changed the language, and the updates from the base build need redoing. Certainly shouldn't take a huge effort to sort out once done.
    I did something that I thought was an in-place upgrade repair some time back but after doing I had to reinstall all my programs. This took three 9-5 days and then about two more weeks on and off to get everything back as I wanted things to be.

    I will have to look at this again as doing so in a manner that keeps my programs sure would take less time than I have spent presently.
      My Computer


  7. Posts : 42,979
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #7

    I'd guess you did a reset or refresh rather than an in-place upgrade repair.
    Repair Install Windows 10 with an In-place Upgrade

    To do an in-place upgrade repair e.g:
    - boot to normal mode
    - put a Win 10 DVD in your DVD drive
    - run setup.exe from the disk.

    (Or mount the iso, or use a flash drive... )
      My Computers


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

    Double check if you have install.wim or install.esd file under D:\Sources. If it is an esd file then use this syntax:
    DISM /Online /Cleanup-Image /RestoreHealth /Source:ESD:D:\sources\Install.esd:1 /LimitAccess
      My Computer


  9. Posts : 4,224
    Windows 10
       #9

    Yes, good point about the .esd stuff. Otherwise, my guess is that the image in the /source directory is not the same version and language as the one on your boot/system disk. As I said before, these must match for repair to work.
    HTH,
    --Ed--
      My Computers


  10. Posts : 75
    Win 10-64 Home
    Thread Starter
       #10

    topgundcp said:
    Double check if you have install.wim or install.esd file under D:\Sources. If it is an esd file then use this syntax:
    DISM /Online /Cleanup-Image /RestoreHealth /Source:ESD:D:\sources\Install.esd:1 /LimitAccess
    This idea spilled the beans. 1st; The iso file I burned to disk did not burn. It was blank. Now I have burned some .iso's via the MediaCreationtool and have three old ones in my pile of disks. On burning another I noticed a new (to me) line on the top left corner of the window about opening my disk to burn. The last few times I have just clicked on the Finnish button and all was OK. 2nd, after another failure with DISM I looked at the update Status within "Settings> Update and Security" and I had a failed update (KB3206632) - Error 0x800f081f. As far as I can see this is going around in a endless circle. I need to get the update but cannot because my source does not match what is in the computer to repair the update problem (and others).

    I would have liked to go through this process just to learn. I am 77 and use this computer to keep my mind working. I have seen other friends mind's get old fast from not using there minds on new stuff to learn.

    I am going to be busy the next three days with medical stuff for the wife but I am going to prepare all my important files so as to use dalchina's suggestion. Yes I am being paranoid but some years back I had to put and old HD in a external HD enclosure to pull out files of a book my wife was writing because RAID 1 failed without me catching it before both HD's were borked.

    Unless of course some one has a better idea.
      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 05:23.
Find Us




Windows 10 Forums