App Control: How to Script the Agent Installation

App Control: How to Script the Agent Installation

Environment

  • App Control Agent (formerly CB Protection): All Supported Versions
  • Microsoft Windows: All Supported Version 

Objective

This document describes a script/batch file that can be used to install the App Control Agent on Windows OS

Resolution

Results may vary - use at your own risk. This document is to be used as a generic guide only.
  1. Setup a new shared folder or find a shared folder that all devices requiring the agent can access. One method is to share out the hostpkg directory (Program Files (x86)\Bit9\Parity Server\hostpkg), the package is always up to date
  2. Come up with a deployment plan. One example would be to deploy agents in a disabled mode and move them to the correct policy at a later time (to avoid initialization right after install)
  3. Create a batch file similar to the below
@echo off

reg query hklm\system\currentcontrolset\services\parity

if %ERRORLEVEL% EQU 0 goto :EXISTS

if %ERRORLEVEL% EQU 1 goto :DOESNTEXIST

:EXISTS

exit

:DOESNTEXIST

msiexec /i \\network_location\folder\installer.msi /quiet
  1. Test
  2. Deploy to endpoints
  3. Confirm results

 

Additional Notes

  • The Professional Services team may be able to assist setting this up and helping with environmentally specific recommendations. Please contact VMware for this assistance if needed.
  • It's strongly recommended that to have read the User Guide, are familiar with both Windows and CB Protection command line arguments, and to thoroughly test this procedure before deploying to a large amount of endpoints.

Related Content


Labels (1)
Tags (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎09-09-2020
Views:
2140
Contributors