Welcome to TechNet Blogs Sign in | Join | Help

Using PSConfig.exe command-line options to complete SharePont Server Configuration

After SharePoint Server setup has completed, the admin may run the SharePoint Products and Technologies Configuration Wizard to complete the configuration steps, but there may be a need to run these steps via the command-line or to just to get a better understanding of what steps the wizard performs using PSConfig.exe:

For more information about the PSConfig.exe command:

http://technet2.microsoft.com/Office/en-us/library/a59c4e8f-9b7f-4127-8199-1b9ab76991501033.mspx

 

1.       Create the ConfigDB:

PSConfig.exe -cmd configdb -create -server <Server_name> -database <Database_name>

-dbuser <DOMAIN\username> -dbpassword <password>

-user <DOMAIN\username> -password <password>

-addomain <domain_name> -adorgunit <org_unit>

-admincontentdatabase <Database_name>

Note that if you wish to connect to an existing configuration database and join the server to an existing server farm you will need to perform the ConfigDB command with the -connect parameter 

2.       Install all HelpCollections

psconfig.exe -cmd helpcollections –installall 

3.       Perform resource security enforcement

psconfig.exe -cmd secureresources 

4.       Register the services in the server farm

psconfig.exe -cmd services -install 

Note that before you can provision we will need to start and configure the Search service via the STSADM.exe command:

 Start the Windows SharePoint Services Search:

stsadm -o spsearch -action start -farmserviceaccount Redmond\user -farmservicepassword MyPassword 

Start the Office SharePoint Server Search service:

stsadm -o osearch -action start -role IndexQuery -farmserviceaccount Redmond\user -farmservicepassword MyPassword -farmcontactemail user@ms.com  

psconfig.exe -cmd services –provision 

5.       Register all features

psconfig.exe -cmd installfeatures 

6.       Provision the SharePoint Central Administration Web application

psconfig.exe -cmd adminvs -provision -port 9000 -windowsauthprovider onlyusentlm 

7.       Install shared application data

psconfig.exe -cmd applicationcontent -install

Published Monday, October 08, 2007 2:26 PM by chrishe

Comments

# GadgetGadget.info - Gadgets on the web &raquo; Using PSConfig.exe command-line options to complete SharePont &#8230;

Anonymous comments are disabled
 
Page view tracker