JSI Tip 6272. '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'?

Jerold Schulman

January 27, 2003

1 Min Read
ITPro Today logo in a gray background | ITPro Today

When you schedule a job to start as user, you receive:

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.

The buffer that stores account information for ALL scheduled tasks is finite, and has been exhausted.

To workaround this feature:

1. Copy / Paste the following to a StopStartTaskScheduler.bat file:

@echo off
net stop "Net Logon"
net stop "Windows Time"
net stop "Task Scheduler"
net start "Windows Time"
net start "Net Logon"
net start "Task Scheduler"
@ping -n 901 127.0.0.1>nul
@echo You may set the account information for the 'new task' and schedule additional tasks.

2. Open a CMD prompt.

3. Type StopStartTaskScheduler.bat and press Enter.

4. When you see the You may set the account information for the 'new task' and schedule additional tasks message, in 15 minutes, the Task Scheduler scavenger tool, which start 10 minutes after the Task Scheduler service is started, should have freed enough buffer memory.

NOTE: You may have to press OK in a dialog that tells you that some scheduled tasks have been missed.

NOTE: When the script starts the Task Scheduler, it is normal to receive:

The requested service has already been started.
More help is available by typing NET HELPMSG 2182.



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like