Solved

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

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
OfficeMate Freezes on login or does not load after login credentials are input.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

895 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

14 Experts available now in Live!

Get 1:1 Help Now