How to Install/Uninstall/Migrate agents using GPO light-weight tool?
Windows GPO is a powerful and versatile tool. UEMS agent can be installed, uninstalled or migrated using the GPO light-weight tool.
Note:
- The GPO lightweight tool only supports .EXE files and does not support .MSI files.
- Kindly use account with Domain Admin credentials .
- If a new GPO policy is applied, the installation for existing installed agents will be skipped on all machines. The remaining agents will be installed according to the new policy.
Follow the steps given below to create a Group policy and link it with OUs and Domains:
2. Choose the required action
- Select the required action ( Installation \ Uninstallation \Migration)
If you choose installation, For the agent installer EXE, follow these steps:
-
- Open the server web console.
- Navigate to Agent -> Computers
- Select the required remote office
- Click Download Agent and add the downloaded file in the tool.
If you choose uninstallation use the AgentCleanupToolClient.exe. Follow the steps given in this document to generate the Cleanup tool.
If you choose migration, use Agent Installer exe and AgentCleanupToolClient.exe. Follow the steps given in this document to generate the Cleanup tool.
For the agent installer EXE, follow these steps:
- Open the server web console.
- Navigate to Agent -> Computers
- Select the required remote office
- Click Download Agent and add the downloaded file in the tool.
3. Choose the Policy details
-
- Enter the Name of the GPO [eg : MEECAgentInstall ] -> Enter the policy type [Startup or scheduler ] -> Select the Script type [powershell script is always recommended]
![Enter the Name of the GPO [eg : MEECAgentInstall ] -> Enter the policy type [Startup or scheduler ] -> Select the Script type [powershell script is always recommended]](https://www.manageengine.com/in/products/desktop-central/images/gpo8.png)
4. Link the GPO
-
- To apply policy to entire domain, select "Entire Domain".
- To apply the policy to a specific OU , enter the OU distinguished names and click next. (To obtain the OU distinguished name, refer to the first step.)
5. Confirm the details
-
- Confirm the policy details and click next
- The policy has been successfully created
Note: If the start up policy is configured, restart the endpoints and check the status and if the scheduler policy is created it will be applied in the endpoints within 90 mins.
To test the policy in a machine Immediately after creation, follow the steps below:
- Open the client machine -> Command prompt as an admin and execute the command gpupdate /force
-
- Once the policy update is completed restart the machine if the "Start-up" policy is configured.
- For "Immediate Task" policy will be applied once the policy update is completed.
Listed below are a few possible issues that can be encountered during agent installation, and resolution steps for the same.