大网数据广告活动
性能与资源

User-defined data collector set doesn't run as scheduled

· 52CE 我爱测

This article provides a workaround for an issue in which a user-defined data collector set that is configured to run on a schedule does not run.

This article provides a workaround for an issue in which a user-defined data collector set that is configured to run on a schedule does not run.

Applies to:   Windows Server 2019 - all editions, Windows 10 version 1909 - all editions, Windows 10 version 1903 - all editions, Windows 10 version 1809 - all editions, Windows 10 version 1803 - all editions, Windows 10 version 1709 - all editions, Windows 10 version 1703 - all editions

Symptoms

In the Computer Management console in one of the affected versions of Windows, you create a data collector set in the Performance > Data Collector Sets > User Defined folder. You configure a schedule as part of the data collector set definition.

During the scheduled running time, you notice that Performance Monitor does not start collecting data. If you configured the data collector set to save data to a file, the file isn't created and no data is saved. In Task Scheduler, the task history indicates that the task ran successfully. However, the task didn't actually do anything.

In Task Scheduler, if you open the scheduled task and then select Actions, the actions list contains Custom Handler.

The list doesn't contain the expected action, Start a program, which includes the specific commands and arguments.

Note:
In the Task Scheduler Library, tasks for data collector sets appear by default in Microsoft > Windows > PLA.

Cause

Starting in Windows 10 version 1703 and Windows Server 1703, the way that scheduled tasks are automatically created for data collector sets was changed. Because of the change, the actions for these tasks aren't created correctly.

Resolution

This issue is fixed in Windows 10, version 2004 and later versions and in Windows Server, version 2004 and later versions.

Workaround

You can manually fix the scheduled task that is associated with a data collector set. To do this, follow these steps:

  1. In Task Scheduler, do one of the following to open the Properties dialog box of the affected task:

    • If the task appears in the Active tasks list in Task Scheduler, double-click the task. Then in the detailed task list, right-click the task and select Properties.
    • Go to Task Scheduler Library > Microsoft > Windows > PLA, right-click the task, and then select Properties.
  2. Select Actions, select Custom Handler, and then select Delete.

  3. Select New.

  4. In Program/script, type the following string:

    C:\windows\system32\rundll32.exe
    
  5. In Add arguments, type the following string:

    C:\windows\system32\pla.dll,PlaHost "{Name}" "$(Arg0)"
    

    [!NOTE]
    In this string, {Name} represents the name of the data collector set.

  6. Select OK.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。