It won't work unless the new MB is very similar to the old MB. Like the same drivers or drivers that work in the new MB.
You can sysprep your OS before plugging it to new PC to avoid boot BSODs. To do this, go to C:\Windows\System32\Sysprep\sysprep.exe, check 'generalize', select 'OOBE' on drop...