w10install/wimscripts/finish-image.cmd
Michael H.G. Schmidt b3ae9e4ce0 .
Signed-off-by: Michael H.G. Schmidt <michael@schmidt2.de>
2020-12-21 22:44:57 +01:00

14 lines
371 B
Batchfile

set SOURCES=c:\TEMP\Win10\sources
set MNT=c:\TEMP\WIM
dism /Image:%MNT% /Cleanup-Image /StartComponentCleanup /ResetBase
dism /Unmount-Wim /MountDir:%MNT% /Commit
dism /Export-Image ^
/SourceImageFile:%SOURCES%\install.wim ^
/DestinationImageFile:%SOURCES%\install_FINAL.esd ^
/SourceName:"Windows 10 Pro" ^
/Compress:Recovery ^
/CheckIntegrity