final wimscripts...
This commit is contained in:
parent
218ae1be4c
commit
45a739396b
@ -1,11 +1,13 @@
|
|||||||
set SOURCES="c:\TEMP\Win10\sources"
|
set SOURCES=c:\TEMP\Win10\sources
|
||||||
set MNT="c:\TEMP\WIM"
|
set MNT=c:\TEMP\WIM
|
||||||
|
|
||||||
dism /Image:%MNT% /Cleanup-Image /StartComponentCleanup /ResetBase
|
dism /Image:%MNT% /Cleanup-Image /StartComponentCleanup /ResetBase
|
||||||
dism /Unmount-Wim /MountDir:%MNT% /Commit
|
dism /Unmount-Wim /MountDir:%MNT% /Commit
|
||||||
|
|
||||||
dism /Compress:max /Export-Image ^
|
dism /Export-Image ^
|
||||||
/SourceImageFile:%SOURCES%\install.wim ^
|
/SourceImageFile:%SOURCES%\install.wim ^
|
||||||
/Name:"Windows 10 Pro N" ^
|
/DestinationImageFile:%SOURCES%\install_CLEAN.wim ^
|
||||||
/DestinationImageFile:%SOURCES%\install_CLEAN.wim
|
/SourceIndex:1 ^
|
||||||
|
/Compress:Max ^
|
||||||
|
/CheckIntegrity
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
set SOURCES="c:\TEMP\Win10\sources"
|
set SOURCES=c:\TEMP\Win10\sources
|
||||||
|
|
||||||
del %SOURCES%\install.wim
|
del %SOURCES%\install.wim
|
||||||
|
|
||||||
dism /Export-Image ^
|
dism /Export-Image ^
|
||||||
/SourceImageFile:%SOURCES%\install.esd ^
|
/SourceImageFile:%SOURCES%\install.esd ^
|
||||||
/SourceIndex:6 ^
|
|
||||||
/DestinationImageFile:%SOURCES%\install.wim ^
|
/DestinationImageFile:%SOURCES%\install.wim ^
|
||||||
|
/SourceIndex:6 ^
|
||||||
/Compress:Max ^
|
/Compress:Max ^
|
||||||
/CheckIntegrity
|
/CheckIntegrity
|
||||||
|
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
dism /Get-WimInfo /WimFile:D:\sources\install.esd
|
set SOURCES=c:\TEMP\Win10\sources
|
||||||
|
|
||||||
|
dism /Get-WimInfo /WimFile:%SOURCES%\install.wim
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user