Stu Fox Microsoft New Zealand .

50
Window Vista Deployment with Microsoft Deployment Toolkit Stu Fox Microsoft New Zealand http://blogs.technet.com/stufox

Transcript of Stu Fox Microsoft New Zealand .

Page 1: Stu Fox Microsoft New Zealand .

Window Vista Deployment with Microsoft Deployment ToolkitStu FoxMicrosoft New Zealandhttp://blogs.technet.com/stufox

Page 2: Stu Fox Microsoft New Zealand .

Agenda

MDT OverviewVista Deployment – 5 minute refreshLite Touch Deployment of VistaMDT Integration with Config MgrTroubleshootingSome cool stuff (time permitting)

2

Page 3: Stu Fox Microsoft New Zealand .

MDT Overview

Page 4: Stu Fox Microsoft New Zealand .

What’s an MDT?

Not just another TLA

A Solution Accelerator which provides THE tools and processes to deploy Vista

(And XP, Server 2003, Server 2008)

The latest evolution of BDD

Page 5: Stu Fox Microsoft New Zealand .

BDD 2007

Microsoft Deployment

Microsoft Deployment Toolkit 2008

But What About BDD 2007?

Microsoft Deployment Toolkit 2008 is the continuation of the line, replacing BDD 2007 and Microsoft DeploymentNo further updates to BDD 2007 or Microsoft Deployment are planned

BDD 2007 Update 2 was released to add Windows Vista SP1 support

Page 6: Stu Fox Microsoft New Zealand .

Microsoft Deployment

Microsoft Deployment

Lite Touch Zero Touchwith SMS 2003

Zero Touchwith Configuration

Manager 2007

• Aligns with ConfigMgr• Simple upgrade from

BDD 2007• Evolutionary

refinements• Adds server support

• Aligns with ConfigMgr

• Simple upgrade from BDD 2007

• Evolutionary refinements

Leverages core deployment tools

• New!• Fully integrated

experience• Single console• Adds server support• Extends and

enhances

Provides process and tool guidance

Page 7: Stu Fox Microsoft New Zealand .

MDT FeaturesSupport for Vista SP1Support for server deployment

Full support for Windows Server 2003Support for Windows Server 2008, including Server Core installation optionInstall Server Roles – Hyper-V, AD etc

Lite Touch enhancementsSupport for multicast deployments with Windows Server 2008 Windows Deployment ServicesEnhanced disk configuration and NIC configuration capabilitiesShift from builds to task sequences to better align with ConfigMgrSupport for multiple task sequence templates, including those that don’t deploy an operating system

Page 8: Stu Fox Microsoft New Zealand .

MDT Features

System Center integrationFull support for ConfigMgr 2007 deployments, adding additional capabilities and features

Dynamic user state determination, unknown computer support, offline patching, language packs, etc.

Seamless integration into the ConfigMgr 2007 MMC, with new wizards, actions, and templates

A single console for (almost) all operations

Support for OpsMgr 2007 via a new management pack

Page 9: Stu Fox Microsoft New Zealand .

Mass Storage Driver HandlingLite Touch enhancement

Designed to make Windows XP and Windows Server 2003 deployment easierTwo separate capabilities

For unattended installs, automate the handling of TEXTMODE driver supportFor image deployments, automate the population of the sysprep.inf [SysprepMassStorage] section for all available mass storage drivers

With Lite Touch, you still need to build a new image to support additional mass storage drivers

No support for injecting mass storage drivers during an XP/2003 image deploymentConfigMgr does provide this support

Page 10: Stu Fox Microsoft New Zealand .

Miscellaneous New Features

Support for installing updates from a WSUS server

Modified ZTIWindowsUpdates.wsf scriptRequires configuring the WSUSServer variable

Support for creating new boot images in ConfigMgr

New wizard on the Boot Images nodeSupport for additional task sequence conditions in Deployment Workbench

Registry, file, installed software (MSI)Support for OEM scenarios (partial builds)

Page 11: Stu Fox Microsoft New Zealand .

Windows Vista Deployment – 5 minute refresh

Page 12: Stu Fox Microsoft New Zealand .

Vista Deployment

Image based installation format (install.wim)

Multiple images, single file, single instanceOffline servicingHardware independent

Windows PE based setupUnattend.xml

Replaces multiple files (unattend.txt, winbom.ini, sysprep.inf, cmdlines.txt)

