Find the registry key. Scan it. Place it into a report.
Google tells me that these are the registry keys, I don't use TeamViewer, but I trust the internet.
Registry Keys - Replace 'Version7' with version number.
for 64 bit Windows 7 I found the key here…
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TeamViewer\Version7\ClientID
for 32 bit Windows 7/XP the keys are here…
HKEY_LOCAL_MACHINE\SOFTWARE\TeamViewer\Version7\ClientID
Report would look something like this:
Select Top 1000000 tblComputers.Computername, tblComputers.ComputerUnique,
tblADusers.Displayname, tblRegistry.Valuename, tblRegistry.Value
From tblComputers Inner Join
tblADusers On tblComputers.Username = tblADusers.Username Inner Join
tblCompCustom On tblComputers.Computername = tblCompCustom.Computername
Inner Join
tblRegistry On tblComputers.Computername = tblRegistry.Computername
Order By tblComputers.ComputerUnique
-Sal