Click here to Skip to main content
15,905,028 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have made am app which needs to run at startup and needs administrator rights

but UAC on windows 7 always pop up the message and my client has to always press yes to run the app

is there a way to allow an app to always run as Admin, without showing UAC message

regards
Posted

This is a good tool: http://www.robotronic.de/elevate.html[^]. If the user has right to get elevated privileges, it will help.
 
Share this answer
 
Hi,

Through Code it is possible
Set the following registry key to 0

VB
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Value: EnableLUA Set to: 0 to disable, 1 to enable


Thanks!!!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900