We are trying to uninstall Forescout SecureConnector application from endpoints. Strange thing is this application does not appear in Control Panel > Programs list.
We have found a solution which is to double-click on the “Uninstall” manually in the folder.
Have tried to create a script - waithidden “C:\Program Files\ForeScout SecureConnector\Uninstall” /qn
However, it seems to be not working.
Appreciate your help on this.
waithidden {value "UninstallString" of key whose (Value "DisplayName" of it as string as lowercase = "SecureConnecter") of Keys "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall" of ( x64 registries; x32 registries )}