Uninstall FortiClient

Dear All
I remove FortiClient with help of this page Uninstall Software from Windows using relevance
and it’s uninsalled but still ther is key under HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products

I need to search under HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products for ProductName=FortiClient and delete the key

any help please

Suggest similar to this post, but with a regkeydelete instead of a regdelete
Search & Delete Registry value

Relevance to detect
exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products" whose (value "ProductName" of it as string = "Fortinet") of native registry

https://developer.bigfix.com/action-script/reference/registry/regkeydelete.html

Action to remove
regkeydelete "[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\{name of key "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products" whose (value "ProductName" of it as string = "Fortinet") of native registry}]"

You might have to deal with 64bit vs 32 bit, depending on the nature of your exact key.

1 Like