Windows 10: Server 2019 running Data Collector Sets via schtasks/Scheduled Tasks (Issue & Tempfix)

Discus and support Server 2019 running Data Collector Sets via schtasks/Scheduled Tasks (Issue & Tempfix) in Windows 10 Customization to solve the problem; Has anyone else encountered issues activating a performance monitor data collector set on Server 2019 using either the command line schtasks or the gui... Discussion in 'Windows 10 Customization' started by LordHavoc01, May 3, 2019.

  1. Server 2019 running Data Collector Sets via schtasks/Scheduled Tasks (Issue & Tempfix)


    Has anyone else encountered issues activating a performance monitor data collector set on Server 2019 using either the command line schtasks or the gui Scheduled Tasks?

    Specifically with the symptom: it appears to start without issue on the scheduled task side, but nothing changing (no activity) on the perfmon side


    I have, so I went on the investigation

    I've noticed a difference between 2019 and 2016 version of the scheduled task. Specifically the <Actions> part on the xml


    2019

    <Actions Context="Author">

    <ComHandler>

    <ClassId>{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}</ClassId>

    <Data>$(Arg0)</Data>

    </ComHandler>

    </Actions>


    2016

    <Actions Context="Author">

    <Exec>

    <Command>C:\Windows\system32\rundll32.exe</Command>

    <Arguments>C:\Windows\system32\pla.dll,PlaHost "XXX My Collector Name XXX" "$(Arg0)"</Arguments>

    </Exec>

    </Actions>


    Temporary/Interim Fix

    In the 2019's version of the scheduled task, i removed the 'Custom Handler' action and replaced it with the legacy 'Start a program' action. This resolved the issue.

    I've not had any experience reporting to the MS development teams so if someone who reads this can let them know - they need to know that this is broken

    :)
     
    LordHavoc01, May 3, 2019
    #1

  2. Window's Task Scheduler Not Running

    Hi,

    To assist you better, kindly provide us more details by answering the following questions:

    • Have you tried recreating the task? If so, are you getting the same issue?
    • Have you tried creating a new task?
    Meanwhile, we suggest that you ensure that the Task Scheduler is running. You can verify if the service is running by following these steps:

    • Press Windows key + R on your keyboard.
    • Type services.msc and hit Enter.
    • Under Services (Local), make sure that the Task Scheduler service's status is
      Started or Enabled.
    Should you need further assistance, feel free to get back to us.
     
    Monica Cam, May 3, 2019
    #2
  3. Unable to run Task Scheduler

    Hello Varun,

    Let's determine the cause of the issue. To get started, I'd like to get the following information:

    • Is this your first time to encounter this issue? If so, did you make any changes to your computer's configuration prior to this?
    • Are you getting any error messages?
    • Can you also please confirm the current build of your Windows 10?

      (Type winver into the Cortana search box, then hit
      Enter
      .)

    Meanwhile, I suggest that you try starting the Task Scheduler through command line. To do so, please follow these steps:

    • Open Command Prompt (Admin).
    • Type this net start task scheduler and hit Enter.

    We're looking forward to your response.
     
    Antoneth Ber, May 3, 2019
    #3
  4. Server 2019 running Data Collector Sets via schtasks/Scheduled Tasks (Issue & Tempfix)

    Cannot schedule a task with Task Scheduler - error 2147942403

    Hi,

    I suggest you to check the below settings and check fi it helps.

    • In task scheduler, click on the scheduled job properties > then settings.
    • In the last listed option: "If the task is already running, the following rule applies:"
    • Select "Stop the existing instance" from the drop down list.
    • Save and Exit. Then check whether the task is running or not.

    Please get back to us with an update on this issue, we will be happy to assist you further.

    Thank you.
     
    Karthicka_R, May 3, 2019
    #4
Thema:

Server 2019 running Data Collector Sets via schtasks/Scheduled Tasks (Issue & Tempfix)

Loading...
  1. Server 2019 running Data Collector Sets via schtasks/Scheduled Tasks (Issue & Tempfix) - Similar Threads - Server 2019 running

  2. Run Task Scheduler

    in Windows 10 Gaming
    Run Task Scheduler: I am trying to run a Powershell script in Windows 10 21H2 version using Task bar and the PS window pops up. Later found out that this is happening because the task is run as "Run only when user is logged on".I tried to set this to "Run whether user is logged on or not" and...
  3. Run Task Scheduler

    in Windows 10 Customization
    Run Task Scheduler: I am trying to run a Powershell script in Windows 10 21H2 version using Task bar and the PS window pops up. Later found out that this is happening because the task is run as "Run only when user is logged on".I tried to set this to "Run whether user is logged on or not" and...
  4. scheduled Tasks would not start in Windows Server 2019

    in Windows 10 Gaming
    scheduled Tasks would not start in Windows Server 2019: Hello!Would anybody tell me if the Scheduled Tasks that are triggered by some eventIDs can still be used in Windows server 2019 ?I've got several tasks that work perfect in Windows Server 2008R2-2016, but do not work any more on Windows Server 2019, for example, this test...
  5. scheduled Tasks would not start in Windows Server 2019

    in Windows 10 Software and Apps
    scheduled Tasks would not start in Windows Server 2019: Hello!Would anybody tell me if the Scheduled Tasks that are triggered by some eventIDs can still be used in Windows server 2019 ?I've got several tasks that work perfect in Windows Server 2008R2-2016, but do not work any more on Windows Server 2019, for example, this test...
  6. scheduled Tasks would not start in Windows Server 2019

    in AntiVirus, Firewalls and System Security
    scheduled Tasks would not start in Windows Server 2019: Hello!Would anybody tell me if the Scheduled Tasks that are triggered by some eventIDs can still be used in Windows server 2019 ?I've got several tasks that work perfect in Windows Server 2008R2-2016, but do not work any more on Windows Server 2019, for example, this test...
  7. Issues with task scheduler running on battery

    in Windows 10 Ask Insider
    Issues with task scheduler running on battery: Hi all, I've been having trouble getting task scheduler to run a program (throttlestop for CPU undervolt) reliably on boot. It runs on AC but never on battery. My trigger is log on of any user. I've also tried on startup. As for config; its set up to run whether the user is...
  8. Powershell script does not run via Task Scheduler

    in Windows 10 Customization
    Powershell script does not run via Task Scheduler: PowerShell script runs fine manually, but doesn't run in Task scheduler. The script: [ATTACH] I tried another command$env:COMPUTERNAME and works fine both manually and via PowerShell....
  9. Task Scheduler Not Running

    in Windows 10 BSOD Crashes and Debugging
    Task Scheduler Not Running: I've already tried and a lot of solutions for this but sadly I still don't have a solution. I've also tried these steps in this link (https://computerstepbystep.com/task_scheduler_service.html), still no luck What happened is I'm trying to update my GeForce Experience but I...
  10. Run a scheduled task via command line via command line

    in Windows 10 Support
    Run a scheduled task via command line via command line: i want start a Run a scheduled task via command line like this: Code: %SystemRoot%\system32\taskschd.msc /Run /TN "RegIdleBackup" when i run the cmd in the prompt as admin the shedular task GUI pop up but the task not start. Is there a solution? Is the...

Users found this page by searching for:

  1. windows 2019 data collector set nt authority