How To Convert Windows ESD File into a Windows WIM File [video]
Many of you have requested at the channel how to convert Windows’ ESD file into a Windows’ WIM file. I didn’t noticed where the ESD file were coming until a subscriber pointed it out to me and stated the following:
When building my Windows 10 VMs, I’m always using WIM files with VMware Workstation. Check out the video or the steps below to get you up and running on how to convert a Windows ESD file into Windows WIM file for your MDT server, WDS Server or SCCM deployment server.
Step 1: Extract the Windows ISO content into a folder
Step 2: Locate the “install.esd” file and do a CTRL + V to copy it
Step 3: create another folder and drop in the copy of the “install.esd” file
Step 4: Open command prompt as an admin
Step 5: Get into the folder that has the copy “install.esd” file
Step 6: Run the following command “dism /Get-WimInfo /WimFile:install.esd“
Step 7: This will give you all the build inside the ESD. Locate the one you need so we can convert the WIM file into that version.
Step 8: Run the second command once you have the Index of the build you will convert. The command is: “dism /export-image /SourceImageFile:install.esd /SourceIndex:1 /DestinationImageFile:install.wim /Compress:max /CheckIntegrity“
Step 9: Hit enter and wait. The process takes a long time, but it will work out. Once you have the new ESD file copy that into the sources folder which has the ESD file.
Thank you for the guide it was clear and accurate. It took 7 hrs, 26 minutes to complete the Win Pro install.wim extraction. It that a typical duration?
Do i also need to delete the esd in sources folder?
no you do not need to delete it.
Also got the error 11. ISO was created using Windows Media Creation tool downloaded from the Microsoft site. DISM error log shows:
2017-09-21 15:25:38, Warning DISM DISM WIM Provider: PID=7668 [ReadWimHeader:(2268) -> version/header mismatch] C:\install.esd (HRESULT=0x8007000B) – CWimManager::WimProviderMsgLogCallback
2017-09-21 15:25:38, Error DISM DISM WIM Provider: PID=7668 [WIMCreateFile:(415) -> Fail to read WIM header] C:\install.esd (HRESULT=0x8007000B) – CWimManager::WimProviderMsgLogCallback
2017-09-21 15:25:38, Error DISM DISM WIM Provider: PID=7668 TID=3960 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:1440 – CWimManager::Export(hr:0x8007000b)
2017-09-21 15:25:38, Error DISM DISM WIM Provider: PID=7668 TID=3960 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:4862 – CWimManager::InternalCmdExport(hr:0x8007000b)
2017-09-21 15:25:38, Error DISM DISM WIM Provider: PID=7668 TID=3960 Error executing command – CWimManager::InternalExecuteCmd(hr:0x8007000b)
2017-09-21 15:25:38, Error DISM DISM WIM Provider: PID=7668 TID=3960 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2273 – CWimManager::ExecuteCmdLine(hr:0x8007000b)
2017-09-21 15:25:38, Error DISM DISM.EXE: WimManager processed the command line but failed. HRESULT=8007000B
I get the error 11 as well
Mate, you are the best. all the others they don’t have a proper solution or just not clear.
I get This error with the command dism /export-image…
An attempt was made to load a program with an incorrect format.
The dism log file can be found at c:\windows\logs\dism.log
How to solve this please?