From 31c47b9538c9eb19a3af01a6def548861334e55e Mon Sep 17 00:00:00 2001 From: WindowsAddict Date: Mon, 4 Aug 2025 21:03:49 +0530 Subject: Minor changes --- MAS/Separate-Files-Version/Extract_OEM_Folder.cmd | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'MAS/Separate-Files-Version/Extract_OEM_Folder.cmd') diff --git a/MAS/Separate-Files-Version/Extract_OEM_Folder.cmd b/MAS/Separate-Files-Version/Extract_OEM_Folder.cmd index 852fc6e..f6999d0 100644 --- a/MAS/Separate-Files-Version/Extract_OEM_Folder.cmd +++ b/MAS/Separate-Files-Version/Extract_OEM_Folder.cmd @@ -246,6 +246,17 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%in-plac goto done2 ) +REM check for Mal-ware that may cause issues with Powershell + +for /r "%ProgramFiles%\" %%f in (secureboot.exe) do if exist "%%f" ( +echo "%%f" +echo Mal%blank%ware found, PowerShell is not working properly. +echo: +set fixes=%fixes% %mas%remove_mal%w%ware +call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware" +goto done2 +) + REM check if .NET is working properly if /i "!tstresult2!"=="FullLanguage" ( @@ -259,17 +270,6 @@ goto done2 ) ) -REM check for Mal-ware that may cause issues with Powershell - -for /r "%ProgramFiles%\" %%f in (secureboot.exe) do if exist "%%f" ( -echo "%%f" -echo Mal%blank%ware found, PowerShell is not working properly. -echo: -set fixes=%fixes% %mas%remove_mal%w%ware -call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware" -goto done2 -) - REM check antivirus and other errors echo PowerShell is not working properly. Aborting... -- cgit v1.2.3