Hi, at first this is NOT a question, this a quick an dirty but helpful script to readout and show the local ID of the remote access tool TeamViewer of a monitored systems.

I had this idea a couple of days bevor, after poking around with wrong or even not documented TeamViewer (TV) Target IDs of our external Satelites. To find this out you must know that the local TV-ID is stored in the registry in HEX.

1) create a custom property entry called TEAMVIEWER-ID at your target system or even upper in your structure.

2) put this custon property in the System Details Report Template. You can do that via

Service/Devices -> Report Settings -> Server Settings -> System Details.

3) set up a Execute Script Monitor on your target system - running PowerShell and copy this lines:

$mon.FireActions = $False

$mon.Details = "TeamViewer-ID"

$statID = $mon.GetStatID("TV-ID")

$mon.RecordStat($statID, 10.5)

$key = "HKLM:\SOFTWARE\TeamViewer"

$ID = (Get-ItemProperty -Path $key -Name ClientID).ClientID

$mon.SetComputerCustomPropByID(0, "TEAMVIEWER-ID", $ID)


4) Apply and runs it every hour or when ever you like.

The RegKey "HKLM:\SOFTWARE\TeamViewer" works only with TeamViewer Version 11,

diffent TeamViewer Version uses different RegKeys.

Good luck, mte

asked 20 Oct '16, 16:07

MTE's gravatar image

accept rate: 13%

edited 26 Oct '16, 09:17

That's a really cool idea. Thanks for sharing!

(20 Oct '16, 16:45) Doug ♦♦

Question: has anyone other Teamviwer HLKM: Strings?



answered 26 Oct '16, 09:16

MTE's gravatar image

accept rate: 13%

edited 26 Oct '16, 09:18

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 20 Oct '16, 16:07

Seen: 162,945 times

Last updated: 26 Oct '16, 09:18