Sunday 17 November 2013

SharePoint 2010 Configuration Wizard/ PSConfig getting failed!!

Run PSCONFIG after Installing SharePoint 2010 Patches



Since SharePoint Foundation 2010, patching SharePoint is a two-step process. The updated binaries are first installed and then PSCONFIG must be completed to update the SharePoint databases. 

Without completing PSCONFIG, you might experience unexpected SharePoint search failures and all backups may stop working on the affected server.

You can also run the following commands to determine if you need to complete the update process with PSCONFIG:
  • Launch an elevated (Run as Administrator) SharePoint 2010 Management shell from start, All Programs, Microsoft SharePoint 2010 Products, SharePoint 2010 Management Shell.
  • Once the shell opens, type the following command followed by enter:
    (get-spserver $env:computername).NeedsUpgrade



If the result of this command is True, then you need to complete the steps below. If the result is False then no further action is needed.
In order to update the SharePoint databases, you must manually run the PSconfig utility. To run the utility:
1. Open an Administrative command prompt.
2. Change directory to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN
3. Run 
PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures

Note: The Companyweb site will be inaccessible while the command is running. It is best to run the command after business hours. The amount of time the command takes to run will vary on the size of the database and the speed of the machine. On a reference machine with 8 logical processors, 32GB of RAM and a 2GB content database, the command took approximately 5 minutes to execute.
For additional information on SharePoint Foundation 2010 patching mechanism, please see the following TechNet article:

No comments:

Post a Comment