Windows 8.1 Build 9600.16610 DISM Now Can Work On ESD

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

  1. moderate

    moderate MDL Guru

    Aug 31, 2009
    3,490
    2,495
    120
    Thanks to both of you, ABSbody and sMurf :))
     
  2. moderate

    moderate MDL Guru

    Aug 31, 2009
    3,490
    2,495
    120
    Could WIM be converted to ESD too?
     
  3. Tito

    Tito Admin / Adviser
    Staff Member

    Nov 30, 2009
    18,954
    19,467
    340
  4. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,092
    24,400
    340
    #125 s1ave77, Oct 13, 2014
    Last edited: Oct 13, 2014
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. ajitem

    ajitem MDL Novice

    Oct 24, 2014
    3
    1
    0
    Hey Murphy,

    If you are interested, maybe we could collaborate in creating this ISO creation tool. Please let me know your thoughts....
     
  6. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,432
    11,762
    240
    The post you quoted is out of date.
    I've gone through 4 versions and abbodi1406 took over the script project and created the esd decryption thread, which is stickied.
    We have this stuff mostly figured out.
     
  7. Duser

    Duser MDL Novice

    Mar 30, 2013
    22
    34
    0
    qad, an encrypted ESD has 722 byte-long fragment at the very end. A decrypted ESD that Windows decrypts itself has the same fragment at the very end. The only difference is the last 20 bytes. So, both them have 702 byte-long part + 20 byte-long part at theirs ends. The 702 byte-long parts are the same, the 20 byte-long parts are different. If you could figure out what that 722 byte-long fragment is, your esddecrypt could create unencrypted ESDs that would be exactly the same as Windows creates itself! ;)
     
  8. xinso

    xinso MDL Guru

    Mar 5, 2009
    14,006
    14,661
    340
    #129 xinso, Oct 26, 2014
    Last edited by a moderator: Apr 20, 2017
  9. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,092
    24,400
    340
    #130 s1ave77, Oct 26, 2014
    Last edited by a moderator: Apr 20, 2017
    Don't know that error. Is this a Windows Store ESD aka this 4 indices thingy ... :g:?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. xinso

    xinso MDL Guru

    Mar 5, 2009
    14,006
    14,661
    340
    #131 xinso, Oct 26, 2014
    Last edited: Oct 26, 2014
    Yep. I decripted it with Qad's (or Murphy or Abbodi. I am not sure. I just played it from yesterday) esddecript.exe.

    (It's esd-decrypter-v4c)

    It's Ok. I am more than happy about that. Thanks, mate.
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,470
    92,657
    340
    #132 abbodi1406, Oct 26, 2014
    Last edited by a moderator: Apr 20, 2017
    Why are you are exporting compressed ESD to compressed ESD?
    you need to make it LZX
     
  12. xinso

    xinso MDL Guru

    Mar 5, 2009
    14,006
    14,661
    340
    #133 xinso, Oct 26, 2014
    Last edited by a moderator: Apr 20, 2017
    It is running without error ...

    Now stuck at 5%

    But the decrypted esd was recovery type, was it not?

    I saw the script used "recovery" all the way.

    It got stuck with LZX, Abbodi?

    Code:
    Verifying integrity of "D:\esd-decrypter-v4c\9860.esd": 2592 MiB of 2592 MiB (100%) done
    Writing LZX-compressed data using 8 threads
    373 MiB of 6743 MiB (uncompressed) written (5% done)
     
  13. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,092
    24,400
    340
    Hmm, always use the max switch for exporting ESD to WIM in wimlib :g:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,470
    92,657
    340
    #135 abbodi1406, Oct 26, 2014
    Last edited by a moderator: Apr 20, 2017
    Don't know about the stuck, but this will decompress the file, so it will take time and resources
    unlike dism, wimlib-imagex needs to define the target file compress level when exporting regardless of the source file level

    Code:
    TYPE may be "none", "XPRESS" (alias: "fast"), "LZX" (alias: "maximum"), or "LZMS" (alias: "recovery")
    :D
     
  15. qad

    qad MDL Member

    Dec 17, 2012
    218
    829
    10
    I guess that 722 byte-long fragment is the remnant of the hash table that was moved behind to the correct position.
    I made esddecrypt so that it truncates that useless garbage and sets the correct file size, this is why there is a difference between the results of Windows Setup and esddecrypt.

    However, I don't think it's worth trying to make the resulting ESDs identical to those created by Windows Setup,
    because it always touches the LASTMODICIFATIONTIME field in xml anyway.
     
  16. Duser

    Duser MDL Novice

    Mar 30, 2013
    22
    34
    0
    qad
    Yeah, I noticed that too. So, I meant they could be exactly identical except for these LASTMODICIFATIONTIME fields.:)
    So, it's utterly useless garbage, isn't it? Okay, thank you very much for making it clear to me.:eek:
     
  17. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,470
    92,657
    340
    #138 abbodi1406, Nov 5, 2014
    Last edited by a moderator: Apr 20, 2017
    This was a bug in wimlib 1.7.2 and now had been fixed in latest wimlib 1.7.3-BETA
     
  18. qad

    qad MDL Member

    Dec 17, 2012
    218
    829
    10
    I slightly updated esddecrypt source.
    It include Win 10 TP key and works for its ESDs without an extra command-line option.
    The attachment contains full source code and pre-compiled binary.
     

    Attached Files:

  19. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,554
    15,642
    270
    Thank you so much qad.