Windows XP A to Z - http://www.softwaretipsandtricks.com/windowsxp
Speed Boot Save 2 Seconds
http://www.softwaretipsandtricks.com/windowsxp/articles/236/1/Speed-Boot--Save-2-Seconds
Super Admin
 
By Super Admin
Published on 02/24/2005
 
I found that creating a script to run on shutdown that deletes the temp folder and history shaved 2.5 seconds on my boot time, down do 10.5 secs.

Speed Boot Save 2 Seconds

Create a batch file by doing the following:

1) Open notepad and enter the following lines:

RD /S /q "C:\Documents and Settings\"UserName without quotes"\Local Settings\History"
RD /S /q "C:\Documents and Settings\Default User\Local Settings\History"
RD /S /q "D:\Temp\" <--"Deletes temp folder, type in the location of your temp folder"

2) Save the fily and then rename is something like deltemp.bat

3) Now click Start, Run and type in gpedit.msc --->Computer Configuration --->Windows Settings --->Scripts and double click on Shutdown --->Click Add and find the batch file you created and press ok to set the script

Tweak worked wonders for me, hope it works well for you.

Cheers