Windows 8.1 Build 9600.16610 DISM Now Can Work On ESD

Discussion in 'Windows 8' started by FaiKee, Feb 10, 2014.

  1. FaiKee

    FaiKee Misinformation spreader

    Jul 24, 2009
    4,303
    5,816
    150
  2. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    #2 murphy78, Feb 10, 2014
    Last edited by a moderator: Apr 20, 2017
    Nice pickup.

    The only purpose for using install.esd over install.wim is that install.esd can use "RECOVERY" compression.
    The only way to achieve this is to first have an install.wim file and "EXPORT" it using the dism command to a new file using the install.esd recovery compression.

    So for your example, you would first capture it as an install.wim with max compression, then export it to an install.esd with recovery compression.
    Example:

    Code:
    dism /apply-image /imagefile:c:\win811\sources\install.esd /index:1 /applydir:e:\mount
    dism /image:e:\mount /enable-feature /featurename:NetFx3 /all /source:c:\win811\sources\sxs /limitaccess
    dism /capture-image /imagefile:c:\temp\install.wim /compress:max /capturedir:e:\mount\ /name:"Win811 with Netfx3" /checkintegrity /verify
    dism /export-image /sourceimagefile:c:\temp\install.wim /sourceindex:1 /destinationimagefile:c:\temp\install.esd /compress:recovery /checkintegrity
    move /y c:\temp\install.esd c:\win811\sources\
    del c:\temp\install.wim /q /s
    rd e:\mount\ /q/s
    mkdir e:\mount
    That's how I would tackle that particular issue.
    In your example, you've captured the entire drive, including the source install.esd
    You also did not specify any compression methods.
    I'm interested to see if people can capture into install.esd recovery compression, but I have my doubts as it's a completely different task than the compression application.
     
  3. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,965
    908
    60
    #3 Flipp3r, Feb 10, 2014
    Last edited: Feb 10, 2014
    Did you remove the original e:\install.esd or are you adding to it?
    Also, I'm pretty sure you need to have /compress:recovery when creating/adding to .esd file....

    :rolleyes: Yep, like Murphy78 said!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. NaiveUser

    NaiveUser MDL Senior Member

    Apr 14, 2011
    419
    523
    10
    nice ! finally we can crack open those mysterious .esd files !
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. FaiKee

    FaiKee Misinformation spreader

    Jul 24, 2009
    4,303
    5,816
    150
    #5 FaiKee, Feb 10, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Tks, that's what I thought too, but I tried to see first if it could simply save to the source ESD with its original compression specs, etc, then I don't need to do it the long way ....... turns out it didn't. :p
     
  6. bodmas

    bodmas MDL Senior Member

    Jul 26, 2011
    252
    132
    10
    no need to first capture image to wim and then export it to esd.
    arguments /compress:maximum|fast|None is well working with capture-image to esd format.
    i.e.
    dism /capture-image /imagefile:E:\install.esd /capturedir:e:\ /name:mount /compress:maximum

    but the process is damn slow.
     
  7. FaiKee

    FaiKee Misinformation spreader

    Jul 24, 2009
    4,303
    5,816
    150
    Actually I had tried this

    dism /capture-image /imagefile:c:\install.esd /compress:max /capturedir:e:\ /name:"mount"

    But I still got the monster 8GB ESD, i.e. same size as the "mount" folder without compression.

    Yes, it's damn slow, so I would check your syntax later when I have time. :D
     
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,214
    84,863
    340
    this will create wim file not esd, regardless of the file name
    and Dism use "max" compress not "maximum"
     
  9. FaiKee

    FaiKee Misinformation spreader

    Jul 24, 2009
    4,303
    5,816
    150
    Tks, saved my time. :D
     
  10. free1975yuly

    free1975yuly MDL Expert

    Aug 24, 2011
    1,830
    160
    60
    If I go to the store using Windows 8 and download W8.1.esd, this build will be downloaded? I mean that leaked build from Wzor???:confused:
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,214
    84,863
    340
    #11 abbodi1406, Feb 10, 2014
    Last edited: Feb 10, 2014
    Of course not, not yet anyway
     
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,214
    84,863
    340
    #12 abbodi1406, Feb 10, 2014
    Last edited by a moderator: Apr 20, 2017
    Get-WimInfo parameter can also read ESD file contents

    Code:
    dism /Get-WimInfo /WimFile:C:\Data\Programs\test.esd
    this will display info about all images
    Code:
    Details for image : C:\Data\Programs\test.esd
    
    Index : 1
    Name : Microsoft Windows PE (x64)
    Description : Microsoft Windows PE (x64)
    Size : 1,259,685,118 bytes
    
    Index : 2
    Name : Microsoft Windows Setup (x64)
    Description : Microsoft Windows Setup (x64)
    Size : 1,356,525,607 bytes
    Code:
    dism /Get-WimInfo /WimFile:C:\Data\Programs\test.esd /index:1
    this will display detailed info about the image (index)
    Code:
    Details for image : C:\Data\Programs\test.esd
    
    Index : 1
    Name : Microsoft Windows PE (x64)
    Description : Microsoft Windows PE (x64)
    Size : 1,259,685,118 bytes
    WIM Bootable : No
    Architecture : x64
    Hal : <undefined>
    Version : 6.3.9600
    ServicePack Build : 16384
    ServicePack Level : 0
    Edition : WindowsPE
    Installation : WindowsPE
    ProductType : WinNT
    ProductSuite :
    System Root : WINDOWS
    Directories : 3083
    Files : 14300
    Created : 22/08/2013 - 05:08:11 PM
    Modified : 10/02/2014 - 04:04:20 PM
    Languages :
            en-US (Default)
     
  13. free1975yuly

    free1975yuly MDL Expert

    Aug 24, 2011
    1,830
    160
    60
    So where from can I download this Esd....?I read this seems to be on MS Store but I cannot fiind...:eek:
     
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,214
    84,863
    340
    Store does not offer the esd file directly, it will be downloaded in the background and when finished the upgrade process starts

    man, this seems out of your league anyway :D
     
  15. free1975yuly

    free1975yuly MDL Expert

    Aug 24, 2011
    1,830
    160
    60
    So how can I download this?
     
  16. FaiKee

    FaiKee Misinformation spreader

    Jul 24, 2009
    4,303
    5,816
    150
    There were 2 ways to get it, both had been discussed in MDL somewhere:
    1. If you download the upgrade pack from Store, it will be in a hidden folder, you need to sort of "hi-jack" it, i.e., after download complete and before upgrade starts, suspend the process and copy the ESD.

    2. You could also download from MS with a legit win8.1 retail key, or use a trick to download with a legit win8 key.
    :D
     
  17. bodmas

    bodmas MDL Senior Member

    Jul 26, 2011
    252
    132
    10
    #17 bodmas, Feb 10, 2014
    Last edited: Feb 10, 2014
    i tried it several times and all times it created install.esd but as I suggested it was too slow. I have end the task at 57% and when I saw the size of install.esd it was 32 GB. and yes, it was my mistake. argument is max but looking at the the size of the created esd file I will say this argument is not working with esd format.
    1.PNG
     
  18. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,214
    84,863
    340
    naming the file as .esd doesn't make it esd file
    dism 16610 "capture" command only supports wim files

    and looking at your command, you are imaging whole drive E: including Win81aio folder and install.esd

    and it's slow because you are copying and compressing +7 GB data
    for me, capturing E: to C:\install.wim takes around 26 minutes, and C:\test to C:\install.wim around 15 minutes
     
  19. NiFu

    NiFu MDL Member

    Jun 29, 2013
    129
    134
    10
    #20 NiFu, Feb 10, 2014
    Last edited: Feb 11, 2014