Use Group Policy to remotely install CyberCNS

Convert executable installers to MSI packages:

Download link: https://www.exemsi.com/downloads/msi_wrapper/MSI_Wrapper_10_0_50_0.msi

The installation arguments will differ for each company. Create a separate MSI package for each company.

Steps for Converting EXE to MSI:

Step 1: Open MSI Wrapper and click on Next.

Step 2: Select the Input executable file and MSI output file location then, click on next.

Step 3: Select Visibility in Apps & features as 'HIDDEN' and click on Next.

Step 4: Select the Security and User Context and click on Next.

Step 5: Click on Create New.

Step 6: Change Executable to Manual

 

Step 7:

  • Enter the install arguments and click Next.

  • In the install arguments, the entire path of the exe installer that you get in the UI has to be provided. A single MSI has to be generated per company.

  • Copy the argument from -c to probe (Do not copy the 'Semicolon').

ex: -c 8d75f123-e236-4d68-9c73-ac8b09e9b840 -a 8d75f123-e236-4d68-9c73-ac8b09e9b840 -s a178fe58-4fa2-4fe9-b037-e5998decfd35 -b portalapsoutheast2.mycybercns.com -e chandu -i Probe

Step 8: Then, click on Build

  • Once the build is completed, you will get the status - successfully built an MSI package.

 

Use Group Policy to remotely install CyberCNS:

  • Open the Active Directory Users and Computers console.

  • In the navigation pane, select the container in which you want to store your group. This is typically the Users container under the domain.

  • Click Action, click New, and then click Group.

  • In the Group name text box, type the name of your new group.

  • Double-click the group, select members and add the computers

 

 

  • Create a shared network folder where you'll put the Windows Installer package (.msi file) that you want to distribute.

  • Set permissions on the share to allow access to the distribution package.

  • Copy the MSI in the shared folder.

 

  • Open Group Policy Management

  • Right-click Domain, then select New to create a new GPO

 

 

  • Right-click Group Policy Objects, select Link an Existing GPO and select your GPO

  • Right-click GPO and select Edit

 

  • Right-click on Software installation and select New.

  • In the New folder, select Package.

 

  • Then, select the cybercnsagent folder and click on open.

  • Select the deployment method and click on OK.

  • In the right pane on the bottom, there is a box that says Security Filtering.

  • Click on and remove the Authenticated Users entry. If you want this program deployed on certain computers, add all of the specific computer names that you want the software to be deployed on. Otherwise, if you want it on all computers, add the group Domain Computers.

  • Go back up to the YOURDOMAIN folder (in the navigation pane) and right-click it. Click Link an existing GPO. Click your new GPO's name and click OK.

  • In the Remote machine open PowerShell or command prompt and run the command: gpupdate

  • The command gpupdate /force /boot will reboot immediately.

  • Once the above commands run successfully, the pop-up message displays as depicted in the below image.

  • Once the installation is completed successfully, you can check the status of the installation in the Event Log.