SpinnerAdam
asked on
Always "Run As" Administrator for .exe
I have looked all over the internet for days and non of the solution have worked for me. I need to run a .exe file as an Administrator. Here is my setup:
I have server 2003 with active directory. The domain is JNR. I have an Administrator account and a regular user named jmain.
I want jmain to launch an .exe located in c:\Program Files\JNR\JNR.exe as if he was the Administrator. I only want this to occur with this particular .exe file. I know that I can click "Run As" everytime, but I don't want jamin to know the Administrator password. I just want him to simply click on the shortcut for JNR.exe and it launches in Administrator mode. The computer is Windows XP Professional.
If a script is needed, please write out the whole script for me :) Detailed step-by-step instructions would be greatly appreciated!
Thank you,
Adam :)
I have server 2003 with active directory. The domain is JNR. I have an Administrator account and a regular user named jmain.
I want jmain to launch an .exe located in c:\Program Files\JNR\JNR.exe as if he was the Administrator. I only want this to occur with this particular .exe file. I know that I can click "Run As" everytime, but I don't want jamin to know the Administrator password. I just want him to simply click on the shortcut for JNR.exe and it launches in Administrator mode. The computer is Windows XP Professional.
If a script is needed, please write out the whole script for me :) Detailed step-by-step instructions would be greatly appreciated!
Thank you,
Adam :)
Try to use this program to create your EXE file with administrator password(definitely encrypted)
http://www.autoitscript.com/autoit3/downloads.shtml
http://www.autoitscript.com/autoit3/downloads.shtml
ASKER
I saw this and dowmloaded it but I have no idea how to use it. When I clicked on the file from the site it just launched cmd and quickly disappeared. Cam you write out instructions (using the information I gave to you above) on how I can use this?
Thanks,
Adam
Thanks,
Adam
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Kewl, this was easier than what I was going to say next.
CT
CT
ComputerTechie:
Please tell us the other way too.
Please tell us the other way too.
my thought was using powershell after reading this link.
http://huddledmasses.org/a-guide-to-advanced-functions/
CT
http://huddledmasses.org/a-guide-to-advanced-functions/
CT
ASKER
Very good, thank you! I also have another question here, if you want to take a look and get some points :)
https://www.experts-exchange.com/questions/24528008/Cannot-print-without-being-an-Administrator.html
https://www.experts-exchange.com/questions/24528008/Cannot-print-without-being-an-Administrator.html
http://www.joeware.net/freetools/tools/cpau/index.htm
CT