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

lavee383

New member
Local time
3:00 PM
Messages
44
Location
Ore-gun
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 Computer My Computer

At a glance

Windows 7 ProP4 3.4 GHz2 GBNVIDIA Quadro FX 1400
Computer Manufacturer/Model Number
Dell Precision 380
OS
Windows 7 Pro
CPU
P4 3.4 GHz
Memory
2 GB
Graphics Card(s)
NVIDIA Quadro FX 1400
Sound Card
Audigy 2 ZS
Monitor(s) Displays
Dell 1907FP
Screen Resolution
1280x1024
Hard Drives
WDC WD800JD 80 GB
Seagate FreeAgent Pro 320GB
Seagate FreeAgent 1T
Internet Speed
10mb cable
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 Computer My Computer

At a glance

7 Pro
OS
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
 
Last edited:

My Computer My Computer

At a glance

Windows 7 ProP4 3.4 GHz2 GBNVIDIA Quadro FX 1400
Computer Manufacturer/Model Number
Dell Precision 380
OS
Windows 7 Pro
CPU
P4 3.4 GHz
Memory
2 GB
Graphics Card(s)
NVIDIA Quadro FX 1400
Sound Card
Audigy 2 ZS
Monitor(s) Displays
Dell 1907FP
Screen Resolution
1280x1024
Hard Drives
WDC WD800JD 80 GB
Seagate FreeAgent Pro 320GB
Seagate FreeAgent 1T
Internet Speed
10mb cable
Have you tried running the batch file using "Run as Admin..." from the account that doesn't seem to work?
 

My Computer My Computer

At a glance

Windows 10 Pro (x64)Intel Core i7-3930K (3.2GHz - 4.5GHz)4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)Nvidia Geforce GTX 690
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
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 Computer My Computer

At a glance

Windows 7 ProP4 3.4 GHz2 GBNVIDIA Quadro FX 1400
Computer Manufacturer/Model Number
Dell Precision 380
OS
Windows 7 Pro
CPU
P4 3.4 GHz
Memory
2 GB
Graphics Card(s)
NVIDIA Quadro FX 1400
Sound Card
Audigy 2 ZS
Monitor(s) Displays
Dell 1907FP
Screen Resolution
1280x1024
Hard Drives
WDC WD800JD 80 GB
Seagate FreeAgent Pro 320GB
Seagate FreeAgent 1T
Internet Speed
10mb cable
anyone have any ideas?
 

My Computer My Computer

At a glance

Windows 7 ProP4 3.4 GHz2 GBNVIDIA Quadro FX 1400
Computer Manufacturer/Model Number
Dell Precision 380
OS
Windows 7 Pro
CPU
P4 3.4 GHz
Memory
2 GB
Graphics Card(s)
NVIDIA Quadro FX 1400
Sound Card
Audigy 2 ZS
Monitor(s) Displays
Dell 1907FP
Screen Resolution
1280x1024
Hard Drives
WDC WD800JD 80 GB
Seagate FreeAgent Pro 320GB
Seagate FreeAgent 1T
Internet Speed
10mb cable
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:

http://www.sevenforums.com/tutorials/11841-run-administrator.html

http://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-without-uac-prompt-create.html

http://www.sevenforums.com/tutorials/507-built-administrator-account-enable-disable.html

User Account Control (UAC) Documentation for Windows 7, Windows Vista, Windows Server 2008 R2, and Windows Server 2008
 

My Computer My Computer

At a glance

