mirror of
https://github.com/rbalsleyMSFT/FFU.git
synced 2026-06-14 02:09:35 -06:00
Update InstallAppsandSysprep.cmd
Remove this command because moving it up right after updates are applied to the scratch VHDX saves ~650MB on the final .ffu file.
This commit is contained in:
@@ -15,8 +15,5 @@ del c:\windows\panther\unattend\unattend.xml /F /Q
|
|||||||
del c:\windows\panther\unattend.xml /F /Q
|
del c:\windows\panther\unattend.xml /F /Q
|
||||||
taskkill /IM sysprep.exe
|
taskkill /IM sysprep.exe
|
||||||
timeout /t 10
|
timeout /t 10
|
||||||
REM Run Component Cleanup since dism /online /cleanup-image /analyzecomponentcleanup recommends it
|
|
||||||
REM If adding latest CU, definitely need to do this to keep FFU size smaller
|
|
||||||
dism /online /cleanup-image /startcomponentcleanup /resetbase
|
|
||||||
REM Sysprep/Generalize
|
REM Sysprep/Generalize
|
||||||
c:\windows\system32\sysprep\sysprep.exe /quiet /generalize /oobe
|
c:\windows\system32\sysprep\sysprep.exe /quiet /generalize /oobe
|
||||||
|
|||||||
Reference in New Issue
Block a user