Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Dell Laptop, and the drivers has been installed with Windows 7.

I downloaded a package with specific and updated drivers. I would like to install all drivers found in this folder.

In the device manager I do a right click on a device and select "update driver software...", then I select "Browse my computer for driver software".

Can I do this automatically for all device? Because it's too long to do this on each.

I looked at this question Automatic driver search & update on Windows? but I don't want to install another software. So my question is: Is it possible to do this automatically with Windows 7?

Update : Windows 7 haven't this option.
So I update my question to know if it's possible to install driver with command line ?
Maybe with a script, can we execute the command for all devices ?

I don't need to do this often or on many computers.

share|improve this question
    
Do you even need to install the drivers? Windows 7 comes with a hundreds of thousands of generic drivers that in most cases allow the device to work. –  Ramhound Jul 5 '12 at 13:13
    
Yes, the devices work with generic driver, but I think the real driver is better than the generic. For exemple graphics card is Generic VGA device instead of Intel HD Graphics family. Touchpad driver, and sound driver don't have full option with generic driver. –  Hyralex Jul 5 '12 at 13:23

1 Answer 1

up vote 3 down vote accepted

It depends on how the drivers are packaged.

However, in general, you can right-click on the .inf files in the driver folder and install them that way instead of going through the device manager. It should be noted that this doesn't always work due to the way the drivers are packaged but it will normally work.

To go further than this would require a fair bit more work and wouldn't be worth it unless you are doing a lot of updates (e.g. updating them all each month or more often or updating many computers). If you are, update your question and I will expand the answer.

UPDATE: To install using a batch script, the following command format is used:

rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 .\<file>.inf 

Just replace <file> with the appropriate file name. You can do a number of these or even create a loop to walk through all of the .inf files in a folder though I don't really recommend this as there may be plenty of occasions when you don't want to or indeed shouldn't install all of the available drivers. So if you automate too far, you would need to remember to remove or rename inf files before running. Given the use case, it is better to copy/paste the appropriate lines.

share|improve this answer
    
Ok. I don't need to update often or many computers (just 3 or 4). I just ask because i'm curious. I updated my question with your response (+1) to ask if it possible to install driver with command line. –  Hyralex Jul 5 '12 at 16:18
    
Updated in line with your update! –  Julian Knight Jul 5 '12 at 16:24
    
Thx for this. I think isn't a good idea to do the update by this way. I search a solution to list all my devices and search the driver in the folder. I accept your answer anyway. –  Hyralex Jul 9 '12 at 9:02
    
I agree with you that this isn't particularly a good way but it is the only way I know without 3rd party or enterprise level software. –  Julian Knight Apr 23 at 9:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.