Share via

Can't find task in task scheduler

Anonymous
2011-02-09T00:15:18+00:00

I created a basic task to connect to an ad-hoc network each time I boot my laptop using Vista Home Premium 32-bit.  I no longer want that to happen and I've deleted that network and am trying to delete the task.  When I open task scheduler I do not see my task listed.  I have made sure to "Show Hidden Tasks".  I know the task is running as I keep getting errors about not being to find the ad-hoc network.

I created a new task basic task called "test" that just starts the calc program and it shows up fine in the task list.

Any help?

Windows for home | Previous Windows versions | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
  1. Anonymous
    2012-05-25T18:24:18+00:00

    As others have found, if you change the name of your computer, scheduled tasks that were associated with a specific user account (as the logon trigger, as the user credential for the task, and so on) will no longer appear in the Scheduled Tasks list. Scheduled Tasks displays the message "An error has occured for task xxxx. Error message: The specified account name is not valid." The same thing happens if you delete a user account that was named in a Scheduled Task.

    The reason for the problem is that the computer name is part of the account name (for example, "mycomputer\myaccount"), and so if either part of the name is invalid, the associated account is no longer recognized. Unfortunately, since Scheduled Tasks will not display the broken task entry, you can't fix it directly.

    The tasks themselves are defined in plain-text XML files stored in \windows\system32\tasks. The files have the same name as their Scheduled Tasks entries.

    If a task is unwanted, you can simply delete the corresponding file from \windows\system32\tasks.

    If you want to restore a task, you have to change the computer name and/or account name whereever it occurs in the task file. But, you can't simply edit the file in place to fix the problem. Scheduled Tasks detects that the file has been modified externally and again won't use or display it.

    I was able to fix the problem using the following steps:

    1. Move the file for the broken task entry from \windows\system32\tasks into another folder. You want to move it, not copy it -- the file has to be taken out of \windows\system32\tasks. You can do this using Windows Explorer or the move command in a command prompt window.
    2. Open the file in its new location using Notepad. Fix the computer name and/or account name wherever it occurs and save the file. Repeat steps 1 and 2 for any other problem tasks.
    3. Open Scheduled Tasks or select menu Action, Refresh. There should be no error messages now, since the problem task was removed.
    4. Under the Action menu, use the Import command to locate the edited file. This will restore the scheduled task.
    5. Test the restored task by right-clicking it and selecting Run. Once everthing is working you can delete the old versions of the task file from whereever you'd moved it. Repeat steps 4 and 5 for any other edited task files.
    10+ people found this answer helpful.
    0 comments No comments
Answer accepted by question author
  1. Anonymous
    2012-02-03T19:23:19+00:00

    Start - run - regedit

    search for: Clean up! @ logon

    Removed two branches below:

    HKLM\Software\Microsoft\Windows\ NT\CurrentVersion\Schedule\TaskCache\Tasks{SSID} containing "Clean up! @ logon" in the RIGHT pane; removed the branch containing it in the LEFT pane).

    Also, I removed: HKLM\Software\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Clean up! @ logon

    This solved it and makes this a [SOLVED] - adjust your task names for this solution accordingly.

    Peace!

    Devnullius

    4 people found this answer helpful.
    0 comments No comments

10 additional answers

Sort by: Most helpful
  1. Anonymous
    2011-05-08T18:43:17+00:00

    Found the issue!  I had changed computer names since I created the task.  As the computer name was part of the author of the task, it was not showing up.  I switched back to the old name and there it was.  Now it's gone :)

    Hope this may help some of you.

    Cheers,

    Michel

    0 comments No comments
  2. Anonymous
    2011-05-08T18:08:08+00:00

    Hi,

    I'm having a similar issue with Windows 7.  I created a task that no longer works and I get the following error message when I open Task Scheduler:

    "An error has occured for task SystemBackup. Error message: The specified account name is not valid."

    I tried to delete the task as I no longer need it, but it does not appear in the task list.

    When I run "schtasks /Query >tasks.txt" from the command prompt, I see the task in the root folder:

    Folder: \

    TaskName                                 Next Run Time          Status

    ======================================== ====================== ===============

    GoogleUpdateTaskMachineCore              5/9/2011 9:50:00 AM    Ready

    GoogleUpdateTaskMachineUA                5/8/2011 7:50:00 PM    Ready

    GoogleUpdateTaskUserS-1-5-21-3740672154- 5/8/2011 9:02:00 PM    Ready

    GoogleUpdateTaskUserS-1-5-21-3740672154- 5/8/2011 8:02:00 PM    Ready

    HPCeeScheduleForOwner                    6/22/2011 11:56:00 AM  Ready

    Microsoft_Hardware_Launch_IPoint_exe     N/A                    Ready

    MirageAgent                              N/A                    Running

    RecoveryCDWin7                           N/A                    Ready

    SystemBackup                             N/A                    Running

    User_Feed_Synchronization-{3B9041CE-E0C2 5/9/2011 11:06:41 AM   Ready

    I'm logged in as the administrator/owner of the machine.  Please, can someone help me to delete this task?

    Thanks in advanced,

    Michel

    0 comments No comments
  3. Anonymous
    2011-02-09T18:59:02+00:00

    Hi,

    ·         What’s the exact error message?

    It could be GatherWirelessInfo task. GatherWirelessInfo is a default task which runs in Vista to collect wireless networking data. This scheduled task collects configuration information and state information about the computer. This information is displayed in a report. This information is included in the system logs. This information also appears in Performance Monitor.

    “Description of the scheduled tasks in Windows Vista”: http://support.microsoft.com/kb/939039

    Diana

    Microsoft Answers Support Engineer

    Visit our Microsoft Answers Feedback Forum and let us know what you think.


    If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.

    0 comments No comments