Solved

local Admin or not - Dos command

Posted on 2010-11-09
4
720 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
  • 2
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
Antyrael earned 500 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 500 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Clone HDD in RAID1 10 110
find and replace 5 44
If XP support has stopped, why am I still getting updates? 3 134
no display on laptop 5 55
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now