Configure the SharePoint farm using psconfig


More information on psconfig.exe:

1.   psconfig -cmd configdb -create -server "SERVER\INSTANCE" -database "nameOFtheConfigDB" -admincontentdatabase "nameOFtheadmincontentDB" -user DOMAIN\FARMACCOUNT -password PASSWORD 2.  psconfig -cmd helpcollections -installall

// Secure resources in file system and registry entries
psconfig -cmd secureresources

// Install services on the server
3.  psconfig -cmd services -install

**  Setup Services  ** 

// Configure Windows SharePoint Services Help Search service: mandatory to successfully provision services on this server. More info:
4.  Stsadm -o spsearch -action start -farmserviceaccount DOMAIN\FARMACCOUNT -farmservicepassword PASSWORD -databaseserver "SERVER\INSTANCE" -databasename "nameOFtheSearchDB"

// Configure Office SharePoint Server search service. More information is available at
5.   Stsadm –o Osearch -action start -role Index -farmcontactemail "EMAIL" -farmperformancelevel Reduced -farmserviceaccount DOMAIN\SEARCHSERVICE -farmservicepassword PASSWORD

// Actually enable services on the server
6.    psconfig -cmd services -provision

7.    psconfig -cmd installfeatures

// Create central administration website

8.    psconfig -cmd adminvs -provision -port PORT -windowsauthprovider onlyusentlm

9.    psconfig -cmd applicationcontent -install

Add servers to your farm

Once you finished to configure the first server, you can add additional servers to the farm. Procedure is the same whatever you installed MOSS or WSS

  1. psconfig -cmd configdb -connect -server "SERVER\INSTANCE" -database "nameOFtheConfigDB" -admincontentdatabase "nameOFtheadmincontentDB" -user DOMAIN\FARMACCOUNT -password PASSWORD
  2. psconfig -cmd helpcollections -installall
  3. psconfig -cmd secureresources
  4. psconfig -cmd services install
  5. psconfig -cmd installfeatures
  6. psconfig -cmd applicationcontent -install



  1. Create web applications for the Shared Services Provider
  2. Create a new web app for the SSP admin site

Stsadm -o extendvs -url <URL for the web app> -ownerlogin domain\username -owneremail -exclusivelyusentlm -apidname “AppPoolName″ -apidtype configurableID -apidlogin <domain\username> -apidpwd <app pool password>Create a new web app for the My site

Stsadm -o extendvs -url <URL for the web app> -ownerlogin domain\username -owneremail -exclusivelyusentlm -apidname “AppPoolName″ -apidtype configurableID -apidlogin <domain\username> -apidpwd <app pool password>

More on Stsadm -o extendvs is available at

    3.   Create the Shared Services Provider

Stsadm -o Createssp -title “Shared Service Provider” -url <created in 1a.> -mysiteurl <created in 1b.> -indexserver %COMPUTERNAME% -indexlocation “%Programfiles%\Microsoft Office Servers\12.0\Data\Applications” -ssplogin domain\username -ssppassword password

More on Stsadm -o Createssp :

Comments (1)

  1. Mattioli Matteo says:

    The first command will fail.and is incomplete. You must specify a passphrase for the farm to join new server afterwards. Also you must use "create" and not "-create":

    psconfig -cmd configdb create -server "SERVERINSTANCE" -database "nameOFtheConfigDB" -admincontentdatabase "nameOFtheadmincontentDB" -user DOMAINFARMACCOUNT -password PASSWORD -passphrase PASSPHRASE

Skip to main content