Hi, here is a Simple CMD Code to handle microsoft's original ESD file (encrypted or decrypted), to ease converting it into an usable state WiM file using Imagex (Wimlib).
<b>Note:</b> you need to download Imagex (Wimlib) at SourceForge.net or Softpedia.
Enter these commands in sequence:
for example:
![[ANSWERED] Simple CMD Code for Convert ESD<>WiM Wimlib-imagex%2Bexport_esd2wim-1](https://lh3.googleusercontent.com/-qs-ws2ytZgM/VLqk65C9FDI/AAAAAAAAAm4/_lvApoEQGEA/h120/wimlib-imagex%2Bexport_esd2wim-1.jpg)
![[ANSWERED] Simple CMD Code for Convert ESD<>WiM Wimlib-imagex%2Bexport_esd2wim-2](https://lh6.googleusercontent.com/-KmZclNOqnRk/VLqk8K0jVfI/AAAAAAAAAnE/vNDlLFkgpT0/h120/wimlib-imagex%2Bexport_esd2wim-2.jpg)
![[ANSWERED] Simple CMD Code for Convert ESD<>WiM Wimlib-imagex%2Bexport_esd2wim-3](https://lh6.googleusercontent.com/-rfDiFUNnh50/VLqk7pGdoEI/AAAAAAAAAm8/fW7c8ITxvm4/h120/wimlib-imagex%2Bexport_esd2wim-3.jpg)
for create (convert) compressed install.esd, i most prefer to use DiSM (on Windows 8.1 ONLY), it more smaller but take more time then Imagex (Wimlib).
Enter these commands in sequence:
Hope this helps some
<b>Note:</b> you need to download Imagex (Wimlib) at SourceForge.net or Softpedia.
Enter these commands in sequence:
Code:
SET iNPUT=location where 'install.esd' is located
SET iNDEX=index number in 'install.esd' will be converted
SET OUTPUT=location where 'install.wim' will be saved
SET WimLib=location where 'wimlib-imagex.exe' is located
"%WimLib%" export "%iNPUT%" %iNDEX% "%OUTPUT%" --check --compress=LZX
for example:
Code:
@echo off
cls
SET iNPUT=D:\Projects\[DEV]\WiNAiO\WAiO.x86.HE-WR\sources\install.esd
SET iNDEX=1
SET OUTPUT=D:\Projects\[DEV]\WiNAiO\WAiO.x86.HE-WR\sources\install.wim
SET WimLib=D:\Projects\[DEV]\TOOLS\WimLib\wimlib-1.7.5-BETA1\wimlib-imagex.exe
"%WimLib%" export "%iNPUT%" %iNDEX% "%OUTPUT%" --check --compress=LZX
Show Screenshot :
![[ANSWERED] Simple CMD Code for Convert ESD<>WiM Wimlib-imagex%2Bexport_esd2wim-1](https://lh3.googleusercontent.com/-qs-ws2ytZgM/VLqk65C9FDI/AAAAAAAAAm4/_lvApoEQGEA/h120/wimlib-imagex%2Bexport_esd2wim-1.jpg)
![[ANSWERED] Simple CMD Code for Convert ESD<>WiM Wimlib-imagex%2Bexport_esd2wim-2](https://lh6.googleusercontent.com/-KmZclNOqnRk/VLqk8K0jVfI/AAAAAAAAAnE/vNDlLFkgpT0/h120/wimlib-imagex%2Bexport_esd2wim-2.jpg)
![[ANSWERED] Simple CMD Code for Convert ESD<>WiM Wimlib-imagex%2Bexport_esd2wim-3](https://lh6.googleusercontent.com/-rfDiFUNnh50/VLqk7pGdoEI/AAAAAAAAAm8/fW7c8ITxvm4/h120/wimlib-imagex%2Bexport_esd2wim-3.jpg)
for create (convert) compressed install.esd, i most prefer to use DiSM (on Windows 8.1 ONLY), it more smaller but take more time then Imagex (Wimlib).
Enter these commands in sequence:
Code:
@echo off
cls
SET iNPUT=location where 'install.wim' is located
SET iNDEX=index number in 'install.wim' will be converted
SET OUTPUT=location where 'install.esd' will be saved
SET WimLib=location where 'wimlib-imagex.exe' is located
DiSM /Export-Image /SourceImageFile:"%iNPUT%" /SourceIndex:2 /DestinationImageFile:"%OUTPUT%" /Compress:recovery /CheckIntegrity
Hope this helps some
