It is very easy to use. Just call the shortcut. Press 0 to enable G27, press 1 to disable and it will turn on Memory Integrity as before. Then press Enter twice and restart your computer.
Copy all 23 lines below to create a script.
******************************************
‘ Creat function on/off Memory Integrity
Function ToggleMemoryIntegrity(enable)
Set oShell = CreateObject(“WScript.Shell”)
If enable Then
oShell.RegWrite “HKLMSYSTEMCurrentControlSetControlDeviceGuardScenariosHypervisorEnforcedCodeIntegrityEnabled”, 1, “REG_DWORD”
MsgBox “Memory Integrity is now enabled. Please restart your computer.”, vbInformation, “Memory Integrity Enabled”
Else
oShell.RegWrite “HKLMSYSTEMCurrentControlSetControlDeviceGuardScenariosHypervisorEnforcedCodeIntegrityEnabled”, 0, “REG_DWORD”
MsgBox “Memory Integrity is disabled. Please restart your computer.”, vbInformation, “Memory Integrity Disabled”
End If
End Function
‘ Show select menu
choice = InputBox(“SELECT: 1 = Enable, 0 = Disable”, “Memory Integrity Control”)
‘ Verify user selections
If choice = “1” Then
ToggleMemoryIntegrity(True)
ElseIf choice = “0” Then
ToggleMemoryIntegrity(False)
Else
MsgBox “Incorrect selection”, vbExclamation, “Error”
End If
*****************************************************************************
Logitech G27 drivers
https://support.logi.com/hc/en-nz/articles/360024699674–Downloads-G27-Racing-Wheel
download my script & icon password : aae3039
https://1drv.ms/u/c/055bf548297f975a/EYsRdZJDnmJMqZuyMIF7568BmH7motSrnyIOlWo6V1ZV9A?e=uTBGqo
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Music promoted by Copyright Free Music – Background Music For Videos 👉 / @podcastbackgroundmusic
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––