Skip to content

Konstantinos Tsoukalas

Konstantinos is the founder and administrator of Since 1995 he works and provides IT support as a computer and network expert to individuals and large companies. He is specialized in solving problems related to Windows or other Microsoft products (Windows Server, Office, Microsoft 365, etc.).


  1. Mika
    March 25, 2022 @ 6:26 pm

    hehe took me some time to notice that .esd and not .wim :P

    I was wondering where did i typet wrong at the first part, after noticing the mistake i got it working and it worked great. The Guide was super helpful and easy to follow.

    Thanks so mutch :)


  2. Dennis Bracamonte
    January 26, 2022 @ 3:01 pm

    I always thought to myself, after making so many pen drives, (and not labeling them), there must be a way to run a command and figure out what operating systems they are. And this is exactly what I been looking for, but too busy to research it. Very well written. Thanks so much.


  3. Bishnu Prasad Mahananda
    January 9, 2022 @ 10:42 am

    Thanks. It woks fine.


  4. Maciek
    December 13, 2021 @ 2:25 pm

    Two mistakes
    1) should be: "install.esd not install.vim" in under:

    dism /Get-WimInfo /WimFile:H:\sources\install.wim

    2) should be "install.esd not install.vim" in first use of install file, the second is ok

    dism /export-image /SourceImageFile:H:\sources\install.wim /SourceIndex:IndexNumber /DestinationImageFile:C:\install.wim /Compress:max /CheckIntegrity

    But is was helpfull for me. Thanks


    • lakonst
      December 14, 2021 @ 10:42 am

      THanks for your comment, but the article is correct, because the title says "How to extract INSTALL.WIM". For extracting "INSTALL.ESD" file I have written another article: How to Extract Install.ESD to Install.WIM


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

    Magic post. Helped slim down an image for sccm


  6. 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


  7. 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?


    • lakonst
      February 16, 2019 @ 12:12 pm

      @tazmo8448: Yes you ;re right


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

    Your the awesome! Thanks


  9. 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 '' 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?


    • lakonst
      October 25, 2018 @ 9:04 am

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


  10. 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


    • lakonst
      October 6, 2018 @ 10:07 am

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


  11. 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.


  12. 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"



    • lakonst
      June 23, 2018 @ 9:35 am

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


  13. 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.


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

    Thank you!!


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

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


Leave a Reply

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