Bypassing User Account Control for an Application
Is there a way in Vista to bypass the User Account Control prompt for trusted applications? An Example, I use Visual Studio 2005 and have set it to run as an administrator. Everytime It runs UAC prompts me to elevate the priveledges. Naturally I could turn off UAC in the security policy but then I would loose all its benefits. I would prefer it to prompt me the first time and give me the option to automatically elevate or deny its priveledges in future. This could be done in the secure UIprompt as a checkbox saying something like 'Always do this in the future'. I surpose this would also lead to the need for a administrator level management window to change this option per application should you set it incorrectly, wish to make changes etc.
November 12th, 2007 4:47am

Hi, I am sorry to say that we cannot set UAC to exclude a specific *.exe file. This is designed for security considerations because the DLL files loaded by the *.exe in the future may cause potential problems. At this time, we may use the following workaround: 1. Click Start->All Programs->Accessories. 2. Right click Command Prompt and choose "Run As Administrator". 3. Run the application in that window. (Note: Please only run the applications that you trust.) I hope this helps.
Free Windows Admin Tool Kit Click here and download it now
November 30th, 2007 12:30pm

the workaround is flawed. In the (common) case where a user of the computer is absolutely NOT autorised to have administrative rights, to prevent unathorized changes to the system by the user, if that user has an application, which is trusted by the organization, but not by the operating system, then every time the user wishes to run the client application they need an administrator to stop by their desk to provide the password.so, I ask again, how do I provide my administrators with the ability to grant elevation rights to a specific user, for a specific program, such that the user does not need an administrator password EVERY time the program runs.Michael.
December 3rd, 2007 3:03am

Configure an application to always run elevated: http://technet2.microsoft.com/WindowsVista/en/library/0d75f774-8514-4c9e-ac08-4c21f5c6c2d91033.mspx#BKMK_S2
Free Windows Admin Tool Kit Click here and download it now
December 3rd, 2007 5:30am

Hi Michael, For this scenario, I think you need to disable the UAC as a work around. For more information, please look into the following: http://technet.microsoft.com/en-us/windowsvista/aa906023.aspx http://technet.microsoft.com/en-us/windowsvista/aa905108.aspx Hope it helps.
December 3rd, 2007 5:33am

Hmm, this may not currently be possible but it could and should be implemented. A registry key secured to the system account could be used to mark if the application was allowed to bypass prompting. Run as Administrator doesnt disable the UAC prompt. It simply elevates the task to Adminstrator priveledges, which automatically initiates the prompt.
Free Windows Admin Tool Kit Click here and download it now
December 3rd, 2007 5:51am

Hi Jie-Feng, Just disabling UAC is not the answer. Afterall why does it exist? If it has a purpose and I believe it does then it should be enabled. Since it is useful but causes undue frustration when it keeps prompting the user EVERY time they wish to run a program there should be a way to turn off the prompts for selected trusted programs. IE allows me to specify trusted sites, and allows me to 'dont ask me about this again', the file copy wizard allows me to 'Do this for all current items'. This makes sense! Look at the alternative! Turn the surposed feature off because it is anoying? Why have the feature if it doesnt work for the users?
December 3rd, 2007 5:52am

Hi, Thanks for your update. Personally, I think the UAC feature will be improved in the future.
Free Windows Admin Tool Kit Click here and download it now
December 3rd, 2007 9:26am

Hi Michael, For this scenario, I think you need to disable the UAC as a work around. For more information, please look into the following: http://technet.microsoft.com/en-us/windowsvista/aa906023.aspx http://technet.microsoft.com/en-us/windowsvista/aa905108.aspx ^^ Both of the links are broken..(:
August 15th, 2010 10:46pm

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

Other recent topics Other recent topics