?
Solved

local Admin or not - Dos command

Posted on 2010-11-09
4
Medium Priority
?
765 Views
Last Modified: 2012-05-10
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
0
Comment
Question by:anushahanna
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
Antyrael earned 2000 total points
ID: 34091819
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
 
LVL 6

Author Comment

by:anushahanna
ID: 34092822
sounds good -

can anyone run this command, or only those with Local Admin previledge?
0
 
LVL 4

Assisted Solution

by:Antyrael
Antyrael earned 2000 total points
ID: 34092865
Anyone can run this command, but only administrators can use it to add or remove users to this local administrators group.
0
 
LVL 6

Author Comment

by:anushahanna
ID: 34092888
great- helped..
0

Featured Post

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question