Solved Create An ISO with Install.wim Using Media Creation Tool

KYHI

Well-Known Member
Pro User
Messages
2,779
When you use the "Create Installation Media for Windows 8.1" from Microsoft, a "*.TEMP" is downloaded in background.

This "*.TEMP" File is converted into "WINPAYLOAD.ESD" and right after the decryption process it is renamed "WINPAYLOAD.ESD.DECRYPT" This is the decrypted windows installation package..

"WINPAYLOAD.ESD.DECRYPT" will be found in the following location

"C:\Users\%username%\AppData\Local\Temp\%random alphanumeric%\MediaCreationToolExpanded\WindowsInstallationMediaCreationTool\Download" Folder

Note: To view the AppData folder, you must first go into control panel, folder options, view tab, and select show hidden files, folders, and drives

You must copy the "WINPAYLOAD.ESD.DECRYPT" as soon as you see it, to your desktop, as this file will be deleted during the media tools media creation process

So now we can make an ISO consisting of an install.wim file instead of an install.esd file

Following are the instructions to convert the WINPAYLOAD.ESD.DECRYPT to create an install.win ISO file instead of an install.esd ISO file

Step 1 > Download the CreateWIM_v8.1.zip (Note: I tweaked the esd-decrypt v3 script for this purpose)

Step 2 > Create a new temp folder > (e.g. C:\TEMP) Extract the zip file and then copy its contents to the "TEMP" folder

Step 3 > Copy/Move the downloaded WINPAYLOAD.ESD.DECRYPT file to the same "TEMP" folder. (e.g. C:\TEMP) Rename the file to WINPAYLOAD.ESD

Step 4 > Press Windows Key + X and select Command Prompt (Admin).

Step 5 > Execute the following command > c:\temp\createwim c:\temp\winpayload.esd

Step 6 > Now you have Two Options to select from, Continue or Quit
If you continue, the program will create an ISO Image with an install.wim from the winpayload.esd installation package

Step 8 > Now sit back, relax and watch. It may take up to 20 – 40 minutes, depends upon your hardware.

Step 9 > Once the program finishes, go to C:/TEMP and you’ll find an ISO file, You can now burn it to a DVD or make a bootable USB drive with it.

Since a lot of us like to use windows SIM to create unattend and autounattend xml's this post is about getting an install.wim instead of an install.esd in an ISO.. Since SIM will not open esd

The script only runs DISM commands to extract the needed Index's from the winpayload.esd installation package to create the windows setup ISO
 
Last edited:

My Computer

System One

  • OS
    Windows 3.1 > Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Dell XPS 8700
    CPU
    I7
    Memory
    24 GB
Hi,

Thanks for this but I'm afraid CreateWin didn't work for me.

1st DISM failed ... couldn't find MediaMeta.xml in ISOFOLDER.

I added it & then restarted the script, which seemed to restart OK but then failed with access denied for everything that DISM was trying to copy/process.

Eventually the script ended, although it didn't create any ISO and yes, I was running the script in a Admin Prompt.

Deleting what was left over was a PITA as well. Had to take ownership of everything in c:\temp.
 

My Computer

System One

  • OS
    Windows 8.1.1 PRO 64bit
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Homebuilt
    CPU
    Intel BX80646I54670 Core i5-4670
    Motherboard
    ASUS H87M-PRO
    Memory
    Corsair Vengeance LP CML16GX3M2A1600C9 16GB (2x8GB)
    Graphics Card(s)
    Onboard
    Sound Card
    Onboard
    Monitor(s) Displays
    Samsung SyncMaster PX2370
    Screen Resolution
    1920 x 1080
    Hard Drives
    Samsung 840 Pro 256GB SSD + about 12 Seagate HDD's of various sizes (used for video archiving)
    PSU
    Silverstone Strider 550W Gold ST55F-G
    Case
    Silverstone GD05B (HTPC Style Case)
    Cooling
    Stock Intel
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    Cable
    Antivirus
    Bitdefender 2014 AV
    Other Info
    Lite-on IHES312 Blu-Ray
what ESD file you using?
not the one from the sources folder on the setup disk, I hope..

1st DISM failed ... couldn't find MediaMeta.xml in ISOFOLDER
I added it

that was the give away...

Here is the trick to that PITA

create a folder we will call it "FUBR"

robocopy "c:\fubr" c:\temp /mir
 

My Computer

System One

  • OS
    Windows 3.1 > Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Dell XPS 8700
    CPU
    I7
    Memory
    24 GB
The original install.esd file extracted from the latest ISO D/L'd from MS using Media Creation Tool.

I converted this to install.wim & using NTLite added some missing drivers; in particular, the drivers for the Intel Network adapter and ONLY the extra drivers. I tried to create an ISO via NTLite but for some unknown reason it didn't do so.

So I converted the updated WIM back to a ESD & tried your process.

The scripts for converting a ESD to a WIM & a WIM to a ESD this can be found here:
ESD <> WIM Conversion batch

Bit of a process but according to the scripts the actual conversions worked OK.

