When I used to have Windows XP and upgraded the computer, I got bluescreens at boot, usually due to a changed IDE controller. How do I avoid this? I am now upgrading windows 7 to windows 7 changing the motherboard. I want to avoid bluescreens and failed boots.
Format your hard drive and do a clean install. Operating systems aren't really designed to deal with upgrading a motherboard. Sysprep is the only way I'd consider doing it, but you could try booting into safe mode and uninstalling all devices present in Device Manager. I don't believe you can change between different HAL kernels or bootloaders, though, so if you're going from IDE to AHCI or from BIOS to UEFI you have to clean install.