Link to home
Start Free TrialLog in
Avatar of Y Y
Y Y

asked on

How to launch an app as administrator without giving the user local admin group membership?

An app has to be launched as administrator, otherwise, it will not run properly.
But i do not want the computer user to be the member of local administrator group, for security reasons.
How would you make it?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of McKnife
McKnife
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
There is a trick where you use task scheduler to create a task with admin rights and then you create a shortcut with the name of the task
schtasks /run /tn “TheTaskName”

Open in new window

Quotes
"

Open in new window

are needed....
That is no trick. And it will not work since tasks that you start elevated will not show visibly. If they show for you, it's because you use the same user account and you are admin already.
@ John,

I think one concern is while the program is running. What can the user do in the program? Can they access sensitive files? Can they run programs to elevate their non-admin account? etc.