How to reinstall Windows 7 and get your drivers back

When the worst happens, and your computer won’t boot, and Windows 7 is unrepairable, you are faced with the frustrating task of reinstalling Windows. There is often a recovery partition that you can use to go back to factory settings. However, you might want a clean install of Windows, without all the crapware bundled by the manufacturer, plus you usually have to install Windows 7 Service Pack 1. One of the frustrations of reinstalling Windows from DVD, especially on laptops, is that many device drivers are missing after you reinstall, and you have to go to the manufacturers website to download them again, not so easy if you are missing LAN/WiFi drivers…

Sometimes it is a pain even if you know what you are doing. If you look in device manager, right-click on the device that is missing its driver, click properties, details, and then change the drop-down to hardware IDs, you can see a VEN_ID and DEV_ID value, eg for a missing driver on a laptop I’m working on, it  shows PCI\VEN_168C&DEV_0032&CC_0280. There is a great website to look these up, the PCI Vendor and Device Database. This can be a good way to find drivers when the PC manufacturers website is terrible. For the example I gave, this shows the vendor is Atheros, and the Device is an AR9485WB-EG. In this case, both the Asus and Atheros websites were of no help, so I found another solution.

If you can still get data off your old (or about to be formatted) hard drive, you can also get the drivers. Here is the procedure:

  • Copy the following two folders to a removable drive. I’m not sure both are needed, but both contain driver files.
    windows\system32
    windows\inf
  • If you are re-installing due to malware, you need to scan this device for malware using a secure fully patched and protected PC, and preferably by using a Linux live CD or Virtual Machine.
  • Reinstall Windows 7
  • Insert the removable drive
  • In device manager, right-click the device without a driver, and choose update driver software. A dialogue will ask if you want to search automatically or browse my computer. Choose browse my computer and look for the removable drive. From there, Windows 7 will cleverly find the right driver from the list. Repeat this until all the devices have drivers.
    In one case, the driver installed failed on the first run, because it depended on another one being installed first, but it installed fine after a reboot.
Advertisements

2 Responses to “How to reinstall Windows 7 and get your drivers back”

  1. ewolfeblogjerry Says:

    Windows 7 will not boot, When i use the DVD i can only re-install windows7 or try to restore. all of my restore points are corrupt. I want to rescue a few files and my itunes before i wipe the hard drive. I dont much on the PC but i would like to rescue what i do have, then i will reinstall and never, ever store anything on a PC again. any suggestion on getting the PC to boot up from dvd and gaining access to files on hard drive.

    • adampembs Says:

      Go to a different computer. Download the UBCD (Ultimate Boot CD) – burn this to CD using something like ImgBurn. Then boot from the CD. You might need to press F12 to get your computer’s boot options. Or F2, Del, Esc to access Setup, ad change the boot order option there to boot from CD first. When you have successfully booted to the UBCD screen, choose PartedMagic. When in there, go to file manager, and copy your own files to a portable hard drive or memory stick.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: