none
Time Syncronization disappeared in Task Scheduler

    Question

  • A few days ago I set the time syncronization task to update the system clock every 5 minutes. Today when I went to task scheduler, I receive the error message: 'The selected task "{0}" no longer exists. To see the current tasks, click Refresh.' I discovered that clicking on the Time Syncronization folder in the Task Scheduler Library also causes the error, and that the time syncronization task can not be viewed. So the question is, how to repair the task so that I can see it again. I would prefer not to go back to a restore point, if possible. That seems overkill for such a minor occurence. But I do want to get the time syncronization task back.

    Michael
    Saturday, February 27, 2010 1:16 AM

All replies

  • Hello,

    Check the suggestions posted in this thread:

    Error messege: the selected task "{0}" no longer exists. to see the current task, click refresh:
    http://social.answers.microsoft.com/Forums/en-US/GettingReadyforWindows7/thread/01e60fa1-8004-40b4-9cf0-247fb80edb56

    Thomas77
    Monday, March 01, 2010 8:32 AM
  • Yes, I have seen that thread.

    The Disk Defrag Schedule was never changed  on this computer. The error was clearly caused by changing the frequency of the SynchronizeTime task to every 5 minutes.

    I have eliminated the error message by renaming the SynchronizeTime task that causes the error in %systemroot%\System32\Tasks\Microsoft\Windows\Time Syncronization . By renaming instead of deleting, I still have access to the file with it's info. However, nothing is present in the Task Scheduler Library under the Time Syncronization node. Neither Task Scheduler nor the operating system seem to regenerate the file.

    I have checked the corresponding registry entries at HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache. These keys contain binary data for DynamicInfo and Triggers which is not editable, at least by me. Supposedly, from reading the various posts on this issue, the error occurs because the task file and it's corresponding registry entry get out of sync with each other.

    I would still like to restore the Time Syncronization schedule, if possible. Would it work to replace the task file and registry key with unchanged ones from another computer? My system is Windows 7 Home Premium x64.

    Michael
    Tuesday, March 02, 2010 4:27 PM
  • Had the same problem due to changing the Time Sync task.

     

    Here is the export for Windows 7 32bit Time Syncronization task that repaired mine.

    -------------------------------------------------

    <?xml version="1.0" encoding="UTF-16"?>
    <Task version="1.3" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
      <RegistrationInfo>
        <Source>Windows Time</Source>
        <Author>Microsoft Corporation</Author>
        <Description>Maintains date and time synchronization on all clients and servers in the network. If this service is stopped, date and time synchronization will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start.</Description>
        <URI>Microsoft\Windows\Time Synchronization\SynchronizeTime</URI>
      </RegistrationInfo>
      <Triggers>
        <CalendarTrigger id="TimeSyncWeeklyTrigger">
          <StartBoundary>2005-01-01T01:00:00</StartBoundary>
          <Enabled>true</Enabled>
          <ScheduleByWeek>
            <DaysOfWeek>
              <Sunday />
            </DaysOfWeek>
            <WeeksInterval>1</WeeksInterval>
          </ScheduleByWeek>
        </CalendarTrigger>
        <CalendarTrigger id="MediaCenterTime">
          <StartBoundary>2009-11-04T01:00:00</StartBoundary>
          <Enabled>true</Enabled>
          <ScheduleByDay>
            <DaysInterval>1</DaysInterval>
          </ScheduleByDay>
        </CalendarTrigger>
      </Triggers>
      <Principals>
        <Principal id="LocalService">
          <UserId>S-1-5-20</UserId>
          <RunLevel>HighestAvailable</RunLevel>
        </Principal>
      </Principals>
      <Settings>
        <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
        <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
        <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
        <AllowHardTerminate>true</AllowHardTerminate>
        <StartWhenAvailable>true</StartWhenAvailable>
        <RunOnlyIfNetworkAvailable>true</RunOnlyIfNetworkAvailable>
        <IdleSettings>
          <StopOnIdleEnd>true</StopOnIdleEnd>
          <RestartOnIdle>false</RestartOnIdle>
        </IdleSettings>
        <AllowStartOnDemand>true</AllowStartOnDemand>
        <Enabled>true</Enabled>
        <Hidden>false</Hidden>
        <RunOnlyIfIdle>false</RunOnlyIfIdle>
        <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
        <UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
        <WakeToRun>false</WakeToRun>
        <ExecutionTimeLimit>PT72H</ExecutionTimeLimit>
        <Priority>7</Priority>
      </Settings>
      <Actions Context="LocalService">
        <Exec>
          <Command>%windir%\system32\sc.exe</Command>
          <Arguments>start w32time task_started</Arguments>
        </Exec>
      </Actions>
    </Task>

    -----------------------------------------------------------

    Thursday, April 15, 2010 2:21 AM
  • I followed your advice. I had this same problem in a windows 7 x64, since it is a x64 bit i went to a 2008 R2 Server we have. I exported the Time Syncronization task from there and imported it to windows 7 x64 having issue with and problem solved.

    Here it is the export from 2008 R2 x64 that worked for me:

     

    ?xml version="1.0"Reply Reply encoding="UTF-16"?>
    <Task version="1.3" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
      <RegistrationInfo>
        <Source>Windows Time</Source>
        <Author>Microsoft Corporation</Author>
        <Description>Maintains date and time synchronization on all clients and servers in the network. If this service is stopped, date and time synchronization will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start.</Description>
        <URI>Microsoft\Windows\Time Synchronization\SynchronizeTime</URI>
      </RegistrationInfo>
      <Triggers>
        <CalendarTrigger>
          <StartBoundary>2005-01-01T01:00:00</StartBoundary>
          <Enabled>true</Enabled>
          <ScheduleByDay>
            <DaysInterval>1</DaysInterval>
          </ScheduleByDay>
        </CalendarTrigger>
      </Triggers>
      <Principals>
        <Principal id="LocalService">
          <UserId>S-1-5-19</UserId>
          <RunLevel>HighestAvailable</RunLevel>
        </Principal>
      </Principals>
      <Settings>
        <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
        <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
        <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
        <AllowHardTerminate>true</AllowHardTerminate>
        <StartWhenAvailable>true</StartWhenAvailable>
        <RunOnlyIfNetworkAvailable>true</RunOnlyIfNetworkAvailable>
        <IdleSettings>
          <StopOnIdleEnd>true</StopOnIdleEnd>
          <RestartOnIdle>false</RestartOnIdle>
        </IdleSettings>
        <AllowStartOnDemand>true</AllowStartOnDemand>
        <Enabled>true</Enabled>
        <Hidden>false</Hidden>
        <RunOnlyIfIdle>false</RunOnlyIfIdle>
        <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
        <UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
        <WakeToRun>false</WakeToRun>
        <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
        <Priority>7</Priority>
      </Settings>
      <Actions Context="LocalService">
        <Exec>
          <Command>%windir%\system32\sc.exe</Command>
          <Arguments>start w32time task_started</Arguments>
        </Exec>
      </Actions>
    </Task>

    Tuesday, December 21, 2010 5:57 PM