.
This commit is contained in:
parent
8f8159f3de
commit
070d7a3c20
11
wimscripts/cleanup-wim.cmd
Normal file
11
wimscripts/cleanup-wim.cmd
Normal file
@ -0,0 +1,11 @@
|
||||
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 /Compress:max /Export-Image ^
|
||||
/SourceImageFile:%SOURCES%\install.wim ^
|
||||
/Name:"Windows 10 Pro N" ^
|
||||
/DestinationImageFile:%SOURCES%\install_CLEAN.wim
|
||||
|
@ -1,3 +1,6 @@
|
||||
mkdir C:\WIM
|
||||
dism /Mount-Wim /WimFile:install.wim /Name:"Windows 10 Pro N" /MountDir:C:\wim
|
||||
set SOURCES="c:\TEMP\Win10\sources"
|
||||
set MNT="c:\TEMP\WIM"
|
||||
|
||||
mkdir %MNT%
|
||||
dism /Mount-Wim /WimFile:%SOURCES%\install.wim /Name:"Windows 10 Pro N" /MountDir:%MNT%
|
||||
|
||||
|
5
wimscripts/umount-wim.cmd
Normal file
5
wimscripts/umount-wim.cmd
Normal file
@ -0,0 +1,5 @@
|
||||
set SOURCES="c:\TEMP\Win10\sources"
|
||||
set MNT="c:\TEMP\WIM"
|
||||
|
||||
dism /Unmount-Wim /MountDir:%MNT% /Discard
|
||||
|
Loading…
Reference in New Issue
Block a user