Solved

local Admin or not - Dos command

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How Do I Set Up XP Mode in Windows 7? 8 84
no display on laptop 5 83
Run MS Access Module from Macro / Bat File 9 94
how to count files? 4 30
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

840 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