w10install/wimscripts/finish-image.cmd
Michael H.G. Schmidt 60b84fd916 .
2020-12-21 16:40:22 +01:00

15 lines
390 B
Batchfile

@echo off
set SOURCES=c:\TEMP\Win10\sources
set MNT=c:\TEMP\WIM
rem dism /Image:%MNT% /Cleanup-Image /StartComponentCleanup /ResetBase
rem 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