Quantcast
Channel: Task Scheduler on Windows Server 2008 R2 Cluster
Viewing all articles
Browse latest Browse all 24

Task Scheduler on Windows Server 2008 R2 Cluster

0
0

We were on Windows Server 2003, and had some scheduled tasks to take care of application maintenance. We decided to move to new servers that run on Windows Server 2008 R2. We have Microsoft failover clustering implemented and have two nodes on the cluster.

The scheduled tasks on Server 2003 were maintained in a shared drive so that when the system fails over, the other node could also be aware of the Tasks location. For this we had changed the default location (HKLM\SOFTWARE\Microsoft\SchedulingAgent\TasksFolder)to point to the new path and it worked.

But in server 2008 R2, the default location of the tasks (as per theHKLM\SOFTWARE\Microsoft\SchedulingAgent\TasksFolder)is still “%SystemRoot%\Tasks“, but I could not see any tasks that I had created in the above path. I then found that the tasks get created in “%SystemRoot%\System32\Tasks” folder instead.

Does that mean the above registry key is not being used to store the tasks? Is there any other place in the registry that I need to look at?

I realize that the Task Scheduler is not cluster-aware in Windows Server 2008 R2, though I read some posts suggesting Windows Server 2012 has this new feature, but that wouldn’t be of much help as we are not looking to move to Server 2012.

I also read that the registry keyHKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCachecontains several sub-keys that alsohave to get replicated in order for it to show up on the other node. I don't know if replicating the entire TaskCache key (and all sub-keys) would have any adverse effects, but at the minimum it appears thatTaskCache\Tasks and TaskCache\Treemust be replicated.

Has anyone successfully created scheduled tasks on a Windows Server 2008 R2 cluster? How can this be achieved?

Pls help.


Viewing all articles
Browse latest Browse all 24

Latest Images

Trending Articles





Latest Images