From f95d305cca4c88934e3227efb81fe959789fa707 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Sun, 24 May 2026 14:09:06 -0400 Subject: [PATCH] startnet.cmd: robocopy /MT:16 + /J for faster waxtrace stage Three speed bumps on the waxtrace WinPE stage: - /MT:16 on the bundle robocopy (was single-thread). Parallelizes the small-files-many-of-them part (config + backups + prereqs). - /J on the single-file FTPak ISO cherry-pick. Unbuffered I/O is measurably faster than xcopy on 2 GB-ish files over SMB; xcopy goes through the buffered I/O path which double-copies in kernel. - Swap the FTPak ISO cherry-pick from xcopy to robocopy single-file syntax (source dir + dest dir + filename pattern) so we can use /J. No behavioral change otherwise. Backup ZIP cherry-pick stays on xcopy (it's ~1 MB, doesn't benefit from /J). --- playbook/startnet.cmd | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/playbook/startnet.cmd b/playbook/startnet.cmd index 5b5573a..73e4ee4 100644 --- a/playbook/startnet.cmd +++ b/playbook/startnet.cmd @@ -499,7 +499,7 @@ REM matched FTPak ISO gets cherry-picked below into the same target dir. REM /NFL/NDL keep the listing manageable; output left visible (no >NUL) so REM any failure is debuggable from the install log. robocopy exit codes REM 0-7 are "OK" (per Microsoft); 8+ is real failure. -robocopy "Y:\installers-post\waxtrace" "W:\WaxTrace-Install" /E /XD formtracepak /R:1 /W:1 /NFL /NDL +robocopy "Y:\installers-post\waxtrace" "W:\WaxTrace-Install" /E /XD formtracepak /MT:16 /R:1 /W:1 /NFL /NDL if errorlevel 8 echo WARNING: robocopy exit %ERRORLEVEL% - some files may not have copied. mkdir W:\WaxTrace-Install\formtracepak 2>NUL echo Staged WaxTrace bootstrap minus formtracepak\ to W:\WaxTrace-Install. @@ -516,7 +516,10 @@ set WTVER= if exist W:\Enrollment\waxtrace\version.txt set /p WTVER=