Agent Installation - Knowledge base

Uninstall Desktop Central agents from the remote office computers manually


This document describes the procedure to uninstall the Desktop Central agents installed in the remote office computers manually. When you no longer wish to manage a remote office computer using Desktop Central, it is recommended to remove the agents from those computers before removing the computers from the Scope of Management (SoM) page.


Unlike computers in the same LAN where Desktop Central Server is installed, the agents in the computers in the remote location that are spread across WAN cannot be uninstalled directly from the Desktop Central Server. Similar to installing them manually, it also have to be uninstalled manually from the remote computers.

Manually Remove from Individual Computers

  1. Download the script UnInstallDCAgent.txt
  2. Rename it to UnInstallDCAgent.vbs
  3. Run the script in all the client computers from the command prompt: CSCRIPT UnInstallDCAgent.vbs

Using PsExec Utility to Remove from Multiple Computers

You can use the PsExec utility to execute the agent uninstallation script in multiple computers within the same office. If you have multiple remote offices added in Desktop Central, you need to perform these steps in each of the remote offices.

  1. Create a network share (eg. \\MyServer\MyShare).
  2. Download the script UnInstallDCAgent.txt.
  3. Rename it to UnInstallDCAgent.vbs. Save the vb script in the network share created in step 1
  4. Download the PsExec utility from and save it in, for example, C:
  5. Run the script using the following command from the dos prompt

    C:\for /f %f in (c:\computernames.txt) do psexec \\%f -u <domain>\administrator -p <password> CSCRIPT \\MyServer\MyShare\UnInstallDCAgent.vbs where,

    computernames.txt contains a list of computers from where the agent has to be uninstalled, which has to be specified with its complete path
    <domain> refers to the domain or the workgroup admin user name
    <password> refers to the domain or the workgroup administrator password

Applies to: Desktop Central Uninstallation, Agent Uninstallation, Remote Office Agent, WAN Agent Uninstallation

Keywords: Uninstall Agents, Agent Uninstallation, Desktop Central Uninstallation

Unable to resolve this issue?
If you feel this KB article is incomplete or does not contain the information required to help you resolve your issue, upload the required logs, fill up and submit the form given below. Include details of the issue along with your correct e-mail ID and phone number. Our support team will contact you shortly and give you priority assistance and a resolution for the issue you are facing.

 * Mandatory Fields

Other KB articles 24/5 Support

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 :

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.