From 65a2745976271062134e2dd3a8fa23714c54f68d Mon Sep 17 00:00:00 2001 From: Bitbucket ReadOnly Date: Wed, 15 Jul 2026 12:26:00 +0100 Subject: [PATCH] Remove check for existing boot.stl. Copy providing source exists. Results in only requiring 2023 Certs in DB, having 2011 in DB is required for previous script. --- scripts/windows/Make2023BootableMedia.ps1 | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/windows/Make2023BootableMedia.ps1 b/scripts/windows/Make2023BootableMedia.ps1 index 09dd906..1c3c6f8 100644 --- a/scripts/windows/Make2023BootableMedia.ps1 +++ b/scripts/windows/Make2023BootableMedia.ps1 @@ -909,8 +909,6 @@ function Copy-2023BootBins { $bootStlDest = $global:Temp_Media_To_Update_Path + "\EFI\Microsoft\Boot\boot.stl" if (-not (Test-Path -Path $bootStlSource)) { Write-Dbg-Host "[boot.stl] not found in mounted boot.wim at [$bootStlSource]. Skipping." - } elseif (Test-Path -Path $bootStlDest) { - Write-Dbg-Host "[boot.stl] already exists at [$bootStlDest]. Preserving existing file." } else { Write-Dbg-Host "Copying [$bootStlSource] to [$bootStlDest]" Copy-Item -Path $bootStlSource -Destination $bootStlDest -Force -ErrorAction stop | Out-Null