From 9dfbb2b8edf29c6b9964d280e278bc9e8766c711 Mon Sep 17 00:00:00 2001 From: CodingWonders <101426328+CodingWonders@users.noreply.github.com> Date: Thu, 1 Jan 2026 22:48:05 +0100 Subject: [PATCH] Remove copy link step We no longer do this --- functions/microwin/Invoke-Microwin.ps1 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/functions/microwin/Invoke-Microwin.ps1 b/functions/microwin/Invoke-Microwin.ps1 index 047df782..a854b939 100644 --- a/functions/microwin/Invoke-Microwin.ps1 +++ b/functions/microwin/Invoke-Microwin.ps1 @@ -329,11 +329,6 @@ public class PowerManagement { Copy-Item "$env:temp\reportTool.ps1" "$($scratchDir)\MicroWinReportTool.ps1" -force Write-Host "Done copy reportTool.ps1" - Write-Host "Copy link to winutil.ps1 into the ISO" - $desktopDir = "$($scratchDir)\Windows\Users\Default\Desktop" - New-Item -ItemType Directory -Force -Path "$desktopDir" - dism /English /image:$($scratchDir) /set-profilepath:"$($scratchDir)\Windows\Users\Default" - Write-Host "Copy checkinstall.cmd into the ISO" Microwin-NewCheckInstall Copy-Item "$env:temp\checkinstall.cmd" "$($scratchDir)\Windows\checkinstall.cmd" -force