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
Alejandro85

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
Brink

64-bit Windows 10 Pro
 
 

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
Alejandro85

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
Brink

64-bit Windows 10 Pro
 
 

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
Alejandro85

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
Brink

64-bit Windows 10 Pro
 
 

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
Alejandro85

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
Brink

64-bit Windows 10 Pro
 
 

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

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
Alejandro85

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
-systemoptions.png  
My System SpecsSystem Spec
Reply

 Prevent UAC elevation for a program requesting it




Thread Tools




Similar help and support threads
Thread Forum
Cannot respond to UAC elevation prompts
I have been trying to mod my system's appearance by installing dlls that came with a theme I found online. I ended up renaming Imageres.dll to Imageres.dll-bak...however after I did that I can no longer push yes or no when prompted by UAC. The actual window doesn't show up at all. All it says is...
General Discussion
What program can i use to prevent copying files more than 10 MB ?
What program can i use to prevent copying files more than 10 MB ? Is there any program which ask password for copying files into pen-drive ? Or password protect Copying particular File types.. (Not Copy paste in word Document or Excel) Thanks in Advance.. :cry:
Software
remove admin elevation for program
Hey everyone, I have a program that requires admin approval to run. However, I would like this program to be used by a power user account, instead of an admin account. I cannot have the admin elevation asking to elevate w/ password every time, as I may not be available when the user attempts...
Software
Program installed in Program Files requires elevation?
I have a program that wanted to install in a document folder :mad: I have installed it in Program Files, but it requires elevation or it produces errors when running. I know I can tick the Run As ... box in the shortcut, but is there a better way, such as taking ownership of the install folder?
System Security
Needs elevation (the usual fix doesn't work)
On a Win7 ultimate system (svc pack 1), when I try to open any file in the my documents folder I get an error message that says that this operation "needs elevation". So I picked one particular file that I couldn't open and I looked at the owner in the security tab. Indeed the owner was not set...
General Discussion
Operation requires elevation
Hi. I'm new to w7. I've set up and use a standard account. When I try to do certain operations such as run System Monitor to see why my usb drive won't eject, I get the message, "Operation requires elevation." When I right-click the command prompt and select "Run as administrator" I get the...
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 19:25.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App