I'm building a 24TB NAS/HT/LIGHT Gaming PC using a ASRock mobo which has a Intel network adapter & for whatever reason the default network drivers included by MS in Windows 8.1 Pro 64bit don't work. Previously I have used ASUS mobo's for my other 2 PC's & both these have a Realtek Network adapter which the default drivers work OK (at least to get a network connection during the installation of Windows). Hence my desire to slipsteam the Intel drivers .... perhaps I should have kept using ASUS mobo's !!!!!

BTW, my MediaMeta.xml has:

Markdown (GitHub flavored):
<?xml version="1.0"?>



<mc>



  <media>



    <chunk>client_en-gb</chunk>



      <taskguid>98f8e74a-5a44-4e8c-8a0d-d37eaf5c22db</taskguid>



  </media>



</mc>

The above forum also has microsoft.com links to all of the various Windows 8.1 editions published by MS here:
Windows 8.1 with Update ESDs Repository

Cheers
BazzaG...
 
Last edited by a moderator:

My Computer

System One

  • OS
    Windows 8.1.1 PRO 64bit
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Homebuilt
    CPU
    Intel BX80646I54670 Core i5-4670
    Motherboard
    ASUS H87M-PRO
    Memory
    Corsair Vengeance LP CML16GX3M2A1600C9 16GB (2x8GB)
    Graphics Card(s)
    Onboard
    Sound Card
    Onboard
    Monitor(s) Displays
    Samsung SyncMaster PX2370
    Screen Resolution
    1920 x 1080
    Hard Drives
    Samsung 840 Pro 256GB SSD + about 12 Seagate HDD's of various sizes (used for video archiving)
    PSU
    Silverstone Strider 550W Gold ST55F-G
    Case
    Silverstone GD05B (HTPC Style Case)
    Cooling
    Stock Intel
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    Cable
    Antivirus
    Bitdefender 2014 AV
    Other Info
    Lite-on IHES312 Blu-Ray
The original install.esd file extracted from the latest ISO D/L'd from MS using Media Creation Tool

Wrong File...... Wrong Usage.....

This uses the winpayload.esd to create the media ISO with an install.wim instead of an install.esd

(from which you copied the install.esd from that media and tried to convert to install.wim)

You added your unneeded steps to convert and convert back..

That is what this does - if you follow the directions

And I would Suggest that you use The Official Download link

Microsoft Windows 8.1 MediaCreation Tool

One link you provided is from 2011 and the other is a torrent download

And the program file did not work, hum.. Wonder why..
 
Last edited:

My Computer

System One

  • OS
    Windows 3.1 > Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Dell XPS 8700
    CPU
    I7
    Memory
    24 GB
BTW, I did rename install.esd to winpayload.esd prior to running your script.

One link you provided is from 2011 and the other is a torrent download

And the program file did not work, hum.. Wonder why..
The ESDS <> WIM scripts are from APRIL 2014.

As for the ESD Repository thread, they individual ESD's are ALL from:
h t t p//vg.dl.ws.microsoft.com/................

As for a Torrent ... just because the D/L is a torrent, does not mean that the D/L is illegal.

The links look legal to me, however, if anyone considers otherwise, then please delete the links.
 

My Computer

System One

  • OS
    Windows 8.1.1 PRO 64bit
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Homebuilt
    CPU
    Intel BX80646I54670 Core i5-4670
    Motherboard
    ASUS H87M-PRO
    Memory
    Corsair Vengeance LP CML16GX3M2A1600C9 16GB (2x8GB)
    Graphics Card(s)
    Onboard
    Sound Card
    Onboard
    Monitor(s) Displays
    Samsung SyncMaster PX2370
    Screen Resolution
    1920 x 1080
    Hard Drives
    Samsung 840 Pro 256GB SSD + about 12 Seagate HDD's of various sizes (used for video archiving)
    PSU
    Silverstone Strider 550W Gold ST55F-G
    Case
    Silverstone GD05B (HTPC Style Case)
    Cooling
    Stock Intel
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    Cable
    Antivirus
    Bitdefender 2014 AV
    Other Info
    Lite-on IHES312 Blu-Ray
Easiest way I found is to grab the products.xml file from the MediaCreationToolExpanded folder.

NB: to get the that folder start MediaCreation Tool, when at the selection screen, open task Manager, right-click the file and open file location of the running process.

Copy the direct download link for the edition and architecture you want from products.xml and download as normal - This will be the encrypted esd.

Then use esd-decrypter-wimlib-3.7z (This version uses the latest cryto key as is contained in the xml file) to decrypt it to an install.wim based ISO.
 

My Computer

System One

  • OS
    PC-DOS v1.0
    Computer type
    PC/Desktop
    System Manufacturer/Model
    IBM
    CPU
    Intel 8088, 4.77MHz
    Memory
    16K, 640K max
    Graphics Card(s)
    What's that?
    Sound Card
    Not quite
    Screen Resolution
    80 X 24 text
    Hard Drives
    dual 160KB 5.25-inch disk drives
