Results 1 to 2 of 2
Thread: Requesting UAC
- 08-30-2012, 10:53 PM #1
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:I'm not sure though.<requestedExecutionLevel
level="asInvoker|highestAvailable|requireAdministr ator"
uiAccess="true|false"/>
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.
- 08-31-2012, 03:02 AM #2
Re: Requesting UAC
I have followed this: UAC Prompt From Java: CreateProcess error=740, The requested operation requires elevation (ShellExecuteEx Runas Example) - Mark S. Kolich
but it still doesn't work.
I might be doing it wrong.
Is there an easier way to do it?
Damn you, Microsoft.
Similar Threads
-
Tic-Tac-Toe Version.1.0. Requesting feedback and help.
By EscSequenceAlpha in forum New To JavaReplies: 16Last Post: 05-29-2012, 04:36 PM -
Requesting error help for my game.
By ruben381 in forum New To JavaReplies: 5Last Post: 04-27-2012, 04:07 AM -
Requesting Code Review
By Zeramat in forum New To JavaReplies: 9Last Post: 06-16-2011, 05:59 AM -
Requesting a review of my LoginBox!
By aadem in forum New To JavaReplies: 4Last Post: 03-16-2011, 09:01 PM -
Help getting my program to continue requesting info.
By antdilla22 in forum New To JavaReplies: 4Last Post: 09-13-2009, 10:44 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks