Convert ESD to WIM

Converting an ESD file to WIM file for upgrade packages: an odd thing to do with SCCM.

Nevertheless.

If you already have an iso downloaded from VLSC or the Microsoft site, this is fairly straightforward.

  1. Mount .iso file. 
  2. Copy .\sources\install.esd from the mount to C:\temp\ (doesn't matter, but make note of location).
  3. Open command prompt as administrator, and cd to C:\temp
  4. Run command:
    dism /get-wiminfo /wimfile:install.esd
  5. You should get a screen like this with the Index numbers. Make a note of which index number is applicable to your license.


  6. Run next command:
    dism /export-image /sourceimagefile:install.esd /sourceindex:4 /destinationimagefile:install.wim /compress:max /checkintegrity
  7. Wait for process to finish, then copy the wim file back to the original source.

Comments

Popular posts from this blog

Powershell Install-Module Error - Unable to Download from URI ... 0x409

Configuring App-only Authentication for Exchange Online for Powershell Scripts