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: Prevent UAC elevation for a program requesting it

18 Nov 2012   #1

Windows 7 Ultimate x64
 
 
Prevent UAC elevation for a program requesting it

Hi, just found a problem with UAC and programs unnecessarily requesting elevation.

When any program shows an UAC prompt, and I DO NOT want to elevate it, but run anyway (as my current user instead of switching to an admin account), how can I do? Entering my admin user/passwords elevates it and canceling the prompt don't runs the program at all directly.

Any clues how can do that?
Thanks.

My System SpecsSystem Spec
.

18 Nov 2012   #2
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Alejandro,

If a program requires elevation to be able to run, then there's not any way to run it un-elevated.

As a workaround, you could use the tutorial below to create a shortcut to allow your standard user to run the program elevated without having to enter the password.

Elevated Program Shortcut - Create for Standard User

Hope this helps some,
Shawn
My System SpecsSystem Spec
18 Nov 2012   #3

Windows 7 Ultimate x64
 
 

Thanks Shawn for the response, but it's not what I was after.
The tutorial in fact points in the opposite direction (run elevated without prompting). I'm not asking as a matter of "laziness" to not write a password, I have no problem in that. But I want to run a program that asks for elevation without actually elevating.

To clarify, programs some times require admin rights without actually needing them, and they may have problems when they write to user-private locations (as the data goes to the admin user, not the normal user logged-on). I just have found a control panel applet with this flaw when changing my visual settings.

The only workaround I can think of is to completely disable UAC for that, so the program really runs as a normal user.
Thanks anyway! Will tell if I found anything else.
My System SpecsSystem Spec
.


19 Nov 2012   #4
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Unfortunately, that's something the program developer will need to fix. You should report this issue to them as well so that hopefully they may be able to fix it in the next program version released.
My System SpecsSystem Spec
19 Nov 2012   #5

Windows 7 Ultimate x64
 
 

Not really good news, but thanks anyway.
It would be really difficult, if at all possible, that MS fixes the bug. With Win8 just released, we would have to wait until Win "9"?? for them to fix.
I will stay with temporarily disabling UAC to as a workaround to a buggy control panel applet. It's not modified so frequently anyway
Thanks for the help.
My System SpecsSystem Spec
19 Nov 2012   #6
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

No problem, but you can't blame Microsoft for a program that has a bug in it. That can only be fixed by the program's developer. Microsoft would have nothing to do with that.
My System SpecsSystem Spec
19 Nov 2012   #7

Windows 7 Ultimate x64
 
 

The bug is within Windows itself, in a built-in control panel applet , in the one where you set the graphical options like mouse shadows and taskbar animation and such.
My comment was only because of that, and even though it's a very punctual error I had some hopes on finding something more general to deal with such errors.
My System SpecsSystem Spec
19 Nov 2012   #8
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

I thought you were referring to the program issue in your first post.
My System SpecsSystem Spec
19 Nov 2012   #9

Windows 7 Professional 64bit
 
 

Quote   Quote: Originally Posted by Alejandro85 View Post
The bug is within Windows itself, in a built-in control panel applet.
Hi after reading the thread several times I understand the issue you are having.

Could you provide a screenshot of the exact option you are trying to sort out?

Cheers
My System SpecsSystem Spec
02 Dec 2012   #10

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by mangoh View Post
Hi after reading the thread several times I understand the issue you are having.

Could you provide a screenshot of the exact option you are trying to sort out?

Cheers
Hi, sorry for being a lot latter, I've been busy those days. Attached is the option I was talking about. It's computer's properties => Advanced Options => Performance, configure => Visual effects.

Apparently, all those are affected. They're per-user settings, while all others are system-wide (it's together with the swap file and DEP setup). For example, the mouse shadow, menu fading and other animations are apparently written to HKEY_CURRENT_USER.

Reaching that dialog requires elevation. Problem is that, while running as a standard user, "current user" is actually the elevated admin you enter the password for, not the logged on user. Therefore, it's the other user preferences what are getting changed, not yours. If the dialog weren't elevated, the "current user" would be myself, which is correct, hence my original question.
But clearly, that is a design flaw of Windows. It works correctly when an admin logins or with UAC disabled (my chosen workaround).


Attached Thumbnails
Prevent UAC elevation for a program requesting it-systemoptions.png  
My System SpecsSystem Spec
Reply

 Prevent UAC elevation for a program requesting it





Thread Tools



Similar help and support threads for2: Prevent UAC elevation for a program requesting it
Thread Forum
CTRL+ALT+DEL - Require to Press to Approve UAC Elevation Tutorials
Program installed in Program Files requires elevation? System Security
Needs elevation (the usual fix doesn't work) General Discussion
Eliminate installation elevation response System Security
shortcuts won't open: elevation necessary Software
Operation requires elevation General Discussion

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 11:15 PM.
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