Skip to main content

ness-cleaner

Clean, protected agent uninstall. Before running it on Windows, create the antivirus exclusions.

Commands are run by name (the installer adds the binaries to PATH). On Windows, run them in PowerShell as administrator (recommended; required where marked "Yes"). On macOS and Linux, with sudo.

Authorization modes (choose one)​

ArgumentDescriptionExampleRequires admin
--password <valor|@archivo>Authorizes with the uninstall-protection password set in the console. With @file it reads it from a file.ness-cleaner --password @C:\Temp\clave.txt --dry-runYes
--emergency-token <token>Single-use token generated in the console, for offline devices.ness-cleaner --emergency-token <token> --offlineYes
--legacyAllows cleanup when the organization has no uninstall password.ness-cleaner --legacy --dry-runYes

Options​

ArgumentDescriptionExampleRequires admin
--operation <all|stop|files|purge>What to do: all (default), stop, delete files or purge.--operation stopYes
--tenant-id <uuid>Organization ID for the audit log.--tenant-id <uuid>Yes
--dry-runShows what would be removed without removing anything.--dry-runYes
--force, -fSkips confirmations.--forceYes
--no-rebootDoes not schedule delete-on-reboot; fails instead.--no-rebootYes
--offlineNever uses the network; stops Web Filter first.--offlineYes
--quiet, -qMinimal output.-qYes
--no-elevateDoes not auto-elevate (UAC).--no-elevateYes
The three authorization modes
  • Password (--password): when the organization enabled uninstall protection in the console.
  • Emergency token (--emergency-token): single-use, generated by the administrator in the console; useful for offline devices or when the password is unknown.
  • Legacy (--legacy): only works if the organization has no uninstall password.

Run with --dry-run first to see what will be removed.

--force

--force removes without asking for confirmation. Use it only after reviewing the --dry-run output.

Source

Agent binaries help (--help) on Windows, macOS and Linux; NESS confirmations (Oct-2026).