Windows 8 and 8.1 Forums

Task Scheduler not running task on boot

  1. #1

    Posts : 5
    Windows 8 Consumer Preview

    Task Scheduler not running task on boot

    Hi! It's super simple: I'm trying to run a script every time my PC turns on. I said, let's use Task Scheduler. I found the correct event in Event Viewer (Kernel-General, Event ID: 12) and created a task via "Attach Task to This Event" right-click option.

    But, it didn't trigger this morning.

    Click image for larger version
    Click image for larger version

    I didn't change any of the default task settings; my wake from sleep task runs perfectly, no issues. If anybody is a Task Scheduler guru, here's the XML from the created task:

    <?xml version="1.0" encoding="UTF-16"?><Task version="1.2" xmlns="">
          <Subscription>&lt;QueryList&gt;&lt;Query Id="0" Path="System"&gt;&lt;Select Path="System"&gt;*[System[Provider[@Name='Microsoft-Windows-Kernel-General'] and EventID=12]]&lt;/Select&gt;&lt;/Query&gt;&lt;/QueryList&gt;</Subscription>
        <Principal id="Author">
      <Actions Context="Author">
    Is this the right event to trigger something on boot, Event 12?

      My System SpecsSystem Spec

  2. #2

    Posts : 5
    Windows 8 Consumer Preview

    I changed it to "on startup" and it worked!
      My System SpecsSystem Spec

  3. #3

    Austin TX metro area
    Posts : 518
    Windows 7 Pro 64bit [MS blue-disk set]

    Some startup and some upon-log-on tasks I've also set do only when internet's connected -- updates for the most part.
    Last edited by RolandJS; 22 Mar 2016 at 12:30.
      My System SpecsSystem Spec

Task Scheduler not running task on boot

Similar Threads
Thread Forum
Task scheduler cannot start a task. Error 0x41301
I faced quite an odd issue. I created task for starting Transmission-QT at system start. I enabled Task History and there all seems fine. 64807 But really program doesn't start. In "Last run result" field of Task Scheduler I get a strange error 0x41301. 64806 I googled it and...
Performance & Maintenance
Task scheduler
Hi all; I am new to the forum and I appreciate any help thanking you in advance. I want to schedule a task that can copy files from a folder on my PC to an external hard network drive, I have a windows 8.1 , the folder is on my : This PC\documents\folder and the external drive is on network\WD ...
Performance & Maintenance
about this running on my task manager every time i boot
Intel(R) System Behavior Tracker Collector Service Intel Energy Checker Energy Server Intel Energy Checker Energy Server Service how can I or can I stop this from running everytime I boot my laptop? is this safe to End task on task manager?
Performance & Maintenance
Unidentified task from task scheduler
Does anyone know what the task "CreateObjectTask" is coming from? I can't find it anywhere.
General Support
Task Scheduler
This Tutorial will show you how to create a Scheduled Logon Task. You should, ideally, perform this Tutorial from within an account with administrative privileges. Section ONE Open Task Scheduler. Click Create Task...
Launch Task Manager Minimized from Task Scheduler
I've added task manager to my scheduled tasks at logon. Everywhere I google, they say to put the /min or -minimized arguments in it to launch it minimized, except neither option works for me. Task Manager launches, but just sits there on my desktop. Is there a new argument for minimized in...
Performance & Maintenance
Task Scheduler task won't start if user is SYSTEM
General Support

Eight Forums Android App Eight Forums IOS App Follow us on Facebook