Most manufacturers offer a non-destructive and destructive recovery option.
This corresponds to Microsoft's Repair or Clean Install.
The destructive recovery should set the registry and everything else back to as new condition.
Anyway if you want to load an independent version of XP you need the SATA drivers if it is a SATA hard drive and you need an XP SP2 CD or else you would have to pre format the drive outside of windows.
You could do this with
GParted if you really want to. Removing the original OS will void any warranties on that computer.