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

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
MarkBournAsked:
Who is Participating?
 
Gabriel CliftonConnect With a Mentor Net AdminCommented:
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
 
Gabriel CliftonNet AdminCommented:
It should detect the drivers it already has but will not throw up any errors if it comes across any duplicates.
0
 
MarkBournAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.