Uninstalling the agent
Uninstalling uses the same method as installation.
If you installed from packages, uninstall it with your package manager.
If you installed from source, run the uninstall script from the setup directory you used during installation.
Linux / macOS (source install)
sudo sh setup/linux/uninstall.shOptions:
-S,--silent: non‑interactive-y,--yes: auto‑confirm-D,--hard-delete: remove config, logs, and data
Notes:
Uninstall log:
setup/linux/uninstall.log(written next touninstall.sh).For macOS, if a LaunchDaemon is installed, it is stopped and removed.
Windows
Use Apps & Features or run the uninstaller in the install directory:
C:\Program Files\OCS Inventory Agent\unins000.exe
Notes:
The uninstaller stops and removes the
OCSInventory-Serviceservice.It attempts to remove
C:\ProgramData\OCSInventory-Agent\. If files remain (config, logs, or data), remove the folder manually for a clean uninstall.
Last updated

