Notification

Icon
Error

local admin users of a specific device - Users in groups report

Posted: Monday, May 25, 2020 9:30:26 PM(UTC)
kdunnett

kdunnett

Member Original PosterPosts: 6
0
Like
This issue has been solved! Click here to view the solution
Hi there,

Is there a way to create a report that shows all the local admin accounts on one or all win 10 devices?

I can get to it manually by clicking on a device name--> Config tab--> User info tab--> Users in Groups

Thanks

Kirk
Andy.S
#1Andy.S Member Posts: 27  
posted: 6/4/2020 10:42:23 AM(UTC)
Hi Would something like this do, List all the members of the Administrator group by Asset :-


Code:
Select Top 1000000 tblAssets.AssetID,
  tblAssets.AssetName,
  tblUsersInGroup.Username,
  tblUsersInGroup.Domainname,
  tblUsersInGroup.Groupname,
  tsysOS.OSname
From tblAssets
  Inner Join tblUsersInGroup On tblAssets.AssetID = tblUsersInGroup.AssetID
  Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Where tblUsersInGroup.Groupname = 'administrators' And
  tsysOS.OSname Like '%Win 10%'
Order By tblAssets.AssetName


kdunnett
#2kdunnett Member Original PosterPosts: 6  
posted: 6/9/2020 8:35:59 PM(UTC)
This worked great, thanks!

Active Discussions

Lansweeper Software List by Computer/Server Name
by  Andy.S  
Go to last post Go to first unread
Last post: Yesterday at 8:06:43 AM(UTC)
Lansweeper Asset: Duplicate Serial Number (Built-in)
by  brodiemac-too   Go to last post Go to first unread
Last post: 8/5/2020 1:28:56 PM(UTC)
Lansweeper A Simple Report (or so I thought)
by  Andy.S  
Go to last post Go to first unread
Last post: 8/5/2020 11:30:45 AM(UTC)
Lansweeper Paid Report Writer Service
by  endyk   Go to last post Go to first unread
Last post: 8/4/2020 11:56:20 AM(UTC)
Lansweeper Multiple Computers per User
by  brodiemac-too  
Go to last post Go to first unread
Last post: 7/30/2020 12:43:38 PM(UTC)
Lansweeper Workstations with No AV
by  brodiemac-too   Go to last post Go to first unread
Last post: 7/29/2020 7:44:53 PM(UTC)
Lansweeper AV Audit Report
by  RC62N  
Go to last post Go to first unread
Last post: 7/29/2020 5:17:42 PM(UTC)