"TFSServerScheduler" Service does not start automatically at system startup

Recently I have been working on a case about Visual Studio Team Foundation Server Task Scheduler service. A customer reported that in a single server TFS 2008 deployment,  when TFS server is rebooted, TFSServerScheduler doesn’t start automatically. Instead, there’s an error message in Windows Event Log:

Source: "TFS Scheduler"

TF53010: The following error has occurred in a Team Foundation component or
Date (UTC): 20.05.2009 08:16:35
Machine: xxx
Application Domain: TFSServerScheduler.exe
Assembly: Microsoft.TeamFoundation.Common, Version=, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Details: 
Process Name: TFSServerScheduler 
Process Id: 2920 
Thread Id: 3092 
Account name: domain\user

Detailed Message: Unable to connect to the remote server

The interesting thing is that when you try to start TFSServerScheduler service manually, it starts successfully and everything works fine!

After some digging, we eventually came to Fun with the TFSServerScheduler service. In that post, it says TFSServerScheduler depends on SQL Server service in a single server TFS deployment. If SQL Server starts slower than TFSServerScheduler, then TFSServerScheduler will crash and exit.

In my case however, it is a bit different. it turns out TFSServerScheduler also depends on World Wide Web Publishing Service (W3SVC). You can verify this by stopping W3SVC, then restart TFSServerScheduler. TFSServerScheduler can be started but will exit after several seconds. The same error message as I posted will be added to Windows Event Log.

You might have already figured out the workaround. We can configure TFSServerScheduler to depend on W3SVC. One approach is to run command: sc config TFSServerScheduler depend= W3SVC. Please note that there’s a space between the equal sign and W3SVC. Then open the property dialog for TFSServerScheduler and check if its dependency is configured correctly.

I can’t say for sure which services are actually dependent by TFSServerScheduler. But I believe we can find them out if we meet similar issues in the future.


Anonymous September 23, 2009 at 7:04 AM

Thanks for your post. It fixed my problem.

guangming April 25, 2010 at 7:12 PM

Discount Handbags On Sale-Beautycasa Online : Official online destination for all things Louis Vuitton Handbags and purses including Luxury Handbags trends, designer reviews, handbag deals, and more.Hot sale Cheap cell phonesand cell phone china on our site! Fashion look and powerful functions for these mobile phones even discount cell phones! Wholesale HiPhone, 3G cell phones, PDA/Smart Phone now.China Cell PhonesDon't miss these cellphone!toy wholesale

TheCric May 4, 2010 at 4:25 PM


I have tried the Virtual PC Image named "Visual Studio® Team System 2008 Team Foundation Server SP1 VPC Image (Trial)" and I got exactly this error.

Your method fixed it

Web Application Development July 29, 2011 at 5:53 AM

Hello There. I searched your blog using msn. This is a really well written article. I will make sure to bookmark it and return to read more of your useful info. Thanks for the post. I’ll definitely return.

fdhty April 23, 2013 at 6:43 PM

Life is not measured by the number of breaths we take Runescape Gold, but by the moments that take our breath away rs gold. I have a simple philosophy: Fill what's empty Runescape Gold.

The past is gone and static. Nothing we can do will change it.scarlet blade gold, the future is before us and dynamic. Everything we do will affect it rs gold, You laugh at mescarlet blade gold for being different , but I laugh at you for being the same.

Adobe Acrobat 9 Download June 16, 2013 at 8:01 AM

Microsoft Project 2010 Download introduces a major shift in how projects are scheduled. Changes to factors such as task dependencies and the project calendar no longer automatically adjust task dates when a task is manually scheduled.
Microsoft Visio 2010 advanced diagramming tools help you simplify complexity with dynamic, data-driven visuals and new ways to share on the Web in real time. Whether you’re creating an organizational chart, a network diagram, or a business process, the new tools and more intuitive interface in Microsoft Visio 2010 Download make it easier to bring your diagrams to life.
Acrobat 9 Download is a platform for viewing, creating, manipulating and managing files in Adobe's PDF format.