task-scheduler: How can all users view/edit/run the same tasks?

2

0

I want all (or selected) users/admins to view/edit/run the same task. It seems that each user/admin only sees his own tasks and not the others users'.

This is quite confusing for me since on Linux a user with the right permissions can view/change all cron jobs. So the jobs are tied to the machine and not to the user on the machine.

tardis

Posted 2019-06-27T09:10:10.810

Reputation: 100

Do you apply any special GPOs? From my experience you are able to see all tasks in the task scheduler (taskschd.msc). Changing them might require different privileges. – Seth – 2019-07-01T11:47:07.850

I have no access to GPO. – tardis – 2019-07-01T11:52:47.293

Can you find the tasks in %windir%\System32\Tasks? If you can, I have the idea to try to right-click them, choose Properties, Security tab, and change the permissions to allow the other users. – harrymc – 2019-07-01T19:56:17.183

Answers

0

By default scheduled tasks are user specific, that's why you can only see "your own" tasks. If you choose to create a "normal" task (not the simple task), you will get the option to choose a specific user or a user group.

Choosing - for example - a system account or a user group should make it visible to other users as well (assuming they have sufficient rights to view it). I haven't tried this on a recent version of Win10 but as far as I remember it should work.

Albin

Posted 2019-06-27T09:10:10.810

Reputation: 3 983

0

You can use powershell to task export / import:

Get-ScheduledTask
$xml = Export-ScheduledTask -TaskName Abc -TaskPath \Xyz\
Register-ScheduledTask -Xml $xml -TaskName Abc -TaskPath \Xyz\ -User Xxx

someone

Posted 2019-06-27T09:10:10.810

Reputation: 1