none
MDT Driver are not getting installed Automatically after Windows 7 Enterprise Operating System Installs RRS feed

  • Question

  • I am using MDT 2012 to deploy Windows 7 on HP Z440 Workstation.  I have injected SCSI & Network Drivers for WinPE 6.0 (x86) and (x64) and created separate selection profiles for both.  The Selection Profiles are assigned to appropriate WINPE images. The winpe works fine but I have another selection profile that has all the HP Z440 Workstation and have both 64 and 86 drivers. I am creating separate task sequence with Drivergroup=001 with Windows 7/x86/%make%/%Model% and in injecting driver is selected as nothing. using method as all control of drivers.  I do know all the drivers are correct and its Pnp injection of drivers and it should automatically install after the operating system has been installed.  I did read it should create C:\Drivers folder on the C drive but i don't see the C:\driver folder when i go into deploy windows 7 machine. I tried everything i can please let me know if i am missing something or something else i can try. 

    Thank You

    Nilay

    Thursday, March 24, 2016 3:57 PM

All replies

  • For reference: http://deploymentresearch.com/Research/Post/325/MDT-2013-Lite-Touch-Driver-Management

    In order for your Model variable to work, the folder name must exactly match the reported model name. You can check the bdd.log file to see what model is being reported.

    For example if MDT shows:

    And you are using:
    Windows 7\x86\%make\%model%

    Then your folder structure would need to be:
    Windows 7\x86\Dell Inc.\OptiPlex 990

    Make sure you're using the backslash


    If this post is helpful please vote it as Helpful or click Mark for answer.

    • Proposed as answer by RotHead Thursday, March 24, 2016 6:24 PM
    Thursday, March 24, 2016 5:05 PM
  • <![LOG[
    Parsing step node: Set DriverGroup]LOG]!><time="14:40:39.945+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:558">
    <![LOG[Description: ]LOG]!><time="14:40:39.945+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:562">
    <![LOG[ContinueOnError: false]LOG]!><time="14:40:39.945+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:566">
    <![LOG[SuccessCodeList: 0 3010]LOG]!><time="14:40:39.945+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:574">
    <![LOG[A condition is associated with the step found]LOG]!><time="14:40:39.945+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:765">
    <![LOG[Found and operator.]LOG]!><time="14:40:39.945+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:843">
    <![LOG[There are 0 operands]LOG]!><time="14:40:39.945+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:878">
    <![LOG[Disable: false]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:583">
    <![LOG[Start in dir: ]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:591">
    <![LOG[Run in attribute: ]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:595">
    <![LOG[Timeout: ]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:599">
    <![LOG[DefaultVarlist found]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:683">
    <![LOG[Variable name: VariableName]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:724">
    <![LOG[Variable name: VariableValue]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:724">
    <![LOG[Action command line: cscript.exe "%SCRIPTROOT%\ZTISetVariable.wsf"]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:626">
    <![LOG[Adding instruction at 10]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:628">
    <![LOG[
    Parsing step node: Inject Drivers]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:558">
    <![LOG[Description: ]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:562">
    <![LOG[ContinueOnError: false]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:566">
    <![LOG[SuccessCodeList: 0 3010]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:574">
    <![LOG[A condition is associated with the step found]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:765">
    <![LOG[Found and operator.]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:843">
    <![LOG[There are 1 operands]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:878">
    <![LOG[**Processing expression node]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:887">
    <![LOG[Found SMS_TaskSequence_VariableConditionExpression expression.]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:912">
    <![LOG[**In ProcessBuiltInCondition node: expression]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:1004">
    <![LOG[There are 3 operands in the built in action]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:1021">
    <![LOG[Operand Variable=%model%]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:1035">
    <![LOG[Operand Operator=equals]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:1035">
    <![LOG[Operand Value=HP Z440 Workstation]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:1035">
    <![LOG[Successfully added 3 condition parameters]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="0" thread="2504" file="tsxml.cpp:1100">
    <![LOG[Disable: false]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:583">
    <![LOG[Start in dir: ]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:591">
    <![LOG[Run in attribute: WinPEandFullOS]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:595">
    <![LOG[Timeout: ]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:599">
    <![LOG[DefaultVarlist found]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:683">
    <![LOG[Variable name: DriverSelectionProfile]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:724">
    <![LOG[Variable name: DriverInjectionMode]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:724">
    <![LOG[Action command line: cscript.exe "%SCRIPTROOT%\ZTIDrivers.wsf"]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:626">
    <![LOG[Adding instruction at 11]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:628">
    <![LOG[
    Parsing step node: Inject Drivers]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:558">
    <![LOG[Description: ]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:562">
    <![LOG[ContinueOnError: false]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:566">
    <![LOG[SuccessCodeList: 0 3010]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:574">
    <![LOG[A condition is associated with the step found]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:765">
    <![LOG[Found and operator.]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:843">
    <![LOG[There are 0 operands]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:878">
    <![LOG[Disable: true]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:583">
    <![LOG[Start in dir: ]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:591">
    <![LOG[Run in attribute: WinPEandFullOS]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:595">
    <![LOG[Timeout: ]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:599">
    <![LOG[DefaultVarlist found]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:683">
    <![LOG[Variable name: DriverSelectionProfile]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:724">
    <![LOG[Variable name: DriverInjectionMode]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:724">
    <![LOG[Action command line: cscript.exe "%SCRIPTROOT%\ZTIDrivers.wsf"]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:626">
    <![LOG[Adding instruction at 12]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:628">
    <![LOG[Processing group]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:543">
    <![LOG[
    Parsing group node: New Computer only]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:465">
    <![LOG[Description: ]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:469">
    <![LOG[ContinueOnError: false]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:473">
    <![LOG[Disable: false]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:481">
    <![LOG[A condition is associated with the step found]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:765">
    <![LOG[Found and operator.]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:843">
    <![LOG[There are 1 operands]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:878">
    <![LOG[**Processing expression node]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:887">
    <![LOG[Found SMS_TaskSequence_VariableConditionExpression expression.]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:912">
    <![LOG[**In ProcessBuiltInCondition node: expression]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:1004">
    <![LOG[There are 3 operands in the built in action]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:1021">
    <![LOG[Operand Variable=DeploymentType]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:1035">
    <![LOG[Operand Operator=equals]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:1035">
    <![LOG[Operand Value=NEWCOMPUTER]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:1035">
    <![LOG[Successfully added 3 condition parameters]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="0" thread="2504" file="tsxml.cpp:1100">
    <![LOG[Adding begin group instruction at 13]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:493">
    <![LOG[There are 3 first level steps or groups]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:418">
    <![LOG[
    Parsing step node: Validate]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:558">
    <![LOG[Description: ]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:562">
    <![LOG[ContinueOnError: false]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:566">
    <![LOG[SuccessCodeList: 0 3010]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:574">
    <![LOG[(__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\nts_sms_fre\SMS\common\inc\ccmxml.h,566)]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="0" thread="2504" file="ccmxml.h:566">
    <![LOG[No condition is associated with the step.]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:776">
    <![LOG[Disable: false]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:583">
    <![LOG[Start in dir: ]LOG]!><time="14:40:39.960+300" date="04-11-2016" component="TSManager" context="" type="1" thread="2504" file="tsxml.cpp:591">


    Monday, April 11, 2016 8:30 PM
  • I don't see drivers getting installed. It's Parsing the profile?  i have the setup set it up correctly and has the profile selection named correctly as well.  I don't see C:\Drivers folder or it's getting injected in the OS.  I dont know what am i doing wrong.  Any help would be appreciated. 
    Monday, April 11, 2016 8:33 PM
  • Make sure your folder names match correctly. In the log you have %model% which equals HP Z440 Workstation

    Please don't paste big sections from log, it's just easier if you upload your bdd.log to something like Onedrive and past a link here, then we can use cmtrace to comb through the log.


    If this post is helpful please vote it as Helpful or click Mark for answer.

    Monday, April 11, 2016 8:44 PM
  • The Model is HP Z440 workstation. I have make as Hewlett-Packard. If i run wmic query on the machine it comes with the model HP Z440 Workstation. I will make a change and see if it fixes it.
    Monday, April 11, 2016 9:24 PM
  • The make doesn't matter IF you are not using the %make% variable. What matters is that the folder structure exactly matches the Value for the DriverGroup001 variable. If it doesn't match then no drivers will be injected.

    If this post is helpful please vote it as Helpful or click Mark for answer.

    Monday, April 11, 2016 9:29 PM
  • Tried again with modifying the suggestion that you made. Please check below google drive link that has BDD.log, SMS.log, and screen shots of Media Rules, Task Sequences, and Out of Box Drive Profile. It still doesn't work as it should. 

    https://drive.google.com/open?id=0B-f4qnMQNP07ekxSWHhyaG5aRnM

    Tuesday, April 12, 2016 4:27 PM
  • Looking over your bdd.log, I'd suggest building a new task sequence. I do see your driver group set, but I never see ZTIDrivers process. Also since you're doing a media deployment, make sure the necessary drivers are included when building the media. Be sure to follow the lite touch driver management scenario #3. Be sure you do not mix up the instructions from one solution with the other.

    Instead of adding so many mandatory applications, just make a bundle. Add all the "base" applications you want every system to have to this bundle. Then just add the bundle as mandatory.


    If this post is helpful please vote it as Helpful or click Mark for answer.

    Tuesday, April 12, 2016 5:06 PM
  • I just added the ZTI Driver.wsf  in the task sequence and it seems to be working i get the logs now. will upload logs shortly but still missing something.  Should i install driver task sequence before the OS installs or After?? 
    Tuesday, April 12, 2016 7:48 PM
  • Why not just use the MDT template? The drivers should be after the drive is partitioned and formatted but before the OS is applied.

    If this post is helpful please vote it as Helpful or click Mark for answer.

    Tuesday, April 12, 2016 9:02 PM
  • I just tested the deployment and the ZTI Driver log says that it doesn't need any drivers to install after post installation of OS. I don't see any drivers getting installed. I do know i have correct driver because if i install them as application it does work.  
    Tuesday, April 12, 2016 9:19 PM
  • I just made the changes and i still dont see any drivers getting installed. I do know for the fact that drivers are correct because if i install them as application it works.

    Here is the link for the logs. I have BDD.log, STMS.log, ZTIDriver.log, & ZTIVariable.log. I am scartching my head why it wouldn't recognize plug and play ID's.

    https://drive.google.com/folderview?id=0B-f4qnMQNP07ekxSWHhyaG5aRnM&usp=sharing

    Thank you so much.

    Wednesday, April 13, 2016 9:48 PM
  • Have you tried using the HP Softpag Download Manager or used the HP Driver Pack to make sure you've added everything?

    Also are you manually creating your task sequence? Your log shows the DriverGroup variable being processed AFTER it looks for drivers.

    If you're still having problems, try following a step by step guide - http://deploymentresearch.com/Research/Post/369/How-to-deploy-Windows-8-1-and-Windows-7-with-MDT-2013-The-Resources


    If this post is helpful please vote it as Helpful or click Mark for answer.

    Thursday, April 14, 2016 1:40 PM
  • I am not creating Task Sequence Manually. I have the Driver Group and Injection of Drive profile is setup exactly like the link you sent me.  Do i need to make a change in variable?  I have drivers injected from the HP Driver Pack. i am going to test by moving the Driver Group and Inject Driver task sequence after the OS gets installed.  

    Thursday, April 14, 2016 2:34 PM
  • The task sequence should look like this, although in your case your're not using alias variables like me. So just sub out for %make% and %model%


    If this post is helpful please vote it as Helpful or click Mark for answer.


    • Edited by Dan_Vega Thursday, April 14, 2016 2:44 PM
    Thursday, April 14, 2016 2:41 PM
  • Thursday, April 14, 2016 3:07 PM
  • Try putting Configure before your driver group. Apply patches is supposed to be in the Preinstall phase.

    If this post is helpful please vote it as Helpful or click Mark for answer.

    Thursday, April 14, 2016 3:42 PM
  • I just applied the image on the client machine.  None of the Drivers that i have in Out of Box got installed. I am not doing anything wrong here.  The drivers gets installed if i install them manually and as application in task sequence.  
    Thursday, April 14, 2016 5:17 PM
  • Well that can be the case for some drivers, PnP won't see them if they are a child device. But that shouldn't be the case for all drivers. I'll look at it more in depth when I have time, but hopefully someone on the forums has deployed to the same model as you and can give some suggestions.

    If this post is helpful please vote it as Helpful or click Mark for answer.

    Thursday, April 14, 2016 5:27 PM
  • Any luck in searching for the solution.  I am trying to install NVIDIA GEForce GX960 driver as application but it fails. I tried multiple different ways but the setup doesn't seem to run silently.  I also injected the driver in the wim image but that wasn't help either. any help be appreciated. 
    Friday, April 22, 2016 3:14 PM