Batch install drivers
At work, one of the tasks I am responsible for is resetting computers to their factory settings and installing the updated drivers. Lenovo makes this easy with their System Update tool, but Dell and other companies require you to install drivers manually.
Because I am doing this process on so many machines, I am trying to find a way to automate the process so all I have to do is stick a USB in the machine, start a batch file, and let it go.
Basically, I need a batch file that installs a bunch of drivers in a folder that I download individually and put together first without me needing to press "Ok" and "Next" for every single driver. Does anybody have a workaround or know how to do this? Nothing seems to work so far. For both of them, the driver installation starts, but it still requires user interactivity to continue the installation by pressing "Ok" and "Next". Richard as has been mentioned already you need an imaging solution.
However, it's up to you to research how they work to make your life easier as well as making yourself marketable for future positions. Now if you can't do those or your company doesn't want to then you could script this with pnputil command. It's made specially for drivers but you need to make sure you extract the drivers from the setup file. Search "dell cab drivers" and you can get a list of the computers they have drivers for. I realize this question is fairly old but to assist others in their conundrums with this matter here it is; Dell has actually allowed the downloads of Driver Cab files, these files include all of the drivers for a Dell laptop of a specific model for example the Latitude E As mentioned before this is particularly most relevant for Dell computers, but using this method I created a Windows Image that can be cloned to multiple models of Dell machines saving the need for multiple images.
Life in short you download the Cabs for the models you are running, extract them into a directory, keeping the folders for separate models separate. Now in the root of the directory you just made create a Bat file. Write the Bat file like so:. Depending on the number of models you have this may take some time. We use about 3 or 4 different Dell models so it takes us about minutes for the script to complete.
Sign up to join this community. The best answers are voted up and rise to the top. In the attached driver package, the drivers are initially sorted in directories based on the Windows OS version names OSName. Each directory contains the drivers for bit and bit architecture of the corresponding OS. Execute the batch script to install the require driver from the driver package.
Once the batch file is executed, the batch script locates the driver folder corresponding to the OS version and architecture running on the PC, and the dpinst. The Device Driver Installation Wizard appears. Click Next to start the driver installation.
Viewed times. ECHO Enter 2 to exit, otherwise press enter to continue. Press key to exit. Improve this question. What if you change the order of the drivers on the list and say, put the one you currently have last? Does the same problem occur?
It could be that the driver installer programs themselves aren't behaving the way you expect them to. I changed the order, and the same thing still occurs.
The first driver works fine, then the rest start at the same time once the second begins. Add a comment. Active Oldest Votes. Improve this answer. JosefZ JosefZ Sign up or log in Sign up using Google.
0コメント