Sunday, January 22, 2012

SharePoint Post Windows Updates

So if you use SharePoint and you've recently done updates (or installed Service Pack 1), you may have gotten an annoying message after you've rebooted the server. Oddly, there is not much online for documentation on what you need to do and the link in the dialog box is not helpful either.

This message occurs because the update requires 2 parts. First, the binary update part which it does on its own. Then, the database needs to be updated. The database is a manual command you'll have to run.

To perform the update, you'll need to open an elevated SharePoint PowerShell console. Once you've opened PowerShell, you can run the following command to see if the update is needed: (get-spserver $env:computername).NeedsUpgrade

To Perform the Update, you'll need to change your directory
CD "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN"
And then run the PSConfig Utility.
PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures

After running the PSConfig utility, you may need to reboot your server to get rid of the warning message. If it does not disappear upon reboot, you can open the Group Policy Management Console - gpmc.msc - and look for the policy "SharePoint Psconfig Notification Policy".

No comments:

Post a Comment