Prevent UAC elevation for a program requesting it

Page 1 of 2 12 LastLast

  1. Posts : 2,468
    Windows 7 Ultimate x64
       #1

    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 Computer


  2. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #2

    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 Computer


  3. Posts : 2,468
    Windows 7 Ultimate x64
    Thread Starter
       #3

    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 Computer


  4. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #4

    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 Computer


  5. Posts : 2,468
    Windows 7 Ultimate x64
    Thread Starter
       #5

    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 Computer


  6. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #6

    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 Computer


  7. Posts : 2,468
    Windows 7 Ultimate x64
    Thread Starter
       #7

    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 Computer


  8. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #8

    I thought you were referring to the program issue in your first post.
      My Computer


  9. Posts : 359
    Windows 7 Professional 64bit
       #9

    Alejandro85 said:
    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 Computer


  10. Posts : 2,468
    Windows 7 Ultimate x64
    Thread Starter
       #10

    mangoh said:
    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 Attached Thumbnails Prevent UAC elevation for a program requesting it-systemoptions.png  
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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:51.
Find Us