Home / My Disclaimer / Who am I? / Search... / Sign in

Installing new ADFS SQL Farm from Command Line

by Steve Syfuhs / March 02, 2011 04:00 PM

Need to do a basic install from the command line?  Here’s how:

cd “C:\Program Files\Active Directory Federation Services 2.0”

FSConfig.exe CreateSQLFarm /ServiceAccount "domain\adfssvc" /ServiceAccountPassword "SecretPassword" /SQLConnectionString "database=AdfsSvcConfig;server=sqlserver;integrated security=SSPI" /AutoCertRolloverEnabled /CleanConfig /FederationServiceName "login.mydomain.com"

There are a couple flags that might look a little odd:

  • AutoCertRolloverEnabled – This means ADFS will manage the certificates it uses.  Your other option is to specify which certificates it will use.
  • CleanConfig – In case there is already an old configuration database.  This will delete it.
  • FederationServiceName “login.mydomain.com” – The URI of your ADFS farm.

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

// About

Steve is a renaissance kid when it comes to technology. He spends his time in the security stack.