Perfect. How would I sort the results? I tried
Select Top 1000000 tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetUnique,
tblAssets.Domain,
tblRegistry.Regkey,
tblRegistry.Valuename,
tblRegistry.Value,
tblRegistry.Lastchanged
From tblAssets
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Inner Join tblRegistry On tblAssets.AssetID = tblRegistry.AssetID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Where tblRegistry.Regkey Like '%SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System'
And tblRegistry.Valuename = 'EnableLUA' And tblAssetCustom.State = 1
Order By tblAssetCustom.State
But it doesnt sort the result how I want. Id like to see it sort by UAC enabled first, or vice versa rather than in alphabetically order
I could just enter the number 1 in the search box of the report and it only shows those machines..
Thanks!