mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 02:56:17 +00:00
Added option to forcefully remove edge (#82)
Additionally: * Added extra check to Get.ps1 to prevent error if user cancels UAC prompt * Removed Dolby from appslist (#78)
This commit is contained in:
7
Get.ps1
7
Get.ps1
@@ -9,6 +9,7 @@ param (
|
||||
[switch]$RemoveCommApps,
|
||||
[switch]$RemoveDevApps,
|
||||
[switch]$RemoveW11Outlook,
|
||||
[switch]$ForceRemoveEdge,
|
||||
[switch]$DisableDVR,
|
||||
[switch]$DisableTelemetry,
|
||||
[switch]$DisableBingSearches, [switch]$DisableBing,
|
||||
@@ -81,7 +82,11 @@ 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" -Verb RunAs
|
||||
$debloatProcess.WaitForExit()
|
||||
|
||||
# Wait for the process to finish before continuing
|
||||
if($debloatProcess -ne $null) {
|
||||
$debloatProcess.WaitForExit()
|
||||
}
|
||||
|
||||
Write-Output ""
|
||||
Write-Output "> Cleaning up..."
|
||||
|
||||
Reference in New Issue
Block a user