‎07-17-2018 02:03 AM
Select Distinct Top 1000000 tsysAssetTypes.AssetTypeIcon16 As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
Case When tblTPM.IsActivated_InitialValue = 0 Then 'Deactivated0'
When tblTPM.IsActivated_InitialValue = 1 Then 'Activated1'
Else 'Not Present' End As TPMActivation,
tblOperatingsystem.Caption As OS,
Case
When tblOperatingsystem.Caption In ('Microsoft Windows 7 Professional',
'Microsoft Windows 7 å°ˆæ¥ç‰ˆ', 'Microsoft Windows XP Professional',
'Microsoft Windows 7 Professional K') Then 'NO'
When tblOperatingsystem.Caption Not In ('Microsoft Windows 7 Professional',
'Microsoft Windows 7 å°ˆæ¥ç‰ˆ', 'Microsoft Windows XP Professional',
'Microsoft Windows 7 Professional K') Then 'YES' Else 'UNKNOWN'
End As SupportedOS,
tblAssets.Username,
tblAssets.IPAddress,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model
From tblAssets
Inner Join tsysAssetTypes On tblAssets.Assettype = tsysAssetTypes.AssetType
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblSystemEnclosure On tblSystemEnclosure.AssetID =
tblAssets.AssetID
Left Join tblTPM On tblAssets.AssetID = tblTPM.AssetId
Left Join tblOperatingsystem On tblAssets.AssetID = tblOperatingsystem.AssetID
Where tblAssets.AssetName Not Like 'SC%' And tblAssets.AssetName Not In
(1234, 12345, 123456)
And tblSystemEnclosure.ChassisTypes In ('8', '9', '10', '21', '31',
'32')
Select Top 1000000 tsysAssetTypes.AssetTypeIcon16 As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblTPM.SpecVersion,
tblTPM.ManufacturerVersion,
tblTPM.ManufacturerVersionInfo,
Case When tblTPM.IsActivated_InitialValue = 1 Then 'Yes' Else 'No'
End As Activated,
Case When tblTPM.IsEnabled_InitialValue = 1 Then 'Yes' Else 'No'
End As Enabled,
Case When tblTPM.IsOwned_InitialValue = 1 Then 'Yes' Else 'No' End As Owned,
tblTPM.PhysicalPresenceVersionInfo,
tblAssets.Domain,
tblAssets.Username,
tblAssets.Userdomain,
tblAssets.IPAddress,
tblAssets.Description,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssetCustom.Location,
tsysIPLocations.IPLocation,
tsysOS.OSname As OS,
tblAssets.SP As SP,
tblAssets.Firstseen,
tblAssets.Lastseen
From tblTPM
Inner Join tblAssets On tblTPM.AssetId = tblAssets.AssetID
Inner Join tsysAssetTypes On tblAssets.Assettype = tsysAssetTypes.AssetType
Left Join tsysIPLocations On tblAssets.LocationID = tsysIPLocations.LocationID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Inner Join tblPortableBattery
On tblAssets.AssetID = tblPortableBattery.AssetID
Order By tblAssets.AssetName
‎08-08-2019 02:43 PM
‎07-17-2019 10:06 PM
‎07-16-2019 02:40 PM
‎08-05-2019 06:19 PM
Sander Eerdekens wrote:
Anyone experiencing the "not accurate" issue:
We experienced the same and found the cause.
We were both doing active scans with scanning credentials,
and were using the lspush in the logon script.
When lspush was run using the logon script, all TPM information disappeared in lansweeper.
When a sceduled en manual scan was run using the scanning credentials, TPM info reappeared.
This might be related:
https://www.lansweeper.com/knowledgebase/event-id-5605-generated-during-scanning/
Our solution/workaround was to drop the lspush from logon script,
and move to lspush using a sceduled task to trigger at logon, but using admin credentials.
When just doing a manual get-wmiobject win32_tpm using admin credentials, we were getting a "class not found" error.
‎07-25-2018 01:03 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now