Uninstall a Nessus Agent on Windows
Before you begin:
- Unlink the agent from the manager.
To uninstall Tenable Nessus Agent from the Windows user interface:
- Navigate to the portion of Windows where you can Add or Remove Programs or Uninstall or change a program.
- In the list of installed programs, select the Tenable Nessus product.
A dialog box appears, prompting you to confirm your selection to remove Tenable Nessus Agent.
Windows deletes all Nessus related files and folders.
Note: On Windows, the Tenable Nessus Agent uninstall process automatically creates a backup file in the %TEMP% directory. If you reinstall Tenable Nessus Agent within 24 hours, Tenable Nessus Agent uses that backup file to restore the installation. If you want to reinstall Tenable Nessus Agent within 24 hours without using the backup, manually delete the backup file in the %TEMP% directory beforehand.
To uninstall Tenable Nessus Agent from the Windows CLI:
Open PowerShell with administrator privileges.
Run the following command:
msiexec.exe /x <path to Nessus Agent package>Note: For information about optional msiexec /x parameters, see msiexec in the Microsoft documentation.
What to do next:
If you plan on reinstalling the Tenable Nessus Agent on the system, see the knowledge base article on how to avoid linking errors.