Change the startup type for BizTalk services to Automatic (Delayed Start) with PowerShell

  • Sandro Pereira
  • Feb 20, 2012
  • 2 min read

A few months ago, I wrote a post where I explained how the services should be configured and why. I also showed how you can configure them manually, but… it would be interesting to be able to create a script or run a command that allows us to automatically configure them.

To accomplish that, you need to start Windows PowerShell from the Start menu, click Start, click All Programs, click Accessories, click the Windows PowerShell folder, and then click the Windows PowerShell item and type:

get-service BTSSvc* | foreach-object -process { SC.EXE config $_.Name start= delayed-auto}

Result:

configure biztalk services automatic

📝 One-Minute Brief

In this post, Sandro Pereira provides a quick and efficient PowerShell solution to solve the common issue of BizTalk Server services failing to start automatically after a system reboot. By changing the startup type to “Automatic (Delayed Start)” using a simple one-line script or a downloadable automation tool, administrators can ensure that dependencies like SQL Server are fully ready before BizTalk attempts to initialize, preventing service startup failures.

Download

THIS POWERSHELL IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND.

You can download Change the startup type for BizTalk services to Automatic (Delayed Start) with PowerShell from GitHub here:

Hope you find this helpful! If you liked the content or found it useful and would like to support me in writing more, consider buying (or helping to buy) a Star Wars Lego set for my son. 

Thanks for Buying me a coffe
Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

2 thoughts on “Change the startup type for BizTalk services to Automatic (Delayed Start) with PowerShell”

Leave a Reply

Your email address will not be published. Required fields are marked *

The Ultimate Cloud
Management Platform for Azure

Supercharge your Azure Cost Saving

Learn More
Turbo360 Widget

Back to Top