Team Viewer Machine Action
A TeamViewer Machine Action would be ideal. Another option is the ability to pass an asset field as a variable to the machine action. This would allow us to use ANY machine action as you could simply use an asset field to define the command line switch you wish to send.
This worked well for me.
Ben Stevens commented
K1000 v5.4 which is in RC1 beta release and available Thursday 10/11/12 will enable this feature indirectly ... You will be able to do unlimited machine actions and you can link them to kustom inventory items ...
If you would like to sign up for the release program, you need to be a member of konnect.kace.com
Jonny Barr commented
Agreed although when Teamviewer is installed it inserts a Hex registry value for the ClientID.
This can be converted to text and placed into another key as in the below batch file:
regedit /e "%temp%\_tempReg.txt" "HKEY_LOCAL_MACHINE\SOFTWARE\TeamViewer\Version5.1"
for /f "tokens=2 delims=:" %%A in ('type "%temp%\_tempReg.txt" ^| find /i "ClientID"') do (
set /a DecimalValue=0x!HexValue!
reg add HKLM\SOFTWARE\KACE\ /v TeamviewerID /t REG_SZ /d %DecimalValue% /f
del "%temp%\_tempReg.txt" > nul
Then KACE can populate the Custom Inventory with a new software asset:
RegistryValueReturn(HKLM\SOFTWARE\KACE, TeamviewerID, TEXT)