Avatar of Jody Davis
Jody Davis
Flag for United States of America asked on

How can i create a list of local admin users on my Win10 company laptops?

Our company has allowed users local admin rights on their laptops in the past. Now they want that power removed, however i've been tasked to first find out who's accounts currently have local admin on our laptops by the end of the day today. I can't think of an easy way to do this.

How can i create a list/determine what accounts have local admin rights on our Win10 laptops? There are over 600 laptops. Manually checking one at a time is not an option.

Any ideas?
Windows 10Active DirectoryLaptops Notebooks

Avatar of undefined
Last Comment
Seth Simmons

8/22/2022 - Mon

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Jody Davis

Thanks guys. Tryin them each. I'll update the thread soon.

Be aware: the advantage of my script is that you can, with one look, see immediately which systems have non-standard admins, since the result file size will be zero if everything is standard and 1 kB, if not.

We run this daily as scheduled task. The result files that begin with "!" Indicate that there is a problem reading out admins.

Ok, may we assume that 5 days of testing should be enough :-)
Any feedback, yet?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Seth Simmons

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: 'McKnife' (https:#a43053057)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Cleanup Volunteer