Solved

windows 7 DISM /Add-Driver does it check if driver is already in the inf file

Posted on 2013-01-18
3
1,037 Views
Last Modified: 2013-01-21
I am now adding my drivers into my image using DISM /add-driver.

My question is if I inject the drivers from 10 directories each representing the model of a machine living in c:\drivers, pointing DISM to c:\drivers with the /recurse option.


If I then run the DISM again against the c:\drivers with the /recurse to pick up new folder(s) will it re- add all the previous folders again or will it be smart enough to know it has already got the driver.

This answer will change my strategy to how I update drivers on the base using DISM.  I will need to quarantine the previously added drivers to stop DISM from re-adding them and inflating the image needlessly
0
Comment
Question by:MarkBourn
  • 2
3 Comments
 
LVL 13

Expert Comment

by:Gabriel Clifton
ID: 38793060
It should detect the drivers it already has but will not throw up any errors if it comes across any duplicates.
0
 

Author Comment

by:MarkBourn
ID: 38793094
Thanks for the input.  I am still not clear on the process.

It should - Does that mean it is a documented fact or your observation.
Not throw up any errors if it comes across duplicates. - Does this mean it will or will not inject the driver again if it has detected it already has the driver.

I am looking to clarify if it has the driver it will or will not inject again.  

Once again thanks for your valued input and if you could clarify a bit more that would be good.

Many Thanks
0
 
LVL 13

Accepted Solution

by:
Gabriel Clifton earned 500 total points
ID: 38793140
My observations, so far I have not seen it create duplicate drivers and it appears to update the drivers in the datastore if you update the drivers. Also it appears that if you have two different driver versions, one in one folder and one in a different folder it still grabs the newest one only.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
An article on effective troubleshooting
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now