How to use Group Policy to remotely install CyberCNS

Convert executable installers to MSI packages

  • Use the below link to download MSI Wrapper to convert executable installers to MSI Packages-

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

  • Please follow the below steps for converting EXE to MSI:-

  1. Open MSI Wrapper and click on Next.

2. Select Input executable file ( which in this case is cybercnsagent.exe) and MSI output file location and click on Next.

3. Select the Visibility in Apps & features details and click on Next.

4. Select the Security and User Context details and click on Next.

5. Click on Create New

6. Change Executable to Manual 

7.  Enter the Install arguments and click Next.

  • In the install arguments, the part of the command starting from -c that you get in the UI has to be provided. A single MSI has to be generated per company.

 

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

How to Use Group Policy to remotely install CyberCNS Agent:

  • 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 for your new group.

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

 

  • Create a shared network folder where you could 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 the 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 to the YOURDOMAIN folder (in the navigation pane) and right-click on it. Click on Link an existing GPO. Click your new GPO's name and click OK.



  • In 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 installation in the Event Log.

This completes the use of GPO for remote installation of CyberCNS Agent.