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: 22  
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 Lost Configuration tab (Admin rights)
by  kspap   Go to last post Go to first unread
Last post: Today at 10:30:12 AM(UTC)
Lansweeper Deployment with different user rights
by  Jupiter_IT  
Go to last post Go to first unread
Last post: Today at 9:39:20 AM(UTC)
Lansweeper cisco fuji device not linking with connected devices
by  char   Go to last post Go to first unread
Last post: Yesterday at 9:12:07 AM(UTC)
Lansweeper Microsoft CVE-2020-1425
by  Richard_B  
Go to last post Go to first unread
Last post: 7/3/2020 4:29:41 PM(UTC)
Lansweeper Wake on Lan in VLANs
by  FrankSc   Go to last post Go to first unread
Last post: 7/3/2020 1:56:46 PM(UTC)
Lansweeper Ticket Closed = email to all helpdesk desk agents
by  Laurent Maene  
Go to last post Go to first unread
Last post: 7/3/2020 1:23:49 PM(UTC)
Lansweeper Helpdek Call Re-Opened
by  pryan67   Go to last post Go to first unread
Last post: 7/3/2020 1:12:17 PM(UTC)
Lansweeper Office 365 32bit vs 64bit?
by  brodiemac-too  
Go to last post Go to first unread
Last post: 7/2/2020 10:35:19 PM(UTC)