esd-decrypter-wimlib-25 Code: Creating install.wim file... ===================================================== ERROR: "4" is not a valid image in "install.esd.orig"! Please specify a 1-based image index or image name. To list the images contained in the WIM archive, run wimlib-imagex.exe info "install.esd.orig" ERROR: Exiting with error code 18: Tried to select an image that does not exist in the WIM. Errors were reported during export. Press any key to continue . . . install.esd build 10586 with 2 images not 4, Pro and Home Where to specify? That decrypter is not for everyone.
The decrypter isn't meant for install.esd convertion but for (WU downloaded) ESD > ISO. For install.esd <> wim conversion you need WIM <> ESD tool. Test with: 10586.0.160426-1409.th2_refresh_clientmulti_ret_x64fre_en-us_307bd8370ae2ca35ff7195739fda67f9b7a98df7.esd Spoiler ============================================================ Backing up encrypted esd file... ============================================================ ============================================================ Running Decryption program... ============================================================ Done ============================================================ Creating Setup Media Layout... ============================================================ ============================================================ Creating boot.wim... ============================================================ Using LZX compression with 8 threads Archiving file data: 661 MiB of 661 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 138 MiB of 138 MiB (100%) done ============================================================ Creating install.wim... ============================================================ Using LZX compression with 8 threads Archiving file data: 7432 MiB of 7432 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 343 MiB of 343 MiB (100%) done ============================================================ Creating ISO... ============================================================ CDIMAGE 2.53m CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2007. All rights reserved. For Microsoft internal use only. Scanning source tree (500 files in 13 directories) Scanning source tree complete (964 files in 99 directories) Computing directory information complete Image file is 4410179584 bytes (before optimization) Writing 964 files in 99 directories to 10586.0.160426-1409.TH2_REFRESH_CLIENTPRO-CORE_OEMRET_X64FRE_EN-US.ISO 100% complete Storage optimization saved 24 files, 13885440 bytes (1% of image) After optimization, image file is 4398491648 bytes Space saved because of embedding, sparseness or optimization = 13885440 Done. Press any key to exit.
Thanks! Anyway, I changed "4" to "all" (by Notepad) and got install.wim that contain both images, Pro and Home. So, the decrypter is good enough to convert install.esd. I wonder why it isn't set to all instead of 4 in the first place. Notepad: Single section of decrypt.cmd Spoiler :Single cls if %WIMFILE%==install.wim IF EXIST "%CD%\install.wim" ( echo. echo ============================================================ echo An install.wim file is already present in the current folder echo ============================================================ echo. echo Press any key to exit. pause >nul GOTO :QUIT ) echo. IF %ENCRYPTED%==1 CALL ecrypt CALL :MULTI echo ============================================================ echo Creating %WIMFILE% file... echo ============================================================ echo. if /i %WIMFILE%==install.esd ( "%wimlib%" export "%ENCRYPTEDESD%" all %WIMFILE% ) else ( "%wimlib%" export "%ENCRYPTEDESD%" all %WIMFILE% --compress=maximum ) SET ERRORTEMP=%ERRORLEVEL% IF %ERRORTEMP% NEQ 0 (echo.&echo Errors were reported during export.&PAUSE&GOTO :QUIT) IF NOT %MULTI%==0 FOR /L %%j IN (5,1,%MULTI%) DO ( echo. "%wimlib%" export "%ENCRYPTEDESD%" %%j %WIMFILE% ) SET ERRORTEMP=%ERRORLEVEL% IF %ERRORTEMP% NEQ 0 (echo.&echo Errors were reported during export.&PAUSE&GOTO :QUIT) echo. echo Done. echo. echo Press any key to exit. pause >nul GOTO :QUIT
You just used the wrong tool. Use the correct tool and you have nothing to modify to any script. ESD>ISO tool is for decrypting and converting downloaded ESD files to ISO. A downloaded ESD file contains at least 4 indexes minimum (boot.wim index 1 and 2, installmedium files and the windows image). Lately they can contain more indexes, the windows images can go up to 4 (Home SL, Home, Pro and Education) WIM<>ESD tool is for converting install.wim to install.esd or install.esd to install.wim (no maximum indexes afaik).
With MediaCreationTool got Windows.iso file with install.esd ReadMe.txt says: 3 - Create Standard install.wim this will create a single install.wim file, which can be used with other ISO for the same product version or to use it for manual apply using dism/wimlib Instruction or invitation from decrypt.cmd: Please specify a 1-based image index or image name. To list the images contained in the WIM archive, run wimlib-imagex.exe info "install.esd.orig" I guess, the decrypter could be 'Four-in-One' solution. This way or anyway I also converted 14393 install.esd with all Windows images.
@Enthousiast Sure I understand a recomendation about more convinient tools. It was alluring stuff though. For now this is all of install.wim I need. Thank you very much.
Twice wrong, hmm... Perhaps we speak different languages. To find WIM ↔ ESD tool takes some effort. Maybe I will find it next time. Let see the result: install.wim was manually applied to another partition and Windows 10 install was successful. After that it doesn't really matter if 'wrong' tool was using. I'm Slovene native speaker.
updatable decrypter by adguard not enough post for the url For info, latest Bcdedit 10.0.14393 is unfortunately not compatible with Windows 7 host. It would be good to use a previous version of Bcdedit 10.0.10586 or 10240 No worries with latest abbodi esd-decrypter-wimlib
Thanks for making the script . welcome to see the handification in pcbeta. I hope you can support my handification project.
Tested it and all works, also for multiple uup editions files in UUP folder, just copy/paste all gathered UUP files in to the UUP folder, overwrite when asked (not multi-architecture): Code: ============================================================ UUP directory contains multiple editions files: ============================================================ 1. Windows 10 Home Insider Preview (x86 / en-US) 2. Windows 10 Enterprise Insider Preview (x86 / en-US) ============================================================ Enter edition number to proceed, or zero '0' to exit ============================================================ > Enter your option and press "Enter": Option 2: Code: ============================================================ 1 - Create ISO with Standard install.wim 2 - Create Standard install.wim 3 - UUP Edition info ============================================================ Choose a menu option, or press 0 to exit: option 1: Code: ============================================================ Converting CAB -> ESD . . . ============================================================ =============================================================================== Creating Setup Media Layout . . . =============================================================================== =============================================================================== Creating boot.wim . . . =============================================================================== Using LZX compression with 8 threads Archiving file data: 692 MiB of 692 MiB (100%) done =============================================================================== Creating install.wim . . . =============================================================================== Using LZX compression with 8 threads Archiving file data: 4642 MiB of 4642 MiB (100%) done =============================================================================== Adding winre.wim to install.wim . . . =============================================================================== =============================================================================== 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 (1500 files in 55 directories) Scanning source tree complete (1639 files in 97 directories) Computing directory information complete Image file is 3022848000 bytes (before optimization) Writing 1639 files in 97 directories to 14986.1000.161202-1928.RS_PRERELEASE_CLIENTENTERPRISE_VOL_X86FRE_EN-US.ISO 100% complete Storage optimization saved 63 files, 16705536 bytes (1% of image) After optimization, image file is 3009800192 bytes Space saved because of embedding, sparseness or optimization = 16705536 Done. Press any key to exit. Option 2: Code: ============================================================ Converting CAB -> ESD . . . ============================================================ ============================================================ Creating install.wim . . . ============================================================ Using LZX compression with 8 threads Archiving file data: 4642 MiB of 4642 MiB (100%) done =============================================================================== Adding winre.wim to install.wim . . . =============================================================================== Using LZX compression with 8 threads Archiving file data: 692 MiB of 692 MiB (100%) done Done. Press any key to exit. Option 3: Code: ============================================================ UUP Contents Info ============================================================ OS: Windows 10 Enterprise Insider Preview Arch: x86 Language: EN-US Version: 10.0.14986.1000 Branch: rs_prerelease Press any key to continue . . .