six demon bag

Wind, fire, all that kind of thing!

2016-01-04

Cannot delete my own scheduled task

Recently I noticed that I was no longer able to delete scheduled tasks on my Windows 7 test box, even though I created them myself. Deletion attempts failed with the following error:

The user account does not have permission to delete this task.

Deleting my own tasks works fine in a vanilla install of Windows 7 SP1, so the issue must have been introduced by some update along the way. I had to modify the permissions on C:\Windows\System32\Tasks to get it to work again:

icacls "C:\Windows\System32\Tasks" /grant "Authenticated Users":(RD)

Granting "list folder/read data" on the folder itself was sufficient, since the task files are owned by the user creating them and the CREATOR OWNER principal has full access to subfolders and files.

Posted 19:51 [permalink]