Saturday, March 19, 2011

Speed Boot - Save 2 Seconds


I found that creating a script to run on shutdown that deletes the temp folder and history saved 2.5 seconds on my boot time, down do 10.5 secs.

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 file 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


P.S:
This tweak should be tried only in Windows XP, because in Windows 7, your ActiveX control might get disabled. This could create problems in browsing the Internet.

No comments:

Post a Comment