?
Solved

Adding New Model to MDT

Posted on 2014-11-30
4
Medium Priority
?
194 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 82

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Suggested Courses

770 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