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'?

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.



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish