This document describes the procedure to uninstall Endpoint Central MSP agents installed in remote offices. It is recommended that you uninstall agents from the computers, which you do not want to manage using Endpoint Central MSP, before removing them from the Scope of Management (SoM) page.
Agents that are installed in computers in remote offices cannot be uninstalled directly from the Endpoint Central MSP server. They have to be uninstalled manually.
This section gives you information on how to uninstall agents from each computer in a remote office. To uninstall agents manually from each computer in a remote office, follow the steps given below:
You have uninstalled agents from computers in a remote office. You can also uninstall agents, simultaneously, from multiple computers using the PsExec Utility.
Uninstalling Agents from Multiple Computers
You can use the PsExec utility to uninstall agents, simultaneously, from multiple computers in a remote office.
Note: If you have multiple remote offices, you must follow the steps given below in each of the remote offices.
C:\for /f %f in (c:\computernames.txt) do psexec \\%f -u <domain>\administrator -p <password> CSCRIPT \\MyServer\MyShare\UnInstallDCAgent.vbs
Note: In the command mentioned above:
You have uninstalled agents simultaneously from multiple computers in a remote office.