Hi
I have a question about the Recovered license keys data section in Lansweeper.
I’m currently working on a software audit and although using the below SQL I’m finding Microsoft office products such as (Microsoft Office Visio Professional 2007). I then find the software is no longer actually installed on the machines I'm auditing . When looking at the main Lansweepers dashboard and against a specific machine, the product and licence keys are contained within the “Recovered license keys area” NOT within the actual software currently installed. Is there a way to omit the historical / Recovered license keys data from being audited ?
Select Top 1000 tblAssets.AssetName,tblAssets.IPAddress,tblAssets.Username, tblSerialnumber.Product, tblSerialnumber.ProductKey
From tblAssets
Inner Join tblSerialnumber On tblAssets.AssetID = tblSerialnumber.AssetID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Where tblAssetCustom.State = 1
and tblSerialnumber.Product like '%office%'
and tblAssets.Domain = 'DomainName'
and tblSerialnumber.Product = 'Microsoft Office Visio Professional 2007’
and (tblAssets.IPAddress like '192.168.3.%'
or tblAssets.IPAddress like '192.168.4.%' or tblAssets.IPAddress like '192.168.5.%' or tblAssets.IPAddress like '192.168.6.%')
Regards
Swanie