This project is read-only.


The SharePoint Warmup Script is a console application which you can run through the Windows command prompt manually, through PowerShell manually, or can schedule via the Windows Task Scheduler to run automatically on a daily basis (recommended best practice).


If you do not have the .NET Framework 4.5 installed, install that first. Then, to install SharePoint Warmup Script, simply download the latest release, unzip the contents to any folder on your computer, and you're ready to go.


There are two ways to tell SharePoint Warmup Script what URLs you want to warm up.

Option 1 - Command Line

Type in the URLs for SharePoint as command line arguments, separated by spaces. You can enter as many as you want. Example:

SPWarmUp.exe http://sharepoint http://sharepoint/sites/myteam

This example will warm up the two site collections http://sharepoint and http://sharepoint/sites/myteam.

Option 2 - App.config

Open the application configuration file SPWarmUp.exe.config and add your SharePoint site collection URLs into the WarmUpUrls setting.

<?xml version="1.0" encoding="utf-8" ?>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="SPWarmUp.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
<setting name="EnableLogging" serializeAs="String">
<setting name="WarmUpUrls" serializeAs="Xml">
<ArrayOfString xmlns:xsi="" xmlns:xsd="">

Enable Logging

If you want to enable logging, set the EnableLogging setting to True in the SPWarmUp.exe.config file.

<setting name="EnableLogging" serializeAs="String">

Warning: Logging and the Windows Task Scheduler

If you want to enable logging, and you're using the Windows Task Scheduler to run SharePoint Warmup Script automatically, make sure you set Start in (optional): to the directory where you unzipped SharePoint Warmup Script.


By default, the Windows Task Scheduler runs tasks from the %SystemRoot%\system32 directory. You don't want log files going into this folder. It won't hurt anything, it's just a bad practice. It's also nice to be able to find the log files after the fact.

Last edited Mar 13, 2016 at 3:26 AM by garbagecollector, version 10