Symptom:

Windows 2003新增超過1000個以上的Schedule時,出現錯誤代碼:0x8007007a : 傳遞到系統呼叫的資料區太小.

image

 

Cause:

This happens when reach the limit of the number of tasks that can be registered with Task Scheduler 1.0 (which is about 1000 tasks)

Resolution:

it is a by design behavior. Using Server 2008 or 2008 R2 can overcome the design limitation of Task Scheduler 1.0

Q: Maximum number of tasks that can be scheduled?

A: About 1000

Q: Is this information documented?

A: Yes http://msdn.microsoft.com/en-us/library/bb756979.aspx

Q: Is there any way to increase this limit in Windows 2003?

A: No, since this is by design. Using Server 2008 or 2008 R2 can help since it uses Task Scheduler 2.0.

 

Workaround:

Combine multiple tasks into one batch file or script to avoid 1000 tasks limitation.