w10install/wimscripts/finish-image.cmd

14 lines
365 B
Batchfile
Raw Normal View History

2020-12-20 21:29:12 +01:00
set SOURCES=c:\TEMP\Win10\sources
set MNT=c:\TEMP\WIM
2020-12-20 18:37:15 +01:00
2020-12-21 10:45:53 +01:00
rem dism /Image:%MNT% /Cleanup-Image /StartComponentCleanup /ResetBase
rem dism /Unmount-Wim /MountDir:%MNT% /Commit
2020-12-20 18:37:15 +01:00
2020-12-20 21:29:12 +01:00
dism /Export-Image ^
2020-12-20 18:37:15 +01:00
/SourceImageFile:%SOURCES%\install.wim ^
2020-12-21 10:45:53 +01:00
/DestinationImageFile:%SOURCES%\install_FINAL.esd ^
2020-12-20 21:29:12 +01:00
/SourceIndex:1 ^
2020-12-21 10:45:53 +01:00
/Compress:Recovery ^
2020-12-20 23:30:53 +01:00
/CheckIntegrity
2020-12-20 18:37:15 +01:00