My son does not have admin access on his computer but wants to run a game that asks for admin privileges.
I am looking for a way to run just this one program as administrator without prompting for password.
This answer suggests using runas /user:Administrator /savecred, but that will save the Administrator password in the credentials store and allow to run any program with admin rights, which is something I don't want to happen.
This answer suggests creating a manually-triggered task in the task scheduler (also outlined here), which would be a good solution if I could get it to work.
I suspect that the suggestion assumes that the user is logged in as an administrator and just wants to avoid the UAC prompt, which is not the case here.
Here's what I found so far:
I can only create a task that runs under an admin account if I run the task manager as an admin. Otherwise it will not let me do that.
When the task is created in task manager that was run as an admin, it is not visible in task manager started as a non-admin.
Trying to start the task from task manager (as admin) does start the process, but does not display any UI.
Trying to run the task from a shortcut does not even start the process.
Please advise.
Edit:
"This question already has an answer here: Run Badlion Client in a non-admin account (1 answer)"
It absolutely doesn't!
That answer states "t the time you can only Open the Badlion Client WITH Admin perms".
Which is exactly what I am trying (and failing) to do from a non-privileged account.