Your question was how to keep the programs and data once you replaced motherboard (MB) and CPU.
Let?s assume the computer is ready to boot to Windows now.
To get your Windows work properly, you need to remove all the hardware (HW) components that belong to the dead MB chipsets (for example, VIA, SIS), like IDE controller, Processor to AGP controller, USB controller and so on.
The following is what I would recommend.
1. Make sure you have Windows CAB files in C: drive. If you do not, copy the files from the Windows CD to C:\Win98, for example. You may have to do this after you boot from Windows 98 Startup disk.
2. Boot Windows to Safe Mode
3. Navigate to Device Manager.
4. Expand Hard disk controller and Remove the chipset IDE controller.
5. Expand System devices and remove all components that belong to the old chipsets (anything that has the chipset name).
6. Expand Universal Serial Bus controller and remove all.
7. Reboot the computer.
8. Let Windows find new HW components that belong to the new MB. If Windows asks for Windows CD, point to C:\Win98 (where CAB files are stored) or C:\Windows\System. Some may not be installed until the new MB driver is run.
9. Install the MB driver. Sometimes, the CD-ROM is not recognized and you cannot install the MB driver. This is because the new secondary IDE controller is not installed yet. In this case, boot from Windows 98 Startup disk, copy the whole CD to a directory (say, C:\MB), boot to Windows, and install the MB drivers (usually Setup.exe) from C:\MB.
10. Install other MB utilities.
11. If your new MB has integrated HW (for example, video, sound, NIC) and you want to use those, make sure you remove or uninstall the drivers you are not going to use.
Post a comment if you need further help.