Solved

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

Posted on 2013-01-18
3
1,043 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

828 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