Automating WSS v3/MOSS 2007 development environment setup: part VIII – Run SharePoint configuration wizard

Hi,

SharePoint binaries are here, on the development server. Now, we’ll run the “SharePoint Products and Technologies Configuration Wizard”.

The command line tool to do so is psconfig.exe, located in “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN” folder.

This tool allows you to create, join, upgrade and remove a server in a SharePoint farm.

To create a farm, we’ll go through the following steps:

 

You can find help on those steps here :

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\Help\1033 , opening psconfig.chm (the only file in this folder) :

The adapted script to create the farm on our server is:

psconfig.exe -cmd configdb -create -server MSDN -database MOSS_ConfigDB -user ad\MOSS_Farm_Svc -password moss -admincontentdatabase MOSS_CentralAdmin_ContentDB
psconfig.exe -cmd helpcollections -installall
psconfig.exe -cmd secureresources
psconfig.exe -cmd services -install
psconfig.exe -cmd installfeatures
psconfig.exe -cmd adminvs -provision -port 1234 -windowsauthprovider onlyusentlm
psconfig.exe -cmd applicationcontent -install

And here’s the script running :

And here, the result : Central Administration running:

Next step, is to remove this horrible message “Server Farm Configuration Not Complete” !

< Emmanuel />

Comments

  • Anonymous
    April 17, 2009
    Hi, This long post series raised interest from many of you. Thanks for that. I was asked few times to

  • Anonymous
    April 20, 2009
    Un petit post rapide pour linker une excellente série faite par Emmanuel Bergerat sur son blog : Automating