ManageEngine Logo
Desktop Central 7

Windows Desktop Management Software

Install Desktop Central agents using GPO

Problem

Desktop Central Agent installation fails with various error messages. Unable to install the agents even after the provided resolution options.

Cause

Desktop Central installs the agents remotely using the domain admin or a common admin credential that is provided when adding the domain / workgroup. The installation may fail if a remote connection could not be established with the folowing errors:

Each of the above errors could be overcome using the resolutions provided in the respective knowledge base articles. If you still could not install the agents, you can install the agents manually using a script

Resolution

Run the script in a single computer

  1. Download the DesktopCentralAgent.msi by clicking the "Download Agent" link in the Scope of Management page of the Desktop Central User Interface.
  2. Download the script InstallAgent.txt
  3. Rename it to InstallAgent.vbs
  4. Run the script in each of the client computers from the command prompt: CSCRIPT InstallAgent.vbs DesktopCentralAgent.msi

Run the script in multiple computers using GPO of Active Directory

If you have an Active Directory setup, you can add this as a startup script in all the client computers as below:

  1. Create a network share (eg. \\MyServer\MyShare).
  2. Download the DesktopCentralAgent.msi by clicking the Download Agent link in the Scope of Management page of the Desktop Central client. Save the msi in the network share created in step 1.
  3. Start -> Run -> gpmc.msc
  4. Right-click the domain and select "Create and Link a GPO here".
  5. Specify a name for the GPO
  6. Select the GPO from the tree.
  7. Select the Scope tab.
  8. Click the Add button in the Security Filtering to specify the computers.
  9. Click the Object Types button in the "Select User, Computer, or Group" dialog and select Computers object type and click OK.
  10. Specify the computer names and click Check Names to add the required computers.
  11. Click OK to close the "Select User, Computer, or Group dialog".
  12. Right-click the GPO and select Edit.
  13. Expand Computer Configuration --> Windows Settings --> Scripts.
  14. Right-click Startup and select properties.
  15. Click Show Files and drag and drop the InstallAgent.vbs to this location and close.
  16. In the Startup Properties dialog, click Add.
  17. Browse to select the InstallAgent.vbs script.
  18. Specify the Script Parameters as, for example, \\MyServer\MyShare\DesktopCentralAgent.msi. This refers to the shared location where you have stored the Desktop Central Agent.
  19. Click OK to close the Add a Script dialog
  20. Click OK to close the Startup Properties dialog
  21. Close the Group Policy Object Editor
  22. Close the Group Policy Management dialog.

The script will get executed during the next reboot of the client computers. After the execution of the scirpt, the Desktop Central Agents gets automatically installed in all the client computers.

Note: For the script to execute successfully, the file association of .vbs files should be set to "Microsoft Windows (r) Based Script Host" in all the client computers. If this has been modified to some text editor, the scripts will not execute.

Applies to: Agent Installation Failure, Desktop Central Agent Installation

Keywords: Agent Installation, Desktop Central Agent Installation Failure, Installation Failure, Access Denied

 Did this resolve your issue?

 Seek assistance from our Experts.

Other KB articles 24/5 Support

desktop_managementAgent Installation

desktop_managementConfigurations

desktop_managementInventory Management

desktop_managementPatch Management

desktop_managementSoftware Distribution

desktop_managementService Pack Installation

desktop_managementDesktop Sharing

desktop_managementActive Directory Reports

desktop_managementUser Logon Reports

desktop_managementDesktop Central SP Upgrade

desktop_managementMiscellaneous

More

 

Support will be available 24hrs a day and five days a week (Monday through Friday), excluding USA & India public holidays.

Tel   : +1-888-720-9500
Email : desktopcentral-support@manageengine.com

Speak to us

  • Join the Desktop Central Community, to get instant answers for your queries, register with our Forum.
  • Look out for the latest happenings in Desktop Management, follow our Tweets on Twitter.
  • Get to know the latest updates and Best Practices in Desktop Management through our Blog.

Desktop Central Download
Free Desktop Management Desktop Power Management Desktop Central is Windows 7 Compatible