I found this from Microsoft website.
Replace a failed motherboard
This scenario assumes that your existing motherboard has failed and that you cannot start the existing Windows installation on the hard disk.
To replace a failed motherboard with a new motherboard and to then reconfigure Windows to work with the new motherboard, do the following:
- Turn off the computer.
- Replace the existing motherboard with the new motherboard.
- Insert your Windows CD in the CD-ROM drive or the DVD-ROM drive, and start the computer from the CD.
- Do one of the following:
- For Windows XP:
- When you are prompted To set up Windows now, press ENTER, press ENTER.
Setup looks for any previous installations of Windows XP on the hard disk and then displays a list of any previous installations that it finds.
- Use the arrow keys to select the installation that you want to repair, and then press R to select the To repair the selected Windows installation, press R option.
This will start the repair of your previous Windows XP installation.
- Follow the instructions on the screen, and allow Setup to complete the repair of the previous Windows Server 2003 installation, Windows XP installation, or Windows 2000 installation.Setup installs the HAL, the IDE controller drivers, and any other drivers that the new motherboard must have.
- After the repair is completed, reinstall any service packs or hotfixes that you had previously installed.
It will be a different procedure for Windows 7 and above.
Here's the website: http://support.microsoft.com/kb/824125
Edited by badr0b0t, 11 February 2015 - 11:31 AM.