none
Where is the value of %make% and %model% come from?

    Question

  • Okay so i understand one of the method of driver management is to set the DriverGroup to such path :

    Windows 7/%make%/%model%

    But i cant really tell where does MDT pull this value from? I can speculate that it pulls model from Win32_ComputerSystem attribute "model" (is this correct?) class but how bout %make%?? any ideas?

    Friday, November 15, 2013 7:29 AM

Answers

  • Also from the Win32_ComputerSystem class! The ZTIGather script collects all this data. Here's the section that is responsible for the make and model:

    ' Get the make, model, and memory from the Win32_ComputerSystem class  

    Set objResults = objWMI.InstancesOf("Win32_ComputerSystem")  
    For each objInstance in objResults
       If not IsNull(objInstance.Manufacturer) then
    sMake = Trim(objInstance.Manufacturer)
       End if
       If not IsNull(objInstance.Model) then
         sModel = Trim(objInstance.Model)
       End if

    As you can see it utilizes the Manufacturer property of the Win32_ComputerSystem class to determine the Make of the hardware.

    ____________________________________________________

    http://itmicah.wordpress.com


    • Proposed as answer by MicaH_Z Friday, November 15, 2013 10:12 AM
    • Marked as answer by Jack_Tan Saturday, November 16, 2013 3:47 AM
    • Edited by MicaH_Z Saturday, November 16, 2013 10:19 AM
    Friday, November 15, 2013 10:05 AM

All replies

  • Also from the Win32_ComputerSystem class! The ZTIGather script collects all this data. Here's the section that is responsible for the make and model:

    ' Get the make, model, and memory from the Win32_ComputerSystem class  

    Set objResults = objWMI.InstancesOf("Win32_ComputerSystem")  
    For each objInstance in objResults
       If not IsNull(objInstance.Manufacturer) then
    sMake = Trim(objInstance.Manufacturer)
       End if
       If not IsNull(objInstance.Model) then
         sModel = Trim(objInstance.Model)
       End if

    As you can see it utilizes the Manufacturer property of the Win32_ComputerSystem class to determine the Make of the hardware.

    ____________________________________________________

    http://itmicah.wordpress.com


    • Proposed as answer by MicaH_Z Friday, November 15, 2013 10:12 AM
    • Marked as answer by Jack_Tan Saturday, November 16, 2013 3:47 AM
    • Edited by MicaH_Z Saturday, November 16, 2013 10:19 AM
    Friday, November 15, 2013 10:05 AM
  • In MDT 2010 and 2012 you created sub folders in the Out of the box drivers folder.

    Mitch Tulloch explained it really well in this post.

    http://www.windowsnetworking.com/articles-tutorials/windows-7/Deploying-Windows-7-Part26.html

    The question I'd like an answer to is how this translates to MDT 2013 :)

    Hopefully this helps clarify things.

    Friday, November 15, 2013 10:15 AM
  • Thanks for the prompt reply MicaH! That certainly clears up the air!

    Thanks for the link matt. But i don't really follow your point regarding MDT 2013. Can you clarify more?

    Saturday, November 16, 2013 3:50 AM
  • The question I'd like an answer to is how this translates to MDT 2013 :)

    There are no changes in drivergroup functionality in MDT 2013, so it works exactly as it did in previous versions. No translation necessary! :^)

    MicaH

    ____________________________________________________

    http://itmicah.wordpress.com



    • Edited by MicaH_Z Saturday, November 16, 2013 10:19 AM
    Saturday, November 16, 2013 10:15 AM
  • to determine the make and model, on a system with windows installed, open a cmd prompt and run:

    wmic computersystem get manufacturer

    wmic computersystem get model

    Thursday, November 21, 2013 10:24 PM
  • I actually use:

    wmic csproduct get name

    wmic csproduct get vendor

    Same info though!

    Friday, November 22, 2013 1:24 AM