none
%make% and %model% RRS feed

  • Question


  • Hi,

    I have done the following setttings as per the dcoument below 

    https://docs.microsoft.com/en-us/windows/deployment/deploy-windows-mdt/deploy-a-windows-10-image-using-mdt


    Created a logical structure under "Out-of-Box Drivers"

    Windows 10 x64

    created a folder LENOVO under Windows 10 x64(The windows I am install

    then created a folder "20FXS1J900" under LENOVO since Ztigather.wsf  was the following output  

    Property Make is now = LENOVO
    Property Model is now = 20FXS1J900
    Property Product is now = 20FXS1J900

    (actullay the pc is lenovo t60 and the refernce image is win10 64 bit pro ) 

    Imported all drivers to the folder 20FXS1J900


    created  Task Sequence Variable action with the following settings:
    Name: Set DriverGroup001
    Task Sequence Variable: DriverGroup001
    Value: Windows 10 x64\%Make%\%Model%

    Configure the Inject Drivers action with the following settings:
    Choose a selection profile: Nothing
    Install all drivers from the selection profile Note


    But it did not work ?.It just skipped the driver installation 

    Thanks


    Sunday, September 24, 2017 3:53 PM

All replies

  • For Lenovo models I recommend using a UserExit script to assign a model alias to work around your issue as Lenovo's model identifier may change without warning: 

    Aside from that, as usual I would need to take a look at your BDD.log. 


    Cheers,
    Anton

    Vacuum Breather Blog | Wing Commander Saga | Twitter

    Note: Posts are provided "AS IS" without warranty of any kind. If posts are helpful please don't forget to rate them as "Helpful" or as "Answer".

    Sunday, September 24, 2017 4:24 PM
  • Hi,

    Finished determining the INI file to use.

    Added new custom property MODELALIAS
    Using from [Settings]: Rule Priority = HARDWAREINFO, DEFAULT
    ------ Processing the [HARDWAREINFO] section ------
    UserExit: started: SECTION BEFORE HARDWAREINFO
    User exit "C:\MDTProduction\Scripts\AliasUserExit.vbs" called successfully, skip = False.
    UserExit: Running function SetModelAlias
    UserExit: Make is now LENOVO
    UserExit: Model is now 20FXS1J900
    UserExit: Product is now 20FXS1J900
    UserExit: Win32_ComputerSystemProduct Version: ThinkPad T460p
    UserExit: Win32_BIOS Version: LENOVO - 2120
    UserExit: ModelAlias has been set to 20FXS1J900

    The modelalias also returning the same  

    The script require any modification 

    Where can i find the bdd log 

    Thanks

    Sunday, September 24, 2017 5:40 PM
  • Hi,

    By setting the driver group how does the task sequence know which driver has to be injected ?.

    Thanks

    Sunday, September 24, 2017 6:00 PM
  • Hi,

    Do I need to add below lines in cs.ini

    DriverSelectionProfile=Nothing
    DriverGroup001=%Make%\%Model%

    Thanks

    Sunday, September 24, 2017 7:41 PM
  • Have you tried with this? it might be problem with your selection profile.  Please share your bdd.log.



    • Edited by JiteshKumar Monday, September 25, 2017 4:33 AM
    Monday, September 25, 2017 4:30 AM
  • Here is how you use the script:

    Set DriverGroup001 variable via task sequence to Windows 10 x64\%Make%\%ModelAlias% (assuming this reflects you folder structure).

    Set Selection Profile in Inject Driver step to None and select "Install all drivers from selection profile".

    You will need to modify ModelAlias script, so that it can work with your Lenovo hardware properly. The relevant bit is this:

            Case "LENOVO"
                ' Check by Version property of the Win32_ComputerSystemProduct WMI class first


    If Not sCSPVersion = "" Then

    Select Case sCSPVersion Case "ThinkPad T61p" SetModelAlias = "ThinkPad T61" Case Else ' Use Version with spaces removed ' SetModelAlias = Replace(sCSPVersion, " ", "") SetModelAlias = sModel End Select End If

    You may get away with using sCSPVersion variable:

            Case "LENOVO"
                ' Check by Version property of the Win32_ComputerSystemProduct WMI class first

    If Not sCSPVersion = "" Then Select Case sCSPVersion Case "ThinkPad T61p" SetModelAlias = "ThinkPad T61" Case Else ' Use Version with spaces removed SetModelAlias = Replace(sCSPVersion, " ", "") ' SetModelAlias = sModel End Select End If

    Alternatively, explicitly add your model:

            Case "LENOVO"
                ' Check by Version property of the Win32_ComputerSystemProduct WMI class first

    If Not sCSPVersion = "" Then

    Select Case sCSPVersion Case "ThinkPad T61p" SetModelAlias = "ThinkPad T61" Case "20FXS1J900" SetModelAlias = "ThinkPad T460p" Case Else ' Use Version with spaces removed ' SetModelAlias = Replace(sCSPVersion, " ", "") SetModelAlias = sModel End Select End If


    Hope this helps. 


    Cheers,
    Anton

    Vacuum Breather Blog | Wing Commander Saga | Twitter

    Note: Posts are provided "AS IS" without warranty of any kind. If posts are helpful please don't forget to rate them as "Helpful" or as "Answer".


    Monday, September 25, 2017 6:13 AM
  • I would just set a group in your TS for each manufacturer and then set it by task sequence variables.

    Start by setting a group as Lenovo, Dell, HP etc.

    Then add the inject driver model under it for each model

    So in each manufacturer group options, set the query in options to:

    "task sequence variable make equals Lenovo"

    Then for each model under that group, set the query in options to:

    "task sequence variable model equals 20FXS1J900"

    Then point each model to your selection profile. Install only matching drivers, not all drivers. 

     

    Monday, October 16, 2017 6:22 PM