Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 376
  • Last Modified:

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
0
vitalsign0
Asked:
vitalsign0
2 Solutions
 
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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now