Thanks for your help... wasn't sure how I was going to rebuild my deployment 
point ... but I figured out a trick I think:

·         Make a copy of old deployment

·         Delete drivers.xml from copy deployment

·         Open old deployment and copy deployment in mdt

·         Copy+paste drivers from old deployment to  copy deployment

·         Close mdt

·         Copy drivers.xml from copy deployment to old deployment.

·         Delete  Out-of-Box Drivers folder from old deployment

·         Copy Out-of-Box Drivers folder from copy deployment to old deployment

·         Go back into mdt and rebuild old deployment boot media

Vioila!

This way its more copy and pasting and less restructuring and rebuilding

Image is rebuilding as we speak, I imagine this wouldn't work as well if my 
deployment supported say ...a dozen computers
[cid:[email protected]]

From: [email protected] [mailto:[email protected]] On 
Behalf Of Michael Niehaus
Sent: July 29, 2014 1:19 PM
To: [email protected]
Subject: RE: [MDT-OSD] Weird MDT error while importing drivers

It shouldn't.  It's difficult to tell exactly where the error is happening.  If 
it happens any time you import the driver, then I would say e-mail me the 
driver and I can tell you more.  If it's a combination of that driver and your 
existing deployment share, that's a little more interesting - send me at least 
the driver INF and the Drivers.xml and DriverGroup.xml files and I'll see if I 
see anything (well, maybe this evening, need to do a presentation at a 
conference first :)).

Thanks,
-Michael

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Bain.John
Sent: Tuesday, July 29, 2014 10:05 AM
To: '[email protected]'
Subject: RE: [MDT-OSD] Weird MDT error while importing drivers

Would an overly large drivers.xml break it ? My XML is about 2 megs

John Bain
NHQ - Solutions and Information Management | AC - Direction générale des 
solutions et de la gestion de l'information
Citizenship and Immigration Canada | Citoyenneté et Immigration Canada
365 Laurier Avenue West Ottawa ON K1A 1L1 | 365, avenue Laurier Ouest Ottawa ON 
K1A 1L1
[email protected]<mailto:[email protected]>
Telephone | Téléphone 613-954-2536
Facsimile | Télécopieur 613-952-7171
Government of Canada | Gouvernement du Canada
From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Michael Niehaus
Sent: July 29, 2014 12:57 PM
To: [email protected]<mailto:[email protected]>
Subject: RE: [MDT-OSD] Weird MDT error while importing drivers

>From the error, it seems unlikely that this is related to a corrupt XML file.  
>It seems more likely that it's a problem with parsing the INF file for the 
>driver in question.  But if it works on one deployment share and not on 
>another, then there is something else going on since a bad INF would always 
>fail.  The usual suspects:


*         Overly-aggressive antivirus software.

*         Different versions of the OS (where it works vs. where it doesn't).

Thanks,
-Michael

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Bain.John
Sent: Tuesday, July 29, 2014 9:42 AM
To: [email protected]<mailto:[email protected]>
Subject: RE: [MDT-OSD] Weird MDT error while importing drivers

It seems to work with a new deployment, is there a way to repair a corrupted 
drivers.xml ?


From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Keith Garner (Hotmail)
Sent: July 29, 2014 12:40 PM
To: [email protected]<mailto:[email protected]>
Subject: RE: [MDT-OSD] Weird MDT error while importing drivers

Either...

Your driver is bad, and MDT can't parse it. Or...
Your MDT control\drivers.xml is corrupted, and MDT can't write to it.

Try importing this driver to a *new* deployment share, to see if it's a problem 
with the driver, then you may need to rebuilt the drivers by copying back and 
forth between deployment shares.

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Bain.John
Sent: Tuesday, July 29, 2014 8:47 AM
To: '[email protected]'
Subject: [MDT-OSD] Weird MDT error while importing drivers

Having trouble import drivers into an older MDT deployment... getting this 
error message

System.Management.Automation.CmdletInvocationException: Index was out of range. 
Must be non-negative and less than the size of the collection.
Parameter name: index ---> System.ArgumentOutOfRangeException: Index was out of 
range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at Microsoft.BDD.PSSnapIn.Verifier.AddDriver(String theInfFile)
   at Microsoft.BDD.PSSnapIn.ImportDriver.ImportDrivers(String thePath)
   at Microsoft.BDD.PSSnapIn.ImportDriver.ImportDrivers(String thePath)
   at Microsoft.BDD.PSSnapIn.ImportDriver.ImportDrivers(String thePath)
   at Microsoft.BDD.PSSnapIn.ImportDriver.ImportDrivers(String thePath)
   at Microsoft.BDD.PSSnapIn.ImportDriver.ImportDrivers(String thePath)
   at Microsoft.BDD.PSSnapIn.ImportDriver.ImportDrivers(String thePath)
   at Microsoft.BDD.PSSnapIn.ImportDriver.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
   --- End of inner exception stack trace ---
   at 
System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object
 input, Hashtable errorResults, Boolean enumerate)
   at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
   at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()

The whole message log can be seen here http://pastebin.ca/2826929

John


Reply via email to