Organizational Research By

Surprising Reserch Topic

java run as administrator


java run as administrator  using -'java,windows,admin,uac,exe'

Is there a way in Java to ask the system to get control over administrator functionality.
Of course without doing: Right click on the exe -> run as admin.
What I want is that there comes a frame from UAC like in Windows Vista or Windows 7.

Or have I to do some settings while making an exe from the jar?
    

asked Sep 21, 2015 by deepak
0 votes
5 views



Related Hot Questions

1 Answer

0 votes

You have to create a manifest file that specifies that your application needs administrator permissions. You can include the manifest in your exe or keep it as a separate file (yourapp.exe.manifest)

http://msdn.microsoft.com/en-us/library/bb756929.aspx

answered Sep 21, 2015 by atulpariharmca

...