Task Scheduler service is not available; will attempt to reconnect

When you launch the Task Scheduler window, or when a specific task is run, the following error may pop up:

Task Scheduler service is not available. Task Scheduler will attempt to reconnect to it.

ask scheduler service is not available. Task scheduler will try to reconnect to it

This error may occur although the Task Scheduler service is running.

Task Scheduler service is not available. Task Scheduler will attempt to reconnect

This error occurs due to network conditions set for the task. If the task is configured to run only when a specific network is available, the error occurs if that specific network is unavailable.

If that specific network connection is unavailable, Windows shouldn’t throw an error. This, clearly is a bug in Windows.

Follow this workaround if your task doesn’t require a network, or if it can work with any network that is available.

First, identify the task which was configured with the network condition. If a recently run task caused the error, you can identify the “last run” task using different ways.



To view the list of tasks configured to start only if a network connection is available and with a specific network connection, run this command from an elevated PowerShell (PowerShell.exe) window.

gci -path c:\windows\system32\tasks\* -recurse | select-string -pattern "</Id>" | select-object filename,line

ask scheduler service is not available. Task scheduler will try to reconnect to it - powershell

This lists all the tasks that are configured to use a specific network ID. Here is the XML markup from a sample task.

<RunOnlyIfNetworkAvailable>true</RunOnlyIfNetworkAvailable>
    <NetworkSettings>
      <Id>{115AA1E6-4975-424A-989B-622B814D0174}</Id>
      <Name>XT1068 4219</Name>
    </NetworkSettings>

Note: {115AA1E6-4975-424A-989B-622B814D0174} represents the Belkin network profile on my computer. FYI, the list of network profiles are under the CurrentVersion\NetworkList\Profiles registry key.

  1. Once you identify the offending task, open Task Scheduler.
  2. Double-click to open the Properties of the offending task, select the Conditions tab.
    ask scheduler service is not available. Task scheduler will try to reconnect to it
  3. Under Network, uncheck Start only if the following network connection is available.

    However, if the task needs network connectivity to run correctly, enable the checkbox, but select Any connection from the dropdown list box.

This fixes the error Task Scheduler service is not available. Task Scheduler will attempt to reconnect to it in Task Scheduler.


One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support, my reader. It won't take more than 10 seconds of your time. The share buttons are right below. :)

About the author

Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.

Leave a Comment