Capture McAfee log files into Kace

Another quick McAfee antivirus integration into K1000.

How to pull the  McAfee log files into the k1000

1) One build a new script called Get McAfee logs


verify: Verify a file exists C:\ProgramData\McAfee\DesktopProtection\OnAccessScanLog.txt

2) On Success: run a batch file copy "C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection\\OnAccessScanLog.txt" C:\installs\ (just a random directory I created)

Upload the file C:\installs\OnAccessScanlog.txt 

Now run the script on a test machine and it should pull the logs into kace under the uploaded files section


  • Can you not just upload the existing file without a copy? - easterdaymatt 8 years ago
  • Nope it has to be copied to another directory due to access protection issues with McAfee. - ms01ak 8 years ago
  • I used this on Windows 7 and works like a charm:

    xcopy /h %ALLUSERSPROFILE%\McAfee\DesktopProtection\AccessProtectionLog.txt %ALLUSERSPROFILE%\Dell\KACE\thirdparty_logfiles\ - easterdaymatt 8 years ago
This post is locked
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