local Admin or not - Dos command

would there be a command that can be run from the DOS prompt or RUN windows for a user to quickly check if she is a local Admin or not?

thanks
LVL 6
anushahannaAsked:
Who is Participating?
 
AntyraelICT SpecialistCommented:
The command "net localgroup administrators" shows a listing of all members of the local administrators group.
If the list isn't too long, which it shouldn't be, you can see at a glance if a user is in it or not.
0
 
anushahannaAuthor Commented:
sounds good -

can anyone run this command, or only those with Local Admin previledge?
0
 
AntyraelICT SpecialistCommented:
Anyone can run this command, but only administrators can use it to add or remove users to this local administrators group.
0
 
anushahannaAuthor Commented:
great- helped..
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.