Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Lame QotM: Easy way to see if user has admin rights?

02 Dec 2010   #1
lavee383

Windows 7 Pro
 
 
Lame QotM: Easy way to see if user has admin rights?

In XP I used to be able to right click the Start button as a way to check if the logged on user had admin rights. If I saw "Explore All Users" I knew the user had admin rights.

i'm using the Domain Admin account on a new machine and i'm trying to run my WSUS client fix batch file and its erroring out as if i didn't have admin rights

mind you, this is the first time i'm using W7 in a domain environment (finally was able to upgrade some boxes) so i feel back in n00b status as i never really had to worry about it at home (not knowing admin rights that is).

sorry if this has been explained elsewhere, but i suck at searching and didn't find anything.

i just want the cheap and cheesy way of checking for admin rights ala XP please!

thx
lv


My System SpecsSystem Spec
.
02 Dec 2010   #2
brady

 

with the new windows 7 machines come new group policy settings to manage "domain admin" rights on local machines... You'll need to either install server 2008 and DCpromo it OR... You can add the patch to a 2003 DC in order to complete the NEW GPO for the windows 7 machines.

or just manaully add "Domain Admins" through: (control userpasswords2)
My System SpecsSystem Spec
03 Dec 2010   #3
lavee383

Windows 7 Pro
 
 

thanks for the reply Brady...

you mention a patch for the 2003DC...from everything i've read, i have to have a W7 machine running RSAT in order to do GPO settings for these new machines...what patch are you talking about? Still wondering about this tho...

thanks
My System SpecsSystem Spec
.

06 Dec 2010   #4
logicearth

Windows 10 Pro (x64)
 
 

Have you tried running the batch file using "Run as Admin..." from the account that doesn't seem to work?
My System SpecsSystem Spec
06 Dec 2010   #5
lavee383

Windows 7 Pro
 
 

Quote   Quote: Originally Posted by logicearth View Post
Have you tried running the batch file using "Run as Admin..." from the account that doesn't seem to work?
not as of yet...i'm trying to figure out why i would need to "run as admin" when i am logged in under an account that has Domain Admin rights, not to mention nearly all other Admin rights assigned to it...is this part of the issues i'm going to have with 7 boxes and GPO since we are still using Server 2003?

just tried it with "run as admin" and it doesn't work...doesn't even do anything actually...i see the DOS window pop up and then disappear just as fast even tho i have "pause" at the end of the batch...
My System SpecsSystem Spec
09 Dec 2010   #6
lavee383

Windows 7 Pro
 
 

anyone have any ideas?
My System SpecsSystem Spec
09 Dec 2010   #7
Thorsen

Win7 Home Premium 64x
 
 

The general "Admin" account in Win7 has two keys that are used. One is used to say you are an admin, but the other doesn't. When a program tries to run, it will prompt you for admin access. You don't need to enter a pass as you already are logged in, but you need to accept it.

There is another function of Run as Admin. This allows the program to be ran as a full admin priveledged program and uses both keys (I think). This allows it to have access to more functionality than the regular run and is in place to prevent programs that are malicious and accidentally installed from being able to run administrative tasks without your knowledge. The setup is a little wierd and there is not "whitelist" for programs to allow admin access, but it is a good setup created to better secure the system from malware.

Some resources and some fun stuff:

Run as Administrator

Elevated Program Shortcut without UAC Prompt - Create

Built-in Administrator Account - Enable or Disable

User Account Control (UAC) Documentation for Windows 7, Windows Vista, Windows Server 2008 R2, and Windows Server 2008
My System SpecsSystem Spec
09 Dec 2010   #8
Thorsen

Win7 Home Premium 64x
 
 

Quote   Quote: Originally Posted by lavee383 View Post
not as of yet...i'm trying to figure out why i would need to "run as admin" when i am logged in under an account that has Domain Admin rights, not to mention nearly all other Admin rights assigned to it...is this part of the issues i'm going to have with 7 boxes and GPO since we are still using Server 2003?

just tried it with "run as admin" and it doesn't work...doesn't even do anything actually...i see the DOS window pop up and then disappear just as fast even tho i have "pause" at the end of the batch...

I don't have much experience with the Domain side. when you run the batch though If you open cmd first and then navigate to .bat your window wont close when it is ran.... Maybe there is an error message being shown....

Edit: Run CMD first as admin: Elevated Command Prompt
My System SpecsSystem Spec
10 Dec 2010   #9
lavee383

Windows 7 Pro
 
 

Thorsen...thanks for the reply

well, here's what i'm still scratching my head on...when i run the batch file under the domain admin profile, the batch works great no probs...i don't have to run it with "run as admin" i just double click the file and it performs the net stop command/etc...but when i log in with my domain account (which has every single priv that the domain admin account has) it won't run period...

i just put a pause instruction in the fist line of the batch file and ran it...i'm getting the "System error 5 has occurred. Access is denied"
so then i right click and select Run as Admin, click yes to the security popup, and the DOS window opens and closes just as fast...and this is still with "pause" as the very first command line.
then i copy the batch file to the local drive (its always been out on a network drive that contains all my batch files) and right click and select Run as Admin...click yes to security, and it runs fine...
yet i want to reiterate that the Domain Admin account doesn't need the batch file to be local in order to run it successfully.

thoughts?
My System SpecsSystem Spec
10 Dec 2010   #10
Jacee
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

Go here
and click to download whoami, run it. A notepad .txt will be on your desktop. It will let you know if you're running as Aministrator, or not.

Edit ... Linky no worky

Let's see if I can upload a .zip for 'whoami


Attached Files
File Type: zip WhoAmI.zip (8.7 KB, 150 views)
My System SpecsSystem Spec
Reply

 Lame QotM: Easy way to see if user has admin rights?




Thread Tools






Similar help and support threads
Thread Forum
"Unable to elevate to admin rights" error, when admin user
I am trying to download Adobe Digital Editions and I keep receiving the error message Unable to elevate to administrative rights, error 786 I am the admin! I have turned off the password, I have right clicked on the program and chosen 'run as admin'-then nothing happens. Any help would be...
Software
Installing rights to standard user or prevent an admin user something
I tried to google this and it seems neither is possible but I wanted to hear the truths from the horses mouth. I have a Win 7 Pro x64 computer with 2 users who boths needs to be able (this really is a must) install software on the computer but they can't have access to each other's private...
General Discussion
admin user lost some admin rights
I can't delete a file from the desktop. When I try, it says to get the rights from the specified admin user (which I'm logged on). The strange thing is that I still can create other users from this account (including admins). Any suggestion on what to do?
BSOD Help and Support
Only User, Administrator, but have no admin rights!
I don't know how it happened. In Control Panel, I am the admin. In netplwiz, I am in Administrators. (I remember it as being HomeUsers, Administrators). Can I solve this?
General Discussion
no admin rights but user only
hi I am helping friends mom and dad who's son ended up in jail. Got caught and done for DD (DUI)and got 8 months (not the first time) His mom and dad want to recover the pictures and some other financial files but all were kept under admin account Here is the catch. There is only 1 user account...
System Security


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:51.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App