Event ID 131 — Task Scheduler Service Quotas
Applies To: Windows Server 2008 R2
The Task Scheduler service manages a queue of tasks that are scheduled to run. A task is put in the queue when the service determines the task should run. The Task Scheduler task queue has a quota that defines the number of tasks allowed in the queue. The quota is defined in a registry key value.
|Product:||Windows Operating System|
|Message:||Task Scheduler failed to start task "%1" because the number of tasks in the task queue exceeds the quota currently configured to %2%. Reduce the number of running tasks or increase the configured queue quota.|
Increase TasksInMemoryQueue registry key
Either reduce the number of running tasks or increase the queue quota by modifying the TasksInMemoryQueue registry key under HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Schedule\Configuration.
Caution: Incorrectly editing the registry can corrupt your system. Back up valued data before making changes to the registry.
To perform this procedure, you must have membership in the Administrators group, or you must have been delegated the appropriate authority.
To modify the TasksInMemoryQueue registry key:
1. Click Start and type regedit in the Start Search box.
2. Select the regedit.exe program to start the Registry Editor.
3. Expand the folders in this path: HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Schedule\Configuration.
4. Click the Configuration node, right-click the TasksInMemoryQueue registry key, and select Modify.
5. Change the value of the key and click OK. The default value is 64.
Attempt to run a task and verify that the task runs when scheduled.
To verify that the task runs correctly:
1. Click the Start button and type **Task Scheduler **in the Start Search box.
2. Select the Task Scheduler program to start Task Scheduler.
3. Locate the task in the task folder hierarchy, and then select the task.
4. On the Actions menu click Run. You can also click Run in the Actions pane.
5. Select the History tab to view task events and to verify that the selected task started successfully.
6. Verify that the task starts as expected when its defined trigger fires.