In this post I will show you an easy way to allow or forbid some specific computer models to be deployed using MDT.

For instance you can set Microsoft Surface 4 and Lenovo X260/T460 as supported models. It means that all other models won't be supported.

 I'll show you way to do this using an XML file and WMI Query. I'll focus on Lenovo and Microsoft vendors but you can easily and others.

We'll first see how to use the WMI query in the VBScript file, then how add your models in the XML file and finally how to implement the solution in your deployment.


Prerequisites

 

First method

Add this function in the welcomewiz_choice wizard

 

Second method

Create a new wizard to integrate in the BDD_Welcome_ENU.xml. This wizard will be displayed only if the computer is unsupported.