From 1921809c3032392d6fa14a51451713b7ae414c06 Mon Sep 17 00:00:00 2001 From: MKellyCBSD <167896478+MKellyCBSD@users.noreply.github.com> Date: Wed, 15 May 2024 15:42:00 -0400 Subject: [PATCH] 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. --- FFUDevelopment/Apps/InstallAppsandSysprep.cmd | 3 --- 1 file changed, 3 deletions(-) diff --git a/FFUDevelopment/Apps/InstallAppsandSysprep.cmd b/FFUDevelopment/Apps/InstallAppsandSysprep.cmd index 1d2e97f..b617bd7 100644 --- a/FFUDevelopment/Apps/InstallAppsandSysprep.cmd +++ b/FFUDevelopment/Apps/InstallAppsandSysprep.cmd @@ -15,8 +15,5 @@ del c:\windows\panther\unattend\unattend.xml /F /Q del c:\windows\panther\unattend.xml /F /Q taskkill /IM sysprep.exe 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 c:\windows\system32\sysprep\sysprep.exe /quiet /generalize /oobe