Installing Desktop Central Agent using GPO light-weight Tool

How to Install Desktop Central agents using GPO light-weight tool?

Windows GPO is a powerful and versatile tool. Desktop Central agent can be installed using the GPO light-weight tool. Follow the steps given below to create a Group policy and link it with OUs and Domains.

Steps:

  1. Download and extract the Agent Installer files (.msi & .mst).
    • Navigate to Admin tab.
    • Under SoM Settings, click on Scope of Management
    • Click on Download Agent.
    • Select the required remote office.
  2. Save the .msi and .mst in a folder location.
    • Download the GPO_Tool.ps1 script on the location where the .msi and .mst files are saved.
    • If you want to configure the policy using VB script, then download and save the script InstallAgent.vbs on the same location.
    • (or)

    • In case you want to configure the policy using PowerShell script, then download and save the script PSInstallAgent.ps1 on the same location.
  3. Run windows PowerShell in administrative mode and navigate to that script (GPO_Tool.ps1) location, then execute the script with arguments as mentioned below.
  4. For vb script configuration: .\GPO_Tool.ps1 DesktopCentralAgent.msi DesktopCentralAgent.mst InstallAgent.vbs

    For PowerShell script configuration: .\GPO_Tool.ps1 DesktopCentralAgent.msi DesktopCentralAgent.mst PSInstallAgent.ps1

  5. In the PowerShell window, enter the name of the GPO to be created and press Enter.
  6. After creating the GPO, enter the distinguished name of the OU or Domain to be linked with. Follow the steps mentioned below to get the distinguished name:
    • Open Active directory users and computers in Administrative tools.
    • Under View, enable Advanced Features.
    • Right click on the OU / Domain which you want to be linked with.
    • Select Properties -> Attribute Editor -> distinguishedName -> View
    • GPO lightweight tool

    • Copy and paste the value of distinguishedName in the powershell window and press enter.
  7. Now paste the copied distinguished name in the PowerShell window and click Enter.
  8. If you want to 'Add' another Domain, press y and repeat step 5. Else, press n to end the process.

 

If you still find issues with installing the agents, then feel free to contact our support team at desktopcentral-support@manageengine.com.