Task Scheduler - Run as whoever is logged on, even if user changes?

I'm pushing a 'scheduled task' to all computers via group policy.  I want the task to run as whoever is logged on to the computer.  
I selected 'Run only when user is logged on', so I thought that meant run as whoever is logged on.
Is there anyway I can run the task as the logged on user?  I know I can specify the user account in the task, but different people will be logged on at different times.
JohnPaddockAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

McKnifeCommented:
You need to configure this in the user section, not the computer section. By default, if you do it there, you'll see the user field will be pre-populated with %LogonDomain%\%LogonUser% - just leave it at those values. That GPO needs to be bound to an OU with the user objects, not the computer objects.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JohnPaddockAuthor Commented:
Bravo McKnife.  It worked.  Thankyou!
It looks like only the first user that logs in, can see the task in task scheduler.  It still works for the next user though.
I'm curious why the 2nd user can't see it, even if I give the everyone group read access to the task in c:\Windows\System32\Tasks\
It works though for all users, so all good.  thank you very much
much appreciated
McKnifeCommented:
It's not about 1st/2nd, but about admin/non-admin. Giving read access has no effect, here.
You are welcome.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 10

From novice to tech pro — start learning today.