Automatically start update for McAfee

Khikoman
New Contributor II

Hi All,

We currently are using McAfee Endpoint Protection and we would like to at least have it update automatically.

Able to know if there is a script that we can use to do just that?

Sorry as I am literally new in scripting.

1 ACCEPTED SOLUTION

leobrt
New Contributor III
sudo /Library/McAfee/agent/bin/cmdagent man
usage: cmdagent [options] 
where options are:
  -c:          checks for new policies
  -e:          enforce policies locally
  -p:          collect and send properties
  -f:          send events
  -s:          displays the agent monitor UI
  -i:          displays agent info
  -l:          set logfile location
  -x:          display the custom properties set on the machine
  -h:          displays help

View solution in original post

4 REPLIES 4

AJPinto
Honored Contributor III

I recommend reaching out to McAfee with this question. Whether the app supports auto update or not is on the vendor, and if it does support auto update the vendor should be able to provide direction on how to enable auto update.

 

In my experience most security tools like McAfee handle updates from their admin console with no MDM shenanigans needed.

obi-k
Valued Contributor III

McAfee is fun. Joking. 

Do you have an A/V admin there? From what I recall, we had to pull packages from McAfee, but it depended on what products you were using. Be sure to test all of it. For the auto-update, you may have to talk to the A/V admin to see if they locked it down or not.

Khikoman
New Contributor II

Got it. I have also contacted McAfee and waiting for their reply. Thanks a lot.

leobrt
New Contributor III
sudo /Library/McAfee/agent/bin/cmdagent man
usage: cmdagent [options] 
where options are:
  -c:          checks for new policies
  -e:          enforce policies locally
  -p:          collect and send properties
  -f:          send events
  -s:          displays the agent monitor UI
  -i:          displays agent info
  -l:          set logfile location
  -x:          display the custom properties set on the machine
  -h:          displays help