Add consistency check

This commit is contained in:
dmex
2017-08-04 15:05:00 +10:00
parent 8ff66ac44c
commit 682c06b489
+1 -1
View File
@@ -588,7 +588,7 @@ VOID PhInitializeKph(
}
else
{
if (PhGetIntegerSetting(L"EnableKphWarnings"))
if (PhGetIntegerSetting(L"EnableKphWarnings") && PhGetOwnTokenAttributes().Elevated)
PhShowStatus(NULL, L"Unable to load the kernel driver.", status, 0);
}