Posted 19 August 2009 - 12:23 AM
Windows XP does not include any third party software. However many, many, many OEM dealers (Dell, HP, Acer, etc.) include trialware and crapware on computers they sell with Windows. They get money for this from the crapware maker. More often than not, these crapwares are included on the customized Restore CD or recovery partition that the OEM gives you to reinstall Windows with.
Though I don't know why only the registry entries and temp files were restored, unless the reinstall you performed was not actually a reinstall but a "refresh" wherein nothing is actually deleted except the Windows system files which are then reinstalled from the CD/partition.