Results 1 to 2 of 2

Thread: Requesting UAC

  1. #1
    PhQ's Avatar
    PhQ
    PhQ is offline Senior Member
    Join Date
    Mar 2010
    Location
    Lithuania
    Posts
    358
    Rep Power
    5

    Default Requesting UAC

    How can I request for UAC for my application without creating a new .bat file to run my application?
    Using the command prompt I think you can use the 'runas' command. I have done some research on how to request UAC when running the jar and it said something about the application manifest.
    I have no idea how to implement it into the jar.
    I think I need to implement this:
    <requestedExecutionLevel
    level="asInvoker|highestAvailable|requireAdministr ator"
    uiAccess="true|false"/>
    I'm not sure though.

    Can anyone help me request UAC using my application?

    Edit: If you are wondering, I am trying to make a folder in c:/Program Files/ .
    Last edited by PhQ; 08-31-2012 at 03:04 AM. Reason: Added more info.

  2. #2
    PhQ's Avatar
    PhQ
    PhQ is offline Senior Member
    Join Date
    Mar 2010
    Location
    Lithuania
    Posts
    358
    Rep Power
    5

Similar Threads

  1. Tic-Tac-Toe Version.1.0. Requesting feedback and help.
    By EscSequenceAlpha in forum New To Java
    Replies: 16
    Last Post: 05-29-2012, 04:36 PM
  2. Requesting error help for my game.
    By ruben381 in forum New To Java
    Replies: 5
    Last Post: 04-27-2012, 04:07 AM
  3. Requesting Code Review
    By Zeramat in forum New To Java
    Replies: 9
    Last Post: 06-16-2011, 05:59 AM
  4. Requesting a review of my LoginBox!
    By aadem in forum New To Java
    Replies: 4
    Last Post: 03-16-2011, 09:01 PM
  5. Help getting my program to continue requesting info.
    By antdilla22 in forum New To Java
    Replies: 4
    Last Post: 09-13-2009, 10:44 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •