summaryrefslogtreecommitdiff
path: root/MAS/Separate-Files-Version/Change_Windows_Edition.cmd
diff options
context:
space:
mode:
authorWindowsAddict2025-08-04 15:33:49 +0000
committerWindowsAddict2025-08-04 15:33:49 +0000
commit31c47b9538c9eb19a3af01a6def548861334e55e (patch)
tree0f8e4c1a7052d0ea0fa33f2027bcaaf1e87bdb86 /MAS/Separate-Files-Version/Change_Windows_Edition.cmd
parent904e96d748045bec1c3f5bb4eba2373b47be5777 (diff)
downloadMicrosoft-Activation-Scripts-31c47b9538c9eb19a3af01a6def548861334e55e.zip
Minor changes
Diffstat (limited to 'MAS/Separate-Files-Version/Change_Windows_Edition.cmd')
-rw-r--r--MAS/Separate-Files-Version/Change_Windows_Edition.cmd22
1 files changed, 11 insertions, 11 deletions
diff --git a/MAS/Separate-Files-Version/Change_Windows_Edition.cmd b/MAS/Separate-Files-Version/Change_Windows_Edition.cmd
index a55ea3b..20c6c22 100644
--- a/MAS/Separate-Files-Version/Change_Windows_Edition.cmd
+++ b/MAS/Separate-Files-Version/Change_Windows_Edition.cmd
@@ -235,6 +235,17 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%in-plac
goto dk_done
)
+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 dk_done
+)
+
REM check if .NET is working properly
if /i "!tstresult2!"=="FullLanguage" (
@@ -248,17 +259,6 @@ goto dk_done
)
)
-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 dk_done
-)
-
REM check antivirus and other errors
echo PowerShell is not working properly. Aborting...