Uninstall a Tenable Nessus Agent on Windows
You can uninstall an agent from Windows via the Windows user interface or the Windows CLI.
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 Agent product.
-
Click Uninstall.
A dialog box appears, prompting you to confirm your selection to remove Tenable Nessus Agent.
-
Click Yes.
Windows deletes all Nessus related files and folders.
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.