Ive got a java app which needs to execute a driver installer exe file. On Linux we type “gksudo myCommand”. Is there a way to elevate permissions from Windows command line?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I decided to deploy an executable binary onto the system which calls the jar. This way the user can right click and run as administrator… That didn’t work… SO I kept looking… Check this out..
Elevate.exe.. It’s basically like Windows GKSudo!!!!
http://www.robotronic.de/elevate.html
So… I packaged the 32bit exe into my program and deploy it, then run it as necessary.