MDT 2012 - Verify if exit DS001:\Out-of-Box Drivers\%make%\%model% RRS feed

  • Question

  • Good Morning,

    I am trying a lot of ways to reach my goal.

    Today, I am wanting verify if a folder in "out-of-box driver" exist

    In the mdt I already tried to use:

    - set drivergroup=DS001:\Out-of-Box Drivers\%make%\%model%

    - if task sequence variable drivergroup001 exist ( the manual of mdt says that is used to verify if the variable exist not the value )

    I need find an way to verify if the structure exist ( DS001:\Out-of-Box Drivers\%make%\%model%  or Out-of-Box Drivers\%make%\%model%) by WMI query, by variable, anyway , already read the tutorials from a a lot of people over the internet ( yet approach .. )

    Monday, July 29, 2013 1:31 PM

All replies

  • Adding an information

    In the local path, are there the same structure ?

    In the prompt I am seeing that the driver mapped is z:, if the folder exist in that structure it´s enough for me

    Monday, July 29, 2013 2:11 PM
  • The folder won't ever exist on the share because that's not the way the drivers are stored.  If you look in your Deployment Share under Out-of-Box Drivers, you'll see type folders (Bluetooth, Display, HIDClass, Image, etc).  The "folder" structure that you create only exists in the context of the Workbench and the context of a DriverGroup settings.  The only way I can think of to check for a "folder" is to look at \Control\DriverGroups.xml and parse for the name field while will then yield something like "Dell Inc.\OptiPlex 9010".  You could parse the file to find your "folder" and then know you have a match, even though it isn't a literal folder.

    Not sure if that's what you need, but hope it helps. : )


    David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek

    Monday, July 29, 2013 11:37 PM
  • It is possible through powershell as you can mount the deploymentshare as a path but as DC says below, what you are seeing there isn't an actual folder structure.

    To a deploymentshare in powershell:

    new-PSDrive -Name "DS002" -PSProvider "MDTProvider" -Root "C:\DeploymentShare" -Description "MDT Deployment Share" -NetworkPath "\\2008R2DEP\DeploymentShare2$" -Verbose | add-MDTPersistentDrive -Verbose

    Is an example.

    Check this page for a bit more info:


    WinPE now supports Powershell pretty well so you could easily figure something out there.

    Thursday, August 1, 2013 1:36 AM