Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › Windows 7 - UAC/Run as administrator
New Posts  All Forums:Forum Nav:

Windows 7 - UAC/Run as administrator

post #1 of 5
Thread Starter 
I was just wondering, when do I need to run a application as administrator manually? I.e. right clicking on the application icon and selecting "run as administrator".

Doesn't most applications have the ability to automatically ask for admin rights if needed?

What applications do YOU manually run as adminstrator?

I don't want to turn UAC off, I just want to know how it was intended to be used.
post #2 of 5
If the application has the vista.7 uac manifest embedded it will ask. Otherwise it will not and alot of admin level stuff is executed in a virtual environment where the program might operate successfully but no harm done, most nothing actually done at all.

I turn UAC off but I recommend leaving it on. Quite a few nasty things that can be done with it off.

Basically without UAC I can easily run malicous code on an admin level account. Signed apps display a nice UAC message while unsigned apps but thoughtfully coded can ask for permission anyways. Malicous apps with no manifest but UAC on wont be able to hurt you on many levels. But they can easily ask for elevation. Its up to you to say now.

Its annoying but its actually an effective techinque.
RainONE
(13 items)
 
ASUS G50VT
(13 items)
 
 
CPUMotherboardGraphicsRAM
i5-2500K @ 4.5Ghz ASUS P8Z68 V PRO GTX 570 MSI TF III @ 950/1900/2300 16GB Corsair Vengeance 
Hard DriveOSKeyboardPower
2TB Seagate 5900 RPM Windows 7 x64 Ultimate Ideazon Z Board Seasonic X750 
CaseMouse
Thermaltake V9 BlacX Logitech G700 
CPUGraphicsRAMOS
Intel Core 2 Duo T9600 2.8Ghz @ 3.1Ghz Nvidia 9800M GS (OC @ 640/1600/800) 4GB DDR2 800Mhz Windows 7 
Mouse
Logitech G700 
  hide details  
Reply
RainONE
(13 items)
 
ASUS G50VT
(13 items)
 
 
CPUMotherboardGraphicsRAM
i5-2500K @ 4.5Ghz ASUS P8Z68 V PRO GTX 570 MSI TF III @ 950/1900/2300 16GB Corsair Vengeance 
Hard DriveOSKeyboardPower
2TB Seagate 5900 RPM Windows 7 x64 Ultimate Ideazon Z Board Seasonic X750 
CaseMouse
Thermaltake V9 BlacX Logitech G700 
CPUGraphicsRAMOS
Intel Core 2 Duo T9600 2.8Ghz @ 3.1Ghz Nvidia 9800M GS (OC @ 640/1600/800) 4GB DDR2 800Mhz Windows 7 
Mouse
Logitech G700 
  hide details  
Reply
post #3 of 5
As has been said above, most programs ask for admin rights, but I remember some cases where they didn't:

Previous versions of Speedfan didn't have this, and if you ran it normally it didn't have access to all of your sensors, while if you right-clicked and "run as admin" it did show all the available sensors.

So I used to right-click and run Speedfan "as administrator" everytime, but nowadays it's not needed since the program asks for elevation by itself through the UAC.

Basically, if you're missing some functionality in a program, or if it gives you errors while trying to edit or change something, running as Admin could help (if you trust the program).
Edited by brettek - 10/7/11 at 11:46am
Kumadesk
(13 items)
 
  
CPUMotherboardGraphicsRAM
7750 Kuma @ 3.1 Foxconn a7da-s XFX HD 4650 512MB KHX8500D2K2/2G 
Hard DriveOptical DriveOSMonitor
Seagate 7200.11 1TB SPD6005BM Win 7 32bit Dell E173FP 17" + Compaq V700 17" 
KeyboardPowerCase
Logitech EX110 procase 350w Technics CD player SL-PG460A 
  hide details  
Reply
Kumadesk
(13 items)
 
  
CPUMotherboardGraphicsRAM
7750 Kuma @ 3.1 Foxconn a7da-s XFX HD 4650 512MB KHX8500D2K2/2G 
Hard DriveOptical DriveOSMonitor
Seagate 7200.11 1TB SPD6005BM Win 7 32bit Dell E173FP 17" + Compaq V700 17" 
KeyboardPowerCase
Logitech EX110 procase 350w Technics CD player SL-PG460A 
  hide details  
Reply
post #4 of 5
Thread Starter 
So basically, if I run a software which has full Windows 7 support, I can run it as normal whitout bothering clicking "run as administrator"?

Do I need to run installer files as admin? Or just open them normally and let them ask for admin rights themself?
post #5 of 5
....If it has been compiled with the manifest it will ask for elevation. If it does not and it needs it then you have to do it.

Its up to the coder to do the right thing here and for you to determine if it wasnt. There is no golden rule. If UAC is on and it needs to be elevated either it will or it wont. If it doesnt you have to elevate it or turn UAC off.

A typical application installer will not need elevation. An installer on the driver end may be a different story. I never did driver development and with UAC off i havent noticed wether it needed elevation before or not.
RainONE
(13 items)
 
ASUS G50VT
(13 items)
 
 
CPUMotherboardGraphicsRAM
i5-2500K @ 4.5Ghz ASUS P8Z68 V PRO GTX 570 MSI TF III @ 950/1900/2300 16GB Corsair Vengeance 
Hard DriveOSKeyboardPower
2TB Seagate 5900 RPM Windows 7 x64 Ultimate Ideazon Z Board Seasonic X750 
CaseMouse
Thermaltake V9 BlacX Logitech G700 
CPUGraphicsRAMOS
Intel Core 2 Duo T9600 2.8Ghz @ 3.1Ghz Nvidia 9800M GS (OC @ 640/1600/800) 4GB DDR2 800Mhz Windows 7 
Mouse
Logitech G700 
  hide details  
Reply
RainONE
(13 items)
 
ASUS G50VT
(13 items)
 
 
CPUMotherboardGraphicsRAM
i5-2500K @ 4.5Ghz ASUS P8Z68 V PRO GTX 570 MSI TF III @ 950/1900/2300 16GB Corsair Vengeance 
Hard DriveOSKeyboardPower
2TB Seagate 5900 RPM Windows 7 x64 Ultimate Ideazon Z Board Seasonic X750 
CaseMouse
Thermaltake V9 BlacX Logitech G700 
CPUGraphicsRAMOS
Intel Core 2 Duo T9600 2.8Ghz @ 3.1Ghz Nvidia 9800M GS (OC @ 640/1600/800) 4GB DDR2 800Mhz Windows 7 
Mouse
Logitech G700 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Windows
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › Windows 7 - UAC/Run as administrator