‎08-16-2013 02:18 PM
Username Displayname Value
computer1 Comp1 pass1
computer1 Comp1 pass1
computer2 Comp2 pass2
computer3 Comp3 pass3
computer3 Comp3 pass3
Select Top 1000000 tblAssets.Username,
tblADusers.Displayname,
tblRegistry.Value
From tblAssets
Inner Join tblRegistry On tblAssets.AssetID = tblRegistry.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblADComputers On tblAssets.AssetID = tblADComputers.AssetID
Inner Join tblADusers On tblADusers.Username = tblAssets.Username
Where tblRegistry.Valuename = 'DefaultPassword'
Order By tblAssets.AssetUnique
Solved! Go to Solution.
‎08-16-2013 06:58 PM
Select Top 1000000 tblADusers.Displayname As Store,
tblADusers.Username As Username,
tblRegistry.Value As Password,
tblADusers.Userdomain
From tblAssets
Inner Join tblRegistry On tblAssets.AssetID = tblRegistry.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblADComputers On tblAssets.AssetID = tblADComputers.AssetID
Inner Join tblADusers On tblADusers.Username = tblAssets.Username
Where tblRegistry.Valuename = 'DefaultPassword'
Group By tblADusers.Displayname,
tblADusers.Username,
tblRegistry.Value,
tblADusers.Userdomain
‎08-16-2013 06:58 PM
Select Top 1000000 tblADusers.Displayname As Store,
tblADusers.Username As Username,
tblRegistry.Value As Password,
tblADusers.Userdomain
From tblAssets
Inner Join tblRegistry On tblAssets.AssetID = tblRegistry.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblADComputers On tblAssets.AssetID = tblADComputers.AssetID
Inner Join tblADusers On tblADusers.Username = tblAssets.Username
Where tblRegistry.Valuename = 'DefaultPassword'
Group By tblADusers.Displayname,
tblADusers.Username,
tblRegistry.Value,
tblADusers.Userdomain
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now