How to delete internal targets (and remove the agent)

Deleting systems which you no longer wish to cover with Intruder's internal scanning agent

Naomi Purvis avatar
Written by Naomi Purvis
Updated over a week ago

When it comes to removing your internal systems from Intruder's coverage, there are three steps you must follow:

1. Delete the internal target

To do this, head to the Targets page, check the box next to the target in question and hit the 'Delete' button at the top.

2. Unlink the agent

Navigate to the location where the agent was installed, and run the appropriate 'unlink' command, as shown below:

Windows (Run as Administrator)
* Assuming that the agent is installed in the default location

"C:\Program Files\Tenable\Nessus Agent\nessuscli.exe" agent unlink

Linux

sudo /opt/nessus_agent/sbin/nessuscli agent unlink

MacOS

sudo /Library/NessusAgent/run/sbin/nessuscli agent unlink

After the agent is unlinked, Intruder will automatically remove the internal system from your targets list. This process can take up to 5 minutes. The license for the internal target will be released 30 days from the last time it was scanned.

3. Uninstall the agent

Follow the steps in the relevant OS guide to uninstall the agent (including any appended notes). Once you've done that reboot the system.


I now need to re-install the agent and re-add the target

If you've followed the steps above to try and troubleshoot an issue you're having with the agent or internal target, you'll need to start again from scratch – but make sure you use a different DeviceName (otherwise you'll likely to face further complications):

Did this answer your question?