WAIKSystem Image ManagerImageX

Page 13: Stu Fox Microsoft New Zealand .

Vista Deployment

Configuration PassesWindowsPEofflineServicingGeneralizeSpecializeauditSystemauditUseroobeSystem

Page 14: Stu Fox Microsoft New Zealand .

MDT Detail

Page 15: Stu Fox Microsoft New Zealand .

MDT Requirements

SoftwareWindows AIK 1.1USMT 3.01

InfrastructureDNS, DHCPWindows Deployment ServicesActive Directory

Page 16: Stu Fox Microsoft New Zealand .

MDT Configuration Files

Bootstrap.iniCustomsettings.iniScriptsTask SequencesUnattend.xml

All stored in the distribution share

Page 17: Stu Fox Microsoft New Zealand .

The Distribution Share

Distribution – shared as Distribution$$OEM$ApplicationsBootCapturesControlOperating SystemsOut-of-Box DriversPackagesScriptsServicingTools

Page 18: Stu Fox Microsoft New Zealand .

CustomSettings.ini

Standard INI file containingSectionsPropertiesSettings

[Settings] <- SectionPriority = Default, MACAddress

<Property> = <Setting>Priority is a special property, defines the sequence of sections

[Settings] section is mandatory

Page 19: Stu Fox Microsoft New Zealand .

CustomSettings.ini

Sections can be applied to groups of computers or individual computers

[DefaultGateway][LocalDataName][Custom Section]

[DefaultGateway]LocalDataName

E.g. [02:00:54:55:4E:01]E.g. [HP]

CustomSection

Page 20: Stu Fox Microsoft New Zealand .

CustomSettings.ini[DefaultGateway]172.16.0.3=AKL172.16.1.3=AKL172.16.111.3=WLG172.16.112.3=WLG172.16.116.3=CHC172.16.117.3=CHC [AKL]UDShare=\\AKL-AM-FIL-01\MigDataSLShare=\\AKL-AM-FIL-01\LogsPackages1=NYC00010-InstallPackages2=NYC00011-InstallAdministrator1=WOODGROVEBANK\AKL Help Desk Staff [CHC]UDShare=\\CHC-AM-FIL-01\MigDataSLShare=\\CHC-AM-FIL-01\LogsAdministrator1=WOODGROVEBANK\CHC Help Desk Staff

Page 21: Stu Fox Microsoft New Zealand .

LTI Deployment

Page 22: Stu Fox Microsoft New Zealand .

Process

BuildCaptureDeploy

Page 23: Stu Fox Microsoft New Zealand .

Configuring LTI – Build & Capture

Install MDTCreate the distribution shareAdd OS Source FilesAdd Device DriversCreate a Task SequenceCreate a deployment pointConfigure Windows PE optionsUpdate the deployment point

Page 24: Stu Fox Microsoft New Zealand .

Configuring LTI – Build & Capture

Create LTI Bootable media Or configure WDSStart Reference computer with LTI bootable media/PXE

Page 25: Stu Fox Microsoft New Zealand .

Configuring LTI - Deploy

Add captured OS imageCreate a task sequenceStart target computer with LTI bootable media/PXE

Page 26: Stu Fox Microsoft New Zealand .

Demo

MDT Workbench Overview

Page 27: Stu Fox Microsoft New Zealand .

Demo

MDT Driver Management

Page 28: Stu Fox Microsoft New Zealand .

Demo

MDT Lite Touch OS Management

Page 29: Stu Fox Microsoft New Zealand .

Demo

MDT Lite Touch Multicast Deployment

Page 30: Stu Fox Microsoft New Zealand .

ZTI Deployment

Page 31: Stu Fox Microsoft New Zealand .

ZTI – Build & Capture

Install MDT on Config Mgr ServerConfigure integrationInstall USMT 3.01Create folders & sharesAdd OS Source FilesAdd Device DriversCreate driver packages

Page 32: Stu Fox Microsoft New Zealand .

ZTI – Build & Capture (2)

Import a MDT Task SequenceFollow the wizardCustomise the MDT Configuration FilesDistribute packages to DP’sCustomise the task sequenceAdvertise the task sequenceBoot the reference computer with bootable media/PXE

Page 33: Stu Fox Microsoft New Zealand .

Configuring ZTI - Deploy

