SCCM 2403 and MDT/UDI Task Sequence question

PerserPolis-1732 1,576 Reputation points
2024-07-11T15:41:20.4466667+00:00

Hi,

I have created with MDT and UDI designer a TS even to be able to select different Windows OS to install as following

grafik

a example here Windows 11 and Windows 10

grafik

and I have the condition for Drivers for Windows 11 and Windows 10

grafik

It means if I select Windows 10 for install, it will install the Drivers for Windows 10 and if I select windows 11 , it will install the drivers for Windows 10 for Notebook "DELL" because my both drivers package are for Notebook "DELL"

it works fine here for Notebook "DELL"

We have from "LENOVO" Notebooks too and I have created two driver package for windows 10 and windows 11 for "LENOVO" too

Is there any way to create a condition for driver package for "LENOVO" Notebooks ?

the following situations for me

If I take Notebook "DELL" and select Win10 or Win 11 to install OS for Notebook "DELL", it should take drivers package for Notebook "DELL"

If I take Notebook "LENOVO" and select Win10 or Win 11 to install for Notebook "LENOVO", it should take drivers package for Notebook "LENOVO"

How can I do that?

Regards

Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
942 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pavel yannara Mirochnitchenko 12,411 Reputation points MVP
    2024-07-11T18:13:43.49+00:00

    With WMIC, you can query device locally and check the values for Manufacturer and for Model. Then you can use same values in Task Sequence. Lenovo has tricky model name policy, it is more cryptic than Dell or HP.

    wmic computersystem get manufacturer
    wmic computersystem get model

    and then in TS step, something like this. That is just an example, but you can query the same WMI in TS :)

    User's image

    1 person found this answer helpful.