servicedesk wrote:
Charles.X
I just been checking today and seems renamed information is added to the Assets comments field like:
20/11/2017 7:40:00 Renamed Workgroup\W10-1234\1 to mydomain\W10-1234\1
20/11/2017 7:00:00 Renamed mydomain\W7-1234\1 to Workgroup\W10-1234\1
I noticed old renamed computers in Active Directory, now doesn't have an Asset ID in Lansweeper. That's could be easy to retrieve with a custom script.
Do you think there's any other situations where Lansweeper could not create an Asset ID ?
Regards
Hello,
Due to te ever changing nature of our company we have the same issue, so sometime ago I've asked around the forum and ended up with a report that lists duplicate machines by motherboard UUID. Service tags could also be used, but they only work with brand name machines, and UUID's work also with OEM computers, like the ones we use.
That being said, they are not 100% correct, I've removed a few known troublesome UUID's from the list, but at least on our case, it works pretty well.
Select Top 1000000 tblAssets.AssetID,
tblComputerSystemProduct.UUID,
tblAssets.AssetName,
tblAssets.Domain,
tsysIPLocations.IPLocation,
tblAssets.IPAddress,
tblAssetCustom.Model,
tblBaseBoard.Product As Board,
tblAssetCustom.Serialnumber As [Service Tag],
tblBaseBoard.SerialNumber,
tblAssetCustom.Manufacturer,
tblAssetCustom.State,
tblADComputers.Lastchanged As AD_LastChanged
From tblAssets
Inner Join tblComputerSystemProduct On tblAssets.AssetID =
tblComputerSystemProduct.AssetID
Inner Join tblBaseBoard On tblAssets.AssetID = tblBaseBoard.AssetID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Left Outer Join tsysIPLocations On tblAssets.IPNumeric >=
tsysIPLocations.StartIP And tblAssets.IPNumeric <= tsysIPLocations.EndIP
Inner Join tblADComputers On tblAssets.AssetID = tblADComputers.AssetID
Where
tblComputerSystemProduct.UUID Not Like
'%00000000-0000-0000-0000-000000000000%' And tblComputerSystemProduct.UUID Not
Like '%03000200-0400-0500-0006-000700080009%' And
tblComputerSystemProduct.UUID Not Like
'%15773880-AD8A-8149-2525-08606E1272B3%' And (Select Count(*)
From tblComputerSystemProduct As a
Where a.UUID = tblComputerSystemProduct.UUID) > 1
Order By tblComputerSystemProduct.UUID