Check if "bigfix directory" is excluded from McAfee (Regedit)

I don’t have McAfee to test, but try this:

exists keys "HKLM\SOFTWARE\McAfee\SystemCore\VSCore\On Access Scanner\McShield\Configuration\Default" whose (not exists values whose (it as string as lowercase contains "%25programfiles%25\bigfix enterprise" or it as string as lowercase contains "%25progamfiles(x86)%25\bigfix enterprise") of it) of registry

Should return True if there’s a McAfee registry path and the BigFix Exclusion is missing from it (system needs to be corrected).
Or …

exists keys "HKLM\SOFTWARE\McAfee\SystemCore\VSCore\On Access Scanner\McShield\Configuration\Default" whose (exists values whose (it as string as lowercase contains "%25programfiles%25\bigfix enterprise" or it as string as lowercase contains "%25pgoramfiles(x86)%25\bigfix enterprise") of it) of registry

should return True if there’s a McAfee registry path, and the BigFix Exclusion is present

2 Likes