Event ID 134 — Task Scheduler Engine Quotas
Applies To: Windows Server 2008 R2
The Task Scheduler engine 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 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 Engine "%1" for user "%2" is approaching its preset limit of tasks. Reduce the number of tasks running in the specified user context.|
Increase queue size
Increase the task 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 the 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 the Start button 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.
To verify that the task execution has completed successfully:
1. Click the Start button and type Task Scheduler **in the **Start Search box.
2. Select the Task Scheduler program to start Task Scheduler.
- Select the task to run by locating the task in the task folder hierarchy.
4. On the Actions menu click Run. You can also click Run in the Actions pane.
- Click the History tab for the task to verify that it contains events indicating the task was registered successfully.