Microsoft OS's are really hopeless at recovery. I suggest a complete, and clean re-install-you have back-ups...right?? [Including re-partitioning and reformat, I also recommend securely wiping your hard-disk].
For the future, I would suggest three things:
1. Nlite: This program allows you to make a bootable re-master of your WIN XP install CD. At the same time, you can make it an unattended install CD. It works by asking you a series of questions [such as the CD-key] and many other things. You can also slim down the crap, so that it won't install things like "My Pictures". Try it out. I re-mastered my XP CD down to 150 Megabytes, so that it fits on a 3" [8cm] CD-R mini-disk.
2. Get, and learn to use Bart PE. This program creates a "Live-CD" of XP. It is bootable, and is a great rescue and recovery resource for WIN XP. For one thing, you are working in what Unix folk call a chrooted [change-rooted] environment, which is great for solving problems such as registry issues, virus problems, or whatever. This is because windows will not let you modify a file that is in use, or shared. When you work a file system based on CD and RAM, you can modify any file you like.
3. There are also Linux Live CD's like Knoppix, which can now read-write to NTFS file systems quite reliably. Because they are open source, there are no licencing issues with Linux rescue live CD's, and the learning curve is much easier than using Nlite or Bart PE.
Microsoft have a system called "Windows PE", but it's hard to get,[severe criteria for the licence, like being an OEM etc], it's VERY expensive, and not as good as NLite, Bart PE or a Knoppix-like Linux live CD.
Unless you REALLY have a REALLY GOOD reason to stick with Microsoft, I suggest a move to Linux. Distributions like Mandriva are very easy to use and install, but others, such as Slackware or Debian, require more effort to learn. So check out a Linux Live CD like Knoppix. You will be amazed how easy to use, and how secure it is.