Sunday, 19 February 2012 00:57

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

Written by 
Rate this item
(14 votes)

A few months ago I wrote a post where I explained how the services should be configured and why. I also show how you can configure them manually, but… it would be interesting to be able to create a script or run a command that allow 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}

Update: You can download the powershell script on TechNet Gallery here.

Read 3885 times Last modified on Sunday, 29 April 2012 14:15
Sandro Pereira

Sandro Pereira lives in Portugal and works as a BizTalk consultant at DevScope. In the last few years has been working implementing integration scenarios and Cloud Provisioning at a major telecommunications service provider in Portugal. His main focus is on Integration Technologies where is been using .NET, BizTalk and SOAP/XML/XSLT since 2002.

He is an active blogger, member of BizTalk Brazil Community, member and moderator of MSDN BizTalk Server Forums, Code Gallery contributor and was awarded Most Valuable Professional (MVP) for BizTalk Server by Microsoft since 2011. He has certifications for BizTalk Server 2006 and BizTalk Server 2010.

twitterlinkedin

Website: sandroaspbiztalkblog.wordpress.com/

1 comment

  • Comment Link Jeroen Hendriks Friday, 23 March 2012 11:09 posted by Jeroen Hendriks

    Just used this script to configure a 6 node BizTalk cluster with several hosts instances running on each server. A real time safer!

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.