How do I create a scheduled task that will run as the logged in user
I am trying to write a scheduled task that will run in the context of the currently logged in user.
It appears there was an option to run the task as a group in Windows 7 (see https://superuser.com/questions/656964/what-user-must-a-scheduled-task-run-as-in-order-to-be-visible-for-all-users), but this option is not present in Windows 10:
How can I achieve this in Windows 10?
Solution 1:
If you run Task Scheduler
as Administrator, the option to Change User or Group
will be available. There you can set the task itself to run as a non-privileged group.