disable advanced security dialog on windows 7
@@ -118,7 +118,7 @@ VOID PhEditSecurity(
FALSE
);
- if (PhGetIntegerSetting(L"EnableSecurityAdvancedDialog"))
+ if (WindowsVersion >= WINDOWS_8_1 && PhGetIntegerSetting(L"EnableSecurityAdvancedDialog"))
EditSecurityAdvanced(hWnd, info, COMBINE_PAGE_ACTIVATION(SI_PAGE_PERM, SI_SHOW_PERM_ACTIVATED));
else
EditSecurity(hWnd, info);
