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

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 Windows 7 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

 

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

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 Windows 7 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

Windows 8.1 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

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

Windows 7 Pro
 
 

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

Win7 Home Premium 64x
 
 

The general "Admin" account in Windows 7 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

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

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
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 for2: Lame QotM: Easy way to see if user has admin rights?
Thread Forum
Installing rights to standard user or prevent an admin user something General Discussion
Granting local admin rights to domain user Browsers & Mail
admin user lost some admin rights BSOD Help and Support
Only User, Administrator, but have no admin rights! General Discussion
no admin rights but user only System Security
user with non-admin rights can't initialize drive General Discussion
User Account or Admin rights to install softwares?? 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 09:12 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33