The RocketCyber Agent can be uninstalled from a system using the following methods.
Powershell - Windows
Attached to this article is a Powershell script which can be used to automate the uninstall of the RocketCyber Agent.
**The attachment is called rocketagent_uninstall.ps1
Command Line Uninstall - Windows
If you prefer to script or perform an uninstall from the command line the uninstaller program is located in Program Files\RocketAgent\uninstall.exe
If you execute uninstall.exe without any command-line parameters it will display a normal graphical uninstaller interface that requires user interaction. To run a silent uninstall provide /S as a command-line parameter. This will cause the uninstaller to not display its user interface and requires no user interaction. See the example below:
C:\Program Files\RocketAgent\uninstall.exe /S
Command Line Uninstall - macOS
If you prefer to script or perform an uninstall from the command line the uninstaller program is located in /usr/local/rocketcyber/mac-agent-updater
To uninstall, See the example below:
sudo /usr/local/rocketcyber/mac-agent-updater UNINSTALL "" "" ""
The command is case sensitive and must be entered exactly as shown.
Both of these methods will run silently and can be scripted using any RMM tool or other automation tool that can execute commands on an endpoint.
Uninstall Linux Agent
Uninstall via the linux-agent-updater application.
sudo /usr/local/rocketcyber/linux-agent-updater UNINSTALL "" "" ""
Manual Uninstall Linux Agent
sudo systemctl stop rocketcyber.service
sudo systemctl status rocketcyber.service
sudo rm /etc/systemd/system/rocketcyber.service
sudo systemctl daemon-reload
sudo rm -rf /usr/local/rocketcyber