How to run an application with administrator privileges
Article Writing
2
Posts
2
Posters
0
Views
1
Watching
-
My application needs administrator privileges although the user logged on has only user privilege. I want to change the privilege to administrator at startup of the application. How can I do this? :-O Thanks
-
My application needs administrator privileges although the user logged on has only user privilege. I want to change the privilege to administrator at startup of the application. How can I do this? :-O Thanks
Use LogonUser/CreateProcessAsUser. Or write a service that runs with admin privileges and communicates with the application. Tomasz Sowinski -- http://www.shooltz.com.pl