Jump to content


Jaybone

Auto Apply Drivers only as a last-ditch effort?

Recommended Posts

I was thinking that since we have a good number of random systems (5 of X, a dozen of Y, 8 of Z, etc) out in the wild that we don't have driver packages for, but that mostly have well-known hardware at least for the NICs (plain ol' Intel or Broadcom stuff), it might be useful to have an Auto Apply Drivers step in a task sequence, and set it to only run if none of the Apply Driver Package steps were triggered.

What I'm not seeing, though, is any real built-in way to easily test this. The best thing I can think of is to set up a step that deliberately fails before all of the Apply Driver Package steps. My reasoning being:

  1. The deliberately failing step should set _SMSTSLastActionSucceeded to false
  2. If none of the driver packages are applied, _SMSTSLastActionSucceeded stays false
  3. If a driver package does get applied, _SMSTSLastActionSucceeded gets set to true (hopefully, heh)
  4. Auto Apply step checks the value of _SMSTSLastActionSucceeded, and only runs if false

Seems kind of kludgy to me, though. Is there a better way to do this?

Share this post


Link to post
Share on other sites

I completely understand where you are coming from. I took over an environment that only used Auto Apply drivers and didn’t even use categories to limit them. I implemented driver packages but had to have a way to let the lesser used hardware still be able to utilize the Auto Apply step. I will walkthrough what I ended up doing but you are correct, there is no good way to do this. The way I did it was a little convoluted but it worked well for what we needed. The reason it worked so well is that I could exclude one model at a time instead of having to create all my driver packages at once.

 

I created a new group in the task sequence labeled Drivers

I then create steps to install my driver packages and have corresponding WMI queries for each step.

The last step is Auto Apply Device Drivers. I use the inverse of all the WMI queries that I used on the driver packages as a condition of this step.

 

post-25034-0-67232400-1445614696.png

 

 

 

Hope this helps.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.