Follow

How to: Completely uninstall Venafi in preparation for new install

Applies To:

Trust Protection Platform 14.1 and greater

Subject:

Completely uninstall TPP from a server in preparation for a fresh install with new database instance (same database vendor)

Steps:

  • Backup the DPAPI key (Program files\Venafi\Platform\DPAPI_KeyUtility.exe)
  • Uninstall TPP (NOTE: This purposely leaves behind some settings for emergency recovery)
  • Delete HKEY_LOCAL_MACHINE\SOFTWARE\Venafi
  • Go to "C:\Windows\Microsoft.NET\assembly\GAC_64\" and delete any folders with Venafi in the name
  • Go to "C:\Windows\Microsoft.NET\assembly\GAC_MSIL" and delete any folders with Venafi in the name

You should now be able to reinstall TPP

 

If the uninstall does NOT work:

1. Reinstall first

First, try to reinstall to fix the uninstall. By default, the MSI wont reinstall, so you have to trick it to think the product isn't installed. Find the registry key for Venafi, by default located here:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall 

There is likely a few registry entries / folders with Venafi content (for platform, agent, VCC, etc) and all of them should be removed.

Then try to reinstall the product (without running VCC at the end).  This may restore missing entries needed to uninstall it.  If this works, follow the above steps.

 

2. Troubleshoot MSIEXEC

There are times the executable may have issues itself (e.g. 1722 error). In this event, you'll want to ensure MSIEXEC is functioning. The following may be useful but is not exclusive to other ideas:

  • Ensure the Windows Installer service is actually running. This may require switching the service to Manual and starting it, just to be sure. (remember to switch it back after the uninstall). Then try again.
  • Ensure MSIEXEC is registered correctly. From an elevated command prompt, run msiexec /unregister and then msiexec /register just to make sure it's all good and try again.

 

3. If all else fails - clean up manually

Finally, if you can't find another way, the uninstall essentially removes:

NOTE: This is not supported per-se, as it is unique, technically, to every version.  But this is very close.

  • Program Files\Venafi
  • The 2 GAC folders listed above
  • The Registry key listed above
  • The uninstall registry keys  in #1 above
  • IIS installations (should all be under Venafi)

Control Panel. There's a possibility that after all of this, the Control Panel may still think it is installed. Generally, trying to remove the product from Control Panel when the files are missing will generate an error and a prompt to remove it from the list, which should work.

 

Was this article helpful?
3 out of 3 found this helpful
Have more questions? Submit a request

Comments