Re: Windows XP restore
Linux provides no way to install a Windows OS -- but, if you repartition a drive, that can prevent Recovery tools from working in Windows because, sometimes, they expect to see the original partitioning scheme on the drive and fail if they don't.
IF you want, you could boot from a Linux CD and use GParted on that to remove the partitions on the PC, at least that way, when you boot from the XP CD, it won't find partitions that it doesn't understand.
But, BEFORE you do this, you need to be sure that what you have is a full XP Installation CD, not just a Recovery CD. The former includes all the files needed to install Windows, the latter just includes a utility that will restore Windows from a Recovery partition on the drive -- and if that partition gets damaged, or moved, or resized, or (in some cases) if you have OTHER partitions on the drive, the Recovery CD often will not work.
Ubuntu 16.04 Mate, Mint 17.3; MS Win 8.1, MS Win10 Pro.
Will not respond to PM requests for support -- use the forums.