Solved

Adding New Model to MDT

Posted on 2014-11-30
4
183 Views
Last Modified: 2014-12-09
How to add new computer model to MDT model.vbs so that  task sequence automatically pick up required drivers
0
Comment
Question by:asnagesh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 81

Expert Comment

by:David Johnson, CD, MVP
ID: 40473068
first have the drives setup in a hierarchy like so:
Win7x64\Optiplex 8100
                 \Latitude 1234

in your install task sequence in preinstall add drivergroup above inject drivers with the parameters of Parameters:DriverGroup1  value: \Windows7x64\%model%
Under inject drivers selection profile: nothing and radio button install all drivers from drivergroup

How to test deployment:

    On a machine in the domain, install the ConfigMgr 2007 Toolkit, start SMS Trace (Trace32.exe) and click Yes to associate .log files with it
     
    Create a folder named C:\MDT

    Copy the following files from your deployment share to C:\MDT

    Customsettings.ini
    ZTIDataAccess.vbs
    ZTIGather.wsf
    ZTIGather.xml
    ZTIUtility.vbs
     
    Create a batchfile named Gather.cmd with the following information

    cls
    if exist C:\MININT\Nul rd C:\MININT /s /q
    cscript.exe ZTIGather.wsf /debug:true
     
    Run the Gather.cmd batch file, and review the C:\MININT\SMSOSD\OSDLOGS\ZTIGather.log file in Trace32
In the below sample I have the following customsettings.ini file
[Settings]
Priority=Model, Default
Properties=
[Default]
OSInstall=YES
[HP EliteBook 8540w]
Subsection=%Model%-%Architecture%
[HP EliteBook 8540w-X86]
MandatoryApplications001={980fc0ac-68eb-4227-bc57-49ac352e18d5}
[HP EliteBook 8540w-X64]
MandatoryApplications001={980fc0ac-68eb-4227-bc57-49ac352e18d5}
Note: Do not worry about the following warnings in the ZTIGather.log, they are ok and expected

FindFile: The file x86\Microsoft.BDD.Utility.dll could not be found in any standard locations.
FAILURE (Err): 429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object
Many thanks to Johan of DeploymentResearch.com
http://bit.ly/1rJAjFb
you will also see the model in the log as it is populated in the ztigather.wsf
0
 

Accepted Solution

by:
asnagesh earned 0 total points
ID: 40482023
the above steps are actually works but we need to update all models in the MDT custom.ini file
But i am using OSModel Alias Variable in task sequence, created condition that "If OS model Alias Variable is equal to Model_x64 or Model_X86, then install all driver application created under particular model" It works fine now Issue is closed
0
 
LVL 24

Expert Comment

by:Nagendra Pratap Singh
ID: 40482185
I guess David said the same thing, Add a variable and set it to \Windows7x64\%model% . Which is basically same as what you ended up using.
0
 

Author Closing Comment

by:asnagesh
ID: 40488425
When we have multiple models, adding the variable really helps rather updating the custom.ini for each model.
0

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question