SharePoint slow start – warm up script

Imagine accounting for the time spent waiting for SharePoint to start up in the morning or after a server reboot or an iisreset?

It takes such a long time to load, but after it has loaded, then SharePoint behaves normally. The cause for this is when your Application pool is recycled in IIS. By default it recycles at 2:00AM daily.

The best way to ‘Warm Up’ SharePoint is to run some scripts that would fire up SharePoint in the wee hours of the morning. Read more on how to get this script..

Click here to download contains the following 3 files:

Startup.bat – Calls the warmupserver.cmd script and passes in the servername parameter (modify this to fit the hostname of your server)

Warmupserver.cmd – checks for servername parameter then leverages the HttpRequest.vbs script to hit the relevant admin pages (change the pages and ports to the relevant ones)

HTTPRequest.vbs – This script executes an HTTP query using the XMLHTTP object

Read more here:

Please contact me if you want any topics that interest you.

Leave a Reply

Your email address will not be published. Required fields are marked *