23
to edit Master title style TechNet goes virtual TechNet goes virtual Advanced Deployment Scenarios Using the Microsoft Deployment Toolkit 2010 Harold Wong blogs.technet.com/ haroldwong Mike Terrill [email protected]

Microsoft deployment toolkit 2010 final

Embed Size (px)

DESCRIPTION

West Region TechNet Presents: Microsoft Deployment Toolkit 2010 (Delivered September, 2010)

Citation preview

Page 1: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtualTechNet goes virtual

Advanced Deployment Scenarios Using the Microsoft Deployment Toolkit 2010

Harold Wongblogs.technet.com/haroldwong

Mike [email protected]

Page 2: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Agenda

• Understanding and Using the Configuration Database

• Understanding Linked Deployment Shares

• Understanding Selection Profiles• MDT 2010 Customization

Page 3: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Before We Get Started….

Let’s See What a MDT 2010 Deployment Looks Like Without Customizations…

Page 4: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Demonstration

• Review the Available Options in the Deployment Workbench– Review the Options in

CustomSettings.ini– Review the Options

Available in the Windows Deployment Wizard

Page 5: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

What is the Configuration Database?

• Extension of Deployment Workbench– Extended infrastructure not required–Manually initiated

• Zero Touch Installation (ZTI) as a method – Automatically configure deployment

targets– Draw from deployment resources as

available– Enhance LTI functionality

Page 6: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

How Does the Configuration Database Work?

• Abstraction through database methods– Logical extension of the CustomSettings.ini file– Centralized storage of configuration settings in a

relational database– Automates and extends the Microsoft

Deployment Wizard– All information is gathered up front– “Pull” process

• Automation– Bootstrap.ini– CustomSettings.ini

Page 7: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Demonstration

• Create and Explore the Configuration Database – Create Configuration

Database– View Database

Page 8: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Methods-Based Deployment

• The goal:– Dynamically determine the deployment

characteristics for each target computer

• The process:– Gather information from the computer and its

location– Use that information to decide what needs to

be done, either statically or using database queries

– Results control actions performed by the task sequence engine

Page 9: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Configuration Database - Supported Target Information

• Properties Settings• Applications• Packages• Administrator-level accounts• Roles

Page 10: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Configuration Database - Supported Methods

• Database Methods– Roles– Computers– Locations–Make and Model

Page 11: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Configuration Database Methods - Roles

• Fully configurable to take definition from user tasks

• Assignable to other database methods

• Associate the following:– Properties Settings– Applications– Packages– Administrator-level Accounts

Page 12: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Configuration Database Methods – Grouping Computers

• Locations of target groups of computers– Uses default gateway on which the request

comes in to identify groups of computers

• Make and Model targets groups of computers– Based on the WMI values for Manufacturer

and Model

• Associate Properties Settings, Applications, Packages, Administrator-level Accounts, and Roles

Page 13: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Demonstration

• Configuring Role Methods in the Configuration Database– Add a Role to Refresh a

Target Computer– Add a Role to Deploy an

Application From the Deployment Workbench

Page 14: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Grouping Computers for Deployment

Grouping Method Description Properties

Geographically Group configuration settings based on resources located within a geographic region (such as a shared folder on a computer within a geographic region).

DefaultGateway

Target Computer Hardware Attributes

Group configuration settings based on hardware attributes (such as the make of the target computer or processor architecture of the target computer).

ArchitectureCapableArchitectureMakeModelHALName

Target Computer Software Attributes

Group configuration settings based on hardware attributes (such as the operating system version of the target computer).

OSVersion

Default Attributes Apply configuration settings to all target computers when the properties are not located in other sections.

Default

Page 15: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Targeting Individual Computers

• Computers target specific computers– Uses Asset Tag, UUID, Serial Number, or MAC Address

• Associate Properties Settings, Applications, Packages, Administrator-level Accounts, and Roles

Identification Method Description Properties

Target computer hardware attributes

Identify the target computer by using the hardware configuration.

MACAddress

Target computer software attributes

Identify the target computer by using the software or firmware configuration.

Product (with Make and Model)

Target computer user-defined attributes

Identify the target computer by using attributes that are assigned to the computer but are not a part of the hardware or software configuration.

AssetTagSerialNumber

Page 16: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Demonstration• Configuring Other Methods in the

Configuration Database– Add a Location method to define

attributes based on the location of the target computer

– Add a Make and Model method to add an application based on the hardware configuration of the target computer

– Add a Computers method to configure settings based on MAC Address.

Page 17: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Configuring CustomSettings.ini for Database Queries

• After populating the configuration database, update CustomSettings.ini to perform the appropriate database queries

• Run the Configure DB Wizard for each deployment point

• The optional sections are used to assign configuration settings to individual or groups of computers

Page 18: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

CustomSettings.ini

• Priority reserved property– The Priority reserved property

determines the sequence and section of where to find configuration values

– Each section is searched in the order specified

– When a property value is found, the remaining sections are not used for that property

• Values are the configuration settings assigned to the properties – Preceded by an equal sign (“=”). – The scripts scan the

CustomSettings.ini file to locate the values

Page 19: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Understanding Linked Deployment Shares

• Allow you to replicate content between Deployment Shares

• Can replicate all content or a subset of content defined by a Selection Profile

• Useful in a distributed environment or moving from a Lab to Production

• Replication can be scheduled using Task Scheduler and a Powershell script

Page 20: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Understanding Selection Profiles

• Selection Profiles can be used to:– Control what Packages and Drivers are

included in Boot Images– Control drivers injected in the Operating

System– Control what is included in media– Control what is replicated to other

Deployment Shares– To filter what task sequences and

applications are displayed in the Deployment Wizard

Page 21: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Opportunities for Customization with MDT 2010

• Modify the wizards we provide• Add additional panes• http://www.codeplex.com/MDTWizardEditor

Wizards• Create your own scripts that leverage the framework• Modify the scripts we provideScripts• Edit CustomSettings.ini and Bootstrap.ini• Query databases, web servicesRules• Add additional steps• Modify existing steps, conditions

Task sequences

Page 22: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual

Call to Action

• Participate in the community:– http://connect.microsoft.com to submit bugs and feedback– TechNet Forum for MDT at http://

social.technet.microsoft.com/Forums/en-US/mdt for questions– MDT-OSD and MSSMS mailing lists hosted by

http://www.myitforum.com

• Get help:– Microsoft Customer Support Services and Premier Support– Microsoft Consulting Services and other partners– Free consulting through http://www.microsoftddps.com

• Check out the blogs:– http://blogs.technet.com/mniehaus – http://blogs.technet.com/msdeployment– http://blogs.technet.com/deploymentguys

Page 23: Microsoft deployment toolkit 2010 final

Click to edit Master title style

TechNet goes virtual© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or

trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation.

MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.