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:
MKellyCBSD
2024-05-15 15:42:00 -04:00
committed by GitHub
parent 56f3e9d856
commit 1921809c30
@@ -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