EAiest way is to
back up all your drivers using a diver backup program
Open Regedit and back up the registry
Navigate to the key: HKEYLOCALMACHINE\Enum Right click on the Enum folder icon and choose Delete, OK on the confirm. Close out Regedit. Shut down windows and then reboot. This will clear ~all~ the old hardware settings for the machine.
When you boot, windows will run it's Hardware/PnP detector to find all your hardware. you can point it to the driver backup folder if necessary.