What's your current CPU & motherboard?
If there is a better CPU that your motherboard will take, you can usually swap it out without messing up Windows (at most it will run Windows Update for any CPU-specific updates).
If you're maxed out on the CPU, & have to replace the motherboard, then you're looking at a reinstallation of Windows...which means backing up important/irreplaceable files before doing so.