Tools for UAC elevation?

Discussion in 'Application Software' started by tum0r, Aug 26, 2009.

  1. tum0r

    tum0r MDL Novice

    Aug 26, 2009
    34
    6
    0
    I've tried a few, UAC Powertoys and ElevatorRunner. Anybody have anything else, or a quick and dirty manifest guide?

    Thanks in advance
     
  2. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,501
    3,608
    120
    UACSnooze, TweakUAC
     
  3. tum0r

    tum0r MDL Novice

    Aug 26, 2009
    34
    6
    0
    Thanks for those, maybe I should clarify; I need to elevate UAC privileges from an installer I've written. It works great if you choose "run as administrator", but some users dont, which causes alot of problems. So I'm looking for a tool to auto-elevate UAC that I can include in my installer, or if someone could give me a sample .manifest file to play with and some ideas on how to properly add it to my package....
     
  4. twiz

    twiz MDL Senior Member

    Jul 30, 2009
    401
    1
    10
    #4 twiz, Aug 27, 2009
    Last edited by a moderator: Apr 20, 2017
  5. tum0r

    tum0r MDL Novice

    Aug 26, 2009
    34
    6
    0
    Wow, thanks Twiz. That actually looks like it might help alot. I'll play with it see how it goes.
     
  6. Blazer1

    Blazer1 MDL Novice

    May 28, 2007
    4
    0
    0
    Manifest file:

    COPY BELOW, Save as same name of the exe. (MyApp.exe.manifest)


    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
    <assemblyIdentity version="1.0.0.0"
    processorArchitecture="X86"
    name="ExeName"
    type="win32"/>
    <description>elevate execution level</description>
    <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
    <security>
    <requestedPrivileges>
    <requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
    </requestedPrivileges>
    </security>
    </trustInfo>
    </assembly>
     
  7. tum0r

    tum0r MDL Novice

    Aug 26, 2009
    34
    6
    0
    Thanks Blazer1,

    Imust be doing something wrong. I'm still getting UAC popups. This is the manifest I'm playing with:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
    <assemblyIdentity version="1.0.0.0"
    processorArchitecture="X86"
    name="setup.exe"
    type="win32"/>
    <description>elevate execution level</description>
    <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
    <security>
    <requestedPrivileges>
    <requestedExecutionLevel level="highestAvailable" uiAccess="false"/>
    </requestedPrivileges>
    </security>
    </trustInfo>
    </assembly>

    Any ideas as to what I'm doing wrong?
     
  8. secr9tos

    secr9tos MDL Addicted

    Jul 28, 2009
    999
    133
    30
    well I found this on the net.