Windows 10 Imaging, Customization and Deployment

Discussion in 'Windows 10' started by arseny92, Jan 31, 2015.

  1. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    720
    1,192
    30
    #801 Atari800XL, Apr 19, 2019
    Last edited: Apr 19, 2019
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    9,135
    33,577
    300
    Not yet, but it looks more like an evolutionary imagex, and can encrypt/decrypt ESDs, or create ISO/USB
     
  3. whatever127

    whatever127 MDL PHP Wizard

    Nov 9, 2012
    834
    5,561
    30
    Code:
    Usage:
    EsdTool /calchash <file>
    EsdTool /encode <source> <target>
    EsdTool /decode <source> <target>
    EsdTool [/encrypt | /decrypt] <source> <target> <keyfile>
    EsdTool [/encryptfull | /decryptfull] <source> <target> <keyfile>
    EsdTool /esdxml <esdfile> <keyfile> <xmlfile>
    EsdTool /genkeys <keyfile_basepath>
    EsdTool /genkeys2 <keyfile_basename> <numkeys> <pub_path> <pri_path>
    EsdTool /wim <media> <esdfile> <imageid>  - use LZX compression  (faster)
    EsdTool /wim2 <media> <esdfile> <imageid> - use LZMS compression (smaller)
    EsdTool /layout <esdfile> <media>
    EsdTool /multilayout <esdfile x86> <esdfile x64> <media>
    EsdTool /iso <media> <target> <volumelabel>
    EsdTool /usb <media> <target> <volumelabel>
    EsdTool /verify <esdfile>
    EsdTool /wiminfo <esdfile> <imageid>
    EsdTool /imginfo <esdfile> <imageid>
    EsdTool /wimapply <source> <imageid> <target>
    EsdTool /wimboot <target> <imageid>
    EsdTool /wimcapture <source> <target> <image_name> <image_desc>
    EsdTool /wimsplitcapture <source> <target> <part size in MB>
    EsdTool /wimexport <source> <imageid> <target>
    EsdTool /wimextract <source> <imageid> <imgpath> <target>
    EsdTool /wimextract2 <source> <imageid> <list file>
    EsdTool /wimsplit <source> <target> <part size in MB>
    EsdTool /shutdown <shutdown type> <launch type> <command line>
    EsdTool /recovery <target> <volumelabel>
    EsdTool /getsddl <path>
    EsdTool /cabextract <cab> <target> <filename or *>
    
    Tokens:
    --------
    source       - Source WIM file
    target       - Target WIM file
    media        - Path containing Source Media layout
    esdfile      - ESD file containing contents of Source Media layout
    imageid      - Image name or index to use (* = all)
    keyfile      - RSA key to use for encryption/decryption
    keyfile_base - Base name for key files (ex: keyfile_base.pub & keyfile_base.pri)
    xmlfile      - ESD publishing XML file
    
    Optional switches:
    ------------------
    [/scratch <path>]    - Scratch directory used for temp files
    [/ansi]              - Display output messages in ANSI
    [/quiet]             - Suppress progress messages
    [/verbose]           - Displays informational messages
    [/script]            - Map errors to Win32 values (for script error checking)
    [/background]        - Lowers process/thread priority
    [/notadmin]          - Do not request administrative privileges
    [/secinfo]           - Display security descriptor infomation in image info output
    [/transport <type>]  - Transport type for operation [BITS, DO, HTTP, SMB, or NONE]
    [/wimcheck]          - Generate integrity info for target WIM file
    [/wimcomp <type>]    - Compression type for target [LZMS, LZX, XPRESS, or NONE]
    [/wimconfig <path>]  - Path to WIM config file
    [/wimref <pattern>]  - Additional WIM/SWM files used for source resource lookup
    [/wimref2 <pattern>] - Additional WIM/SWM files used for target resource lookup
    [/wimverify]         - Verify file content
    [/customiso]         - Create custom ISO file
    [/efiiso]            - Create EFI-aware ISO file
    [/wipeusb]           - Force format of USB drive
    [/fat32usb]          - Force FAT32 format of USB drive
    [/ntfsusb]           - Force NTFS format of USB drive
    [/capusb <# GB>]     - Limit USB volume to specified size in GB
    
    [/help | /?]         - Display this message
    
    ------------------------
    
    HRESULT: 0x00000000
    
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    21,076
    28,650
    390
    #804 Enthousiast, Apr 19, 2019
    Last edited: Apr 19, 2019
    Finally got something running :D

    Code:
    J:\Simplix_Batches_Win7\wim>EsdToolcore /verify install.esd
    SourceFilePath:    install.esd
    ScratchPath:       J:\Simplix_Batches_Win7\wim
    
    Opening WIM: [install.esd] (with verification)...
    WIM: [install.esd] -> No integrity data!
    
    2019-04-19 15:06:44, Start: [WimExport] [Index = 0x0]
    2019-04-19 15:06:53, Progress: [WimExport] [0x1 / 0x64] [1%]
    ...............................
    ...............................
    2019-04-19 15:18:23, Progress: [WimExport] [0x64 / 0x64] [100%]
    2019-04-19 15:18:25, Progress: [WimExport] [0x64 / 0x64] [100%]
    2019-04-19 15:18:25, Progress: [WimExport] [0x64 / 0x64] [100%]
    ------------------------
    
    HRESULT: 0x00000000
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    720
    1,192
    30
    Aah, that reminds me to test the latest Imagex.exe, let's see if "UUP direct apply" now works without error (until now, the best version to use for this was still 15063). I'll check in a couple of hours...
    Maybe you remember, something like this:
    Code:
    %imagex% /apply "%selectsource%" %index% c: /ref %uupfolder%\*.* > x:\progress.txt
    
    Of course, the mighty Wimlib always works in any version (but a bit slower, at least in my tests):

    Code:
    wimlib-imagex.exe apply professional_nl-nl.esd 3 c:\ --ref=*.esd
    
     
  6. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    720
    1,192
    30
    First test shows Imagex doesn't seem to support ESD files at all anymore!
    When I test the command from the previous post, I get "An attempt was made to load a program with an incorrect format".
    Again, Imagex 15063 works just fine...

    So I guess maybe we have to use the new "esdtoolcore.exe" for ESD apply now? I haven't figured out how to do that, though...

    I tried:
    esdtoolcore.exe /wimextract professional.esd 3 "" c: /wimref *.esd

    This does "something", but it doesn't seem to be the correct usage...
     
  7. whatever127

    whatever127 MDL PHP Wizard

    Nov 9, 2012
    834
    5,561
    30
    Code:
    esdtoolcore.exe /wimapply professional_en-us.esd 3 C:\ /wimref "*.esd" /wimref "*.cab"
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    720
    1,192
    30
    Hey, I was close! :)

    Thank you mkuba50, it works!!
    So here's finally the successor of ImageX 15063, and it's called ESDToolCore!
    (Remember folks, this command can apply UUP files directly without conversion to full ESD or WIM).
    Nice...

    EDIT1: It has nice verbose output, great for redirecting to GUI or something...
     
  9. whatever127

    whatever127 MDL PHP Wizard

    Nov 9, 2012
    834
    5,561
    30
    It does not even need the conversion of CABs to ESD.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    720
    1,192
    30
    Correct, but ImageX didn't need that either...
    (Of course, behind the scenes it probably uses the same libraries).
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    9,135
    33,577
    300
    imagex /apply works with ref files in separate folder, just like dism
    Code:
    imagex /apply Professional_en-us.esd 3 Z: /ref REF\*.esd /ref REF\*.cab
    the new tool can export uup to esd/wim directly
    Code:
    esdtoolcore /wimexport professional_en-us.esd 3 install.esd /wimref *.esd /wimref *.cab
    esdtoolcore /wimexport professional_en-us.esd 3 install.wim /wimref *.esd /wimref *.cab /wimcomp LZX
    but the resulting files have "issues"
    cannot be opened in 7-zip, and wimlib report errors
    Code:
    [ERROR] Invalid blob table (blobs in solid resource overlap)
    ERROR: Exiting with error code 20:
           An entry in the WIM's lookup table is invalid.
    dism, imagex, esdtool however, can view file info without any issues
     
  12. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    6,310
    13,999
    210
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    9,135
    33,577
    300
    BTW, i think the esdtoolcore is not completed yet, not all options/functions are implemented
     
  14. pxghtjryu

    pxghtjryu MDL Novice

    Aug 21, 2018
    26
    5
    0
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    9,135
    33,577
    300
    18362 Dism can export valid install.wim from UUP
    Code:
    dism /Export-Image /SourceImageFile:Professional_en-us.esd /SourceIndex:3 /DestinationImageFile:install.wim /SWMFile:REF\*.* /Compress:LZX
    17763 also works

    these are the needed files for /Export-Image
    Code:
    dism.exe
    dismcore.dll
    dismcoreps.dll
    dismprov.dll
    logprovider.dll
    wimgapi.dll
    wimprovider.dll
    
     
  16. Raur

    Raur MDL Member

    Oct 11, 2017
    141
    65
    10
    Is there a torrent link for Windows ADK for Windows 10 version 1703 available from WZor? I tried searching here in MDL, having difficulty in finding it. Can I install the latest WADK for a PC running version 1703?
     
  17. Raur

    Raur MDL Member

    Oct 11, 2017
    141
    65
    10
    Thanks @steven4554, I understand. However I would prefer in an ISO format or in torrent link as my internet connection is very slow. Appreciate your kind assistance. :)
     
  18. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    21,076
    28,650
    390
    You can select to download all and create an iso from it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...