Tag Archives: Warm up script

SharePoint warm up scripts

Why a warm up script?
SharePoint is a beast and is being walked by his friend the IIS server. Every night by default the application pool is being recycled by IIS. This means that things like cache is being cleared. This is a good thing but also has a down side.
After the application pool is recycled and you enter your SharePoint site this will be slow and can even cause a time out error in some cases. A warm up script can prevent this. 

There are two ways to set a script. One with the good old fashion batch file and *vbs script which you can download from codeplex or with a nice tool made by Spencer Harbar. The last one will touch the sites directly after the pool is recycled as the batch file has to be scheduled with the windows scheduler.

 

Batch file
Download link

 

Application Pool Manager
For MOSS 2007 servers you need to use v2.0 as v3.0 is only for SharePoint 2010. After you configured it you need to place a shortcut in the startup folder in case of a reboot.

http://www.harbar.net/articles/apm.aspx

 

 Resources