We just started using teamviewer and wanted to be able to initiate the remote from kace.
After some searching around I found this link posted by thewuzzles:
Knowledge Article 111924
Double check your registry location for the ClientID. Mine was found under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TeamViewer\Version9 So just make sure its pointing to the version you own.
I also found this link that explanes teamviewer command line parameters.
Are there parameters to start TeamViewer?
TeamViewer can be run via command line using different parameters which have to be preceded with a "
Below you can see an example of a command line in which TeamViewer is connecting to a specific ID, using a predefined password and a preset connection mode:
The available connection modes are:
We have a set password on our teamviewer hosts so I added the "--Password" parameter to the machine action. This speeds it up a little in case you get tired of typing passwords over and over.
If your host is configured to accept lan connections, then you can connect via IP address instead for a better connection. Just replace the KACE_CUSTOM_INVENTORY_TEAMVIEWERID in the machine action with KACE_HOST_IP.
So in the end I ended up creating 2 machine actions. The first one for connecting to the local IP for speed. And a second for connecting to the ID for computers that are outside the lan connection.
Here are my actions:
"C:\Program Files (x86)\TeamViewer\Version9\TeamViewer.exe" -i KACE_HOST_IP --Password <YourStaticPassword>
"C:\Program Files (x86)\TeamViewer\Version9\TeamViewer.exe" -i KACE_CUSTOM_INVENTORY_TEAMVIEWERID --Password <YourStaticPassword>
And of course change the directory location accordingly.
I hope some of you find this as helpful as I did. Just wanted to try to make it a bit easier for others to find.