Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Adding New Model to MDT

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

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

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension . This reminded me of questions that come up here at EE along the lines of, "How can I tell the type of file from its cont…
Each password manager has its own problems in dealing with certain websites and their login methods. In Part 1, I review the Top 5 Password Managers that I've found to be the best. In Part 2 we'll look at which ones co-exist together and why it'…
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.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

577 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