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)
More Related Contents:
- How can I convert a .jar to an .exe?
- Run .exe file in Java from file location
- Detect if Java application was run as a Windows admin
- How do I elevate my UAC permissions from Java?
- How can I convert my Java program to an .exe file?
- How to bring a window to the front?
- How to stop java process gracefully?
- Windows shortcut (.lnk) parser in Java?
- How to update PATH variable permanently from Windows command line?
- How to do a true Java ping from Windows?
- How to find and kill running Win-Processes from within Java?
- How to simulate a real mouse click using java?
- How can I set date and time formatting in Java that respects the user’s OS settings
- How can I add a context menu to the Windows Explorer for a Java application?
- “Hello world” Android app with as few files as possible, no IDE, and text editor only
- Default character encoding for java console output
- Validate a file name on Windows
- Simple Java program 100 times slower after plugging in USB hotspot
- Find out what application (window) is in focus in Java
- How to kill a process in Java, given a specific PID
- Reading Windows file summary properties (title, subject, author) in Java
- Run Java file as Administrator with full privileges
- How do you determine 32 or 64 bit architecture of Windows using Java?
- Launch associated program or show “Open with” dialog from another program
- check if some exe program is running on the windows
- Can’t get past 2542 Threads in Java on 4GB iMac OSX 10.6.3 Snow Leopard (32bit)
- How to configure trustStore for javax.net.ssl.trustStore on windows?
- Extracting .jar file with command line
- How do you keep the machine awake?
- Java Serial Communication on Windows