Microsoft KB Archive/264522

= Task Scheduler returns a &quot;HRESULT: 0x8007007A&quot; error message after you save many jobs =

Article ID: 264522

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Server
 * Microsoft Windows NT Server 4.0, Terminal Server Edition
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional

-



This article was previously published under Q264522



SYMPTOMS
When you try to schedule a job with user credentials so that the task runs as if it were started by the user, you may receive the following error message:

The new task has been created, but may not run because the account information could not be set. The specific error is:

0x8007007a: The data area passed to a system call is too small.



CAUSE
This behavior occurs because the buffer that stores the account information for all scheduled tasks is limited; the buffer puts a limit on the number of jobs that you can schedule with user credentials. There is no limit on the number of jobs that you can create without user credentials.



RESOLUTION
To work around this behavior, stop and start the task scheduler service, wait for 10 to 15 minutes, and then schedule jobs.

There is a scavenger tool in task scheduler that runs 10 minutes after the service is started. This tool frees the memory that is still being used by deleted or scheduled jobs.

Keywords: kbenv kberrmsg kbfix kbprb kbwin2000presp2fix KB264522

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.