Uninstall a Nessus Agent on Windows
Before you begin:
- Unlink the agent from the manager.
To uninstall 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 Nessus Agent.
Windows deletes all Nessus related files and folders.
Note: On Windows, the Nessus Agent uninstall process automatically creates a backup file in the %TEMP% directory. If you reinstall Nessus Agent within 24 hours, Nessus Agent uses that backup file to restore the installation. If you want to reinstall Nessus Agent within 24 hours without using the backup, manually delete the backup file in the %TEMP% directory beforehand.
To uninstall 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 Nessus Agent on the system, see the knowledge base article on how to avoid linking errors.