ESD <> WIM Conversion batch

Discussion in 'Scripting' started by liliactr, Apr 16, 2014.

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,194
    84,743
    340
    Right .....
     
  2. balubeto

    balubeto MDL Addicted

    Dec 22, 2009
    580
    10
    30
    Since the file install.esd is much more compressed of the install.wim file, I would like to know if I can use this DVD (with install.esd) to install Windows 8.x/10 on any computer or it is necessary have a recent computer?

    In Windows ADK, the DISM.exe file is unique or there are two versions (32 bit and 64 bit)? If there are two versions, I could use the 64 bit version to create the install.esd file containing the 32 bit editions of Windows?

    Thanks

    Bye
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,194
    84,743
    340
    Some machines might fail when using .esd, due the need for more resources to decompress the data

    yes, both can work on either edition architecture
     
  4. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    Yep, the conversion is very resource hogging and will fail due to even slightes system instabilities/hickups. Quiet a valid stress test.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. amajmon

    amajmon MDL Senior Member

    Sep 21, 2012
    274
    120
    10
    I just compress .wim in Server 2016 with this script in .esd. Try in VM with 4gb of ram and 3 cpu core work like charm :D :worthy:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,194
    84,743
    340
    #66 abbodi1406, Aug 22, 2015
    Last edited by a moderator: May 23, 2017
    ESD2WIM-WIM2ESD-4.zip

    Updated wimlib v1.8.2
    Removed admin prerequisite (only option 5 will require running the script with admin privileges)
     
  7. werwaok

    werwaok MDL Junior Member

    Sep 20, 2013
    60
    3
    0
    Which level of compression does your script use? I can't find out. Is it "recovery"?
     
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,194
    84,743
    340
    ESD is recovery (aka solid, lzms)
    WIM is max (aka lzx)
     
  9. greenworld5588

    greenworld5588 MDL Novice

    Jun 4, 2014
    19
    0
    0
    Thanks to all for great scripts and tools,
    I want to know how I can convert Windows 7 Install.wim to Install.esd?
    Please guide me here, don't give me links.
     
  10. eclas

    eclas MDL Novice

    Mar 22, 2013
    4
    0
    0
    Trying this with the latest win 10 iso (threshold 2)
    extracted esd-decrypter-wimlib-10_adguard_mods.rar to temp folder and placed the esd file in that folder.
    When I run the script as adminstrator I get this error...
    ERROR: ESD file does not have original structure (4 images).

    Is this not compatible with win 10?
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,194
    84,743
    340
    #71 abbodi1406, Nov 15, 2015
    Last edited by a moderator: May 23, 2017
  12. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    2,908
    12,465
    90
    Your script has got me outta trouble a few times now ;)
     
  13. Ehtrakiyushi

    Ehtrakiyushi Guest

    Is there an Advantage of ESD over WIM?
     
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,194
    84,743
    340
    Isn't the size advantage enough?
     
  15. ashish.k

    ashish.k MDL Senior Member

    Dec 27, 2014
    299
    134
    10
    #75 ashish.k, Dec 6, 2015
    Last edited by a moderator: Apr 20, 2017
    I want to ask one question... Can I replace the DISM included in this with that of Win10 build 10586 and would it still work?
     
  16. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,194
    84,743
    340
    It will work


    but why do you want to replace it? i don't think there would be any performance difference
     
  17. ashish.k

    ashish.k MDL Senior Member

    Dec 27, 2014
    299
    134
    10
    I don't know about performance differences but I just wanna make it up to date (latest ADK) which may work better with Win10 images :g:. Just for the sake of it... :p
     
  18. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,194
    84,743
    340
    #78 abbodi1406, Dec 21, 2015
    Last edited by a moderator: May 23, 2017
    WIM <> ESD
    updated both packs

    ESD2WIM-WIM2ESD-5.zip
    updated wimlib to latest 1.8.4-BETA1
    optimized code



    ESD2WIM-WIM2ESD-dism-2.7z
    updated dism to 10.0.10240.16384
    implemented all and same wimlib's script changes
     
  19. liliactr

    liliactr MDL Member

    Sep 3, 2009
    203
    83
    10
    [​IMG]

    This is probably wimlib related issue but how can a untouched microsoft wim has 2542 invalid hardlinks when i try to convert it.
     
  20. McLovin

    McLovin MDL Junior Member

    Aug 7, 2009
    95
    27
    0
    sorry to get the old thread back...

    but I have a question, I converted my 5,1GB windows7 install.wim to install.esd, (to burn it on dvd5)
    but when I test my new iso with the install.esd, windows7 setup shows an error about "no information could be collected for the OSImage... ... could not find install.wim)

    what can I do ?