Uninstall Forescout secureconnector using bigfix

You are trying to run a shortcut for uninstall & additionally you have not provided the complete shortcut file name.

If you have tested it locally & silently by running shortcut method, you can replicate the same method something like below -

waithidden cmd.exe /C “C:\Program Files\ForeScout SecureConnector\Uninstall.lnk” /qn

OR

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 )}

OR

waithidden "C:\Program Files\ForeScout SecureConnector.exe" -uninstall