4 months ago

2 months ago

Bluetrait MSP

139

Agent Uninstall or New Agent Registration

Windows

If you wish to remove the Windows agent from the computer (including its agent registration within Bluetrait) then please follow these steps.

  1. Uninstall "Bluetrait Agent" from add/remove programs on the local computer
  2. Delete the "C:\Program Files (x86)\Bluetrait Agent" folder or "C:\Program Files\Bluetrait Agent" on 32bit versions of Windows
  3. Delete the agent from Bluetrait

This will remove all previously downloaded scripts/files etc and also remove the configuration file. The configuration file is what determines the agent checks-in against in Bluetrait.

Otherwise if you wish to simply create a new registration in Bluetrait.

  1. Delete the "C:\Program Files (x86)\Bluetrait Agent\config.json" file.
  2. Restart the "BluetraitAgent" service from the services page in Windows.

Linux

To uninstall the linux agent.

systemctl stop btagent
systemctl disable btagent
rm /sys/fs/cgroup/systemd/system.slice/btagent.service
rm /etc/systemd/system/btagent.service
rm /etc/systemd/system/multi-user.target.wants/btagent.service
rm -rf /opt/msp-agent/
systemctl daemon-reload
systemctl reset-failed

MacOS

To uninstall the MacOS agent version 1.5 please follow these steps.

  1. Open terminal
  2. Run: sudo launchctl unload "/Library/LaunchDaemons/net.dalegroup.bluetraitagent.plist"
  3. Run: sudo rm /Library/LaunchDaemons/net.dalegroup.bluetraitagent.plist
  4. Run: rm -rf /opt/msp-agent/

To deploy the mac agent remotely you can run (requires swift tools installed for 10.14.3 or lower):

  1. curl -o MacAgentInstaller.pkg 'https://example.buetrait.com/simple/msp_download_agent?os=mac&access_key=xxxx'
  2. installer -pkg MacAgentInstaller.pkg -target /