By now, it is likely that I do not need to explain to you that a hardware driver is a piece of software that allows your computer (through the operating system) to communicate with a hardware component. You know that, right? Good.
You are ready to install a new operating system on your computer. You do not want to perform an in-place upgrade, you really want to install it from scratch. The question is: What drivers do you need?
I saw this question come across my Twitter feed the other day, and there were a couple of really good answers.
- Use the Windows System Information, which can be saved to a text file; or
- Use the driverquery command line tool.
As you know, I am a big fan of using the command line, so let’s use this one (which I already knew, but since Buck Woody (@BuckWoodyMSFT) posted it in his Twitter reply, I will credit him)
driverquery /v /fo csv >drvlist.csv
- /v gives you the verbose list.
- /fo specifies the format of the list
- csv means the formatting is Comma Separated Value
- >driverlist.csv is the name of the file that it will save.
So when we run this on my current computer, we get an output that looks like this:
Of course, it is 385 lines long, but I am happy to share a snippet. I opened the fine in Excel, and I formatted the titles as bold and underlined.
Of course, you may want to filter it to only RUNNING drivers, but the truth is, there are several drivers that are STOPPED that should still be reinstalled with your new operating system… I see the WacomPen driver near the bottom, and while it is stopped, I do occasionally use my stylus, at which point it will be started.
Most users do not, on a daily basis, need to know (or really care) what drivers are installed in their computer. Everything works, they are happy. When you are re-installing your operating system, you have several things you need to gather… a list of installed applications, but also your drivers. By keeping this list handy, you will not be at the mercy of Plug and Play technology finding everything – including your video drivers – correctly.
(You should notice that all of your drivers are stored in the c:\WIndows\system32\drivers\ directory, so it might be a good idea to copy this directory to an external device before starting. That directory on my computer is 106MB, so not too bad. This includes two video drivers, which are often the largest (The two that I have are both around 7MB each))
Something else that you should remember when re-installing Windows, there are still some drivers (especially print drivers) that do not want you to simply installl the drivers; they want to install their entire application suite. If that is the case, make sure you have the installables handy.
With Windows 10 Version 1809 set to be re-released sometime soon, this might just come in handy for some of us!