From c57aaf144c4bc4fbe40c5a0ad4d028192e2bd009 Mon Sep 17 00:00:00 2001 From: "Robert C. Maehl" Date: Thu, 24 Jun 2021 15:22:48 -0400 Subject: [PATCH] Convert to x64 Helps prevent False Positives --- WhyNotWin11.au3 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/WhyNotWin11.au3 b/WhyNotWin11.au3 index c3c9a73b..9f71544d 100644 --- a/WhyNotWin11.au3 +++ b/WhyNotWin11.au3 @@ -1,6 +1,7 @@ #RequireAdmin #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=..\Downloads\windows11-logo.ico +#AutoIt3Wrapper_UseX64=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include @@ -19,13 +20,13 @@ RunWait("powershell -Command Get-Partition -DriveLetter C | Get-Disk | Out-File $sGPT = FileRead(".\WhyNot.txt") If StringInStr($sGPT, "GPT") Then - $sGPT = True + $sGPT = "GPT" Else - $sGPT = False + $sGPT = "Not GPT" EndIf FileDelete(".\WhyNot.txt") MsgBox(0, "WhyNotWin11", "TPM:" & @TAB & $sTPM & @CRLF & _ - "Disk:" & @TAB & $sBOOT & @CRLF & _ - "GPT:" & @TAB & $sGPT) \ No newline at end of file + "BOOT:" & @TAB & $sBOOT & @CRLF & _ + "DISK:" & @TAB & $sGPT) \ No newline at end of file