→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎11-21-2018 05:40 PM
This column is mandatory for deployments to work with reports
‎09-06-2019 03:29 PM
‎11-27-2018 11:46 AM
‎08-13-2019 05:22 PM
Esben.D wrote:
Do you have tblassets.assetID in the report? the report needs to be linked to tblassets before it can be used for deployments.
Select Top 1000000 tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Username,
tblADusers.Firstname,
tblADusers.Lastname,
SubQuery1.Value As [Registry Value],
tblAssets.Firstseen,
SubQuery1.Lastchanged,
tblAssets.Lastseen As Lastseen
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
'%SYSTEM\CurrentControlSet\Control\Session Manager\Environment' And
tblRegistry.Valuename = 'JAVA_TOOL_OPTIONS') SubQuery1 On
SubQuery1.AssetID = tblAssets.AssetID
Inner Join tblADusers On tblADusers.Username = tblAssets.Username
Where tblAssetCustom.State = 1 And TsysWaittime.CFGname = 'registry'
Order By tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now