Jump to content


thadkew

Drivers install is slow during OSD task sequence

Recommended Posts

Attached you'll find my task sequence for deploying Windows XP

The main problem I'm having is that the sequence will redo the drivers install at least three times before it will continue the task.

The way the drivers is called is by model name (it's a variable at the beginning).

 

Is there any way to speed up the driver install or at least stop it from installing them three times (or more)?

Windows XP deploy.xml

Share this post


Link to post
Share on other sites

Where are creating the variables?

 

They are variables that were placed on the collection (Modify Collection Settings/ Collection Variables tab)

Share this post


Link to post
Share on other sites

And then you have to manually put the clients in the correct collection? If so, why not making it easier by using a WMI Query like: Select * From Win32_ComputerSystem WHERE Model LIKE "%Model%"?

 

No, the collection is All Unknown. Because they are unknown systems, they don't have the model in the WMI so that's why i have the collection variable and the task sequence with ComputerType.

I don't think that this has much to do with the drivers taking a long time, though.

Share this post


Link to post
Share on other sites

I don't think that this has much to do with the drivers taking a long time, though.

Correct, but it does gives more insight in what has to happen.

 

No, the collection is All Unknown. Because they are unknown systems, they don't have the model in the WMI so that's why i have the collection variable and the task sequence with ComputerType.

You lost me here...

a. What does Unknown Systems has to do with the model not being in WMI?

b. How do you use the Collection Variables on Unknown Systems? How do you then connect the variable to the machine?

Share this post


Link to post
Share on other sites

Correct, but it does gives more insight in what has to happen.

True enough. Essentially, the drivers are called based on the collection variable ComputerType, which the technician has to input during the PXE task sequence. However, the drivers are downloaded and applied and downloaded again and applied again and downloaded again and applied again. These are dell drivers that have been imported to the driver store. I'm not sure if it's because the task is just applying the drivers one by one and has to redownload them over and over...

 

You lost me here...

a. What does Unknown Systems has to do with the model not being in WMI?

These are machines just out of the box. Never been added to domain, never been collected by SCCM. I'm not smart enough to figure out how to make add the machine into SCCM with the proper model without actually installing the client first. And I don't want to manually do that for the hundreds of machines we are soon getting.

 

b. How do you use the Collection Variables on Unknown Systems? How do you then connect the variable to the machine?

During the PXE, the collection variable is called on (OSDComputerName and ComputerType) and the technician puts the info in the box.

Share this post


Link to post
Share on other sites

WMI is something that exist in the Operating System, even WinPE contains a subset of WMI. This subset is easily enough to query WMI for the model of the computer.

 

Based on the information about the Variables that you are using and the repeating of the driver installation, I would say that the driver selection proces isn't going good. To be sure of that it might be handy to take a look at the smsts.log, to see what it says about picking the drivers/ driverpackage.

Share this post


Link to post
Share on other sites

WMI is something that exist in the Operating System, even WinPE contains a subset of WMI. This subset is easily enough to query WMI for the model of the computer.

Is it possible to see what it shows while in the WinPE environment?

Based on the information about the Variables that you are using and the repeating of the driver installation, I would say that the driver selection proces isn't going good. To be sure of that it might be handy to take a look at the smsts.log, to see what it says about picking the drivers/ driverpackage.

What would I be looking for in the smsts.log file?

Share this post


Link to post
Share on other sites

Is it possible to see what it shows while in the WinPE environment?

Possible, when F8 is enabled, it is possible to start Wbemtest from the commandline. Within Wbemtest you can test your WMI (queries).

 

What would I be looking for in the smsts.log file?

The parts where the driver packages get applied.

Share this post


Link to post
Share on other sites

Possible, when F8 is enabled, it is possible to start Wbemtest from the commandline. Within Wbemtest you can test your WMI (queries).

Select * from Win32_ComputerSystem shows <no key>

Share this post


Link to post
Share on other sites

That's weird, how are you trying that?

 

Booting from the boot media created.

Press F8 to start cmd prompt

type wbemtest

press connect and type root\cimv2 and press connect again

press Query button and then type Select model from Win32_ComputerSystem and press Apply

 

:blink:

Share this post


Link to post
Share on other sites

That's the result you are looking for! Double click that and you can browse to the model the machine.

 

Wow!

That was it. Thanks a bunch!

 

I'll try my task with the query computer model variable and see what happens

Share this post


Link to post
Share on other sites

So, the apply drivers is working without any variables, and that's great. But it will still hit 14% and then restart the process, go to 14% and restart the process again. On the third time, it will go through.

I've done this with different models and it still has the same issue.

14% start over 14% start over 100%

 

Increases deployment time to over 30 minutes for an OS deployment (doesn't matter if it's Win7 or XP)

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...