Updating Widows Service Bus Runas Password

Home/.Net/Updating Widows Service Bus Runas Password

I’m running a Windows Service Bus 1.1 farm on my local machine for testing, and recently the services stopped working after I updated my system password. The services were configured to run under my user account so needed to be updated after I changed my password.

To do so, we’ll need to use Service Bus Powershell.

First, stop any services that by be running.

Stop-SBFarm

Once everything is stopped, we can update the runas password by using a SecureString.

$pw=ConvertTo-SecureString -AsPlainText -Force -String 'yourpassword'
Update-SBHost -RunAsPassword $pw

And last, we just need to restart the farm.

Start-SBFarm

About the Author:

Freelance software developer in the Cleveland area.

Leave A Comment