I have created a powershell script for deploying wsps to the SharePoint Farm. The script also uses psremoting to login remotely to the servers (WFE and Application servers) to recycle the application pools.

This works fine on the dev server but on UAT and PRD the applications pools on both WFE servers stop completely and have to be restarted manually.

Why is this happening? How can I work around it to get 0 downtime.

  • Technically you won't be able to have 0 downtime as the app pools have to recycle, bringing down your farm and degrading performance while things spin back up Jul 10, 2015 at 14:15
  • Ok but shouldn't the recycle just start a new process and transfer everything over to that with the exception of session information? Any insight into why the WFE application pools stop but the Application server ones stay running?
    – codys-hole
    Jul 10, 2015 at 14:17
  • Hi, any follow up?
    – codys-hole
    Jul 14, 2015 at 15:50

1 Answer 1


Aybe a little late, but I blogged about this


This will only work in farms, because you must have a good configured load balancer. So first you deploy the solution locally on server 1, after finishing and warming up the server 1,ypu will deploy it on the other server(s) also locally. So the load balancer will switch to the "healthy" ones.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.