you will need to re-install windows as the motherboard is the main part of a pc/laptop
memory & cpu wont do nothing to windows but motherboard will, best bet is to format & reinstall windows as if you dont your old drivers may cause a problem with the new drivers