Register EXE to bypass UAC
I have created an app which uses route.exe. Since app uses route.exe, I have to always run the app with "run as administrator" option. Even if I change "Compatibility Mode" and check the "Run as Administrator, it pops up UAC dialoge box. I need to auto-run the app without user input and in the background. Is there a way to sign and register executable for privilege escalation so that UAC dialoge box will not pop up when it runs and it will always run as administrator?
February 20th, 2010 4:02pm

Am Sa, 20 Feb 2010 13:02:43 +0000 schrieb rgandhi5: > Is there a way to sign and register executable for privilege escalation> so that UAC dialoge box will not pop up when it runs and it will always> run as administrator?Make it a service. Services are started each time with fixed [admin]credentials, and they are running in background.Besides that services can be even started by simple users - if youconfigure them properly. Services has permissions similar to fles andfolder but Microsoft doesn't provide neither a GUI nor a command line toolfor configuring these permissions. But there are third party tools whichcan do thatExample: SetACL.exehttp://setacl.sourceforge.net/html/examples.html#example23Win-J
Free Windows Admin Tool Kit Click here and download it now
February 20th, 2010 4:46pm

Is there a way to sign and register executable for privilege escalation so that UAC dialoge box will not pop up when it runs and it will always run as administrator? Hi, Windows 7 doesn't have such a whitelist. You can use the task scheduler to auto elevate applications. Follow my guide here: http://www.msfn.org/board/index.php?showtopic=135472 and run always run the application based on the schtask.exe shortcut. André"A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
February 21st, 2010 5:47pm

Hi, You can create a shortcut for certain application with elevated privileges. For more information, please refer to the following article: HowTo: Simpler way to bypass UAC for trusted app other than ACT (app compatibility toolkit) Thanks, Novak
Free Windows Admin Tool Kit Click here and download it now
February 22nd, 2010 9:49am

Thank you! @Win-J - I can not make it as a service, because I need user specific options, username/password and more for the app. @Novak and @Andre - Thanks a lot, the solution worked for me. I think I should start a new thread for this, but if you know on top of your head, if there is a way to automate the process. or does Win7 SDK provides APIs to do this? I have created an installer for App, but now I have to request each user to go through this process to bypass UAC pop up which is tedious. I was hoping to create an installer which will automate these steps for them and I can smoothly auto start the app. Thanks again for your help!
February 22nd, 2010 12:01pm

The task scheduler hast a COM object which you can use in your own programs to create new tasks."A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
Free Windows Admin Tool Kit Click here and download it now
February 23rd, 2010 4:44am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics