Thursday, October 15, 2009

A solution that pointed to the cause

Me: "Cannot add a task to Scheduled tasks?? Why? Are you too f****ing busy to do one more thing?"

This was one of the more perplexing problems I faced.... until I found the solution.
First the problem: Click on add scheduled task, go through the motions of selecting the script I wanted to run, and click finish, only to have Windows tell me that it cannot add a task.

Google told me about service packs and other innumerable fixes and all except one did not apply.

To solution was to check the ACLs on the Tasks folder. You cannot do that through explorer.
Fire up the command line! Run "cacls Tasks"; then, since you don't understand what you're seeing, run "cacls /?" and RTFM.

The root cause still eludes me though - how the hell did anything manage to put the read-only attribute on Tasks?

No comments: