Need a way to determine who has local admin rights to their PCs

I'm looking for a way to determine who has local admin rights to their PCs. We have several hundred laptops/desktops so I'd like a way to get the data automatically. Everyone is on Windows XP/7
LVL 1
vitalsign0Asked:
Who is Participating?
 
pclinuxguruCommented:
You may want to check Power Users as well. back when XP SP3 came out we noticed power users doing a lot of things restricted to administrators. Well from some research they are one and the same.

"This inherent design flaw of the Power Users group is why the Windows team has been trying to get rid of it for years. Windows XP suppressed the Power Users group from the UI, so it was harder to add users. The group still exists, though, for backward compatibility. Don’t fool yourself into thinking the Power Users group is a step below an administrator. It’s pretty much the same thing"

http://technet.microsoft.com/en-us/magazine/hh824683.aspx
0
 
Danny ChildIT ManagerCommented:
Some info here on this:
http://blogs.technet.com/b/brad_rutkowski/archive/2007/01/06/find-out-the-members-of-the-local-administrator-group-remotely.aspx

but you may want to elaborate a bit more on the actual issue you are tring to resolve, as it may be that other groups of users can still cause problems without being actual Local Admins.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
vitalsign0Author Commented:
We are simply running an audit of who has local Admin rights to local machines. Knowing any Power Users would also be helpful.
0
 
pclinuxguruCommented:
Well I can attest that the script Geodash posted works... used it a long time ago when our IT staff had changed.
0
 
RobSampsonCommented:
Hi, have a look at the script here (right down the bottom):
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_27498756.html

It will read computer names from servers.txt and write the members of the Administrators group to a CSV.

Regards,

Rob.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.