Close
Skip to content

15 Comments

  1. Alex
    August 21, 2019 @ 1:22 pm

    Magic post. Helped slim down an image for sccm

    Reply

  2. Scott
    March 23, 2019 @ 10:10 pm

    excellent job. you made it easy for the "light bulb" to come on! I could have easily passed the windows 7 cert way back when If I had just seen this type of thing. Thanks

    Reply

  3. tazmo8448
    February 16, 2019 @ 12:14 am

    I downloaded the .ISO from the Windows ISO Downloader Tool and it came with 'install.wim' already in the Sources folder. Using the CMD prompt above it placed the (Index 6) W10 Pro in my root directory. If I am correct now… going forward.. all I have to do is point the DISM command to that folder in order (if needed) to repair the OS by using that command. Am I right in my thinking?

    Reply

    • lakonst
      February 16, 2019 @ 12:12 pm

      @tazmo8448: Yes you ;re right

      Reply

  4. Gio
    February 5, 2019 @ 5:13 pm

    Your the awesome! Thanks

    Reply

  5. Harry Betlem
    October 24, 2018 @ 11:35 pm

    So far so good. I made an 'install.wim' file from my running windows 10 on another drive, managed to follow these steps above.
    But, unfortunately last monday, when Windows 10 was apgragine, my pc was cut off from the power. Now it is not possible to get into Windows at all.
    What is the solution?
    Simply extract the 'install.win' to the Windows drive (C:/)?
    Where should I put this 'wim' file?
    Which DISM commands are needed to extract it to the 'C drive'?
    Does it override all files?
    Or should I reformat (empty) C:/ first? (Since there could be new files left by broken upgrade)
    Please advise.
    Or is there another option to get rid of this broken install warning?

    Reply

    • lakonst
      October 25, 2018 @ 9:04 am

      @Harry Betlem: Have you tried to perform a system restore? Try the instructions from this article.

      Reply

  6. tvätten
    October 5, 2018 @ 3:38 pm

    when i write this. dism /Get-WimInfo /WimFile:X:\sources\install.wim i get Access is denied.
    any idea of what is causing this? im in Administrator mode

    Reply

    • lakonst
      October 6, 2018 @ 10:07 am

      @tvätten: Sometimes the Antivirus program causes the "Access Denied" error in DISM.

      Reply

  7. Steve
    August 17, 2018 @ 1:45 pm

    Worked prefectly on Windows 10 1803 disk, many thanks for the clear and plain language so much easier to follow then other blogs.

    Reply

  8. Scott
    June 23, 2018 @ 12:44 am

    I got Error 87 when trying this on a Windows 2018 Server ISO. "The export-image option is unknown"

    Thoughts

    Reply

    • lakonst
      June 23, 2018 @ 9:35 am

      @Scott: In which operating system do you use this command? you need Windows 10 at least.

      Reply

  9. Breandan
    June 8, 2018 @ 1:35 am

    For those who have the new Windows 10 installer, it has changed slightly.
    dism /Get-WimInfo /WimFile:c:\install.esd

    pro is currently index 6

    dism /export-image /SourceImageFile:c:\install.esd /SourceIndex:6 /DestinationImageFile:C:\install.wim /Compress:max /CheckIntegrity

    This will use the install.esd file you copy/pasted to the root of C
    Then does as intended extracts the WIM installer back to the root of C
    No file chasing or long version location, copy paste install.wim back to where you wanted it and your done.

    Reply

  10. shanda
    January 18, 2018 @ 10:16 pm

    Thank you!!

    Reply

  11. Shirva
    December 6, 2017 @ 11:46 pm

    This worked great and saved me a ton of research. Thank you.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

css.php