Win7 Home Premium 64xIntel Core 2 Duo P7450 / 2.13 GHz (2.29 with ...4 GB PC-6400 Hyundai (2X2) at 800MhzNVIDIA GeForce GTX 260M 1GB DDR3 VRAM
Computer type
Laptop
Computer Manufacturer/Model Number
ASUS G60-RBBX05
OS
Win7 Home Premium 64x
CPU
Intel Core 2 Duo P7450 / 2.13 GHz (2.29 with Extreme Turbo)
Memory
4 GB PC-6400 Hyundai (2X2) at 800Mhz
Graphics Card(s)
NVIDIA GeForce GTX 260M 1GB DDR3 VRAM
Monitor(s) Displays
16" LED Backlit
Screen Resolution
1366 x 768 on laptop 1600x1050 max res on 22" external mon
Hard Drives
OCZ Agility 3 60GB SSD / 320 GB - Serial ATA-150 - 7200 rpm
PSU
6-cell Lithium ion { lasts 1.5 hours }
Case
ASUS G60 Laptop
Keyboard
Chicklet type back-lit (white light) keyboard
Mouse
Logitech G9 Laser Mouse 3200dpi and 1000 reports per minute
Internet Speed
Comcast 8.60mb/s up - 3.11mb/s down
Antivirus
MSE
Browser
Firefox
Other Info
General mid-budget gaming Comp. Low batterylife - High FrameRates - currently overheating problems :(

2nd Rig: Case: Rosewill BLACKHAWK Gaming ATX Mid Tower Computer Case

Mobo: GIGABYTE GA-990FXA-UD3
CPU: AMD FX-6200 Zambezi 3.8GHz (4.1GHz Turbo)
Heatsink: COOLER MASTER V8 CPU Cooler
RAM: Patriot Viper 3 8GB (2 x 4GB) 240-Pin DDR3 SDRAM 1866 (PC3 15000)
GPU: SAPPHIRE Radeon HD 6850 1GB 2
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: http://www.sevenforums.com/tutorials/783-elevated-command-prompt.html
 
Last edited:

My Computer My Computer

At a glance

Win7 Home Premium 64xIntel Core 2 Duo P7450 / 2.13 GHz (2.29 with ...4 GB PC-6400 Hyundai (2X2) at 800MhzNVIDIA GeForce GTX 260M 1GB DDR3 VRAM
Computer type
Laptop
Computer Manufacturer/Model Number
ASUS G60-RBBX05
OS
Win7 Home Premium 64x
CPU
Intel Core 2 Duo P7450 / 2.13 GHz (2.29 with Extreme Turbo)
Memory
4 GB PC-6400 Hyundai (2X2) at 800Mhz
Graphics Card(s)
NVIDIA GeForce GTX 260M 1GB DDR3 VRAM
Monitor(s) Displays
16" LED Backlit
Screen Resolution
1366 x 768 on laptop 1600x1050 max res on 22" external mon
Hard Drives
OCZ Agility 3 60GB SSD / 320 GB - Serial ATA-150 - 7200 rpm
PSU
6-cell Lithium ion { lasts 1.5 hours }
Case
ASUS G60 Laptop
Keyboard
Chicklet type back-lit (white light) keyboard
Mouse
Logitech G9 Laser Mouse 3200dpi and 1000 reports per minute
Internet Speed
Comcast 8.60mb/s up - 3.11mb/s down
Antivirus
MSE
Browser
Firefox
Other Info
General mid-budget gaming Comp. Low batterylife - High FrameRates - currently overheating problems :(

2nd Rig: Case: Rosewill BLACKHAWK Gaming ATX Mid Tower Computer Case

Mobo: GIGABYTE GA-990FXA-UD3
CPU: AMD FX-6200 Zambezi 3.8GHz (4.1GHz Turbo)
Heatsink: COOLER MASTER V8 CPU Cooler
RAM: Patriot Viper 3 8GB (2 x 4GB) 240-Pin DDR3 SDRAM 1866 (PC3 15000)
GPU: SAPPHIRE Radeon HD 6850 1GB 2
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 Computer My Computer

At a glance

Windows 7 ProP4 3.4 GHz2 GBNVIDIA Quadro FX 1400
Computer Manufacturer/Model Number
Dell Precision 380
OS
Windows 7 Pro
CPU
P4 3.4 GHz
Memory
2 GB
Graphics Card(s)
NVIDIA Quadro FX 1400
Sound Card
Audigy 2 ZS
Monitor(s) Displays
Dell 1907FP
Screen Resolution
1280x1024
Hard Drives
WDC WD800JD 80 GB
Seagate FreeAgent Pro 320GB
Seagate FreeAgent 1T
Internet Speed
10mb cable
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
 

Attachments

My Computer My Computer

At a glance

Windows 7 Ultimate 32bit SP1Intel(R) Core(TM)2 Quad CPU @ 2.40GHz, 2400 MHz4 GBATI Radeon HD 2600 Pro
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Bruce ... somewhere in his 40's
OS
Windows 7 Ultimate 32bit SP1
CPU
Intel(R) Core(TM)2 Quad CPU @ 2.40GHz, 2400 MHz
Motherboard
INTEL/D975XBX2
Memory
4 GB
Graphics Card(s)
ATI Radeon HD 2600 Pro
Monitor(s) Displays
Samsung SyncMaster 914v
Screen Resolution
1280 x 1024
Hard Drives
2/500GB each ... ST3500630AS ATA Device.
One is not connected
PSU
Rocketfish 700 W
Case
G.Skill Gigabyte Chassis
Keyboard
Standard PS/2 Keyboard
Mouse
Microsoft PS/2 Mouse
Internet Speed
DSL
Antivirus
Avira Internet Security
Browser
IE 11
Other Info
ATI HDMI Audio
Go here wng's blog: WhoAmI
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.
all i get is " Not Found

Sorry, but you are looking for something that isn't here."
 

My Computer My Computer

At a glance

Windows 7 ProP4 3.4 GHz2 GBNVIDIA Quadro FX 1400
Computer Manufacturer/Model Number
Dell Precision 380
OS
Windows 7 Pro
CPU
P4 3.4 GHz
Memory
2 GB
Graphics Card(s)
NVIDIA Quadro FX 1400
Sound Card
Audigy 2 ZS
Monitor(s) Displays
Dell 1907FP
Screen Resolution
1280x1024
Hard Drives
WDC WD800JD 80 GB
Seagate FreeAgent Pro 320GB
Seagate FreeAgent 1T
Internet Speed
10mb cable
i actually found that whoami file in the system32 folder but same thing...i double click it...DOS window pops up and goes away just as fast...right click, run as...same thing - pops up goes away...

i shift-right click, run as different user, enter creds for the domain admin that works so well and same thing...and i'm not really seeing any txt file showing up...
 

My Computer My Computer

At a glance

Windows 7 ProP4 3.4 GHz2 GBNVIDIA Quadro FX 1400
Computer Manufacturer/Model Number
Dell Precision 380
OS
Windows 7 Pro
CPU
P4 3.4 GHz
Memory
2 GB
Graphics Card(s)
NVIDIA Quadro FX 1400
Sound Card
Audigy 2 ZS
Monitor(s) Displays
Dell 1907FP
Screen Resolution
1280x1024
Hard Drives
WDC WD800JD 80 GB
Seagate FreeAgent Pro 320GB
Seagate FreeAgent 1T
Internet Speed
10mb cable
Did you see my edit and zipped file?
 

My Computer My Computer

At a glance

Windows 7 Ultimate 32bit SP1Intel(R) Core(TM)2 Quad CPU @ 2.40GHz, 2400 MHz4 GBATI Radeon HD 2600 Pro
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Bruce ... somewhere in his 40's
OS
Windows 7 Ultimate 32bit SP1
CPU
Intel(R) Core(TM)2 Quad CPU @ 2.40GHz, 2400 MHz
Motherboard
INTEL/D975XBX2
Memory
4 GB
Graphics Card(s)
ATI Radeon HD 2600 Pro
Monitor(s) Displays
Samsung SyncMaster 914v
Screen Resolution
1280 x 1024
Hard Drives
2/500GB each ... ST3500630AS ATA Device.
One is not connected
PSU
Rocketfish 700 W
Case
G.Skill Gigabyte Chassis
Keyboard
Standard PS/2 Keyboard
Mouse
Microsoft PS/2 Mouse
Internet Speed
DSL
Antivirus
Avira Internet Security
Browser
IE 11
Other Info
ATI HDMI Audio
Did you see my edit and zipped file?
sorry for the late reply...

got the dl and ran it:

current user: xxx
user is not an admin
 

My Computer My Computer

At a glance

Windows 7 ProP4 3.4 GHz2 GBNVIDIA Quadro FX 1400
Computer Manufacturer/Model Number
Dell Precision 380
OS
Windows 7 Pro
CPU
P4 3.4 GHz
Memory
2 GB
Graphics Card(s)
NVIDIA Quadro FX 1400
Sound Card
Audigy 2 ZS
Monitor(s) Displays
Dell 1907FP
Screen Resolution
1280x1024
Hard Drives
WDC WD800JD 80 GB
Seagate FreeAgent Pro 320GB
Seagate FreeAgent 1T
Internet Speed
10mb cable
so the WhoAmI app you uploaded shows that the user that has Domain Admin rights is not an admin...the user has every Admin right under the sun assigned to it and still is not considered an Admin w/in W7? I don't get it...how am i supposed to assign rights w/out having to assign them locally just to be able to administer the machine?

could it be because i have nothing but 2003 servers? i haven't gotten around to setting up GPO for the 7 machines...that's next on the agenda (via a 7 machine with RSAT).

or do i just have XP blinders on...I'm just trying to figure out how to go about administering these machines w/accounts that have elevated domain rights...but can't do anything on these 7 machines...
 

My Computer My Computer

At a glance

Windows 7 ProP4 3.4 GHz2 GBNVIDIA Quadro FX 1400
Computer Manufacturer/Model Number
Dell Precision 380
OS
Windows 7 Pro
CPU
P4 3.4 GHz
Memory
2 GB
Graphics Card(s)
NVIDIA Quadro FX 1400
Sound Card
Audigy 2 ZS
Monitor(s) Displays
Dell 1907FP
Screen Resolution
1280x1024
Hard Drives
WDC WD800JD 80 GB
Seagate FreeAgent Pro 320GB
Seagate FreeAgent 1T
Internet Speed
10mb cable
Back
Top