• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1083
  • Last Modified:

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
  • 2
1 Solution
Gabriel CliftonCommented:
It should detect the drivers it already has but will not throw up any errors if it comes across any duplicates.
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
Gabriel CliftonCommented:
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.
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.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now