From 28006fe0dc2815cb4d13f2767a7b6c74bdf3c6c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionu=C8=9B=20Bara?= Date: Mon, 5 Aug 2024 00:07:33 +0300 Subject: [PATCH] logical of uwp removal --- Script_Run.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Script_Run.bat b/Script_Run.bat index 1f123e7..8d6793b 100644 --- a/Script_Run.bat +++ b/Script_Run.bat @@ -43,7 +43,7 @@ bcdedit /set hypervisorlaunchtype off CLS echo Removing Windows Security UWP App... :: Remove Windows Security App -PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File ""RemoveSecHealthApp.ps1""' -Verb RunAs}" +Powershell -noprofile -executionpolicy bypass -file "%~dp0\RemoveSecHealthApp.ps1" CLS echo Unregister Windows Defender Security Components... @@ -71,7 +71,7 @@ bcdedit /set hypervisorlaunchtype off CLS echo Removing Windows Security UWP App... :: Remove Windows Security App -PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File ""RemoveSecHealthApp.ps1""' -Verb RunAs}" +Powershell -noprofile -executionpolicy bypass -file "%~dp0\RemoveSecHealthApp.ps1" CLS echo Unregister Windows Defender Security Components...