How To: Install ConnectSecure Agent MSI via GPO

Modified on Tue, Jul 29 at 12:36 PM

Creating Shared Folder and Storing MSI

  • Create a folder called ‘connectsecure’ in a location of your choice to store the ‘cybercnsagent.msi' download and related files.

  • Download the MSI agent installer from the Company > Agents level and copy the MSI to your install folder for GPO use.

image-20241112-205700.png
  • Download the install_ccns.bat file (below), update the Company ID, Tenant ID, and User Secret as shown above, and place it into your GPO install directory.

install_ccns.bat < ----- download the file here!

NOTE: You must update the values in the install_ccns.bat file with your values.

Company ID, Tenant ID, User Secret, and UNC Path as highlighted here:

image-20241119-210552.png

Here is where you should be at this point. A ‘connectsecure’ folder with the two files stored as shown below, with the edits completed to have the correct company agent installation information.

image-20240405-151153.png
  • Share the "connectsecure" folder with the network by following these steps:

    • Right-click on the "connectsecure" folder and select "Properties."

image-20240405-151236.png
  • Go to the "Sharing" tab and click "Advanced Sharing."

image-20240405-151329.png
  • Check the box for "Share this folder" and set the share name as "connectsecure" (for example).

image-20240405-151454.png
  • Click "Permissions" and add "Everyone" with Read/Write permissions.

image-20240405-151518.pngimage-20240405-151605.png

Then choose Apply and OK

image-20240405-151645.png

Configure Group Policy

  • Open the Group Policy Management Console (GPMC).

  • Select the domain in which you want to create a new Group Policy Object (GPO).

  • Right-click on the domain and choose "Create a GPO in this domain, and Link it here..."

  • Name the new GPO, for example, "Deploy CCNS Agent Through GPO.

  • Right-click on the newly created GPO and select "Edit."

  • In the Group Policy Management Editor, navigate to "Computer Configuration" > "Policies" > "Windows Settings" > "Scripts (Startup/Shutdown)."

  • Double-click on "Startup" in the right pane.

  • Click on "Add" to add a new startup script.

  • Select the "install_ccns.bat" script from your shared folder created in the steps above.

Click "OK" to add the script.

  • Close the Group Policy Management Editor.

Apply the GPO

  • In the Group Policy Management Console, right-click on the Organisational Unit (OU) where you want to deploy the CyberCNS Agent.

  • Select "Link an Existing GPO" and choose the "Deploy CCNS Agent Through GPO" GPO.

Deployment Process

  • Group Policy will now deploy the CyberCNS Agent MSI and execute the "install_ccns.bat" script during computer startup.

  • The script will install the agent silently with the specified parameters.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article