1. Go through the ReadMe: Spoiler: ReadMe - ESD Decrypter =============================================================================== # Info # An automated script to process Microsoft's full ESD file (encrypted or decrypted), to convert it into a usable state (ISO / WIM / decrypted ESD). =============================================================================== # Attention # - Administrator privileges are required to run the script - The script is set to not backup encrypted ESD before decrypting it, which will change the file hash if you want to maintain the original file state, turn the backup ON by pressing 9 before proceeding to other operations. - If ESD decryption fails, run update_esd_cryptokey_data.cmd to get the latest key database specially if a new build is released with new ESD Decryption Key =============================================================================== # How To Use # - Temporary disable AV or protection program so it doesn't interfere with the process. - Make sure the ESD file is not read-only or blocked. - Extract this pack to a folder with simple path to avoid troubles (example: C:\ESD). - You may start the process using any of these ways: # Copy/Move ESD file to the same folder besides the script, then run decrypt.cmd # Drag & drop ESD file on decrypt.cmd # Directly run decrypt.cmd and you will be prompted to enter the ESD file path # Open Admin Command Prompt in the current directory, and Execute: decrypt ESDFileNameAndPath examples: decrypt 15063.0.170317-1834.rs2_release_cliententerprise_vol_x86fre_en-us_dc818e39982d8bd922dca73fd51e330aa99bc3f1.esd decrypt C:\RecoveryImage\install.esd decrypt H:\ESD\ir4_cpra_x64frer_en-us.esd =============================================================================== # Multi Editions ESD Options # If the choosen ESD contains multiple editions, you will get these options: 1 - Continue including all editions 2 - Include one edition 3 - Include consecutive range of editions 4 - Include randomly selected editions To disable this menu and go to main menu directly, edit decrypt.cmd and change "SET MultiChoice=1" to "SET MultiChoice=0" =============================================================================== # Main Menu Options # 1 - Create ISO with Standard install.wim 2 - Create ISO with Compressed install.esd convert ESD to a regular ISO distribution that contains install.wim or install.esd file 3 - Create Standard install.wim 4 - Create Compressed install.esd create install.wim/install.esd file only, which can be used with other ISO with the same version or for manual apply using dism/wimlib 5 - Decrypt ESD file only if the file is encrypted 5 - ESD file info if the file is not encrypted =============================================================================== # Multi-Architecture ISO (x86/x64) # -------- How to: -------- - Get 2 ESDs with different architectures, same language, same version (i.e. both en-us build 16299) - Put the ESD files next to decrypt.cmd - Run decrypt.cmd directly, and choose an option that suits you -------- Options: -------- 1 - ISO with 2 separate install.esd create the same ISO structure as Media Creation Tool with 2 separate solid install.esd for each architecture 2 - ISO with 2 separate install.wim create the same ISO structure as Media Creation Tool with 2 separate standard install.wim for each architecture 3 - ISO with 1 combined install.wim create a custom ISO structure with 1 install.wim for all x64/x86 images, and slighlty modified bootx64.wim/bootx86.wim to allow coexistence -------- Remarks: -------- - This feature in decrypt.cmd will include all editions in the 2 ESD files if you want to create an ISO for some selected editions, see "Edition-Specific Multi-Architecture ISO" below - ISO created with options 1 or 2 support these boot modes: BIOS: x64 (64bit) & x86 (32bit) UEFI: x64 (64bit) only - ISO created with option 3 support these boot modes: BIOS: x64 (64bit) & x86 (32bit) UEFI: x64 (64bit) & x86 (32bit) - For ISO created with option 3 (Custom AIO), on installation, select an edition architecture that matches the selected architecture in boot screen i.e. Windows 10 Setup (64-bit) -> Windows 10 Pro x64 Windows 10 Setup (32-bit) -> Windows 10 Home N x86 - For ISO created with option 3 (Custom AIO), if you want to start the recovery environment (Repair your computer), at language selection window, press Shift + F10 keys to launch command prompt, then type: recovery\recenv.exe - Limitation: ISO created with option 3 (Custom AIO), will be valid only for clean installation from boot, no in-place upgrades =============================================================================== # Edition-Specific Multi-Architecture ISO (x86/x64) # -------- How to: -------- - Optional: if you do not intend to keep single architecture ISOs, edit decrypt.cmd and SET SkipISO=1 - Use decrypt.cmd to create two ISO distributions, one for x64 and another for x86 and select the desired editions to include in each one - Run multi_arch_iso.cmd and choose the option that suits you -------- Options: -------- 1 - Create ISO with 1 combined install.wim/.esd create a custom ISO structure with 1 install.wim/install.esd for all x64/x86 images, and slighlty modified bootx64.wim/bootx86.wim to allow coexistence 2 - Create ISO with 2 separate install.wim/.esd (Win 10) create the same ISO structure as Media Creation Tool with 2 separate install.wim/install.esd for each architecture -------- Remarks: -------- - To preserve source single-architecture distributions folders edit multi_arch_iso.cmd and SET Preserve=1 - If the installation file is install.esd be aware that option 1 will require high amount of CPU/RAM to unify install.esd - multi_arch_iso.cmd can be used also to create multi-architecture ISO from any similar Windows x64/x86 ISO distributions, starting Windows 7 SP1 however, option 2 require Windows 10 setup files =============================================================================== # Credits # qad esddecrypt.exe program @tfwboredom new key support for esddecrypt.exe Eric Biggers wimlib.net mkuba50 busybox.exe method to create identical single ISO from the same ESD erwan.l @ reboot.pro offlinereg.exe cdob @ reboot.pro MakeWinPE3264.cmd and method to create aio efisys.bin @rgadguard RSA cryptokeys key.cmd host server / update script RSA cryptokeys MrMagic, Chris123NT, mohitbajaj143, Superwzt, timster murphy78 original script nosferati87, NiFu, s1ave77, ztsoft, and any other MDL forums members contributed in the ESD project =============================================================================== 2. Also verify SHA-1 hash of both the esd and esd decrypter v 40 files to ensure either of them are not corrupted 3. Ensure that you are decrypting / converting correct esd for a specific system (x86, x64 or ARM64) Hopefully, you'll get your problem resolved
I just noticed that 17763 refreshed ESDs are wrongfully named 17763.107.101029-1455.rs5_release_svc_refresh 101029 = 2010/10/29 should be 181029 someone is too attached to October
Here is an example of needed steps to auto create up-to-date Windows 10 Enterprise version 1809 from UUP: Spoiler - edit convert-UUP.cmd and set these options: Code: set AutoStart=1 set AddUpdates=1 set StartVirtual=1 - edit create_virtual_editions.cmd and set these options: Code: set AutoEditions=Enterprise set DeleteSource=1 AutoStart=1 will be nested from convert-UUP.cmd, but you can set it here too - download latest Windows 10 version 1809 Pro edition UUP source with updates you probably need to additionally check latest "Feature update" build to get dynamic update kb4466596 - place UUP files in "UUPs" folder and run convert-UUP.cmd or drag and drop downloaded UUP folder on convert-UUP.cmd or run convert-UUP.cmd from command prompt with path to downloaded UUP folder
I was to slow to be able to copy the UUP Conversion, including the integrating of the updates, i put in the UUP folder, but all worked as expected: Code: ============================================================ Creating Edition: Enterprise ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.165 Starting to update components... Starting to install product key... Finished installing product key. Starting to apply edition-specific settings... Finished applying edition-specific settings. The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 10.0.10011.16384 Successfully set image name: [Windows 10 Enterprise] Successfully set image description: [Windows 10 Enterprise] Successfully set image flags: [Enterprise] ============================================================ Creating Edition: Education ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.165 Starting to update components... Starting to install product key... Finished installing product key. Starting to apply edition-specific settings... Finished applying edition-specific settings. The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 10.0.10011.16384 Successfully set image name: [Windows 10 Education] Successfully set image description: [Windows 10 Education] Successfully set image flags: [Education] ============================================================ Creating Edition: Pro Education ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.165 Starting to update components... Starting to install product key... Finished installing product key. Starting to apply edition-specific settings... Finished applying edition-specific settings. The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 10.0.10011.16384 Successfully set image name: [Windows 10 Pro Education] Successfully set image description: [Windows 10 Pro Education] Successfully set image flags: [ProfessionalEducation] ============================================================ Creating Edition: Pro for Workstations ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.165 Starting to update components... Starting to install product key... Finished installing product key. Starting to apply edition-specific settings... Finished applying edition-specific settings. The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 10.0.10011.16384 Successfully set image name: [Windows 10 Pro for Workstations] Successfully set image description: [Windows 10 Pro for Workstations] Successfully set image flags: [ProfessionalWorkstation] ============================================================ Creating Edition: Enterprise for Virtual Desktops ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.165 Starting to update components... Starting to install product key... Finished installing product key. Starting to apply edition-specific settings... Finished applying edition-specific settings. The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 10.0.10011.16384 Successfully set image name: [Windows 10 Enterprise for Virtual Desktops] Successfully set image description: [Windows 10 Enterprise for Virtual Desktops] Successfully set image flags: [ServerRdsh] ============================================================ Creating ISO . . . ============================================================ OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2012. All rights reserved. Licensed only for producing Microsoft authorized content. Scanning source tree (500 files in 37 directories) Scanning source tree complete (946 files in 84 directories) Computing directory information complete Image file is 3294298112 bytes (before optimization) Writing 946 files in 84 directories to 17763.165.181111-0219.RS5_RELEASE_CLIENTMULTI_x86FRE_EN-US.ISO 100% complete Storage optimization saved 5 files, 174080 bytes (0% of image) After optimization, image file is 3296233472 bytes Space saved because of embedding, sparseness or optimization = 174080 Done. Press any key to exit.
@Enthousiast yeah, when convert-UUP.cmd is set with AutoStart=1 & StartVirtual=1, it auto close at the end after starting virtual script @mkuba50 yes, that would suffice maybe add a "cancel" button
Probably for the oem:nslp key to get inserted by dism se-edition, this probably has to be changed Code: set "channel=Volume" from: Code: :Enterprise set "name=%1" set "desc=Enterprise" set "source=%IndexPro%" set "channel=Volume" call :WIM exit /b
It's not hard to add your key install command after set-edition in v20 Code: %_dism% /Image:"%mountdir%" /Set-Edition:%name% /Channel:%channel% if /i "%name%" equ "Enterprise" ( %_dism% /Image:"%mountdir%" /Set-ProductKey:XXXXX )
Well, this seems a bit odd because clearly "C:\Windows\System32\dism.exe" should be correct and valid path
I fully agree: dism.exe is in Sysnative folder, but System32\dism.exe path should be automatically adapted by OS?! I have done again process of Win10Pro1809 17763.167, x64 and x86, versions with same results and used NTLite to integrate updates.