Mcafee Agent 5.0.6 Installation Guide (Mcafee Epolicy Orchestrator) 2-20-2020
Mcafee Agent 5.0.6 Installation Guide (Mcafee Epolicy Orchestrator) 2-20-2020
6 Installation
Guide (McAfee ePolicy Orchestrator)
Contents
Installing McAfee Agent 4
Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Supported languages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Install McAfee Agent extension and packages on McAfee ePO. . . . . . . . . . . . . . . . . . . . . . . . . 6
Methods of deploying McAfee Agent. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
McAfee Agent files and folders. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
McAfee Agent installation package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Deploying from McAfee ePO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Install on Windows systems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Install on Windows from McAfee ePO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Install on Windows using third-party deployment methods. . . . . . . . . . . . . . . . . . . . 15
When to install using Windows logon scripts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Create custom installation packages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Install on Windows manually. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Command-line options for installing McAfee Agent on Windows. . . . . . . . . . . . . . . . 17
Install on Windows with logon scripts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Install using Group Policy Object. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Install on Linux and Macintosh systems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Install on non-Windows operating systems from McAfee ePO. . . . . . . . . . . . . . . . . . 19
Install on non-Windows operating systems manually. . . . . . . . . . . . . . . . . . . . . . . . . . 20
Install the agent in managed mode on Ubuntu systems. . . . . . . . . . . . . . . . . . . . . . . 20
Install the agent on Red Hat Linux devices using third party deployment method. 21
Script options for installing McAfee Agent on non-Windows. . . . . . . . . . . . . . . . . . . . 21
Deploying McAfee Agent using the McAfee Smart Installer. . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Create customized McAfee Smart Installer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Install McAfee Agent using customized McAfee Smart installer. . . . . . . . . . . . . . . . . 22
Install URL-based McAfee Agent manually using command-line parameters. . . . . . 23
Manage Agent Deployment URLs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Install McAfee Agent in Virtual Desktop Infrastructure mode. . . . . . . . . . . . . . . . . . . . . . . . . 25
Using the maconfig command-line tool. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Processes used by McAfee Agent 5.0.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Including McAfee Agent on an image. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
System requirements
• Installed disk space — 50 MB (minimum), excluding log files
• Memory — 512-MB RAM (minimum)
• Processor speed — 1 GHz (minimum)
Note: The list specifies the minimum system requirement for McAfee Agent. For information about system requirement for
other McAfee products, see their respective McAfee product documentation.
Supported languages
McAfee Agent is translated into multiple languages and installs, by default in the locale of the operating system.
The Windows client systems support these languages:
Czech 0405
Danish 0406
Dutch 0413
English 0409
Finnish 040b
French 040c
German 0407
Italian 0410
Japanese 0411
Korean 0412
Norwegian 0414
Polish 0415
Portuguese 0416
Russian 0419
Spanish 0c0a
Swedish 041d
Turkish 041f
McAfee Agent on Macintosh client systems supports English, Japanese, French, German, and Spanish.
McAfee Agent on all other supported non-Windows client systems supports only English.
Task
1. Download the McAfee Agent extension, EPOAGENTMETA.zip, McAfee Agent packages, and the key updater packages to the
system with McAfee ePO.
You can download McAfee Agent packages from McAfee ePO Software Manager. See McAfee ePO product documentation for
more details.
McAfee Agent comes with different packages for each supported operating system.
Name Description
McAfee ePO The McAfee ePO administrator specifies • Selecting many systems can
the systems and selects one of the Push temporarily affect network
Agents options when adding a system, or throughput.
Deploy Agents for systems already in the • You must specify credentials with
System Tree. administrator rights to the target
systems.
Manual (using the FramePkg.exe The network administrator installs • Allows for information such as custom
installer) McAfee Agent on each managed system properties to be added on an
individually. individual system basis.
• Once McAfee Agent is installed, use
McAfee ePO to upgrade products and
update product content.
Third-party software such as Microsoft Configure your third-party software to • McAfee Agent installation package
Systems Management Server (SMS), distribute McAfee Agent installation contains needed security keys and the
Microsoft Group Policy Objects (GPO), package, which is on your McAfee ePO. Sitelist.xml file.
or IBM Tivoli • See the instructions that come with
your third-party tools.
Logon scripts (Windows only) The network administrator creates an • The user must log on to the system to
installation or upgrade script, which runs trigger the installation or upgrade.
at each logon to a system. • The installation package must be in a
location accessible to the system.
Customized McAfee Smart installer The McAfee ePO administrator creates a • The managed system users must have
customized McAfee Smart installer and administrator rights to install McAfee
distributes it to managed system users Agent manually.
for manual installation. • Enabling peer-to-peer servers helps
reduce load on McAfee ePO.
• Once McAfee Agent is installed,
assigned policies and client tasks are
enforced on the managed system.
Deployment task Use McAfee ePO System Tree to upgrade • McAfee Agent must already be present
McAfee Agent on selected target on the target system.
systems. • Enabling peer-to-peer servers helps
reduce load on McAfee ePO.
An image with McAfee Agent The administrator removes McAfee • Removing the GUID allows McAfee
Agent GUID using the command-line Agent to generate a new GUID on the
switch, then creates an image that first agent-server communication.
contains McAfee Agent and deploys the • Failure to remove the GUID results in
image. "sequencing errors" from multiple
identical systems.
Unmanaged McAfee products on Using the System Tree, the McAfee ePO • McAfee Agent must already be present
Windows systems administrator selects systems to be on the target system in unmanaged
converted from unmanaged status to mode.
managed status and selects Actions →
Agent → Deploy Agents.
Unmanaged McAfee products on non- Type the following command on the • You must have root permission to
Windows platforms system with McAfee Agent that you want perform this action.
to convert from unmanaged to • You must use the srpubkey.bin,
managed: reqseckey.bin, sr2048pubkey.bin,
<agent install path>/bin/maconfig - req2048seckey.bin, and Sitelist.xml
provision -managed -dir <Path of files from McAfee ePO.
location containing agentfipmode,
srpubkey.bin, reqseckey.bin,
sr2048pubkey.bin,
req2048seckey.bin, Sitelist.xml>
Operating
Folder
Location
system
content
Windows
Installation
<PROGRAMFILES>\McAfee\Agent
(32-
files
bit
and
64-
bit)
•
Windows
7–
10
•
Windows
Server
2016
•
Windows
Server
Linux
/opt/McAfee/agent/
Macintosh
/Library/McAfee/agent
Windows
Data
<Documents and Settings>\All Users\Application Data\McAfee\Agent
(32-
Iffiles
the operating system does not have a Documents and Settings folder, the default location is <System_Drive>\ProgramData
bit
\McAfee\Agent.
and
64-
bit)
•
Windows
7–
10
•
Windows
Server
2016
•
Windows
Server
2012
R2
•
Windows
Server
2012
•
Windows
Server
2008
R2
Linux
/var/McAfee/agent/
and
Macintosh
Linux
Configuration
/etc/ma.d/
and
and
Macintosh
management
information
Linux
Script
/etc/init.d/ma
for
Macintosh
/Library/StartupItems/ma
starting
and
stopping
the
agent
manually
and
when
called
by
the
system.
Windows
Installation
%TEMP%\McAfeeLogs
• log
files
Windows
7–
10
•
Windows
Server
2016
•
Windows
Server
2012
R2
•
Windows
Server
2012
•
Windows
Server
2008
R2
Windows
Agent
<Documents and Settings>\All Users\Application Data\McAfee\Agent\Logs
•Iflog
the operating system does not have a Documents and Settings folder, the default location is <System_Drive>\ProgramData
files
Windows
\McAfee\Agent\Logs.
Linux
/var/McAfee/agent/logs
and
Macintosh
Windows
Peer-
<Documents and Settings>\All Users\Application Data\McAfee\Agent\data\mcafeeP2P
If
• to-
the operating system does not have a Documents and Settings folder, the default location is <System_Drive>\ProgramData
peer
Windows
\McAfee\Agent\data\McAfeeP2P.
repository
7–
path
10
•
Windows
Server
2016
•
Windows
Server
2012
R2
•
Windows
Server
2012
•
Windows
Server
2008
R2
Linux
/var/McAfee/agent/data/McAfeeP2P
and
Macintosh
Windows
Lazy
<Documents and Settings>\All Users\Application Data\McAfee\Agent\data\McAfeeHttp
If
• cache
the operating system does not have a Documents and Settings folder, the default location is <System_Drive>\ProgramData
repository
Windows
\McAfee\Agent\data\McAfeeHttp.
path
7–
10
•
Windows
Server
2016
•
Windows
Server
2012
R2
•
Windows
Server
2012
•
Windows
Server
2008
R2
Linux
/var/McAfee/agent/data/McAfeeHttp
and
Macintosh
Windows
Database and Settings>\All Users\Application Data\McAfee\Agent\DB
<Documents
•Ifpath
the operating system does not have a Documents and Settings folder, the default location is <System_Drive>\ProgramData
Windows
\McAfee\Agent\DB.
7–
10
•
Windows
Server
2016
•
Windows
Server
2012
R2
•
Windows
Server
2012
•
Windows
Server
2008
R2
Linux
/var/McAfee/agent/db
and
Macintosh
Linux EPOAGENT3700LYNX
Windows EPOAGENT3000
Macintosh EPOAGENT3700MACX
The Windows installation package is FramePkg.exe and the non-Windows package is install.sh.
This is the installation package that McAfee ePO uses to distribute and install McAfee Agent. Other FramePkg.exe files are
created when:
• You specifically create one in McAfee ePO
• McAfee Agent packages are checked in to any branch of the repository (Previous, Current, or Evaluation)
• Encryption key changes
The default McAfee Agent installation package doesn't contain user credentials. When executed on the targeted system, the
installation uses the account of the currently logged-on user.
You can create custom installation packages with embedded credentials if needed by your environment.
Important: Because an installer package has embedded credentials, access to it should be severely restricted. Installer packages
with embedded credentials should only be used in specific situations where another deployment method is not available. For
additional, important information about the use of embedded credentials, see McAfee KB65538.
You can also create a customized McAfee Smart installer using McAfee ePO. This McAfee Smart installer can be distributed to
client system users for McAfee Agent installation.
Note: You must have root permissions to install McAfee Agent on non-Windows system.
• Network access must be enabled on Windows 7 Home client systems.
• File and Print sharing must be enabled.
• Server services must be enabled.
• Remote registry services must be enabled.
• User Account Control must be temporarily disabled on client systems to push McAfee Agent from McAfee ePO.
The push deployment feature can install McAfee Agent on many systems at the same time. You can only install a single version of
McAfee Agent on a client system.
Task
1. Select Menu → Systems → System Tree, then select the groups or systems where you want to deploy McAfee Agent.
2. Click Actions → Agent → Deploy Agents.
3. Select the appropriate Agent version drop-down list given the target operating system, and select a version from that list.
Results
The Server Task Log page appears with the Deploy McAfee Agent task listed.
Task
1. Create an installation package.
a. Select Menu → Systems → System Tree, then select New Systems.
b. Select Create and download agent installation package.
c. Select the appropriate Agent version.
d. Deselect Embed Credentials in Package to receive the default package. Otherwise, specify the required credentials.
e. If you want the deployment to use a specific Agent Handler, select it from the drop-down list. If not, select All Agent Handlers.
f. Click OK.
g. Select FramePkg.exe and save it to the desktop.
2. To embed credentials on systems not belonging to a domain, change the local security policy on the target systems.
a. Log on to the target system using an account with local administrator rights.
b. From the command line, run SECPOL.MSC to open the Local Security Settings dialog box.
c. In the System Tree under Security Settings → Local Policies, select User Rights Assignment.
d. In the Policy column of the details pane, double-click Impersonate a client after authentication to open the Local Security Policy Setting
dialog box.
e. Click Add User or Group to open the Select Users or Groups dialog box.
f. Select the user or group that the user is likely to run as, then click Add.
g. Click Add.
Results
You are now ready to use your third-party software to distribute the installation package, FramePkg.exe.
Note: By default User Access Control is enabled on Windows Vista and later operating systems. The administrator must add
permission to the user or turn off User Access Control to install the agent manually on client systems.
Task
1. Select Menu → Systems → System Tree, then select New Systems.
2. Next to How to add systems, select Create and download agent installation package.
3. Select the appropriate Agent version.
4. Select or deselect Embed Credentials in Package. If selected, type the appropriate Credentials for agent installation.
If you want these credentials to be remembered the next time you complete this task, click Remember my credentials for future
deployments.
5. If you want the installer to use a specific Agent Handler, select it from the drop-down list. If not, select All Agent Handlers.
6. Click OK.
7. When prompted, select the file to be downloaded. Click to open the file, or right-click to save the file.
8. Distribute the custom installation package file as needed.
Task
1. Copy the installation package, FramePkg.exe, from your McAfee ePO to a shared folder on a network server accessible by the
target system.
2. On the target system, navigate to and right-click FramePkg.exe, select Run as administrator, and wait a few moments while McAfee
Agent is installed.
3. Click OK to complete the installation.
In ten seconds, McAfee Agent calls into McAfee ePO for the first time.
Note: Systems where McAfee Agent is installed manually are located initially in the Lost & Found group of the McAfee ePO System
Tree.
Results
After McAfee Agent is installed, it calls into the server and adds the new system to the System Tree.
Description
Command
Allows
/ you to set custom properties.
Example:
Customprops
FRAMEPKG /INSTALL=AGENT /Customprops1="prop1" /Customprops2="prop2" /Customprops3="prop3"
Specifies
/ the folder on the system to store McAfee Agent data files. The default location is: <Documents and Settings>\All
Users\Application
DATADIR Data\McAfee\Agent. If the operating system does not have a Documents and Settings folder, the default
location is C:\ProgramData\McAfee\Agent.
Example: FRAMEPKG /INSTALL=AGENT /DATADIR=D:\AgentData
Specifies
/ a domain, and account credentials used to install McAfee Agent. The account must have rights to create and start
services
DOMAIN on a system. If left unspecified, the credentials of the currently logged-on account are used. If you want to use an
account
/ that is local to a system, use the system’s name as the domain.
Example:
USERNAME
/
FRAMEPKG /INSTALL=AGENT /DOMAIN=mydomain.com /USERNAME=jdoe /PASSWORD=password
PASSWORD
Installs
/ McAfee Agent in VDI mode.
enableVDImode
Specifies
/ that the existing McAfee Agent is uninstalled, then the new McAfee Agent is installed. Use this option only to change
the
FORCEINSTALL
installation directory or to downgrade McAfee Agent. When using this option, we recommend specifying a different
directory for the new installation (/INSTDIR).
Example:
FRAMEPKG /INSTALL=AGENT /FORCEINSTALL /INSTDIR=D:\McAfeeAgent
/Installs
/ and enables McAfee Agent in managed mode.
INSTALL=AGENT
Example:
INSTALL
FRAMEPKG /INSTALL=AGENT
Enables
/ the AutoUpdate component if it has already been installed, and does not change whether McAfee Agent is enabled.
This
INSTALL=UPDATER
command-line option upgrades McAfee Agent. Use this command to install McAfee Agent in unmanaged mode.
Note: An Embedded credential package cannot be used to install McAfee Agent in unmanaged mode.
Example:
FRAMEPKG /INSTALL=UPDATER
Installs
/ McAfee Agent in a 32-bit mode on a 64-bit operating system.
Example:
INSTALL=AGENT /
FORCE32BITSERVICES
/INSTALL=AGENT /FORCE32BITSERVICES
Specifies
/ the installation folder on the system. You can use Windows system variables, such as <SYSTEM_DRIVE>. If not
specified,
INSTDIR the default location is: <DRIVE>: \program files\mcafee\Agent
Example: FRAMEPKG /INSTALL=AGENT /INSTDIR=C:\ePOAgent
Removes
/ McAfee Agent if not in use. If in use, McAfee Agent changes to updater mode.
Example:
REMOVEFRMINST /REMOVE=AGENT
Removes
/ McAfee Agent forcibly from the client system.
Example:
FORCEUNINSTALL
FrmInst.exe /FORCEUNINSTALL
Resets
/ McAfee Agent language to its default operating system language.
RESETLANGUAGE
Installs
/ McAfee Agent in non-interactive mode, hiding the installation from the user.
Example:
SILENT FRAMEPKG /INSTALL=AGENT /SILENT
or /
S
Specifies
/ the folder path to a specific repository list (McAfee Agent installer, reqseckey.bin (the initial request key),
srpubkey.bin
SITEINFO (the server public key), req2048seckey.bin, sr2048pubkey.bin, Sitelist.xml file, and agentfipsmode file).
Example: FRAMEPKG /INSTALL=AGENT /SITEINFO=C:\TMP\SITELIST.XML
Specifies
/ the locale ID of McAfee Agent that you want to install. Use the switch to change current McAfee Agent language to
any
USELANGUAGE
supported language.
Example: FRAMEPKG /INSTALL=AGENT /USELANGUAGE=0404
Note: If errors occur during installation, all error messages are displayed in English regardless of the installed locale.
Task
1. Copy McAfee Agent installation package, FramePkg.exe, from your McAfee ePO to a shared folder on a network server, where
all systems have permissions.
Note: Systems logging on to the network are automatically directed to this folder to run McAfee Agent installation package
and install McAfee Agent. The default location for the installation packages for Windows is: <Program Files>\McAfee\ePolicy
Orchestrator\DB\Software\Current\EPOAGENT3000\Install\0409\FramePkg.exe. Embedded credential package always runs in
silent mode and does not display any error message when an installation fails.
Task
1. Download Framepkg.exe from McAfee ePO to a shared folder on a network server, where all systems have permissions.
2. Execute this command:
Framepkg.exe /gengpomsi /SiteInfo=<sharedpath>\Sitelist.xml /FrmInstLogLoc=<localtempDir>\<filename>.log
The following files are extracted to your local drive.
◦ MFEagent.msi
◦ Sitelist.xml
◦ srpubkey.bin
◦ reqseckey.bin
◦ agentfipsmode
◦ sr2048pubkey.bin
◦ req2048seckey.bin
3. Copy the extracted files to a shared UNC location specified in siteinfo path.
4. Create a Group Policy Object. (See Microsoft documentation for instructions).
5. Click Computer Configuration → Policies → Software Settings.
6. Right-click Software installation, then click New → Package.
7. When prompted for a package, browse to the shared UNC path, then select MFEAgent.msi.
8. Select the Deployment Method as Assigned.
Results
Note: McAfee Agent does not support per-user installations.
The following non-Windows operating systems support installing McAfee Agent from McAfee ePO.
• Macintosh OS X versions 10.6 (Leopard) and later
• Red Hat Enterprise Linux versions 4 and later
• Ubuntu 11.04 and later
Tip: You can only install one version of McAfee Agent on one type of operating system with this task. If you need to install on
multiple operating systems or versions, repeat this task for each additional target operating system or version.
Task
1. Select Menu → Systems → System Tree, then select the groups or systems where you want to deploy McAfee Agent.
2. Click Actions → Agent → Deploy Agents.
3. Select the appropriate Agent version drop-down list for the target operating system, and select a version from that list.
4. Select Install only on systems that do not already have an agent managed by this ePO server.
5. Type valid credentials in the User name, Password, and Confirm password fields.
If you want these entries to be the default for future deployments, select Remember my credentials for future deployments.
6. If you do not want the defaults, enter appropriate values into the Number of attempts, Retry interval, and Abort after options.
7. If you want the deployment to use a specific Agent Handler, select it from the drop-down list. If not, select All Agent Handlers.
8. Click OK.
Task
1. Select Menu → Systems → System Tree.
2. Perform one of these actions to obtain the installation file:
◦ Click New Systems, select Create and download agent installation package, choose the appropriate Agent version, click OK, and save the
agentPackages.zip file that contains the install.sh file.
◦ Copy the install.sh file directly from McAfee ePO. The path includes the name of the selected repository. For example, if
checked in to the Current branch of the McAfee ePO software repository, the path of the required files is:
3. Open Terminal, then switch to the location where you copied the install.sh file.
4. Run these commands, giving root credentials when requested:
sudo chmod +x install.sh
sudo ./install.sh -i
Task
1. Select Menu → Systems → System Tree.
Install the agent on Red Hat Linux devices using third party deployment method
Installing the agent on Red Hat Linux devices using third-party deployment methods requires an rpm package created for that
environment.
Task
1. Select Menu → Systems → System Tree.
2. Click New Systems, select Create and download agent installation package, choose the appropriate Agent version, click OK, and save the
agentPackages.zip file that contains the install.sh file.
3. Open Terminal, then switch to the location where you copied the install.sh file.
4. Generate rpm (MAProvision.rpm/MAProvision.deb) from install.sh using the option (-p).
◦ Run the command, giving root credentials when requested. For example:
./install.sh -p
Function
Option Macintosh Linux
Upgrades
- the agent x x
only.
b Server information
is not updated.
Shows
- Help. x x
h
Performs
- a new x x
installation.
i
Forbids
- core
generation.
n
Upgrades
- entire x x
installation.
u
Task
1. Select Menu → Dashboards, then under Getting Started click Customize Installation.
2. Type a group name and select the appropriate operating system.
3. Select the required software and policies.
4. If you want McAfee Agent or the other McAfee products to be updated automatically, select Software is automatically updated to the
latest version.
5. Click Done, then follow the on-screen instructions to download and install McAfee Agent.
Task
1. Click the URL or copy and paste it into a browser.
When entering the URL into a browser, make sure to enter the entire URL without spaces.
2. Perform these depending on your operating system.
For Windows Note: You must have administrator rights to install McAfee Agent on
the managed system.
1. When prompted, download the installer. Or, click Install to
download and install McAfee Agent.
2. In the File Download dialog box, click Run.
3. Click Run to confirm installation. A dialog box shows the progress
of the installation.
The installation log McAfeeSmartInstall_<date>_<time>.log is
saved in <LocaltempDir>\McAfeeLogs.
For Macintosh 1. When prompted, download the installer. The customized URL
downloads the McAfeeSmartInstall.app file.
Note: If you are using Mozilla Firefox, the customized URL
downloads the McAfeeSmartInstall.app.zip file. Double-click the
file to extract the McAfeeSmartInstall.app file.
2. Double-click the McAfeeSmartInstall.app file to confirm
installation. A dialog box shows the progress of the installation.
Note: The installation log is saved in /tmp.
For other supported non-Windows operating ◦ Run McAfee Agent installer from the folder where it is
systems downloaded. <McAfeeSmartInstall.sh>
Note: The installation log McAfeeSmartInstall_<date>_<time>.log
is saved in the folder where you downloaded McAfee Agent installer.
Task
Run the following command on the client system with any of these parameters:
On Windows, run McAfeeSmartInstall.exe
On Macintosh, run McAfeeSmartInstall.app
Parameter Description
-d "Data path" Overrides the path of McAfee Agent data files (Windows only).
The default location is: <Documents and Settings>\All Users
\Application Data\McAfee\Agent. If the operating system does
not have a Documents and Settings folder, the default
location is C:\ProgramData\McAfee\Agent.
Example: McAfeeSmartInstall.exe -d D:\McAfeeAgent\Data
-i "Install path" Overrides the default folder where installation files are saved
(Windows only). You can use Windows system variables, such
as <SYSTEM_DRIVE>. If not specified, the default location is:
<DRIVE>:\Program Files\McAfee\Agent
Example: McAfeeSmartInstall.exe -i D:\McAfeeAgent
-a "Proxy address" -p "Proxy port" Specifies the proxy server address and the port number
(Windows and Macintosh only).
If the proxy server details are not provided, the installer uses
the default browser proxy server setting.
-u "Proxy user name" -w "Proxy password" Specifies the user name and password for the authenticated
proxy server (Windows and Macintosh only).
Note: All parameters are optional. If you don't specify a parameter, the installer uses the default value.
Task
1. Select Menu → Systems → System Tree, then click the Agent Deployment tab.
2. Click Actions, then select the required option.
Options Definition
Choose Columns Opens the Choose Columns page where you select the columns
to display on the Agent Deployment page.
Create Agent Deployment URL Opens the Agent Deployment URL page where you create a URL
for Agent Deployment.
Delete Agent Deployment URL Deletes the selected Agent Deployment URL.
Enable/Disable Agent Deployment URL Controls whether the client system users can deploy the
agent using the URL.
Export Table Displays the Export page where you choose the way the table
is exported.
Task
1. Select Menu → Systems → System Tree, then select New Systems.
2. Next to How to add systems, select Create and download agent installation package.
3. Select Agent version.
4. Select or deselect Embed Credentials in Package. If selected, type the appropriate Credentials for agent installation.
If you want these credentials to be remembered the next time you complete this task, click Remember my credentials for future
deployments.
5. If you want the deployment to use a specific Agent Handler, select it from the drop-down list. If not, select All Agent Handlers.
6. Click OK to generate the Agent Deployment URL.
7. Download McAfee Agent and copy the installer on the virtual image.
8. Run the following command to install McAfee Agent in VDI mode:
McAfeeSmartInstaller.exe -v
9. To verify if McAfee Agent was installed in VDI mode, select Menu → Systems → System Tree, then select the system. The System
Information page displays the properties of the client system reported by McAfee Agent. The value of the system property VDI
should be Yes.
Results
McAfee Agent starts the agent-server communication and enforces all policies and tasks as configured on McAfee ePO.
Command-line switches
Use these command-line switches with the maconfig tool to perform operations.
Parameter Description
-custom Set custom properties. You can set more than one custom
property.
-prop1 "string value" -prop2 "string value" ... - Value of custom property. Specify the value for each of your
propN "string value" custom property.
Examples
• Provision the agent to McAfee ePO
This command provisions a specified McAfee ePO to the local system that runs this command.
maconfig -provision -managed -auto -epo <ePO IP> -user <ePO admin username> -password <ePO admin password>
• Set custom properties
This command allows you to set custom properties that are reported back to McAfee ePO and are displayed in the system
properties.
maconfig -custom -prop1 "string value1" -prop2 "string value2"
• Set log level
This command allows you to configure the level of agent activity that is recorded.
maconfig -enforce -loglevel 3
Task
1. Select Menu → Systems → System Tree.
2. On the Assigned Client Tasks tab, click Actions → New Client Task Assignment to open the Client Task Assignment Builder wizard.
Note: McAfee ePO 5.9 Client Task Assignment Builder wizard has all client task scheduler settings in one page.
3. On the Select Task pane, select McAfee Agent as Product, Product Deployment as Task Type, and select the existing deployment task.
Note: You can also create an upgrade task or view the properties of the existing deployment task by clicking Create New Task or
View Selected Task respectively. To define a new task, click Create New Task and enter the information appropriate to the task you
are creating.
4. Next to the Lock task inheritance option, you can choose to unlock or lock the upgrade task to allow or prevent breaking
inheritance.
5. Next to the Tag option, you can choose to send this upgrade task to all systems or specific systems that match the expected
criteria.
6. Click Next to open the Schedule pane.
Results
The upgrade task is sent to the selected client systems at the next agent-server communication. Every time this task executes, it
checks to determine whether to install the specified version of McAfee Agent.
Task
1. Copy the installer files (MFErt.i686.deb and MFEma.i686.deb) to the client system.
2. Open a terminal window on the client system. Navigate to the folder with the installer.
3. Run the following commands:
dpkg -I --force-confnew MFErt.i686.deb
dpkg -I --force-confnew MFEma.i686.deb
Task
1. Select Menu → Systems → System Tree, then select the systems where you want to install a previous version of the agent.
2. Click Actions → Agent → Deploy Agents.
3. From the Agent version drop-down list on the Deploy Agent page, select the agent you want to restore, then do the following:
a. Select Force installation over existing version.
b. Specify the target Installation path for the forced installation.
c. Enter user Credentials for agent installation.
d. Provide the information for Number of attempts, Retry interval, and Abort after.
e. Select whether the connection used for the deployment is to use a specific Agent Handler or All Agent Handlers.
4. Click OK to send the agent installation package to the selected systems.
Task
1. On the client system, uninstall the currently installed version of the agent.
2. On the client system, install the earlier version of the agent.
Results
Tasks, policies, and other data is restored at the first agent-server communication following reinstallation.
Task
1. Select Menu → Systems → System Tree, then select the group with the systems you want to delete.
2. Select the systems from the list, then click Actions → Directory Management → Delete.
3. Select Remove McAfee Agent on next agent-server communication, then click OK.
Task
1. Select Menu → Systems → System Tree, then select a group to be deleted.
2. At the bottom of the System Tree panel, click System Tree Actions → Delete Group.
3. Select Remove McAfee Agent on next agent-server communication from all systems, then click OK.
Task
1. Run a query, then from the results page, select the systems to be deleted.
2. Select Directory Management from the drop-down list, then select Delete from the submenu.
3. Select Remove McAfee Agent on next agent-server communication, then click OK.
Task
1. Open a command prompt on the target system.
2. Run the agent installation program, FrmInst.exe, from the command line with the /REMOVE=AGENT option.
Note: To remove McAfee Agent forcibly from the Windows client system, run the command FrmInst.exe /FORCEUNINSTALL.
Task
1. Open a terminal window on the client system.
2. Run the command for your operating system, providing root credentials when requested.
Mac /Library/McAfee/agent/scripts/uninstall.sh
3. On McAfee ePO, select Menu → Systems → System Tree, then select the systems where you uninstalled McAfee Agent.
4. From the Actions drop-down list, select Directory Management, then select Delete from the submenu.
McAfee and the McAfee logo are trademarks or registered trademarks of McAfee, LLC or its subsidiaries in the US and other countries. Other
marks and brands may be claimed as the property of others.