SharePoint 2019 psconfig upgrade freezed at task2

SharePoint deveopment training course

This SharePoint 2019 tutorial, we will discuss how to solve psconfig upgrade freezed at task2 error which comes in SharePoint 2019.

Issue: After installing KB4461513 in SharePoint 2019, I have tried to run psconfig upgrade but it got frozen at task2 forever and ever

SharePoint 2019 psconfig upgrade
psconfig upgrade frozen at task2

To fix this issue, open two PowerShell command windows with elevated permissions (run as administrator)

In the first PowerShell command window run the below commands to turn off some services:

  • net stop SPTraceV4;
  • net stop SPWriterV4;
  • net stop SPAdminV4;
  • net stop SPTimerV4;
  • net stop w3svc
SharePoint 2019 psconfig upgrade net stop SPTraceV4
Stopping all the services

As soon as you stop these services, run the PowerShell command below in the second PS window.

stsadm -o setproperty -pn command-line-upgrade-running -pv No
PSConfig.exe -cmd upgrade -inplace b2b -wait -force

Once this is done start all the above services at task3 of the psconfig upgrade on the first PS Window.

SharePoint 2019 psconfig upgrade net stop SPWriterV4
Started all the services
SharePoint 2019 psconfig upgrade net stop SPTimerV4
psconfig upgrade completed successfully !!!

You may like following SharePoint 2019 tutorials:

This SharePoint 2019 tutorial, we learned how to solve SharePoint 2019 psconfig upgrade freezed at task2.

Check out Best Alternative to InfoPath -> Try Now

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)


About Krishna Vandanapu

I am Krishna.Vandanapu a SharePoint architect working in IT from last 13+ years, I worked in SharePoint 2007, 2010, 2013, 2016 and Office 365. I have extensive hands on experience in customizing SharePoint sites from end to end. Expertise in SharePoint migration tools like Sharegate, Doc Ave and Metalogix. Migrated SharePoint sites from SharePoint 2007 to 2010 and 2010 to 2013 several times seamlessly. Implementing CSOM with Microsoft best practices. Spent quality time in configuring SharePoint application services like User Profile, Search, Managed Meta data services etc. Now exploring SharePoint Framework and SharePoint 2019

View all posts by Krishna Vandanapu →