BTW, I did rename install.esd to winpayload.esd prior to running your script.

I knew it from your first post.. Wrong File.. Wrong usage..

Easiest way I found is to grab the products.xml file from the MediaCreationToolExpanded folder

No need, just grab the WINPAYLOAD.ESD.DECRYPT that is the decrypted Installation package..

And this runs the same DISM commands as all those others..

Minus the call to decrypt - because with win 8.1 Microsoft does the decryption it for you..

All they have to do is follow the directions...

When you use the "Create Installation Media for Windows 8.1" from Microsoft, a "*.TEMP" is downloaded in background.

This "*.TEMP" File is converted into "WINPAYLOAD.ESD" and right after the decryption process it is renamed "WINPAYLOAD.ESD.DECRYPT" This is the decrypted windows installation package..

The ESD is decrypted using products.xml during the media tools "Checking the Download" process
 
Last edited:

My Computer

System One

  • OS
    Windows 3.1 > Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Dell XPS 8700
    CPU
    I7
    Memory
    24 GB
And this works with both Windows 8.1 and Windows 10 Preview, and it uses the proper ISO Name

With Win 10 Preview the proper ESD in in the c:\recoveryimage folder
 
Last edited:

My Computer

System One

  • OS
    Windows 3.1 > Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Dell XPS 8700
    CPU
    I7
    Memory
    24 GB
When you use the "Create Installation Media for Windows 8.1" from Microsoft
Step 1 > Download the CreateWIM_v8.1.zip (Note: I tweaked the esd-decrypt v3 script for this purpose)
Where is the download link. I tried Googling but no luck.
 

My Computer

System One

  • OS
    Windows 8.1 64 bit
    Computer type
    Laptop
Here is what you are looking for
 

My Computer

System One

  • OS
    Windows 3.1 > Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Dell XPS 8700
    CPU
    I7
    Memory
    24 GB
Hi, I also cannot see the link, did you remove it?

I am trying to make a custom 8.1 image but all tools require install.wim when it is install.esd.

Following your first post I have the decrypt file but the tool you said to use isnt there.
 

My Computer

System One

  • OS
    Windows 8.1 Update 1 64bit Pro
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Homebuilt
    CPU
    i5 4670k @ 4.3ghz
    Motherboard
    Asus Z87 Plus
    Memory
    16 Gig 1600 Corsair Vengeance
    Graphics Card(s)
    EVGA GTX 970 FTW ACX2.0
    Sound Card
    Asus Xonar D2X
    Monitor(s) Displays
    BenQ GW2765HT
    Screen Resolution
    2560x1440
    Hard Drives
    Samsung 850 Pro 512 gig, boot. Have other HDD's for storage.
    PSU
    Coolermaster SilentPro M 600W
    Case
    Fractal R4 Design
    Cooling
    2 front intake fans, 1 exhaust fan at back all 140mm
    Internet Speed
    80/20
    Browser
    Multiple
    Antivirus
    ESET v8 AV
    Other Info
    May add missing info later
Hi kyhi this is not about this thraed but I have a acer aspire 5741 and since a month it goes on but then it says for 2 sec unmoutable boot volume en then the screen goes black can jou help me plz greetings tyian
 

My Computer

System One

  • OS
    Windows 8

My Computer

System One

  • OS
    Windows 10 Pro X64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz
    Motherboard
    Lenovo
    Memory
    16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
    Graphics Card(s)
    Intel Integrated HD Graphics
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    HP h2207
    Screen Resolution
    1680x1050@59Hz
    Hard Drives
    250GB Samsung EVO SATA-3 SSD;
    2TB Seagate ST2000DM001 SATA-2;
    1.5TB Seagate ST3150041AS SATA
    PSU
    500W
    Keyboard
    Wired USB
    Mouse
    Wired USB
    Internet Speed
    3GB Up, 30GB Down
    Browser
    SeaMonkey
    Antivirus
    Windows Defender; MBAM Pro
    Other Info
    UEFI/GPT
    PLDS DVD-RW DH16AERSH
just noticed you the same guy who replied to my other thread, thanks for this guide by the way.
 

My Computer

System One

  • OS
    Windows 8.1 Update 1 64bit Pro
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Homebuilt
    CPU
    i5 4670k @ 4.3ghz
    Motherboard
    Asus Z87 Plus
    Memory
    16 Gig 1600 Corsair Vengeance
    Graphics Card(s)
    EVGA GTX 970 FTW ACX2.0
    Sound Card
    Asus Xonar D2X
    Monitor(s) Displays
    BenQ GW2765HT
    Screen Resolution
    2560x1440
    Hard Drives
    Samsung 850 Pro 512 gig, boot. Have other HDD's for storage.
    PSU
    Coolermaster SilentPro M 600W
    Case
    Fractal R4 Design
    Cooling
    2 front intake fans, 1 exhaust fan at back all 140mm
    Internet Speed
    80/20
    Browser
    Multiple
    Antivirus
    ESET v8 AV
    Other Info
    May add missing info later
Back
Top