Solved

Adding New Model to MDT

Posted on 2014-11-30
4
166 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 80

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
windows 10 versions 3 63
parental control on huwei HG658b 1 26
Problem to file 13 55
How to set IPSec under Server 2008 R2 and Server 2012 R2 3 42
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

839 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