aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattiwatti <mattiwatti@gmail.com>2019-03-30 02:15:36 +0100
committerMattiwatti <mattiwatti@gmail.com>2019-03-30 02:15:36 +0100
commitd50a2aa7397e22558842faccc76a5d372c6e318c (patch)
treea255666ce47fc5f97cf8d413c2b27b5c52117d33
parentf56011ea4d54fd202827e99171acecb09e7d599e (diff)
EfiDSEFix: on Windows >= 8, use a different default g_CiOptions valuev1.0.1
Fixes #1
-rw-r--r--Application/EfiDSEFix/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
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