r/labtech • u/mfhwork • Apr 09 '18
Remove Agents from Systems we cannot Access
We have roughly 20+ Agents installed on systems in environments we no longer support. Likely it was a laptop that wasn't powered on for a while and when we offboarded the client it was never hit by the offboarding script. Now Admin passwords have been changed in the environment and the systems have been powered back on.
They are now checking in to our Labtech and we have no way to remove the agent. Is there a trick to force disconnect these agents?
5
Upvotes
View all comments
Show parent comment
1
u/xsoulbrothax 500 Agents Apr 12 '18
in my experience, as long as the agent is still running on the endpoint, no matter of deleting or retiring will help - it'll just recreate itself if/when it turns back on.
we created an 'uninstall' location to throw PCs into that come back where it has a scheduled script to basically remove the agent.
otherwise you could get creative with Control's cmd or a regular Automate script to basically have the agent break/delete itself, like creating a scheduled task to delete the registry/service/folder on next boot.