How to elevate without prompting

What are you going to do if you want to run an application without prompting for user to elevate (when UAC is on)?

Well apparently the answer is very simple, you can create a scheduled task that is marked as requires highest privileges and there you go.

I found this solution here

in our solution we use it as a replacer of the “Run” section in the registry (on VISTA+) because our application must be running under token of administrator (we scheduled the task, set highest privileges, and mark the trigger of logon)

Looks as a good supported solution

How to elevate without prompting How to elevate without prompting Reviewed by Ran Davidovitz on 7:56 PM Rating: 5

No comments:

Powered by Blogger.