Solved

local Admin or not - Dos command

Posted on 2010-11-09
4
758 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 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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

696 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