diff --git a/scripts/script_win11-debloat.cmd b/scripts/script_win11-debloat.cmd index d11bc46..8334e6f 100644 --- a/scripts/script_win11-debloat.cmd +++ b/scripts/script_win11-debloat.cmd @@ -15,5 +15,9 @@ curl -kLO %BASEURL%/%PROG% powershell.exe "& {Expand-Archive %PROG% -Force -DestinationPath .}" -::del %PROG% +del %PROG% + +cd Win11Debloat-%VERS% + +powershell -ExecutionPolicy Bypass -Command "& Start-Process powershell.exe -PassThru -ArgumentList \"-executionpolicy bypass -File Win11Debloat.ps1 -Silent -RunDefaults\" -Verb RunAs "