Solved

Adding New Model to MDT

Posted on 2014-11-30
4
157 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
  • 2
4 Comments
 
LVL 78

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 23

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
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.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

929 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now