UNPLUGGED Vista Deployment with MDT

Download Report

Transcript UNPLUGGED Vista Deployment with MDT

Stu Fox Microsoft New Zealand http://blogs.technet.com/stufox

MDT Overview Vista Deployment – 5 minute refresh Lite Touch Deployment of Vista MDT Integration with Config Mgr Troubleshooting Some cool stuff (time permitting)

2

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

Microsoft Deployment Microsoft Deployment Toolkit 2008 BDD 2007 Microsoft Deployment Toolkit 2008 is the continuation of the line, replacing BDD 2007 and Microsoft Deployment No further updates to BDD 2007 or Microsoft Deployment are planned BDD 2007 Update 2 was released to add Windows Vista SP1 support

Lite Touch •Aligns with ConfigMgr •Simple upgrade from BDD 2007 •Evolutionary refinements •Adds server support Microsoft Deployment Zero Touch with SMS 2003 •Aligns with ConfigMgr •Simple upgrade from BDD 2007 •Evolutionary refinements Zero Touch with Configuration Manager 2007 •New!

•Fully integrated experience •Single console •Adds server support •Extends and enhances Leverages core deployment tools Provides process and tool guidance

Support for Vista SP1 Support for server deployment Full support for Windows Server 2003 Support for Windows Server 2008, including Server Core installation option Install Server Roles – Hyper-V, AD etc Lite Touch enhancements Support for multicast deployments with Windows Server 2008 Windows Deployment Services Enhanced disk configuration and NIC configuration capabilities Shift from builds to task sequences to better align with ConfigMgr Support for multiple task sequence templates, including those that don’t deploy an operating system

System Center integration Full 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

Lite Touch enhancement

Designed to make Windows XP and Windows Server 2003 deployment easier Two separate capabilities For unattended installs, automate the handling of TEXTMODE driver support For 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 deployment ConfigMgr does provide this support

Support for installing updates from a WSUS server Modified ZTIWindowsUpdates.wsf script Requires configuring the WSUSServer variable Support for creating new boot images in ConfigMgr New wizard on the Boot Images node Support for additional task sequence conditions in Deployment Workbench Registry, file, installed software (MSI) Support for OEM scenarios (partial builds)

Image based installation format (install.wim) Multiple images, single file, single instance Offline servicing Hardware independent Windows PE based setup Unattend.xml

Replaces multiple files (unattend.txt, winbom.ini, sysprep.inf, cmdlines.txt) WAIK System Image Manager ImageX

Configuration Passes WindowsPE offlineServicing Generalize Specialize auditSystem auditUser oobeSystem

Software Windows AIK 1.1

USMT 3.01

Infrastructure DNS, DHCP Windows Deployment Services Active Directory

Bootstrap.ini

Customsettings.ini

Scripts Task Sequences Unattend.xml

All stored in the distribution share

Distribution – shared as Distribution$ $OEM$ Applications Boot Captures Control Operating Systems Out-of-Box Drivers Packages Scripts Servicing Tools

Standard INI file containing Sections Properties Settings [Settings] <- Section Priority = Default, MACAddress = Priority is a special property, defines the sequence of sections [Settings] section is mandatory

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

[DefaultGateway] 172.16.0.3=AKL 172.16.1.3=AKL 172.16.111.3=WLG 172.16.112.3=WLG 172.16.116.3=CHC 172.16.117.3=CHC [AKL] UDShare=\\AKL-AM-FIL-01\MigData SLShare=\\AKL-AM-FIL-01\Logs Packages1=NYC00010-Install Packages2=NYC00011-Install Administrator1=WOODGROVEBANK\AKL Help Desk Staff [CHC] UDShare=\\CHC-AM-FIL-01\MigData SLShare=\\CHC-AM-FIL-01\Logs Administrator1=WOODGROVEBANK\CHC Help Desk Staff

Build Capture Deploy

Install MDT Create the distribution share Add OS Source Files Add Device Drivers Create a Task Sequence Create a deployment point Configure Windows PE options Update the deployment point

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

Add captured OS image Create a task sequence Start target computer with LTI bootable media/PXE

MDT Workbench Overview

MDT Driver Management

MDT Lite Touch OS Management

MDT Lite Touch Multicast Deployment

Install MDT on Config Mgr Server Configure integration Install USMT 3.01

Create folders & shares Add OS Source Files Add Device Drivers Create driver packages

Import a MDT Task Sequence Follow the wizard Customise the MDT Configuration Files Distribute packages to DP’s Customise the task sequence Advertise the task sequence Boot the reference computer with bootable media/PXE

Add captured OS image Import a MDT task sequence Follow the wizard Customise the MDT Configuration Files Distribute packages to DP’s Advertise the task sequence Start target computer with LTI bootable media/PXE

MDT Integration with Configuration Manager

Task Sequence Deployment

Use deployment workbench

Can configure based on: Site – defined by IP gateways Make/model – defined using WMI information Computer – defined by MAC, asset tag, or SMBIOS UUID Role – arbitrarily assigned to sites, make/model, and computers Stores: General settings Applications to install (list) Administrator members to add (list) Roles to assign (list)

Contents maintained by the Deployment Workbench MMC snap-in Initially created by a wizard New 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 query Generally, 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

Site Configure a specific area code for all users at a site Make/model Specify a package to install on all Dell Latitude D600 computers Role Configure an “Accounting” role that specifies a list of packages to install on all computers with that role Computer Assign the “Accounting” role to a computer

Creating the MDT Database

MDT 2008 “Gather” action can query any SQL Server database Select queries or stored procedures Named pipes or TCP/IP Integrated (Windows) or standard security Columns returned should match the variable names, or can be remapped Can also query Web Services Can customise Wizard screens (or create your own new ones)

Querying Another Database

Customising the Wizard screens

Each script generates its own log file in the log path The log path will change based on the type of deployment and phase Common Log Paths: X:\MININT\SMSOSD\OSDLOGS C:\MININT\SMSOSD\OSDLOGS C:\_SmsTaskSequence\SMSOSD\OSDLOGS BDD.log contains a summarized view of all other MDT log files

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.

Windows Vista

Netsetup.log.

useful when troubleshooting domain join issues Resides in %WINDIR%\Debug;

Setupact.log.

Resides in %WINDIR%\panther; lists installation actions and is useful when investigating failed installations

Setupapi.dev.log.

Resides in %WINDIR%\inf; useful when investigating failed driver installations

Setuperr.log.

Resides in %WINDIR%\panther; details errors that occurred during installation

MDT is THE way to deploy Vista (and XP, and Server 2003, and Server 2008) LTI for when you don’t have Config Mgr ZTI for when you do (or SMS 2003) We have only scratched the surface of what you can do Download Microsoft Deployment Toolkit 2008 http://www.microsoft.com/deployment

Blogs Team blog: http://blogs.technet.com/msdeployment Mike Niehaus: http://blogs.technet.com/mniehaus Deployment Guys: http://blogs.technet.com/deploymentguys Tools MDT Wizard Editor: http://www.codeplex.com/MDTWizardEditor