Convert your Install.esd to wim -The Easy Way!

Discussion in 'Windows 8' started by misturx, Mar 10, 2013.

  1. misturx

    misturx MDL Novice

    Jul 16, 2009
    When you purchase Windows 8 Pro from MS,downloaded it and you've built your final iso with Windows 8 Upgrade Assistant you will have in the sources folder an install.esd, instead of install.wim. Here's how to "convert" the esd to a wim.

    Files needed:
    1. Your windows 8 upgrade iso of course
    2. VMware-player-5.0.2-1031769.exe
    3. Vmdk2Vhd-1.0.13
    4. Win Toolkit
    5. Win 7 WAIK or Win 8 ADK - deployment tools only

    Let's Begin:
    If you are on windows 7 install waik and if on windows 8 install adk deployment tools only needed. Install donet.3.5 sp1 on win7 or enable it on win8 by running cmd as administrator with command:

    Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:E:\sources\sxs /LimitAccess, and hit Enter.

    Where E: would be path to your mounted win8 iso or your win8 dvd.

    Install VMware player then install your windows 8 upgrade as virtual machine in it. Once win 8 is installed navigate to C:\Windows\System32\Sysprep on virtual machine and run sysprep.exe select the Generalize checkbox and Shutdown in shutdown options. Now press OK and wait for the machine to completely shutdown. When virtual machine has shutdown close VMware player.

    Note: If you wish to make any changes in your win8 virtual machine do it before you run sysprep.

    We have to convert our win8.vmdk to win8.vhd so open Vmdk2Vhd to convert it. The conversion here should not take very long, for me it was quick.

    Now mount your newly made win8.vhd file using the windows built in disk management tool as read only. Right click Computer icon on desktop and select manage then select disk management. Click on Action menu and choose Attach VHD to mount the vhd. To detach your vhd right click Disk 1 (or whatever your attached Disk number is) and choose Detach VHD.

    Open wintoolkit select Tools tab, select New WIM click Save and type install.wim and save to drive C so it would be WIM: C:\install.wim. Click the Capture Image button then click browse in folder to capture section and choose your mounted vhd drive. So if your vhd is mounted as drive H your folder would be Folder: H:.

    For Image Name put: Professional x86
    For Image Description put: Professional x86
    For Flags put: None

    Leave compression method as maximum.

    Click start and wait for it to finish capturing your new install.wim - this part could take awhile, for me it took about 45 minutes to complete. Once finished close wintoolkit.

    Copy your new install.wim to your sources folder and delete the install.esd.

    You're done!

    Tutorial written to be easy as possible for average pc user. I hope it will be of help to someone!
  2. rrohela

    rrohela MDL Expert

    Sep 1, 2009
    Heading made me thought that finally someone found the way to convert ESD to WIM, but its again same old workaround to produce wim & its floating every where. :weeping:
  3. ACERD

    ACERD MDL Novice

    Dec 15, 2013
    Thanks dude, for the Easy Steps and I followed the same and was successful in extracting the .Wim file.
    Yet, I have to test the file now by mounting with Windos WAIK tool on external hard disk will be back with more details after complete R&D
  4. ACERD

    ACERD MDL Novice

    Dec 15, 2013
    Dude! Don't :confused: the Steps need to be understood completely before jumping to process.
    I did step by step
    1. Downloaded and Installed VMware.
    2. Installed the Windows 8 in Virtual Drive/ machine by creating the win8.vmdk.(selected another hard drive partition instead of creating in C:)
    All together I made a Folder with window 8 iso and in the same folder I created the win8.vmdk too and the same folder I selected to save the .vhd file and the same folder I captured the install.wim file this has to be noted)
    3 Converted the Vmdk. to win8.vhd with vmd to vhd tool( this I downloaded another alternative programmed as the one mentioned in the file list I could not find or download the same file) it took about 2 -5 minute to convert.
    4.I had earlier Downloaded and installed the Win Toolkiit 1.4....
    5. Opened Win Toolkit and selected Tools and created new wim folder(in the same folder of another hard disk partition) selected the .vhd file and clicked start.
    It took about 1 hour to covert and then I had the install.wim file in the WIM folder.
    I have to test the .wim file for mouting the win8 on external usb hard disk to run as window to go.

    HALIKUS MDL Addicted

    Jul 29, 2009
    You could also use Oracle VM VirtualBox (free) instead of VMware and create a vhd instead of vmdk (saves a few steps).