I don't quite understand your question. If you purchased the exact same motherboard, the chances are, it will work. If you purchased a different motherboard, however, you may get some kind of boot-loop error and you won't be able to access Windows.
will it not work then becuase its a different motherboard! do i need to wipe the HDD?