File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ bcdedit /set hypervisorlaunchtype off
4343CLS
4444echo Removing Windows Security UWP App...
4545:: Remove Windows Security App
46- PowerShell -NoProfile -ExecutionPolicy Bypass -Command " & {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File " " RemoveSecHealthApp.ps1" " ' -Verb RunAs} "
46+ Powershell -noprofile -executionpolicy bypass -file " %~dp0 \ RemoveSecHealthApp.ps1"
4747
4848CLS
4949echo Unregister Windows Defender Security Components...
@@ -71,7 +71,7 @@ bcdedit /set hypervisorlaunchtype off
7171CLS
7272echo Removing Windows Security UWP App...
7373:: Remove Windows Security App
74- PowerShell -NoProfile -ExecutionPolicy Bypass -Command " & {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File " " RemoveSecHealthApp.ps1" " ' -Verb RunAs} "
74+ Powershell -noprofile -executionpolicy bypass -file " %~dp0 \ RemoveSecHealthApp.ps1"
7575
7676CLS
7777echo Unregister Windows Defender Security Components...
You can’t perform that action at this time.
0 commit comments