diff --git a/Get.ps1 b/Get.ps1 index 78051a9..d5251e7 100644 --- a/Get.ps1 +++ b/Get.ps1 @@ -1,5 +1,3 @@ -#Requires -RunAsAdministrator - param ( [switch]$Silent, [switch]$RunAppConfigurator, @@ -70,7 +68,7 @@ Write-Output "" Write-Output "> Running Win11Debloat..." # Run Win11Debloat script with the provided arguments -$debloatProcess = Start-Process powershell.exe -PassThru -ArgumentList "-executionpolicy bypass -File $env:TEMP\Win11Debloat\Win11Debloat-master\Win11Debloat.ps1 $arguments" +$debloatProcess = Start-Process powershell.exe -PassThru -ArgumentList "-executionpolicy bypass -File $env:TEMP\Win11Debloat\Win11Debloat-master\Win11Debloat.ps1 $arguments" -Verb RunAs $debloatProcess.WaitForExit() Write-Output ""