Not that I would ever recommend you attempt to reformat your computer on your own, there are some that feel they have nothing to lose. Not to mention you may learn a few things along the way as you attempt to reinstall everything. Hopefully tips like this can help.
Like any windows machine at some point you will need to format your hard drive and reinstall Windows XP. If you didn't prepare for that you will need to reactivate your Windows XP.
Now if you do not want all the hassle of reactivation you can save your old activation files and use them in your clean system (as long as you didn't make any hardware changes).
Follow these steps.
Backup your activation files:
1. Open Windows explorer and navigate to C:\Windows\System32. Copy the files Wpa.dbl and Wpa.bak to another media floppy, CD-R or another hard drive (if you have more than one installed)
Now you can reformat your drive and reinstall Windows XP.
At the end of the installation, when Windows asks you to activate your product, decline and do not activate.
Restore your activation files
1. Restart your system, and as your system boots up press F8 to access the boot options (Windows Advanced Options). From the menu options select to start Windows in safe mode (minimal). After Windows loads in safe mode, open Windows explorer and navigate back to C:\Windows\System32. If you find the files Wpa.dbl and Wpa.bak in this folder, rename the files to something like Wpa.dbl.backup and Wps.bak.backup5. Copy your original Wpa.dbl and Wpa.bak from the CD or floppy back to C:\Windows\System32. Restart Windows
You should now have a clean and activated Windows XP
As always you may find other TIPS useful as well as the SOFTWARE/SUPPORT page for the latest versions of the system tweaker and spyware removal programs.