Today, though, I found a wonderfully easy method that uses only Microsoft utilities. Once I extracted install.esd, this command did the job:
dism /export-image /SourceImageFile:install.esd /SourceIndex:1 /DestinationImageFile:install.wim /Compress:max /CheckIntegrity
The integrity-checking flag might not be strictly necessary. If the ESD holds multiple images (as mine did), DISM can list them and their indexes with:
dism /get-wiminfo /wimfile:install.esd
Note that older OSes' versions of DISM might not have the functionality needed for these commands to work. For example, Windows 7's doesn't seem to have /export-image. I tested these on Windows 10.
No comments:
Post a Comment