Search code examples
biztalkbiztalk-2010sysprep

Provide password to SSOCONFIG.EXE as parameter?


How can you provide the password to ssoconfig.exe -restoresecret as parameter?

I'm trying to use the sysprep scripts from Colin Meade on TechNet

Checked on MSDN and ssoconfig -restoresecret only has <restore file> as a parameter ... no reference to "password"

Yet when I run the command, I get the prompt for a password, along with the password hint!


Solution

  • As described in http://msdn.microsoft.com/en-us/library/aa560589.aspx, the command does not let you restore a secret with a password as a parameter. So it doesn't seem to be viable via the command line.

    I don't know what the use-case is in your case, but in general I'm not sure if this would be something you want to automate?

    What you can do is automate it yourself by writing a wrapper (e.g. console application) for it. You can do so by sending keystrokes to the command line, there are various examples available here on SO.