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

Posted: February 20, 2012 in BizTalk, PowerShell
Tags: , ,

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}

Result:

configure-biztalk-services-automatic

Tags: BizTalk | PowerShell | Hosts

Comments
  1. Matt Corr says:

    Awesome work as usual Sandro!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s