Skip to content

Commit d50a2aa

Browse files
committed
EfiDSEFix: on Windows >= 8, use a different default g_CiOptions value
Fixes #1
1 parent f56011e commit d50a2aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Application/EfiDSEFix/src/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ int wmain(int argc, wchar_t** argv)
5252
{
5353
if (NtCurrentPeb()->OSBuildNumber >= 9200)
5454
{
55-
CiOptionsValue = argc == 3 ? wcstoul(argv[2], nullptr, 16) : CODEINTEGRITY_OPTION_ENABLED;
55+
CiOptionsValue = argc == 3 ? wcstoul(argv[2], nullptr, 16) : 0x6;
5656
Printf(L"(Re)enabling DSE [g_CiOptions value = 0x%X]...\n", CiOptionsValue);
5757
}
5858
else

0 commit comments

Comments
 (0)