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 Help Desk Workflow
by  lswanson   Go to last post Go to first unread
Last post: Yesterday at 11:12:21 PM(UTC)
Lansweeper Changing to remote scanning due to COVID
by  FrankSc  
Go to last post Go to first unread
Last post: Yesterday at 9:35:26 PM(UTC)
Lansweeper Not giving hackers the Domain Admin password / account
by  FrankSc   Go to last post Go to first unread
Last post: Yesterday at 9:27:13 PM(UTC)
Lansweeper LsAgent failing - Lansweeper SSL Expired
by  lansweeper25t34  
Go to last post Go to first unread
Last post: Yesterday at 8:33:28 PM(UTC)
Lansweeper Is there a chance to get the firewall off via Lansweeper?
by  EDV_OHZ   Go to last post Go to first unread
Last post: Yesterday at 4:57:26 PM(UTC)
Lansweeper Merge Asset button
by  KeithBecker  
Go to last post Go to first unread
Last post: 8/5/2020 9:27:54 PM(UTC)
Lansweeper Merge Two Assets or Update Based on Serial Number
by  KeithBecker   Go to last post Go to first unread
Last post: 8/5/2020 9:25:16 PM(UTC)
Lansweeper Hyper-V guest assets
by  bgstein  
Go to last post Go to first unread
Last post: 8/5/2020 5:50:24 PM(UTC)