Uninstall a Nessus Agent on Windows

Before you begin:

To uninstall Nessus Agent from the Windows user interface:

  1. Navigate to the portion of Windows where you can Add or Remove Programs or Uninstall or change a program.
  2. In the list of installed programs, select the Tenable Nessus product.
  3. Click Uninstall.

    A dialog box appears, prompting you to confirm your selection to remove Nessus Agent.

  4. Click Yes.

    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:

  1. Open PowerShell with administrator privileges.

  2. 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.