Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 10
Report Inappropriate Content
Message 1 of 3

Check Agent Config via Script

Guys, I building an generic script for my serves tor check compliance of about 100 different conf items. For McAfee ePo I'm checking things like:

  • Agent version
  • Status of services

I'd also like to check for the following:

  1. Last time an on-demand scan was run
  2. If on-demand scan is enabled
  3. If on-access scan is enabled

This has to be accomplished using local data only and no querying the ePO DB/Server. I'd like to use APIs if possible but could also use the logs in the DEFLOGDIR i guess

2 Replies

Re: Check Agent Config via Script

Moving to a more suitable forum

McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 3 of 3

Re: Check Agent Config via Script

You can use your favorite method (batch script, or powershell etc). Please share your script with the community when done.

Here's what you need to query:

Agent version: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\McAfee\Agent\AgentVersion

Agent Service Status : McAfeeFramework, macmnsvc, and masvc. These are the service names.

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community