Peconet Tietokoneet's recommendations are pearls of wisdom that should be archived for reference. I have only one additional suggestion:
Disable unnecessary Windows services. You may not need to perform any Registry edit if you do some radical pruning. TR has an excellent post on this subject:
http://i.i.com.com/cnwk.1d/i/tr/downloads/home/windows_xp_services_that_can_be_disabled.pdf
To access Windows services:
Control Panel > Administrative Tools > Services
Sort the services by auto/disable/manual by clicking the header of that column. Any service set to [i]automatic[/i] that has not started may be safely reconfigured to [i]manual[/i].
Be cautious when you disable [i]automatic[/i] services that have started. The TR bulletin linked above will help you make a decision, but you must use good judgement based upon your own computing needs.
To further determine the [i]worthiness[/i] of a service, check out
http://www.processlibrary.com/
Before performing radical surgery on your services, create a restore point in System Restore. If you liquidate an essential service, you can then quickly restore the computer to a working configuration.
Another useful resource is the following link previously posted at TR:
http://www.connectedinternet.co.uk/2007/02/06/the-complete-guide-to-optimising-windows-xp/
Finally, you can prevent Windows from clearing the paging file at shutdown. This tweak will further speed shutdown:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\
Control\SessionManagement
Look for the subkey ClearPageFileAtShutdown, and change the data value to 0.
I recommend that you [i]export[/i] the Registry to a USB flash storage device or an external hard drive before doing any Registry editing. That way, if disaster strikes, you can [i]import[/i] your archived backup and recover a working configuration.
To locate the Registry editor:
C:\Windows\System32\regedt32.exe
Create a shortcut to your [i]Programs[/i] folder for convenience.
Have fun.
Rick/Portland, OR