Welcome to part 18 in a series of posts which describe how to create a Microsoft Office Project Server 2007 Virtual PC image for demos and development work. Last time, we looked at how to install some of the Office 2007 applications into our virtual machine. This time, we’ll look at how to install a set of “warm-up” scripts which will help improve the initial performance of the Project Server 2007 virtual machine after boot-ups.
Part 18: Installing Warm-up Scripts
Download the warm-up scripts:
Filename: warmup.zip
Download URL: http://www.pptspaces.com/msprojectreporterblog/Shared%20Files/warmup.zip
Copy the warmup.zip file onto the C: drive of the VPC image:

Extract the warmup.zip file to create the folder C:\warmup containing three files:
HttpRequest.vbs
startup.bat
WarmUpServer.cmd

Open the startup.bat file with a plain text editor such as Windows Notepad, and update these four lines:
call WarmUpServer SERVERNAME
call WarmUpServer SERVERNAME:5555
call WarmUpServer SERVERNAME:1111/ssp/admin
In this example, the four lines should read:
call WarmUpServer vpc02
call WarmUpServer vpc02:5555
call WarmUpServer vpc02:1111/ssp/admin

Right-click on the startup.bat file, then select Send to > Desktop (create shortcut):

Return to the Windows desktop, right-click on the new Shortcut to startup.bat icon, and select Properties from the drop-down list:

Under the General tab of the Shortcut to startup.bat Properties dialog box, enter Warm-Up for the new name of the shortcut:

Under the Shortcut tab of the Shortcut to startup.bat Properties dialog box, click the Change Icon button:

When the Change Icon alert message is displayed, click the OK button:

In the Change Icon dialog box, select an appropriate icon for the new desktop shortcut, then click the OK button:

Click the OK button to close the Shortcut to startup.bat Properties dialog box:

To run the warm-up scripts after boot-up, simply double-click on the new Warm-Up desktop icon:

A command window will open for the execution of the warm-up scripts, and the scripts may take a few minutes to run, depending upon the performance of your virtual machine; when they are finished, the command window will close automatically:

You should now have a fully-functional set of warm-up scripts installed in your virtual machine, and a shortcut on your virtual machine’s desktop to launch the script after booting.
In Part 19, we’ll look at some other ways that we can optimize the size and performance of our Project Server 2007 VPC image.