Before you begin....

  1. Verify that new hardware is compatible with the operating system, and (where applicable) approved for the CPU (e.g. motherboard,power supply, heatsink and fan, RAM, etc.).

  2. Have the Windows setup CD, the latest motherboard BIOS, and all needed driver files on hand.

  3. Copy all the Windows cab files (contents of the Windows setup folder) from the install directory on the Windows CD, into a directory on your hard drive so that you don't need your CD-ROM drive active on the first boot. (Windows still has the habit of deciding it needs some of the motherboard drivers before it has sorted out the IDE drivers for the CD. You may not have CD drive access until you reboot a few times (if the IDE controllers have to be reinstalled)).
    For WIn98/SE, copy all Windows cab files from the distribution CD to a directory under C:\ (e.g. C:\newCabs, or C:\new98se).
    For Win ME, this should not be necessary - do a Search for the file BASE_2.CAB, and the rest of the files should be in the same folder

  4. To reconfigure where your system looks for the files, go to the following Registry key
    [HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \Windows \CurrentVersion \Setup]
    You want to change the following values:
    "Installation Sources"

    To reconfigure where your system looks for the files, if the files are copied to the C:\newcabs folder, make the change in the Registry to set the SourcePath by going to the following location: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup. In the right pane look for "SourcePath" and set the path to: C:\newcabs

  5. Copy all motherboard and other device driver and BIOS updates into a directory on the hard drive, and also onto floppy disks. Include all needed drivers that Windows does not have. Be sure to include drivers for the chipset and the latest BIOS revision for the new motherboard. Create directories for installed hardware under C:\newdrivers and preload with the drivers you'll need, (e.g. C:\newdrivers\Audio, C:\newdrivers\Display, etc.).
    Note: Make sure drivers and Windows cab files are copied to the hard drive (and floppies) because when you delete the ENUM key (procedure described below) you are erasing Windows' hardware database for your computer and you will not be able to access your CD-ROM drive until it is redetected later (after Windows has installed all the basic IDE drivers and system devices).

  6. Do a Full Backup of all hard drives.

  7. Backup the System State (Registry) - in all Win9x systems, use SCANREGW from Start | Run. In ME also create a new Restore point!

  8. To floppy disk, make a copy of any individual folders, files, or registry keys that are to be deleted as part of the procedure. This makes is easy to restore any single item.

  9. Open Device Manager; make a list of all items in System Devices.

  10. Create an Emergency Repair Disk.

  11. Create system boot floppy disks. The boot disk must enable access to the CD-ROM drive. (Test it.)

  12. Using DriveImage, Ghost, etc., create an image of the hard drive.

Now the good stuff!

Be sure to create a backup of the registry (or individual keys to be deleted) so the registry can be restored if deleting ENUM does not work; (start>run enter scanregw). If you find you've made a mistake deleting ENUM you can get it back just like it was by restoring a previous booting copy of the registry. Use the command "scanreg /restore" and use the last previous registry that booted the machine. Enum will be back. If disaster strikes, you can always boot into DOS with a floppy and then restore your registry manually by extracting the files from one of these CAB files using SCANREG /RESTORE, if necessary

  1. Review and complete the procedures section above.

  2. Backup any folders, files, and keys to be deleted, and specifically, the following:
    Folder: C:\Windows\inf\other
    Files: Autoexec.bat; Config.sys; Win.ini; System.ini

  3. Disable (you can use msconfig) all device specific TSR's and other non-essential programs that load at Startup. It's usually best to completely uninstall AV's - especially Norton (which hooks itself deep into the registry) during this process. I prefer to Uninstall from Add/Remove Programs any motherboard drivers found there (for Audio/Graphics particularly) at this point.

  4. Boot into Safe Mode.

  5. Start Regedit, and delete the following registry entry : HKEY LOCAL MACHINE/Enum (Expand the HKEY_LOCAL_MACHINE in the left pane. Right click on the ENUM key under HKEY_LOCAL_MACHINE and pick delete). Exit Regedit

    This may cause the system to stop responding, so do it the last thing before shutdown for hardware change.
    Note: Deleting the ENUM key removes all hardware that windows has detected since it was installed, and when you reboot, it's as if windows has never had any hardware installed. With the current hardware information deleted, Windows is forced to rebuild the hardware registry data; (the ENUM key is recreated). This does not rebuild the VMM32 file, however. Note: Always backup keys and files before deleting!.

  6. Shut down and make motherboard and hardware changes.

    <pause for breath, and a cup of coffee!>

  7. Power up, and go into BIOS setup. Make any BIOS adjustments needed. Ensure that any BIOS anti-virus protection is switched OFF.

  8. Save your settings, exit, and reboot.

  9. Reboot into Windows. When Windows starts, you'll be in 640x480 16 colour, and (probably) presented with an error message about the display adapter. Cancel and close that and go to "Add New Hardware" and let Windows redetect everything.

    Windows detects all the new hardware and installs drivers. Reboot when prompted (this will happen several times) until you no longer get the prompts. If it prompts you to insert the Windows CD, point it to the cab files. If it asks for a manufacturer's driver disk, point it to the appropriate folder. Don't worry if a driver install fails, you can always go back later and reinstall that particular device from scratch. If you have a VIA based board, now is the time to install the "4 in 1" drivers.

  10. Boot into Safe Mode. Check Device Manager for errors and duplicate entries. Correct as needed. (You MUST boot into safe mode and remove the old hardware - or risk odd occurrences on your machine.)

    Note: You will probably have some yellow flags. You may have items that are flagged with unflagged duplicates Remove BOTH entries. If you have 2 display adapters, remove BOTH. By now you should have CD support, so any other devices that are flagged can be reinstalled using the appropriate CD if necessary.
    Install optimized drivers as needed. Uninstall any unused drivers.

  11. Shut down. Reboot normally.

Copyright © 2005-2009, Noel Paton

This page was last updated 15/03/2009

Valid HTML 4.01 Transitional