Deploying the VulnDetect Agent with Group Policy

Deploying the VulnDetect Agent with Group Policy

Introduction

This guide describes how to deploy an MSI package on multiple machines by using Group Policy in Windows Server 2012 and Windows Server 2016. 

Methods of Deployment

Group Policy supports two methods of deploying an MSI package: 
  1. Assign software - A program can be assigned per-user or per-machine. If it's assigned per-user, it will be installed when the user logs on. However, if its assigned per-machine, the program will be installed for all users when it starts. 
  2. Publish software - A program can be published for one or more users. This program will be added to the Add or Remove Programs list, and the user will be able to install it from there. 

Create a Distribution Point

The first step in deploying an MSI through GPO is to create a distribution point on the publishing server as 
follows: 
  1. Log on to the server as an Administrator user 
  2. Create a shared network folder (this folder will contain the MSI package)
  3. Set permissions on this folder to allow access to the distribution package
  4. Copy the MSI into the shared folder 
You can also perform an administrative install for an MSI package contained by an EXE bootstrapper in the 
shared folder. 

Create a Group Policy Object

An MSI package is deployed (distributed) through GPO as a Group Policy Object. Follow the steps below to create an object for your package:
  1. Click the Start button, open Go to Start, and then open Group Policy Management
  2. Expand Forest (your forest) > Domains (your domain)
  3. Right-click Group Policy Objects and select New
  4. Enter a name for your policy and leave Source Starter GPO as (none) 

Assign an MSI Package

A package can be assigned per-user or per-machine. Also, if the package is assigned, it will automatically be 
installed silently. Follow the steps below to assign a package: 
  1. Click your previously created policy 
  2. In the right panel, click the Settings tab
  3. You should see Computer Configuration and User Configuration. Right-click anywhere in the panel and select Edit 
  4. Expand User Configuration > Policies > Software Settings 
  5. Right-click Software Installation and select New > Package 
  6. Select your package from the previously configured network share 
  7. In the dialogue that appears, select Assigned and click OK 
  8. The selected package will appear in the Software Installation panel (wait for it to appear)
  9. Double-click the new package and select the Deployment tab
  10. Check Install this application at logon and select Basic in the user interface 
  11. Click OK 
  12. Close Group Policy Management Editor
  13. In the Group Policy Management window, right-click the domain name from the left-side pane and select Link an existing GPO
  14. Select the previously created policy with the package and click OK 


Warning
Do not use the Browse button in the Open dialogue to access the UNC location. Make sure that you use the 
UNC path to the shared package. 

Publish an MSI Package

When using Group Policy, you can publish a package to allow the target user to install it using Add or 
Remove Programs. Follow the steps below to publish a package:
  1. Click on your previously created policy
  2. In the right panel, click the Settings tab
  3. You should see Computer Configuration and User Configuration. Right-click anywhere in the panel and select Edit 
  4. Expand User Configuration > Policies > Software Settings 
  5. Right-click Software Installation and select New > Package
  6. Select your package from the previously configured network share
  7. In the dialogue that appears, select Published and click OK 
  8. The selected package will appear in the Software Installation panel (wait for it to appear)
  9. Double-click the new package and select the Deployment tab
  10. Check Install this application at logon and select Basic in the user interface
  11. Click OK 
  12. Close Group Policy Management Editor
  13. In the Group Policy Management window, right-click the domain name from the left-side pane and select Link an existing GPO 
  14. Select the previously created policy with the package and click OK 
To test the package:
  1. Log on to the target computer
  2. Click the Start button and go to Control Panel 
  3. Double-click the Add or Remove programs applet and select Add New Programs 
  4. In the Add programs from your network list, select the program you published
  5. Click Add to install the package
  6. Click OK and then Close 

Support and Maintenance

Our support team will assist with the actual setup.


All support questions should be addressed to the SecTeer Customer Support Center:



Several support and information resources are also available through our:


  • User Forums 
    • Interact with other users by posting questions or submitting tips.




SecTeer Icon Black


    Patch Current - Stay Curret