Thursday, June 5, 2014

PSConfig stuck - SharePoint 2013 Server Service Pack 1 installation



Last week I was installing SharePoint 2013 Service Pack 1 on production environment at my workplace. The environment has 2 WFE, 2 APP, 1 DB Server.

Used the script provided by Russ Maxwell from this site below to save time on installation. Thanks Russ.
http://blogs.msdn.com/b/russmax/archive/2013/04/01/why-sharepoint-2013-cumulative-update-takes-5-hours-to-install.aspx

Installation went well and while running PSConfig Wizard on one of the app server, the process got stuck for an hour or so on Step 9 of 10. I sensed something wrong as other servers finished within less than 20 minutes. So killed the PSConfig process in Task Manager and restarted again, no luck, same hang.
Googled for some time and found this link about registry permissions
https://techsps.wordpress.com/2013/11/26/psconfig-stuck-at-10-00/

Assuming the reason for hang could be, process must be waiting on something. So checked the permissions on app and web servers. Found that, the app server (non central admin server) which is having the issue, missing permission for WSS_Restricted_WPG_V4 on the below registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\Secure

Gave the same permission (Full Control) as other servers and ran the PSConfig again. It finished successfully within less than 10 minutes.

Hope it helps if anyone is having the same issue.