Add consistency check
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user