From 682c06b489ab49aaadc33dbc00a6ffd960ee288f Mon Sep 17 00:00:00 2001 From: dmex Date: Fri, 4 Aug 2017 15:05:00 +1000 Subject: [PATCH] Add consistency check --- ProcessHacker/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProcessHacker/main.c b/ProcessHacker/main.c index 6d2b40ec2..df3481b33 100644 --- a/ProcessHacker/main.c +++ b/ProcessHacker/main.c @@ -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); }