From d50a2aa7397e22558842faccc76a5d372c6e318c Mon Sep 17 00:00:00 2001 From: Mattiwatti Date: Sat, 30 Mar 2019 02:15:36 +0100 Subject: EfiDSEFix: on Windows >= 8, use a different default g_CiOptions value Fixes #1 --- Application/EfiDSEFix/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Application') diff --git a/Application/EfiDSEFix/src/main.cpp b/Application/EfiDSEFix/src/main.cpp index 8409ee3..0575b0a 100644 --- a/Application/EfiDSEFix/src/main.cpp +++ b/Application/EfiDSEFix/src/main.cpp @@ -52,7 +52,7 @@ int wmain(int argc, wchar_t** argv) { if (NtCurrentPeb()->OSBuildNumber >= 9200) { - CiOptionsValue = argc == 3 ? wcstoul(argv[2], nullptr, 16) : CODEINTEGRITY_OPTION_ENABLED; + CiOptionsValue = argc == 3 ? wcstoul(argv[2], nullptr, 16) : 0x6; Printf(L"(Re)enabling DSE [g_CiOptions value = 0x%X]...\n", CiOptionsValue); } else -- cgit v1.2.3