Skip to content

Commit

Permalink
Convert to x64
Browse files Browse the repository at this point in the history
Helps prevent False Positives
  • Loading branch information
rcmaehl authored Jun 24, 2021
1 parent 9ef05e5 commit c57aaf1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions WhyNotWin11.au3
Original file line number Diff line number Diff line change
@@ -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 <String.au3>

Expand All @@ -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)
"BOOT:" & @TAB & $sBOOT & @CRLF & _
"DISK:" & @TAB & $sGPT)

0 comments on commit c57aaf1

Please sign in to comment.