VMware Cloud Community
chicagovm
Enthusiast
Enthusiast

vCenter Orchestrator - running Mcafee agent installation after deploying a server

We need to install Mcafee agent after deploying a server to the domain.

Would anyone be able to assist on which Workflow or scriptable task I could run the following on a VM within vCenter ?

MA_4.8.0.1938\FramePkg.exe /install=agent


or the installation from a .bat of this agent installation?


This would be run either from a Powershell host or our server share..


Thank you in Adv

4 Replies
pratt26
Enthusiast
Enthusiast

‌I had this same issue and this is how I handled it:

built server as usual using VRO.

Always dropped the server in a particular OU.

in EPO setup a job to synchronize and install VirusScan or MOVE on any objects in that OU.

works great!

QLD
Enthusiast
Enthusiast

I install the agent and vse into the build.  Lookup exporting the sitelist within McAFee ePO site to run a script to register it with the relevant ePO if deploying to mulitple domains.

Copy the sitelist after the build then run something like the below:

Then use ePO to run update tasks etc.

Example:

$joineddomain = Get-WmiObject -Class Win32_ComputerSystem | select domain
$joineddomain = $joineddomain.domain
$devdomain = "development"

if ($joineddomain -like "*$devdomain*"){
C:\Temp\FrmInst.exe /install=agent /silent /siteinfo=c:\temp\sitelist.xml
}

You will also want to remove the mcafee agent guid from the master image so a new one is generated every build.

Remove-ItemProperty -path ‘HKLM:\SOFTWARE\Wow6432Node\Network Associates\ePolicy Orchestrator\Agent’ -Name AgentGUID

Or I think that is now been replaced with:

C:\Program Files\McAfee\Agent\maconfig.exe -enforce -noguid@

chicagovm
Enthusiast
Enthusiast

Thank you very much. Will try

0 Kudos
jacksonecac
Enthusiast
Enthusiast

Guest script manager package

Install to vRO and run a guest script workflow after the build is complete. Point the script at the command you want to run on the guest and it should take care of that for you.

good luck