How to tell if a domain user is a local admin on the machine

Solution 1:

Try net localgroup administrators instead. If you'd like a PowerShell command to check a specific user, take a look at this blog post. I would hope however that there aren't so many local administrators that you can't spot the user in question.

Solution 2:

Try

C:\>NET USER SomeUser /domain

instead of

C:\>NET USER MYDOMAIN\SomeUser

Solution 3:

Try this command to get all information of the user. it's a powershell command.

GPRESULT -Z /USER [username]