Skip to content

Commit

Permalink
EfiDSEFix: on Windows >= 8, use a different default g_CiOptions value
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
Mattiwatti committed Mar 30, 2019
1 parent f56011e commit d50a2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Application/EfiDSEFix/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d50a2aa

Please sign in to comment.