Add captured OS imageImport a MDT task sequenceFollow the wizardCustomise the MDT Configuration FilesDistribute packages to DP’sAdvertise the task sequenceStart target computer with LTI bootable media/PXE

Page 34: Stu Fox Microsoft New Zealand .

Demo

MDT Integration with Configuration Manager

Page 35: Stu Fox Microsoft New Zealand .

Demo

Task Sequence Deployment

Page 36: Stu Fox Microsoft New Zealand .

Other Stuff

Page 37: Stu Fox Microsoft New Zealand .

Creating the MDT Database

Use deployment workbench

Page 38: Stu Fox Microsoft New Zealand .

The MDT Database

Can configure based on:Site – defined by IP gatewaysMake/model – defined using WMI informationComputer – defined by MAC, asset tag, or SMBIOS UUIDRole – arbitrarily assigned to sites, make/model, and computers

Stores:General settingsApplications to install (list)Administrator members to add (list) Roles to assign (list)

Page 39: Stu Fox Microsoft New Zealand .

The MDT Database

Contents maintained by the Deployment Workbench MMC snap-in

Initially created by a wizardNew entries added by a wizard

Queries performed by “Gather” step early in the task sequence

Wizard to add the rules to CustomSettings.ini, indicating what to queryGenerally, first value found wins, so order of queries might be important (and computer and collection variables would normally win)Global variables set as a result of the queries

Global variables consumed by the task sequence steps as they execute

Page 40: Stu Fox Microsoft New Zealand .

Demo Scenario

SiteConfigure a specific area code for all users at a site

Make/modelSpecify a package to install on all Dell Latitude D600 computers

RoleConfigure an “Accounting” role that specifies a list of packages to install on all computers with that role

ComputerAssign the “Accounting” role to a computer

Page 41: Stu Fox Microsoft New Zealand .

Demo

Creating the MDT Database

Page 42: Stu Fox Microsoft New Zealand .

Other Cool Stuff

MDT 2008 “Gather” action can query any SQL Server database

Select queries or stored proceduresNamed pipes or TCP/IPIntegrated (Windows) or standard securityColumns returned should match the variable names, or can be remapped

Can also query Web ServicesCan customise Wizard screens (or create your own new ones)

Page 43: Stu Fox Microsoft New Zealand .

Demo

Querying Another Database

Page 44: Stu Fox Microsoft New Zealand .

Demo

Customising the Wizard screens

Page 45: Stu Fox Microsoft New Zealand .

It’s all gone horribly wrong!

Page 46: Stu Fox Microsoft New Zealand .

Understanding MDT Logs

Each script generates its own log file in the log pathThe log path will change based on the type of deployment and phaseCommon Log Paths:

X:\MININT\SMSOSD\OSDLOGSC:\MININT\SMSOSD\OSDLOGSC:\_SmsTaskSequence\SMSOSD\OSDLOGS

BDD.log contains a summarized view of all other MDT log files

Page 47: Stu Fox Microsoft New Zealand .

Task Sequencer Logs

SMSTS.log. Created by the Task Sequencer and describes all Task Sequencer transactions. Depending on the deployment scenario, it may reside in %TEMP%, %WINDIR%\System32\ccm\logs, C:\_SmsTaskSequence\Logs, or C:\SMSTSLog.

Page 48: Stu Fox Microsoft New Zealand .

Operating System LogsWindows Vista

Netsetup.log. Resides in %WINDIR%\Debug; useful when troubleshooting domain join issuesSetupact.log. Resides in %WINDIR%\panther; lists installation actions and is useful when investigating failed installationsSetupapi.dev.log. Resides in %WINDIR%\inf; useful when investigating failed driver installationsSetuperr.log. Resides in %WINDIR%\panther; details errors that occurred during installation

Page 49: Stu Fox Microsoft New Zealand .

Summary

MDT is THE way to deploy Vista (and XP, and Server 2003, and Server 2008)LTI for when you don’t have Config MgrZTI for when you do (or SMS 2003)

We have only scratched the surface of what you can doDownload Microsoft Deployment Toolkit 2008

http://www.microsoft.com/deployment

Page 50: Stu Fox Microsoft New Zealand .

Resources

BlogsTeam blog: http://blogs.technet.com/msdeploymentMike Niehaus: http://blogs.technet.com/mniehausDeployment Guys: http://blogs.technet.com/deploymentguys

ToolsMDT Wizard Editor: http://www.codeplex.com/MDTWizardEditor