MDT 2013 Windows 10 and the MSP Part 6

mslogo4Part 6, I feel like I have written a lot, yet still not scratched the surface of what MDT can do. I am confident I am right about that.

The last thing I wanted to talk about was how your Task Sequence can be further controlled based on the Client Hardware.

Everything I have written so far in my examples is based around a single Task Sequence to deploy Windows 10. You can create multiple Task Sequences of course, and it is straight forward enough to make them, you can even copy and paste them if you want to. Creating one Task Sequence for HP, one for Dell, one for the Microsoft Surface perhaps? That’s fine but we have three Task Sequences to manage now, and where is the fun in that?

In this example I am going to deploy the HP Support Assistant application, but, only if the client is HP Hardware.

I already have the HP Support Assistant added as an Application, and added to my Task Sequence.

Switch to the Options tab of that Task Step. Two options immediate visible which I haven’t mention at all yet, Disable this step, and Continue on Error. Straight forward enough of course. Note that selecting Continue on Error changes the icon colour from green to a white.

Capture 6

Also note that you can enter additional stuccesscodes, if an application exits with an odd exit code.

Below that, is where our attention is needed. Click on Add.

We have several options here, select If Statement.


Click On OK on the Properties window.


Click on Add again, this time select Query WMI.



In the WQL box, we can enter a WMI query that will return True if our machine is HP.

Using WBEMTest is a good way to test your WMI query before you try it out.

In our query we can enter:

select * from Win32_ComputerSystem where MANUFACTURER = "HP"

Capture 5

Click on OK to enter the query.

That is it.

Capture 7

However, some HP machines report the MANUFACTURER as Hewlett-Packard. So what we can do is set our IF Statement to ‘any’ rather than ‘all’ and add another WMI query that returns true for Hewlett-Packard.

Click on ‘if all conditions are true’ then select Edit and choose ANY.


Then repeat the process to add another WMI Query.

select * from Win32_ComputerSystem where MANUFACTURER = "Hewlett-Packard"


Once we apply this, any computer being deployed that is not made by HP will simply skip this step in the Task Sequence.

I think that’s all I have for this series, Hopefully i have shone a light on some techology that may have passed you by, as it did me.

Luckily though, as it is close to four years old, there is a huge amount of resources available to you to pretty much answer any question you might have!

More MDT Resources

About Robert Pearman
Robert Pearman is a UK based Small Business Server enthusiast. He has been working within the SMB IT Industry for what feels like forever. Robert likes Piña colada and taking walks in the rain, on occasion he also enjoys writing about Small Business Technology like Windows Server Essentials or more recently writing PowerShell Scripts. If you're in trouble, and you can find him, maybe you can ask him a question.

Leave a reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: