cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Schnepel
Engaged Sweeper
Hello,

i scan a custom registry key to see the TeamViewer ID.
That works great.

But can i add the regkey to a custom field, to see it in the asset page?

And can i use the regkey or the custom field for a custom Action?

Thanks for your help.

André

1 ACCEPTED SOLUTION
Susan_A
Lansweeper Alumni
Scanned registry values are listed in the Config\Scanned Info\Registry Keys section of Windows computer webpages. There is no built-in functionality to copy scanned registry values over to a custom field. You could write your own database script for this, based on the tblAssetCustom and tblRegistry database tables. However, we cannot provide support for writing custom scripts and would always recommend backing up your database prior to running any scripts. Backup instructions can be found in this article.

Custom fields or scanned registry values cannot currently be used as parameters in asset actions. This feature is on our customer wish list, but we do not have an estimated release date for it at this time. Currently available parameters are listed when you hit the Add Asset Action button under Configuration\Asset Pages.

View solution in original post

4 REPLIES 4
Schnepel
Engaged Sweeper
...i have a custom Action to open Teamviewer on local Clients:

"C:\Program Files (x86)\TeamViewer\TeamViewer.exe" -i {computer} -P <your password>

This works if you have allowed local lan connection on teamviewer
Schnepel
Engaged Sweeper
Hello,

add a reg key in the Scanning Options\Registry Scanning

HKLM\SOFTWARE\WOW6432Node\TeamViewer\ClientID

and add this report to see the ID in a report


Select Top 1000000 tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Firstseen,
SubQuery1.Value As [TeamViewer ID],
tblAssets.Domain,
tblAssets.Description,
tblAssets.Username
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Inner Join TsysLastscan On tblAssets.AssetID = TsysLastscan.AssetID
Inner Join TsysWaittime On TsysWaittime.CFGCode = TsysLastscan.CFGcode
Left Join (Select Top 1000000 tblRegistry.AssetID,
tblRegistry.Regkey,
tblRegistry.Valuename,
tblRegistry.Value,
tblRegistry.Lastchanged
From tblRegistry
Where tblRegistry.Regkey Like '%SOFTWARE\Wow6432Node\Teamviewer' And
tblRegistry.Valuename = 'ClientID') SubQuery1 On SubQuery1.AssetID =
tblAssets.AssetID
Where tblAssetCustom.State = 1 And TsysWaittime.CFGname = 'registry'
Order By tblAssets.Domain,
tblAssets.AssetName



André
Doratheexplorer
Engaged Sweeper III
Schnepel wrote:
Hello,

i scan a custom registry key to see the TeamViewer ID.
That works great.


Mind to share? Thanks.

Susan_A
Lansweeper Alumni
Scanned registry values are listed in the Config\Scanned Info\Registry Keys section of Windows computer webpages. There is no built-in functionality to copy scanned registry values over to a custom field. You could write your own database script for this, based on the tblAssetCustom and tblRegistry database tables. However, we cannot provide support for writing custom scripts and would always recommend backing up your database prior to running any scripts. Backup instructions can be found in this article.

Custom fields or scanned registry values cannot currently be used as parameters in asset actions. This feature is on our customer wish list, but we do not have an estimated release date for it at this time. Currently available parameters are listed when you hit the Add Asset Action button under Configuration\Asset Pages.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now