Using The Microsoft Deployment Toolkit
Using The Microsoft Deployment Toolkit
Published: April 2012 For the latest information and to leave feedback, please visit Microsoft Connect at http://connect.microsoft.com.
The information in this document and any document referenced herein is provided for informational purposes only, is provided AS IS AND WITH ALL FAULTS and cannot be understood as substituting for customized service and information that might be developed by Microsoft Corporation for a particular user based upon that users particular environment. RELIANCE UPON THIS DOCUMENT AND ANY DOCUMENT REFERENCED HEREIN IS AT THE USERS OWN RISK. 2012 Microsoft Corporation. All rights reserved. If the user of this work is using the work SOLELY FOR NON-COMMERCIAL PURPOSES INTERNALLY WITHIN A COMPANY OR ORGANIZATION, then this work is licensed under the Creative Commons Attribution-NonCommercial License. To view a copy of this license, visit http://creativecommons.org/licenses/bync/2.5 or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA. MICROSOFT CORPORATION PROVIDES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION CONTAINED IN THIS DOCUMENT AND ANY DOCUMENT REFERENCED HEREIN. Microsoft Corporation provides no warranty and makes no representation that the information provided in this document or any document referenced herein is suitable or appropriate for any situation, and Microsoft Corporation cannot be held liable for any claim or damage of any kind that users of this document or any document referenced herein may suffer. Your retention of and/or use of this document and/or any document referenced herein constitutes your acceptance of these terms and conditions. If you do not accept these terms and conditions, Microsoft Corporation does not provide you with any right to use any part of this document or any document referenced herein. Complying with the applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording or otherwise), or for any purpose, without the express written permission of Microsoft Corporation. Microsoft may have patents, patent applications, trademarks, copyrights or other intellectual property rights covering subject matter within this document. Except as provided in any separate written license agreement from Microsoft, the furnishing of this document does not give you, the user, any license to these patents, trademarks, copyrights or other intellectual property. Information in this document, including URL and other Internet Web site references, is subject to change without notice. Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place or event is intended or should be inferred. Microsoft, Access, Active Directory, ActiveX, BitLocker, Excel, Hyper-V, Internet Explorer, Outlook, Silverlight, SQL Server, Visual Basic, Visual C++, Windows, Windows Live, Windows Media, Windows PowerShell, Windows Server, and Windows Vista are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
iii
Contents
Introduction to Using the Microsoft Deployment Toolkit .............................................................1 Planning MDT Deployments ...........................................................................................................6 Overview of the MDT Deployment Process ................................................................................6 Planning Checklist ......................................................................................................................7 Estimating MDT Storage Requirements .....................................................................................8 Estimate Storage Requirements for Computers Running MDT ...........................................9 Estimate Storage Requirements for MDT Deployment Shares ...........................................9 Estimate Storage Requirements for Configuration Manager Distribution Points................10 Estimate Storage Requirements for User State Migration Data ........................................11 Estimate Storage Requirements for Target Computer Backup ..........................................12 Planning for Application Deployment ........................................................................................12 Defining Operating System Components and Settings .............................................................13 Choosing a Deployment Method...............................................................................................14 Evaluating Network Requirements............................................................................................14 Using Reference Computers in MDT Deployments ..................................................................15 Choosing Thick, Thin, or Hybrid Images ...................................................................................16 Identifying Deployment Scenarios ............................................................................................18 Planning for BitLocker Drive Encryption ...................................................................................19 Evaluating Target Computer Readiness ...................................................................................20 Verify Target Computer Readiness for Running MDT Scripts ...........................................20 Verify Adequate Target Computer Resources ...................................................................20 Identify Differences in 64-bit and 32-bit Deployments .......................................................21 Planning Performance and Power Management ......................................................................22 Planning Target Computer Security ..........................................................................................23 Choosing LTI, ZTI, or UDI Deployments ...................................................................................23 Reviewing Known Issues, Limitations, and Recommendations for MDT ..................................26 Review General Known Issues, Limitations, and Recommendations for MDT ..................27 Review Known Issues, Limitations, and Recommendations That Relate to Windows 7 .........................................................................................................................33 Review Known Issues, Limitations, and Recommendations That Relate to Disks and Partitioning..................................................................................................................34 Review Known Issues, Limitations, and Recommendations That Relate to BitLocker ...........................................................................................................................36 Review Known Issues, Limitations, and Recommendations for LTI Deployments.............37 Review Known Issues, Limitations, and Recommendations for ZTI Deployments Using Configuration Manager 2012 ...................................................................................37 Review Known Issues, Limitations, and Recommendations for ZTI Deployments Using Configuration Manager 2007 R3 .............................................................................37 Review Known Issues, Limitations, and Recommendations for Running Task Sequences on Target Computers ......................................................................................38 Review Known Issues, Limitations, and Recommendations for Saving and Restoring User Information ................................................................................................38 Overview of UDI........................................................................................................................39 Installing or Upgrading to MDT ....................................................................................................40
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
iv
Reviewing Known Issues, Limitations, and Recommendations for Installing or Upgrading to MDT ....................................................................................................................40 Preparing the Prerequisite Infrastructure for All MDT Deployment Methods ............................41 Installing a New Instance of MDT .............................................................................................41 Upgrading to MDT ....................................................................................................................42 Checking for Updates to MDT Components .............................................................................43 Performing LTI Deployments ........................................................................................................44 Preparing the LTI Deployment Environment .............................................................................44 Prepare the Prerequisite LTI Infrastructure .......................................................................44 Install or Upgrade to MDT for LTI Deployments ................................................................45 Install Components That MDT and LTI Require ................................................................46 Obtain the Software That the LTI Deployment Process Requires .....................................48 Preparing for LTI Deployment to the Reference Computer.......................................................49 Deploying To and Capturing an Image of the Reference Computer in LTI ...............................50 Create the LTI Bootable Media ..........................................................................................51 Complete the Deployment Wizard .....................................................................................51 Add the Captured Image of the Reference Computer to the Deployment Workbench ........................................................................................................................52 Preparing for LTI Deployment to Target Computers .................................................................53 Prepare for the New Computer Deployment Scenario to Target Computers Using LTI .....................................................................................................................................54 Prepare for a Refresh Computer Deployment Scenario to Target Computers Using LTI ...........................................................................................................................55 Prepare for a Replace Computer Deployment Scenario to Target Computers Using LTI ...........................................................................................................................56 Deploying Captured Images to Target Computers in LTI..........................................................58 Deploy Captured Images to Target Computers in the New Computer Deployment Scenario Using LTI ............................................................................................................58 Deploy Captured Images to Target Computers in a Refresh Computer Deployment Scenario Using LTI ........................................................................................59 Deploy Captured Images to Target Computers in a Replace Computer Deployment Scenario Using LTI ........................................................................................60 Managing LTI Deployments in the Deployment Workbench ......................................................63 Managing Deployment Shares in the Deployment Workbench .................................................63 Create a New Deployment Share in the Deployment Workbench .....................................64 Open an Existing Deployment Share in the Deployment Workbench ................................66 Upgrade an Existing Deployment Share in the Deployment Workbench ...........................67 Configure a Deployment Share in the Deployment Workbench.........................................70 Copy a Deployment Share ................................................................................................84 Close a Deployment Share in the Deployment Workbench ...............................................84 Update a Deployment Share in the Deployment Workbench ............................................85 Create Bootable Devices from MDT Boot Images .............................................................87 Configuring Operating Systems in the Deployment Workbench ...............................................88 Import an Operating System into the Deployment Workbench ..........................................88 View Operating System Properties in the Deployment Workbench ...................................93 Copy an Operating System in the Deployment Workbench ...............................................94 Move an Operating System in the Deployment Workbench ..............................................94
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Rename an Operating System in the Deployment Workbench .........................................94 Delete an Operating System from the Deployment Workbench ........................................94 Manage Folders for Operating Systems in the Deployment Workbench ...........................95 Configuring Applications in the Deployment Workbench ..........................................................95 Create a New Application in the Deployment Workbench .................................................96 View and Configure an Application in the Deployment Workbench .................................101 Copy an Application in the Deployment Workbench ........................................................109 Move an Application in the Deployment Workbench .......................................................109 Rename an Application in the Deployment Workbench ...................................................109 Delete an Application from the Deployment Workbench .................................................109 Manage Folders for Applications in the Deployment Workbench ....................................109 Enable or Disable an Application in the Deployment Workbench ....................................109 Prevent an Application from Being Visible in the Deployment Wizard .............................110 Configure the Computer to Restart After Application Installation .....................................110 Customize Application Installation in Task Sequences ....................................................110 Configuring Packages in the Deployment Workbench ............................................................113 Import a New Package into the Deployment Workbench ................................................114 Modify an Existing Package in the Deployment Workbench ............................................115 Copy a Package in the Deployment Workbench .............................................................117 Move a Package in the Deployment Workbench .............................................................118 Rename a Package in the Deployment Workbench ........................................................118 Delete a Package from the Deployment Workbench .......................................................118 Manage Folders for Packages in the Deployment Workbench ........................................118 Enable or Disable a Package in the Deployment Workbench .........................................118 Prevent a Package from Being Visible in the Deployment Wizard...................................118 Customize Package Installation in Task Sequences .......................................................119 Configuring Device Drivers in the Deployment Workbench ....................................................121 Import Device Drivers into the Deployment Workbench ..................................................122 Modify Existing Device Drivers in the Deployment Workbench .......................................123 Copy Device Drivers in the Deployment Workbench .......................................................127 Move Device Drivers in the Deployment Workbench .......................................................127 Rename Device Drivers in the Deployment Workbench ..................................................127 Delete Device Drivers from the Deployment Workbench .................................................127 Manage Folders for Device Drivers in the Deployment Workbench ................................127 Enable or Disable Device Drivers in the Deployment Workbench ...................................128 Deploy Specific Device Drivers to Target Computers in LTI ............................................128 Configuring Task Sequences in the Deployment Workbench .................................................128 Create a New Task Sequence in the Deployment Workbench ........................................129 Modify an Existing Task Sequence in the Deployment Workbench .................................132 Copy Task Sequences in the Deployment Workbench....................................................142 Move Task Sequences in the Deployment Workbench ...................................................142 Rename Task Sequences in the Deployment Workbench ..............................................142 Delete Task Sequences from the Deployment Workbench .............................................142 Manage Folders for Task Sequences in the Deployment Workbench .............................142 Enable or Disable a Task Sequence in the Deployment Workbench...............................143 Prevent a Task Sequence from Being Visible in the Deployment Wizard ........................143
Solution Accelerators microsoft.com/technet/SolutionAccelerators
vi
Modify the Unattended Setup Answer File Associated with the Task Sequence .............143 Performing Common Management Tasks in the Deployment Workbench .............................143 Manage Folders in the Deployment Workbench ..............................................................144 View Item Properties in the Deployment Workbench.......................................................147 Copy Items in the Deployment Workbench .....................................................................148 Move Items in the Deployment Workbench .....................................................................150 Rename Items in the Deployment Workbench ................................................................151 Delete Items from the Deployment Workbench ...............................................................152 Performing Advanced Configuration Tasks in the Deployment Workbench ............................154 Manage Selection Profiles ...............................................................................................154 Manage Linked Deployment Shares................................................................................160 Manage LTI Deployment Media.......................................................................................167 Manage the MDT DB .......................................................................................................186 Configuring LTI Task Sequence Steps in the Deployment Workbench ..................................186 Configure Task Sequence Step Conditions .....................................................................186 Configure Disk Task Sequence Steps .............................................................................193 Configure Network Task Sequence Steps .......................................................................196 Configure Server Role Task Sequence Steps for LTI ......................................................202 Configure the Check BIOS Task Sequence Step for the List of Incompatible BIOS Versions .................................................................................................................203 Monitoring LTI Deployments ...................................................................................................204 Enable LTI Deployment Monitoring .................................................................................204 View LTI Deployment Progress .......................................................................................205 Supporting Windows RE and DaRT........................................................................................207 Enable Windows RE Support ..........................................................................................208 Enable DaRT Support .....................................................................................................208 Customize DaRT When Integrated with MDT ..................................................................210 Running the Deployment Wizard ................................................................................................211 Performing ZTI Deployments Using Configuration Manager 2012 ..........................................223 Preparing the ZTI Deployment Environment for Configuration Manager 2012 .......................223 Prepare the Prerequisite ZTI Infrastructure for Use with Configuration Manager 2012 .................................................................................................................224 Install or Upgrade to MDT for the ZTI Deployment Process Using Configuration Manager 2012 .................................................................................................................224 Obtain the Software That the ZTI Deployment Process Using Configuration Manager 2012 Requires ..................................................................................................225 Enable Configuration Manager Console Integration for Configuration Manager 2012 .................................................................................................................225 Preparing for ZTI Deployment to the Reference Computer Using Configuration Manager 2012 ........................................................................................................................227 Deploying To and Capturing an Image of the Reference Computer Using Configuration Manager 2012 ..................................................................................................228 Preparing for ZTI Deployment to Target Computers Using Configuration Manager 2012 ........................................................................................................................228 Prepare for the ZTI New Computer Deployment Scenario to Target Computers Using Configuration Manager 2012 .................................................................................229 Prepare for the ZTI Refresh Computer Deployment Scenario to Target Computers Using Configuration Manager 2012...............................................................230
Solution Accelerators microsoft.com/technet/SolutionAccelerators
vii
Prepare for the ZTI Replace Computer Deployment Scenario to Target Computers Using Configuration Manager 2012...............................................................232 Deploying Captured Images to Target Computers Using Configuration Manager 2012 .........233 Deploy Captured Images to Target Computers in the ZTI New Computer Deployment Scenario Using Configuration Manager 2012 ..............................................234 Deploy Captured Images to Target Computers in the ZTI Refresh Computer Deployment Scenario Using Configuration Manager 2012 ..............................................235 Deploy Captured Images to Target Computers in the Replace Computer Deployment Scenario Using Configuration Manager 2012 ..............................................236 Managing ZTI Deployments in the Configuration Manager Console in Configuration Manager 2012 ...............................................................................................................................238 Creating a ZTI Task Sequence Using MDT Task Sequence Templates in Configuration Manager 2012 ..................................................................................................239 Identify the Task Sequence Templates in MDT in Configuration Manager 2012 .............239 Identify the Packages and Images That the MDT Task Sequence Templates in Configuration Manager 2012 Require..............................................................................240 Create ZTI Task Sequences Using the Create MDT Task Sequence Wizard in Configuration Manager 2012 ...........................................................................................242 Managing Operating Systems in Configuration Manager 2012 ..............................................256 Managing Device Drivers in Configuration Manager 2012......................................................256 Import Drivers into Configuration Manager 2012 .............................................................257 Create a New Configuration Manager 2012 Driver Package ...........................................257 Add Device Drivers to Operating System and Boot Images in Configuration Manager 2012 .................................................................................................................257 Deploy Specific Device Drivers to Target Computers in Configuration Manager 2012 .................................................................................................................258 Deploying an Operating System Using Task Sequence Bootable Media in Configuration Manager 2012 ..................................................................................................258 Creating Task Sequence Bootable Media in Configuration Manager 2012 ............................259 Creating ZTI Boot Images in Configuration Manager 2012.....................................................259 Managing Software Packages in Configuration Manager 2012 ..............................................262 Add Language Packs in Configuration Manager 2012 ....................................................262 Add Software Updates in Configuration Manager 2012...................................................265 Managing Task Sequence Deployment in Configuration Manager 2012 ................................267 Manually Adding Computers to the Site Database in Configuration Manager 2012 ...............268 Managing Computer Collections in Configuration Manager 2012 ...........................................268 Managing Distribution Points in Configuration Manager 2012 ................................................268 Configuring ZTI Task Sequence Steps in Configuration Manager 2012 .................................269 Configuring ZTI Server Role Task Sequence Steps in Configuration Manager 2012 .............269 Performing ZTI Deployments Using Configuration Manager 2007 R3 ....................................270 Preparing the ZTI Deployment Environment for Configuration Manager 2007 R3 ..................270 Prepare the Prerequisite ZTI Infrastructure for Use with Configuration Manager 2007 R3 ............................................................................................................271 Install or Upgrade to MDT for the ZTI Deployment Process Using Configuration Manager 2007 R3 ............................................................................................................271 Obtain the Software That the ZTI Deployment Process Using Configuration Manager 2007 R3 Requires.............................................................................................272 Enable Configuration Manager Console Integration for Configuration Manager 2007 R3 ............................................................................................................272
Solution Accelerators microsoft.com/technet/SolutionAccelerators
viii
Preparing for ZTI Deployment to the Reference Computer Using Configuration Manager 2007 R3 ...................................................................................................................273 Deploying To and Capturing an Image of the Reference Computer Using Configuration Manager 2007 R3 .............................................................................................275 Preparing for ZTI Deployment to Target Computers Using Configuration Manager 2007 R3 ...................................................................................................................275 Prepare for the ZTI New Computer Deployment Scenario to Target Computers Using Configuration Manager 2007 R3 ...........................................................................276 Prepare for the ZTI Refresh Computer Deployment Scenario to Target Computers Using Configuration Manager 2007 R3 .........................................................277 Prepare for the ZTI Replace Computer Deployment Scenario to Target Computers Using Configuration Manager 2007 R3 .........................................................278 Deploying Captured Images to Target Computers Using Configuration Manager 2007 R3 ...................................................................................................................280 Deploy Captured Images to Target Computers in the New Computer Deployment Scenario Using Configuration Manager 2007 R3 ............................................................281 Deploy Captured Images to Target Computers in the Refresh Computer Deployment Scenario Using Configuration Manager 2007 R3 ........................................282 Deploy Captured Images to Target Computers in the Replace Computer Deployment Scenario Using Configuration Manager 2007 R3 ........................................283 Managing ZTI Deployments in Configuration Manager 2007 R3 Configuration Manager Console .........................................................................................................................285 Creating a ZTI Task Sequence Using MDT Task Sequence Templates in Configuration Manager 2007 R3 .............................................................................................286 Identify the ZTI Task Sequence Templates in MDT in Configuration Manager 2007 R3 ............................................................................................................286 Identify the Packages and Images That the MDT Task Sequence Templates in Configuration Manager 2007 R3 Require ........................................................................287 Create ZTI Task Sequences Using the Create MDT Task Sequence Wizard in Configuration Manager 2007 R3......................................................................................289 Managing Operating Systems in Configuration Manager 2007 R3 .........................................303 Managing Device Drivers in Configuration Manager 2007 R3 ................................................303 Import Drivers into Configuration Manager 2007 R3 .......................................................303 Create a New Driver Package in Configuration Manager 2007 R3..................................303 Add Device Drivers to Operating System and Boot Images in Configuration Manager 2007 R3 ............................................................................................................304 Deploy Specific Device Drivers to Target Computers in Configuration Manager 2007 R3 ............................................................................................................305 Deploying an Operating System Using Task Sequence Bootable Media in Configuration Manager 2007 R3 .............................................................................................305 Creating Task Sequence Bootable Media in Configuration Manager 2007 R3 .......................305 Creating ZTI Boot Images in Configuration Manager 2007 R3 ...............................................306 Managing Software Packages in Configuration Manager 2007 R3.........................................309 Add Language Packs in Configuration Manager 2007 R3 ...............................................309 Add Software Updates in Configuration Manager 2007 R3 .............................................311 Managing Advertisements in Configuration Manager 2007 R3 ...............................................312 Manually Adding Computers to the Site Database in Configuration Manager 2007 R3 ..........313 Managing Computer Collections in Configuration Manager 2007 R3 .....................................313 Managing Distribution Points in Configuration Manager 2007 R3 ..........................................313 Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3 ...........................314
Solution Accelerators microsoft.com/technet/SolutionAccelerators
ix
Configuring ZTI Server Role Task Sequence Steps in Configuration Manager 2007 R3 ...................................................................................................................314 Performing UDI Deployments .....................................................................................................316 Overview of UDI Deployments ................................................................................................316 Overview of UDI in MDT Deployment Scenarios .............................................................317 Overview of Built-in UDI Components .............................................................................322 Preparing the UDI Deployment Environment ..........................................................................323 Prepare the Prerequisite Infrastructure for UDI Deployments..........................................323 Install or Upgrade to MDT for UDI Deployments .............................................................324 Obtain the Software That the UDI Deployment Process Requires ..................................325 Enable Configuration Manager Console Integration for UDI ............................................325 Preparing for UDI Deployment to the Reference Computer ....................................................326 Deploying To and Capturing an Image of the Reference Computer Using UDI ......................327 Preparing for UDI Deployment to Target Computers ..............................................................328 Prepare for the New Computer Deployment Scenario to Target Computers Using UDI ..................................................................................................................................329 Prepare for the Refresh Computer Deployment Scenario to Target Computers Using UDI ........................................................................................................................331 Prepare for the Replace Computer Deployment Scenario to Target Computers Using UDI ........................................................................................................................332 Deploying Captured Images to Target Computers Using UDI ................................................334 Deploy Captured Images to Target Computers in the New Computer Deployment Scenario Using UDI .........................................................................................................336 Deploy Captured Images to Target Computers in the Refresh Computer Deployment Scenario Using UDI .....................................................................................336 Deploy Captured Images to Target Computers in the Replace Computer Deployment Scenario Using UDI .....................................................................................337 Managing UDI Deployments .......................................................................................................340 Overview of UDI Administration ..............................................................................................341 Creating a UDI Task Sequence Using MDT Task Sequence Templates ................................343 Identify the UDI Task Sequence Templates in MDT ........................................................344 Identify the Packages and Images That the UDI Task Sequence Templates Require ............................................................................................................................344 Create UDI Task Sequences Using the Create MDT Task Sequence Wizard ................345 Configuring UDI Wizard Behavior ...........................................................................................345 Review UDI Wizard Designer Concepts ..........................................................................346 Identify UDI Deployment Process Components...............................................................347 Review the Relationship Among UDI Wizard Pages, Wizard Page Editors, and the UDI Wizard Configuration File ...................................................................................348 Review the UDI Wizard Designer User Interface .............................................................349 Create a New UDI Wizard Configuration File ..................................................................359 Open an Existing UDI Wizard Configuration File .............................................................360 Save UDI Wizard Configuration Updates ........................................................................360 Override the Configuration File That the UDI Wizard Uses .............................................361 Configure the UDI Wizard Title and Banner Image..........................................................362 Add a Wizard Page to a Stage ........................................................................................363 Remove a Wizard Page from a Stage .............................................................................363 Change the Wizard Page Sequence Flow Within a Stage ...............................................364
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Allow or Prevent Users from Entering Information in a Control on a Wizard Page ..........364 Configure the User Experience for a Wizard Page ..........................................................365 Preview Wizard Pages and the Wizard Page Sequence Flow ........................................366 Add a Wizard Page to the Page Library ..........................................................................366 Remove a Wizard Page from the Page Library ...............................................................367 Change the Sequence of a Stage Group or a Stage .......................................................367 Prepare for Language Pack Deployment in UDI ..............................................................369 Skip a Wizard Page .........................................................................................................369 Running the UDI Wizard ..............................................................................................................371 Configuring MDT Deployments ..................................................................................................373 Customizing MDT Configuration Files ....................................................................................374 Identify the CustomSettings.ini File Syntax .....................................................................374 Sections in the CustomSettings.ini File ...........................................................................375 Properties in the CustomSettings.ini File .........................................................................376 Basic CustomSettings.ini File for LTI Deployments .........................................................378 Basic CustomSettings.ini File for ZTI Deployments Using Configuration Manger 2012 or Configuration Manager 2007 R3 ...........................................................380 Identify the BootStrap.ini File Syntax ...............................................................................384 Configuring the Appropriate MDT Properties ..........................................................................385 Applying MDT Properties to Groups of Computers .................................................................386 Select the Method for Grouping Computers ....................................................................386 Apply the Properties to the Groups..................................................................................388 Applying MDT Properties to Individual Computers .................................................................389 Configuring MDT Processing Rules ........................................................................................391 Configure the Rules in the CustomSettings.ini File..........................................................391 Configure the Rules in the MDT DB ................................................................................392 Preparing Disks on Target Computers....................................................................................392 Review the Default Partition Configuration Created by MDT ...........................................393 Prepare for Deployment to Virtual Hard Disks with Native Boot ......................................394 Configure the Create VHD Disk Task Sequence Step Type ............................................395 Deploy to Computers with UEFI ......................................................................................396 Configure Disk Preparation Task Sequence Steps ..........................................................397 Configure Disk Preparation Properties ............................................................................398 Saving and Restoring User State Information .........................................................................399 Review User State Information Task Sequence Steps ....................................................399 Configure User State Information Properties ...................................................................400 Configure User State Migration XML Control Files ..........................................................401 Joining Target Computers to AD DS Domains .......................................................................402 Join Domains Using the Deployment Wizard...................................................................402 Join Domains by Modifying the CustomSettings.ini File ..................................................403 Join Domains by Modifying the Unattended.xml File .......................................................404 Join Domains Using the Recover from Domain Join Failure Task Sequence Step Type ................................................................................................................................404 Join Domains Using Offline Domain Join ........................................................................406 Deploying Software Updates to Target Computers.................................................................406 Select the Software Update Deployment Strategy...........................................................407
Solution Accelerators microsoft.com/technet/SolutionAccelerators
xi
Deploy Software Updates with Windows Update Agent for LTI Deployments .................407 Deploy Software Updates with the Deployment Workbench for LTI Deployments ..........407 Deploy Software Updates with Configuration Manager 2012 for ZTI Deployments .........408 Deploy Software Updates with Configuration Manager 2007 R3 for ZTI Deployments....................................................................................................................408 Managing Device Drivers ........................................................................................................409 Select the Device Driver Management Strategy ..............................................................409 Control Device Driver Deployments for LTI .....................................................................411 Control Device Driver Deployments Using Configuration Manager 2012 for ZTI .............416 Control Device Driver Deployments Using Configuration Manager 2007 R3 for ZTI ...................................................................................................................................418 Resolve Device Driver Signing Issues .............................................................................419 Running Windows PowerShell Scripts During Deployment ....................................................419 Applying Group Policy Object Packs ......................................................................................420 Identify or Create the GPO Packs ...................................................................................421 Place the GPO Packs in the Appropriate MDT Folders ...................................................422 Configure MDT to Deploy the GPO Packs ......................................................................422 Enabling Participation in CEIP and WER................................................................................423 Configuring Server Role Task Sequence Steps for LTI and ZTI .............................................423 Configure AD DS Server Role Task Sequence Step Settings for LTI and ZTI ................424 Configure DNS Server Role Settings for LTI and ZTI ......................................................432 Configure DHCP Server Role Task Sequence Step Settings for LTI and ZTI .................434 Configure Authorize DHCP Task Sequence Step Settings for LTI and ZTI .....................438 Copying Content to the Target Computer ...............................................................................439 Copy Content to Target Computers Using Task Sequence Steps ...................................439 Copy Content to Target Computers Using $OEM$ Folders .............................................439 Creating Custom Scripts for MDT ...........................................................................................441 Develop Custom Scripts ..................................................................................................441 Create New Scripts from a Template ...............................................................................444 Create Windows PowerShell Scripts for Use in MDT ......................................................447 Performing Deployments Using the MDT DB ............................................................................451 Creating a New MDT DB or Connecting to an Existing MDT DB ............................................451 Create a New MDT DB ....................................................................................................452 Connect to an Existing MDT DB ......................................................................................456 Upgrading an Existing MDT DB ..............................................................................................458 Assigning the Appropriate Permissions to the MDT DB..........................................................458 Managing Configuration Settings Stored in the MDT DB ........................................................459 Manage Configuration Settings Stored in the MDT DB Using the Deployment Workbench ......................................................................................................................459 Manage Configuration Settings Stored in the MDT DB Using SQL Server Management Tools ..........................................................................................................463 Configuring the MDT Deployment Process to Access the MDT DB .......................................464 Configure Access to the MDT DB Using the Configure DB Wizard .................................464 Configure Access to the MDT DB by Directly Modifying the CustomSettings.ini File...................................................................................................................................474 Extending the MDT DB Schema .............................................................................................476 Determine the Tables and Views to Be Modified .............................................................477
Solution Accelerators microsoft.com/technet/SolutionAccelerators
xii
Create a Backup of the MDT DB .....................................................................................477 Modify the Table ..............................................................................................................477 Modify and Refresh the Dependent Views ......................................................................478 Reference the New Column in the CustomSettings.ini File .............................................479 Reference the New Column in a Task Sequence Step ....................................................480 Preparing the MDT Migration Resources ...................................................................................482 Creating Additional Shared Folders ........................................................................................482 Configuring Shared Folder Permissions .................................................................................482 Configuring Access to Other Resources .................................................................................483 Preparing Windows Deployment Services ................................................................................485 Preparing Windows Deployment Services for LTI Deployments .............................................485 Add LTI Boot Images to Windows Deployment Services .................................................486 Pre-stage Target Computers for Windows Deployment Services for LTI Deployments....................................................................................................................486 Enable Windows Deployment Services Multicast Deployment for LTI Deployments....................................................................................................................487 Preparing Windows Deployment Services for ZTI Deployments Using Configuration Manager 2012 ........................................................................................................................490 Preparing Windows Deployment Services for ZTI Deployments Using Configuration Manager 2007 R3 ...................................................................................................................491 Preparing Windows Deployment Services for UDI Deployments ............................................491 Deploying Applications Using MDT and Microsoft Application Virtualization .......................492 Microsoft Application Virtualization 4.5 ...................................................................................492 App-V Components .........................................................................................................493 App-V Limitations ............................................................................................................495 Planning..................................................................................................................................496 Plan the Infrastructure .....................................................................................................497 Plan the App-V Sequencer Environment .........................................................................498 Choose a Deployment Method ........................................................................................498 Use App-V for Thin Images .............................................................................................499 Plan the Client Deployment .............................................................................................501 Plan for High Availability ..................................................................................................503 Identify Subject Matter Experts ........................................................................................503 Choose Applications to Sequence ...................................................................................504 Developing ..............................................................................................................................504 Prepare for Development ................................................................................................504 Sequence Applications ....................................................................................................512 Deploy the App-V Desktop Client ....................................................................................518 Deploy Applications .........................................................................................................523 Stabilizing ...............................................................................................................................527 Test the Client Environment ............................................................................................528 Test Application Distribution ............................................................................................528 Deploying................................................................................................................................529 Install App-V Servers at Each Site...................................................................................530 Implement the Application Distribution Strategy ..............................................................530 Monitor Key App-V Services ............................................................................................530
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
xiii
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
MDT performs deployments by using the Lite Touch Installation (LTI), Zero Touch Installation (ZTI), and User-Driven Installation (UDI) deployment methods. Only MDT is used in LTI deployments, while ZTI and UDI deployments are performed using MDT with Microsoft System Center 2012 Configuration Manager or System Center Configuration Manager 2007 R3. You can use Microsoft System Center Essentials 2010 to collect inventory and perform patch management for LTI deployments. ZTI and UDI deployments require Configuration Manager 2012 or Configuration Manager 2007 R3. For more information about: System Center Essentials, see the product home page at http://www.microsoft.com/systemcenter/essentials/en/us/default.aspx Differences between Microsoft System Center Essentials 2007 and Configuration Manager 2007, see Detailed comparison with System Center Configuration Manager 2007 This document covers both deployment methods and shows how to customize the deployment process for an organization. In addition to this document, Table 1 lists other documents that will help you perform deployments using MDT in your organization. Table 1. Additional MDT Documents for Use in the Deployment Process Document Microsoft Deployment Toolkit Samples Guide Description Provides scenario-based samples of how to solve common deployment issues using MDT. Most samples include example configuration files and step-by-step processes for implementing the solution. Use this document to help solve difficult deployment problems. Provides information about the task sequence steps, properties, support files, utilities, and databases used in MDT deployments. Use this document to help customize MDT deployments for your organization. Provides information to assist in troubleshooting
microsoft.com/technet/SolutionAccelerators
Toolkit Reference
Troubleshooting
Solution Accelerators
Document Reference
Description common problems with MDT deployments, including lists of known issues, reviewing logs, and identifying issues by error code.
This document is organized to help you through the planning, building, and deploying processes in your organization. The following sections in this guide help you perform LTI, ZTI, and UDI deployments and customize the deployment process. Table 2 lists each section in this guide, with a brief overview of each. Table 2. Sections in This Document Section Planning MDT Deployments Overview Provides guidance for completing the planning tasks in preparation for MDT deployments. Review this section to help identify prerequisites, perform capacity planning, and perform any infrastructure remediation prior to deployment in a production environment, and learn how to install MDT in the environment. Provides guidance for performing a new installation of MDT or upgrading to MDT from previous versions of MDT or Microsoft Business Desktop Deployment (BDD). Provides guidance for deploying Windows operating systems and applications using only MDT. The guidance presented in this section starts immediately after the installation of MDT and provides the steps for creating a reference computer, capturing an image of the reference computer, and then deploying the captured image to target computers in the organization. Provides guidance and step-by-step instructions for managing LTI deployments using the Deployment Workbench, including managing operating systems, device drivers, applications, the MDT database (MDT DB), and other deployment elements in the Deployment Workbench. Provides guidance of how to run the Deployment Wizard to deploy operating systems, device drivers, and applications to the target computers in your organization. Provides guidance for deploying Windows operating systems and applications using MDT and Configuration Manager 2012. The guidance
microsoft.com/technet/SolutionAccelerators
Overview presented in this section starts immediately after the installation of MDT and provides the steps for creating a reference computer, capturing an image of the reference computer, and then deploying the captured image to target computers in the organization using Configuration Manager 2012. Provides guidance and step-by-step instructions for managing ZTI deployments using the Configuration Manager console in Configuration Manager 1012, including managing operating systems, device drivers, applications, and other deployment elements. Provides guidance for deploying Windows operating systems and applications using MDT and Configuration Manager 2007 R3. The guidance presented in this section starts immediately after the installation of MDT and provides the steps for creating a reference computer, capturing an image of the reference computer, and then deploying the captured image to target computers in the organization using Configuration Manager 2007 R3. Provides guidance and step-by-step instructions for managing ZTI deployments using the Configuration Manager console in Configuration Manager 2007 R3, including managing operating systems, device drivers, applications, and other deployment elements.
Note Most of the deployment process and step-by-step instructions for ZTI using Configuration Manager 2007 R3 are applicable to UDI.
Managing ZTI Deployments in the Configuration Manager Console in Configuration Manager 2012 Performing ZTI Deployments Using Configuration Manager 2007 R3
Provides guidance for deploying Windows operating systems and applications using MDT, Configuration Manager 2007 R3 or Configuration Manager 2012, and the UDI Wizard. The guidance presented in this section starts immediately after the installation of MDT and provides the steps for creating a reference computer, capturing an image of the reference computer, and then deploying the captured image to target computers in the organization using the Configuration Manager console and the UDI Wizard. Provides guidance and step-by-step instructions for managing UDI deployments using the
microsoft.com/technet/SolutionAccelerators
Managing UDI
Solution Accelerators
Section Deployments
Overview Configuration Manager console, the UDI Wizard Designer, and the UDI Wizard, including: Managing operating systems, device drivers, applications, and other deployment elements in the Configuration Manager console in Configuration Manager 2007 R3 or Configuration Manager 2012.
Note Most of the deployment process and step-by-step instructions for ZTI using Configuration Manager 2007 R3 or Configuration Manager 2012 are applicable to UDI.
Managing the behavior of the UDI Wizard. Running the UDI Wizard Provides guidance of how to run the UDI Wizard to deploy operating systems, device drivers, and applications to the target computers in your organization. Provides guidance on how to customize the process for more advanced deployment scenarios, including a discussion of the MDT configuration files, how to apply configuration settings to groups of computers, and how to apply configuration settings to individual computers. Provides guidance on customizing the process for more advanced deployment scenarios, including how to add entries to and retrieve configuration settings from the MDT DB. Provides guidance on preparing the appropriate resources used in the MDT deployment process, including network shared folders and database access. Provides guidance on preparing Windows Deployment Services for use in initiating the LTI, ZTI, and UDI deployment processes, including creating images and configuring for integration with LTI, ZTI, and UDI deployments.
Deploying Applications Provides guidance on how to deploy applications Using MDT and Microsoft by using MDT, Configuration Manager, and Application Virtualization Microsoft Application Virtualization (App-V), including deployment of applications with the operating system image or after the image is deployed.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Feedback
Microsoft Connect is a place for you to submit bugs and suggestions for Microsoft productsincluding Microsoft Solution Acceleratorsthat Microsoft will consider for future releases. When you join the site, you will be able to: Find Microsoft products that are currently accepting feedback from the community Participate in feedback programs that Microsoft product teams manage Download and test beta products Submit bugs and suggestions for future releases of Microsoft products Vote, comment on, and validate other people's feedback To leave feedback on Microsoft Connect, perform the following steps: 1. Go to http://connect.microsoft.com. 2. Sign in using any valid Windows Live ID. 3. At the top of the page, click Directory. 4. In the list, scroll down to Solution Accelerators Microsoft Deployment Connection Program, and then click Join. Approval is automatic. 5. In the navigation pane, click Feedback. Please provide feedback on the usefulness of this guide by filling out the survey at http://go.microsoft.com/fwlink/?LinkID=132579.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Figure 1. High-level deployment process The high-level LTI, ZTI, and UDI deployment process is as follows: 1. Collect the files necessary to perform an MDT deployment, including: Windows operating system source files or images Windows operating system language packs Device drivers for reference and target computers
Solution Accelerators microsoft.com/technet/SolutionAccelerators
2. Create the system images, configuration settings, and task sequences to be used in deploying Windows and applications to the reference computers. 3. Deploy the system images to the reference computer and capture an image of the reference computer. 4. Create the configuration settings and task sequences that will deploy the captured images of the reference computers to the target computers. 5. Deploy the captured images of the reference computers to the target computers.
Planning Checklist
Table 3 provides a planning checklist in the form of a list of questions that you can use to help in the planning process. For each question, use the information provided in the Overview column to help find answers based on your organizations requirements. Table 3. Planning Checklist Question Where will you store your distribution files? Overview Files for the operating system and applications are stored in deployment shares for LTI and distribution points for ZTI and UDI. These files can require many gigabytes of space. Some organizations might need multiple deployment shares or distribution points for different regional offices. For more information, see Estimating MDT Storage Requirements. Will you deploy across the network, with removable media, or both? Will you use multicast deployments? If you are deploying across the network, verify that there is sufficient bandwidth between the deployment shares, distribution points, and the target computers, and provide regional distribution points. For more information, see Choosing a Deployment Method and Evaluating Network Requirements. What is your imaging and source file strategy? Will you deploy a full set of operating system files or a custom image? How will you handle product keys and licensing?
Solution Accelerators
For more information, see Using Reference Computers in MDT Deployments. For more information, see Using Reference Computers in MDT Deployments. Small organizations might assign each user an individual product key. Larger
microsoft.com/technet/SolutionAccelerators
Question
Overview organizations should use Key Management Service (KMS) or Multiple Activation Key (MAK) activation. For more information, see Product Activation and Key Information. Users can select this information at deployment time, or you can configure the information ahead of time. For more information, see Choosing LTI, ZTI, or UDI Deployments. For more information, see Identifying Deployment Scenarios.
Are you going to allow users to choose their own operating system, applications, locale, time zone, and administrative password? Will users refresh their current computer in place, migrate settings to a new operating system installation, or get a new computer? Which users will be able to install which applications? Are you going to migrate user state? Do you want to back up computers before deployment? Do you want to use BitLocker Drive Encryption? Will you deploy 32-bit and 64bit operating systems? Will you deploy different product editions (such as Professional, Ultimate, or Business)? What type of deployments will be performed (for example, deploy a new computer, replace an existing computer)?
For more information, see Planning for Application Deployment. For more information, see Estimate Storage Requirements for User State Migration Data. For more information, see Estimate Storage Requirements for Target Computer Backup. For more information, see Planning for BitLocker Drive Encryption. For more information, see Estimating MDT Storage Requirements. For more information, see Estimating MDT Storage Requirements.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Computers running MDT as described in Estimate Storage Requirements for Computers Running MDT Each MDT deployment share as described in Estimate Storage Requirements for MDT Deployment Shares Each Configuration Manager distribution point as described in Estimate Storage Requirements for Configuration Manager Distribution Points User state migration data as described in Estimate Storage Requirements for User State Migration Data Backing up existing computers prior to deployment for Refresh Computer deployment scenario as described in Estimate Storage Requirements for Target Computer Backup
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
10
Edition of the Windows operating system to be deployed. A separate image is required for each edition of Windows, such as Tablet PC, Ultimate, Business, Enterprise, or Datacenter. Processor type. A separate image is required for 32-bit and 64-bit versions of Windows. Hardware abstraction layer (HAL) type for Windows XP or Windows Server 2003 target operating systems. When the target operating system is Windows XP or Windows Server 2003, each image is unique for the HAL. For Windows Vista and later client operating systems, the HAL is dynamically identified at startup. Current computer hardware typically has of the following Advanced Configuration and Power Interface (ACPI) HAL types: Advanced ACPI UniProc ACPI MultiProc ACPI You can create one Windows XP or Windows Server 2003 image that includes both the UniProc ACPI and MultiProc HAL types. However, you will need to create separate images for computers with the Advanced ACPI HAL type. Most server computers have the MultiProc HAL type. Each localized operating system language version required. For Windows XP and Windows Server 2003, you may have a separate image for each localized version of Windows, such as Chinese simplified or Japanese. A localized version of Windows contains only that language. Instead of using localized versions for Windows XP and Windows Server 2003, however, you can use an English version of Windows with Windows Multilingual User Interface (MUI) packs for each language to be supported. The MUI versions provide more flexibility, but the localized versions generally provided better support for the local languages. For Windows Vista and later operating systems, the operating system core is language neutral, and you add one or more language packs to the operating system core.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
11
Configuration Manager 2012 distribution points, see the section, Distribution Point, in the section, Planning ConfigMgr Site Systems for Operating System Deployments, in the Configuration Manager 2012 Documentation Library, which is installed with Configuration Manager 2012 Configuration Manager 2007 R3 distribution points, see the section, Distribution Point, in the section, Planning ConfigMgr Site Systems for Operating System Deployments, in the Configuration Manager 2007 Documentation Library, which is installed with Configuration Manager 2007
On a shared folder located on a local server to provide a consistent method of storing user state migration data or when local storage is not available If user state migration data will be stored locally on the target computers, designate a shared folder in which the deploy process can store the data. By default, the process attempts to store user state data on the local hard disk for the Replace Computer and Refresh Computer scenarios. However, you can override this behavior with configuration settings in CustomSettings.ini. In the event that there is insufficient disk space for the user state data and new image, the deployment scripts attempt to store the information in a shared folder. Providing the shared folder as an alternate storage location makes the deployment process more reliable. Create a share on a server designated during the planning process for holding the USMT store files. MDT uses values found in CustomSettings.ini to locate the user state store folder.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
12
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
13
Create an application portfolio. Application portfolios include a list of applications and the compatibility status of each application. You can create this application portfolio by using software-inventory software such as the Application Compatibility Toolkit (ACT), the Asset and Compliance feature in Configuration Manager 2012, or the Software Inventory feature in Configuration Manager 2007 R3. Identify any dependencies between applications. Applications may have dependencies on other applications. For example, an application may rely on Microsoft Office Excel 2007. Identify these dependencies, and include the dependent software in the deployment plans. Determine whether to deploy applications with the operating system image or afterwards. You can deploy applications as part of the operating system image or after the operating system is deployed to the target computer. If the application is deployed after the operating system is deployed, you can use any software-deployment software, such as MDT, Group Policy Software Installation, the Application Management feature in Configuration Manager 2012, or the Software Deployment feature in Configuration Manager 2007 R3. Determine the appropriate method for running applications. You can install and run applications on the local computer or deploy them dynamically in a virtualized application environment, such as App-V. Identify the users approved to install applications. Determine whether users will install their applications or if the applications need to be installed by deployment technicians. Ensure that the user installing the application has the appropriate rights and permissions. Identify applications that require a restart of the operating system. Applications that require a restart of the operating system after installation require additional configuration. For more information, see Configure the Computer to Restart After Application Installation.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
14
Operating system components. Select the components required for the applications and user roles performed on the target computers. Install only the components that are required to help reduce the attack surface of the target computer and the image size. Server roles. Select the server roles required for the server computers. Install only the server roles that are required to help reduce the attack surface of the target computer and the image size. Windows PE components. These components include Microsoft ActiveX Data Objects (ADO) support, fonts, and the necessary drivers and packages. You can select the components for 32-bit and 64-bit versions of Windows PE. Configuration settings. Identify the configuration settings for components included in the images. Select configuration settings that meet the business and security requirements of the organization. For more information about target computer security, see Planning Target Computer Security.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
15
If the organization cannot provide sufficient network capacity to deploy images, software, and migration data to computers, perform one of the following actions: Temporarily place the appropriate servers (for example, servers hosting the various shared folders or the server running Windows Deployment Services) closer to the target computers for the duration of the migration. Temporarily move the target computers to a staging area where the computers can be deployed, and then return them to their original location. Store user state migration data locally on the target computers. Perform automated deployments locally using media deployments in LTI. In addition to network capacity, you must enable the appropriate network protocols and traffic. For example, if you want to initiate LTI, ZTI, or UDI deployment using Windows Deployment Services and multicast deployment, you must enable multicast traffic between the MDT infrastructure and target computers.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
16
Windows Vista and later operating systems, VMs work well for creating reference images, because the HAL issues are not applicable.
Note VMs typically do not have the same performance as physical computers, so creating the reference images may take longer.
Disadvantage Requires more storage for each image. Requires more time to download over network connections than thin or hybrid images. Requires an increased image maintenance effort, because any updates to operating systems, device drivers, applications, or language packs requires the creation of a new image.
microsoft.com/technet/SolutionAccelerators
17
Method
Advantage and the Software Deployment feature in Configuration Manager 2007 R3. Requires less storage for each image.
Disadvantage
Thin
Can be more complex to create initially, because additional steps are required Requires less time than thick during image creation. images to download over network connections. Potential for increased complexity, because Reduced image advanced scripting may be maintenance effort, because required. the image contains fewer components. Applications and languages are not immediately available after image deployment is complete.
Hybrid
Requires less storage than thick images for each image. Requires less time to than thick a thick image to download over network connections. Reduced image maintenance effort, because the image contains fewer components. Does not require separate software-distribution software.
Can be more complex than a thick image (but not than a thin image) to create, because additional steps are required during image creation. Potential for increased complexity, because advanced scripting (though not as advanced as in thin images) may be required. Applications and languages are not immediately available after image deployment is complete.
The costs associated with building, maintaining, and deploying disk images includes: Development costs. Development costs include creating a well-engineered image to lower future support costs and improve security and reliability. Higher levels of automation reduce development costs. Test costs. These costs include the time and labor involved in testing the standard image and the applications that might reside inside it in addition to applications applied after deployment. Test costs also include the development time required to stabilize disk images.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
18
Storage costs. Storage costs include storing the distribution points, disk images, migration data, and backup images. Storage costs can be significant depending on the number of disk images, the number of computers in each deployment run, and so on. Network costs. Network costs include moving disk images to distribution points and to computers. The disk-imaging technologies that Microsoft provides do not support multicasting, so network costs scale linearly with the number of distribution points you must replicate and the number of computers in the deployment project. As the size of image files increases, costs increase. Large images have more updating, testing, distribution, network, and storage costs associated with them. Even if only a small portion of the image is updated, the entire image must be redistributed.
New Computer
A new installation of a Windows operating system is deployed to a new computer. A computer is refreshed, including computers that must be re-imaged for image standardization or to address a problem. One computer replaces another computer. The existing user state migration data is saved from the original computer. Then, a new installation of Windows is deployed to a new computer. Finally, the user state data is restored to the new computer.
No
Refresh Computer
Yes
Yes
No
Replace Computer
Yes
No
No
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
19
MDT does not support in-place upgrade deployments. You can perform: An in-place upgrade manually by running Setup.exe from the original Windows media
Note To perform an in-place upgrade manually by running Setup.exe from the original Windows media, use the original install.wim file. Custom .wim files are not supported for inplace upgrades.
The Refresh Computer scenario as an alternative for deploying a new operating system and applications on the target computer As part of the Replace Computer deployment scenario, wipe the disk partitions of the original computer. The standard format as performed by Windows operating systems does not perform a secure wipe of the disk as defined by U.S. Department of Defense standard 5520.22M. If required, perform secure wipes of hard disks in target computers using tools provided by non-Microsoft vendors.
UFD. In this method, the required encryption keys are stored on a UFD, which must be present in the computer when the computer starts. This is the preferred method if the target computer does not support TPM. For more information on BitLocker, see BitLocker Drive Encryption Overview.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
20
Microsoft Data Access Components (MDAC) version 2.0 or later installed and running
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
21
In any scenario except New Computer (which does not migrate user data), the existing operating system must be a client operating system if the new operating system is a client operating system. Similarly, only Windows Server 2008 R2, Windows Server 2008, or Windows Server 2003 can be deployed to a computer currently running a server operating system The OSInstall property, if defined, must be set to YES for the deployment to continue The target computer memory must meet the requirements of the operating system
Note The minimum recommended amount of physical memory for the target computer is 1 GB.
The target computer processor must meet the requirements of the operating system The target computer must have sufficient available disk space for the image being deployed to it The current operating system on the target computer must be running on the C partition (Refresh Computer scenario only) Drive C must be the first partition on the first disk of the target computer (Refresh Computer scenario only) Additional available disk space is required when user state migration data and deployment logs are stored locally on the target computer The target computer must have sufficient free disk space (approximately 150 MB) to hold Windows PE log files The target computer must have sufficient total disk space to hold Windows PE and the image (expanded image size plus 150 MB) The target computer must have a direct network connection to Windows Deployment Services servers and deployment shares (Unsupported network connections include virtual private network [VPN] and wireless connections.)
Note Target computers that attempt to install an image over a VPN or wireless connection will not be able to connect to a deployment share after restarting in Windows PE, causing the deployment process to fail.
Determine whether any existing computers have inadequate system resources using Configuration Manager 2012, Configuration Manager 2007 R3, or another software inventory tool. Upgrade the system resources on these target computers prior to deploying Windows, if necessary.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
22
For LTI deployments, the version of Windows PE must match the version of Windows being deployed. If deploying a 64-bit version of Windows 7, use a 64-bit version of Windows PE. Applications are installed in separate Program Files folders. On 64-bit versions of Windows, 64-bit applications are installed in the Program Files folder, and 32-bit applications are installed in the Program Files (x86) folder. Check the appropriate folder structure when looking for previously installed applications. Processor architecture discovery in Windows Deployment Services may need to be forced for 64-bit computers. Not all 64-bit computers properly report the processor type; therefore, MDT may not properly detect that the processor is a 64-bit processor. Use the following command to force Windows Deployment Services to deploy 64-bit versions: WDSUTIL /set-server /architecturediscovery:yes For more information, see the Windows Deployment Services Help files. 64-bit versions of Windows PE 2.0, 2.1, or 3.0 do not run 32-bit applications. Ensure that any compiled applications used by a 64-bit version of Windows PE are 64-bit versions. 64-bit versions of Windows require 64-bit device drivers. You cannot use 32bit device drivers in 64-bit versions of Windows.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
23
24
ZTI deployment process is configured using the Configuration Manager console in Configuration Manager 2012 or Configuration Manager 2007 R3 Requires more initial IT administration configuration time Requires no interaction by the user or deployment technician Reduces the risk of introducing configuration errors Users and deployment technicians are not required to have credentials with elevated permissions Users and deployment technicians do not need to know configuration settings prior to initiating the MDT deployment process Requires a high-speed, persistent connection
UDI deployment is configured using the Configuration Manager console in Configuration Manager 2012 or Configuration Manager 2007 R3 and the UDI Wizard Designer. Requires more initial IT administration configuration time Can require interaction by the user or deployment technician Increases the risk of introducing configuration errors Requires users or deployment technicians to have credentials with elevated permissions Requires that users or deployment technicians know some configuration settings prior to initiating the MDT deployment process Requires a high-speed, persistent connection
Can require less initial IT administration configuration time Can require interaction by the user or deployment technician Increases the risk of introducing configuration errors Requires users or deployment technicians to have credentials with elevated permissions Requires that users or deployment technicians know some configuration settings prior to initiating the MDT deployment process Can be used with slow connections or in instances where no network connectivity exists Requires little or no infrastructure to support deployment Supports deployment over the network or local to the computer from media Does not require
Solution Accelerators
Requires an infrastructure sufficient to deploy operating system images Supports only network deployments
Requires an infrastructure sufficient to deploy operating system images Supports only network deployments
25
LTI deployment management of target computers using Configuration Manager 2012 or Configuration Manager 2007 R3 Supports security policies in which automatic software installation is prohibited Supports deployment to target computers isolated by firewalls
ZTI deployment computers be managed using Configuration Manager 2012 or Configuration Manager 2007 R3 Supports only security in which automatic software installation is allowed. Requires remote procedure call (RPC) communication with target computers
UDI deployment computers be managed using Configuration Manager 2012 or Configuration Manager 2007 R3 Supports only security in which automatic software installation is allowed. Requires RPC communication with target computers
At some point in the MDT process, you must provide all the information necessary to install Windows and the applications on target computers. The question is, when do you provide this information? The more information you provide in advance, the less interaction is required during deployment. Table 7 lists the advantages and disadvantages of performing fully automated deployments (using LTI, ZTI, or UDI) and partially automated deployments (using LTI or UDI). Table 7. Advantages and Disadvantages of Fully and Partially Automated Deployments Method Fully Advantages No interaction with the user or deployment technician is required. The risk of introducing configuration errors is decreased. Users or deployment technicians do not need to know any configuration information prior to initiating the MDT deployment process. Partially Less time is required to prepare for deployment, because configuration information can be provided Disadvantages More time is needed to provide configuration information required for fully automated deployment. Credentials to access network resources and that have elevated permissions are stored in configuration files that must be protected.
Interaction with the user or deployment technician is required. The risk of introducing
microsoft.com/technet/SolutionAccelerators
Solution Accelerators
26
Method
Advantages interactively.
Disadvantages configuration errors is increased. Users or deployment technicians must have credentials that require elevated permissions. Users or deployment technicians must know some configuration information prior to initiating the MDT deployment process.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
27
28
folder, where platform is either x86 (for 32-bit) or x64 (for 64-bit), to exclude the folders or files from the image. Also be aware of preexisting Unattend.xml files in the image. Specify the correct /FLAGS value when capturing Windows Vista images using ImageX or Windows Deployment Services capture processes. At the completion of MDT deployment, a summary page displays warnings about errors encountered during the process. (This page is not displayed when conducting the Server Core installation option of the Windows Server 2008 R2 or Windows Server 2008 operating system, because a Server Core installation does not include the Windows Internet Explorer components required.) It is possible for deployment to finish but still trigger several errors or warnings if the errors are nonfatal. It is useful to inspect these errors and warningsfor example, by opening corresponding logs files and running verification testsand determine whether they are unexpected. When deploying a custom Windows XP image, you might receive a warning similar to Warning: The \\Server\Share\Operating Systems\XPSP2_CI\i386\winnt32.exe is not available. Unable to ensure Sysprep files are the right version. This error does not prevent successful deployment, and you can disregard the warning. Some device drivers can stall the deployment process. If this happens, isolate the device driver and remove it from the target computer, or contact the vendor for an updated version of the device driver. The error Cannot Find Driver Path can appear if you choose to optimize a Windows PE image and select drivers that are not available from the distribution point. To work around this problem, select the Completely Regenerate The Boot Images option. The USMT fails if you enter a path surrounded by quotation marks that also ends in a backslash (\). To prevent problems, simply leave off the final backslash when specifying a folder. For example, the following paths will cause an error: D:\ D:\folder\ However, these paths will not cause an error: D: D:\ D:\folder\ D:\folder D:\folder D:\\ D:
Solution Accelerators microsoft.com/technet/SolutionAccelerators
29
USMT version 3.0.1 .msi files are supported to migrate user data during deployment. Perform the following steps to install USMT 3.0.1: a. Install Windows Installer version 3.1 or later; otherwise, deployment will fail during USMT installation. To install Windows Installer 3.1and for more informationsee the Microsoft Support article Windows Installer 3.1 v2 (3.1.4000.2435) is available. b. Install package 929761, which accompanies the Microsoft Support article When you run Wusa.exe together with the /quiet option to try to install certain software packages on a Windows Vistabased computer, the installation fails. c. Copy the USMT 3.0.1 .msi files to tools\_platform, where platform is either x86 (for 32-bit) or x64 (for 64-bit) in the distribution point. Configure the Internet Explorer home page using CustomSettings.ini, in the MDT DB, or by using the Windows Internet Explorer Administration Kit (IEAK). Configuring the Internet Explorer home page works only in Windows 7, Windows Vista, or Windows XP unattended installation. The System Preparation Tool (Sysprep) does not support configuring the Internet Explorer home page for Windows XP images. During LTI deployments to new computers, some pages (such as the User Locale and Keyboard Locale pages) do not display text correctly if required fonts are not installed in Windows PE. In the Refresh Computer scenario, the same symptoms appear if required fonts are not installed in the operating system being replaced. Some keyboard layouts might require language packs or input method editors that MDT does not automatically include in the Windows PE startup image. MDT does not verify that the keyboard layout is valid. For more information, see the Microsoft Support article How to add Input Method Editor (IME) support to Windows PE 2.0. A maximum of two WINS server addresses can be added when configuring static IP configuration settings for a network adapter. If more than two WINS server addresses are added using MDT, only the first two WINS server addresses are used. Hash value errors may occur in Configuration Manager 2012 or Configuration Manager 2007 R3 during download on demand or when creating a media deployment DVD. This can occur if the packages on the distribution points are inconsistent with the information in the Configuration Manager database. To correct hash value errors for Configuration Manager 2012 a. Click Start, point to All Programs, and then point to Microsoft System Center 2012. Point to Configuration Manager, and then click Configuration Manager Console. b. In the Configuration Manager console, in the Navigation pane, click Software Library.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
30
c. In the Software Library workspace, go to Overview/Application Management/Packages. d. In the preview pane, click package_name (where package_name is the name of the package that is inconsistent). e. On the Ribbon, on the Home tab, in the Properties group, click Properties. The package_name Properties dialog box opens (where package_name is the name of the package). f. In the package_name Properties dialog box (where package_name is the name of the package), on the Content Locations tab, in Distribution points or distribution point groups box, click distribution_point (where distribution_point is the name of the distribution point or distribution point group), then click Redistribute.
g. In the Configuration Manager dialog box, click OK. h. Repeat steps f through g for each distribution point or distribution point group. i. j. In the package_name Properties dialog box, click OK. Repeat steps d through i for each package that is inconsistent.
To correct value errors for Configuration Manager 2007 R3 a. Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console. b. In the Configuration Manager console navigation pane, go to System Center Configuration Manager/Site Database/Computer Management/Software Distribution/Packages/package_name/Distribution Points (where package_name is the name of the package that is inconsistent). c. In the results pane, click distribution_point (where distribution_point is the name of the distribution point). d. In the actions pane, click Refresh Distribution Point. e. In the Confirm Refresh Distribution Point dialog box, click Yes. f. Repeat steps c through e for each distribution point. g. Repeat steps b through f for each package that is inconsistent. When deploying Windows Server 2003 using Configuration Manager 2012 or Configuration Manager 2007 R3, the deployment process does not automatically copy the Windows installation files to the %WinDir%\Source folder, as it does for other deployment methods. As a result, Configuration
Solution Accelerators microsoft.com/technet/SolutionAccelerators
31
Manager 2012 or Configuration Manager 2007 R3 can display dialog boxes requesting missing DLLs needed to complete a server role installation. As a workaround, add a step to the task sequence to copy the source files and set the registry subkeys that identify the source folder (SourcePath and ServicePackSourcePath in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\s etup). In LTI deployments, you set several kinds of information in the Create Task Sequence Wizard. The user interface (UI) does not provide an option to edit this information at a later time. However, you can edit the information directly in the Unattend.xml file (for Windows 7, Windows Vista, Windows Server 2008, or Windows Server 2008 R2) or in Sysprep.inf and Unattend.txt (for Windows XP or Windows Server 2003). The information includes: Organization name Full name Internet Explorer home page Local Administrator password No user state configuration settings can be or need to be specified using the CustomSettings.ini file for Configuration Manager scenarios. The network location is determined automatically by the Request State Store task. In Configuration Manager 2012 or Configuration Manager 2007 R3 deployments, you can install multiple application packages on a computer by specifying them in the CustomSettings.ini file according to the following parameters: Specify a base variable named PACKAGES in the task sequence in the Install Software task. Each PACKAGES variable name should have a suffix starting with 001. The PACKAGESxxx value should have the format PACKAGEID:ProgramName (use a colon between items). The ProgramName value is case-sensitive. The following is an example of specifying packages in CustomSettings.ini: PACKAGES001=DEP0002B:Install Office 2007 PACKAGES002=DEP00011:Install Office Communicator In LTI New Computer deployments, applications marked as hidden in the Deployment Workbench are not installed when you do not skip the Application page in the Deployment Wizard and specify the application globally unique identifier (GUID) in CustomSettings.ini. Specify hidden applications using the MandatoryApplications property instead of the Applications property.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
32
Close the Configuration Manager console before running the integration option from MDT. Otherwise, some files may not be properly updated. During the Scanstate and Loadstate processes, multiple copies of log files may be created. You can use a new USMT template for excluding the log files or log directories while running Scanstate and Loadstate. New Computer and Replace Computer deployment scenarios format Disk 0 by default. Using MDT on computers with original equipment manufacturer (OEM) partitions or multiple fixed or external hard disks may require additional configuration and scripting in addition to thorough testing. The Task Sequencer will not accept XML files that contain Unicode content (from an XML file encoded as UTF-8). Attempting to do use XML files results in a task sequence failure. The Task Sequencer does not properly deal with encoded UTF-7 data: It does not cause a failure, but it does cause the data to be translated unexpectedly. After uninstalling MDT using the Control Panel Add or Remove Programs item, the Distribution share directory (if created) must be removed manually. MDT does not remove files or folders that it did not initially install. When using MDT extensions (add-in wizards) with Configuration Manager 2012 or Configuration Manager 2007 R3, MDT must be installed on every server running Configuration Manager 2012 or Configuration Manager 2007 R3 used to administer operating system deployments. The Priority property in CustomSettings.ini has no maximum line length. However, if the property name is longer than 55 characters when the Configure Database Wizard runs, the wizard will truncate the Priority property, and you will need to manually edit the property. As a workaround, run the Configure Database Wizard before performing any other customization, or clear the check boxes for queries in the wizard that are not needed. MDT supports deployment from a UFD. See the Windows AIK for information about preparing the device, then copy (using the xcopy command) all files and folders from the \Media\content folder to the UFD. Dialing properties that are not configured, even if present in the answer file, include the country code, area code, long-distance access, and dialing rules. To work around this issue, configure dialing rules by creating and testing a .reg file in a lab environment, and then import that .reg file as a custom task during the task sequence. When deploying an image that has never been started or that is missing the \%SystemRoot%\Prefetch directory, updates installed using Setup.exe or PkgMgr.exe can fail. As a workaround, create the \%SystemRoot%\Prefetch directory in the operating system image. This error does not occur when you build the image using Windows Vista with SP1 or later.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
33
The media International Organization for Standardization (ISO) image must be smaller than 2.2 GB for media deployment to a VM running in Microsoft Virtual PC versions prior to Microsoft Virtual PC 2007 or Virtual Server 2005 R2. If the ISO image is larger than 2.2 GB, the deployment may result in an error. This limitation no longer exists in Virtual PC 2007, Virtual Server 2005 R2, or Hyper-V.
34
resolve this issue, use an account with Administrator credentials to map the drive to the distribution point. BitLocker deployment on a computer running Windows 7and Windows Vista can fail with the error, Unable to merge BDEPartition, return code=87, when the user does not specify a locale. Restarting the computer does not allow the operating system to start. To avoid this error, specify a user language, or edit the CustomSettings.ini file to specify the UILanguage property. For example, you could add UILanguage = en-us to the CustomSettings.ini file. If activating BitLocker during installation fails in Refresh Computer scenario, verify that MDT is able to shrink the partition as required by following these steps: a. At a command prompt, type diskpart shrink querymax, and note the value displayed. b. If the value is less than 2,000 MB, then manually defragment the disk. MDT performs an automatic defragmentation, however, so this might not resolve the problem. c. If defragmenting the disk does not resolve the issue, back up the computers hard disk, create a new partition, and repeat these steps until typing diskpart shrink querymax returns a value greater than 2,000 MB. There might be files in specific areas of the partition that cannot be relocated or removed. The BDERequired flag is no longer used. By default, all sample templates that enable BitLocker and encounter an error will stop. You can edit the task sequence to enable deployment to continue if an error occurs. When deploying a new computer or refreshing a computer running a localized edition of Windows XP with a Windows Vista or Windows 7 image that is using a different language, Setup will prompt for the keyboard layout, language, and time and currency settings during the Windows PE phase. As a workaround, import Setup files with the custom image. MDT supports Windows 7 and Windows Vista language pack selection during deployment for all scenarios if the language packs are configured in the Deployment Workbench. Selecting multiple language packs is possible when deploying Enterprise or Ultimate editions of the operating systems. When other editions of Windows 7 or Windows Vista are deployed, only one language pack can be selected because of Windows licensing restrictions.
Review Known Issues, Limitations, and Recommendations That Relate to Disks and Partitioning
The following is a list of known issues, limitations, and recommendations that relate to disk and partitioning: LTI does not support the deployment of the target operating system to logical drives or dynamic disks.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
35
Deployments to existing disk partitions created by newer operating system versions are not supported in Refresh Computer deployment scenarios. For example, you cannot deploy Windows Vista with SP1 to partitions created by Windows 7; you cannot deploy Windows XP with SP3 to partitions created by Windows Visa with SP1. However, you can deploy different processor architecture versions to the existing partitions created by the same operating system version. For example, you can deploy a 64-bit version of Windows 7 on a computer that is currently running a 32-bit version of Windows 7 or vice versa. In the Format and Partition Disk task sequence step types, always configure the logical partitions that will reside on an extended partition immediately after the extended partition. If you do not specify the logical partitions immediately after the extended partition, creating the logical partition sizes using a percentage produces unexpected results. For example, the following partition creation order is incorrect, because the logical partitions (partition 4 and partition 5) are not immediately after the extended partition (partition 2): Partition Partition Partition Partition Partition Partition 1: 2: 3: 4: 5: 6: Primary Extended Primary Logical Logical Primary
Instead, create the partitions in the following order: Partition Partition Partition Partition Partition Partition 1: 2: 3: 4: 5: 6: Primary Extended Logical Logical Primary Primary
Windows 7 always hides the system volume during deployment, so a drive letter is not assigned to the system volume. For example, if the target computer has one drive with two partitions, Partition_1 and Partition_2, and you deploy Windows 7 to Partition_2, Windows 7 will be properly deployed to Partition_ 2. However, a drive letter will not be assigned to Partition_1. After starting Windows PE, the drive letters assigned to each storage device may change. For example, if the destination computer has a CD-ROM assigned to drive D and a hard disk drive assigned to drive E, the hard disk drive will be on drive D and the CD-ROM will be on drive E when Windows PE starts. If a DVD deployment fails, check that the drives have not
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
36
been reassigned on the target computer. To simplify deployment, save user data to a network location instead of to a local drive. Avoid editing the Unattend.xml files to format or alter the partitions. MDT might store state and user data on the partition before calling Setup.exe (in LTI scenarios), and instructions added to Unattend.xml would cause Setup to destroy that data, resulting in a deployment failure. While configuring the Format and Partition Disk task, always specify the extended and logical partitions together, and do not add a primary partition inbetween, which gives undesirable results when a logical partition size is configured using a percentage. In other words, do not add a primary partition between an extended and logical partition.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
37
Review Known Issues, Limitations, and Recommendations for ZTI Deployments Using Configuration Manager 2012
The following is a list of known issues, limitations, and recommendations that relate to ZTI deployments using Configuration Manager 2012: When deploying computers using Configuration Manager 2012 and backing up the computer data locally, computers with two partitions may not be able to retain the backup. To prevent backups from being removed, save to a network location instead of to a local drive. In a Configuration Manager 2012 task sequence, the Format and Partition task might not run successfully on a computer if it has only one unformatted partition. To work around this issue, either remove the partition or format it. While installing the server roles, Configuration Manager 2012 might display a prompt for DLLs needed to complete the role installation. If this happens, specify a valid location for the required files. To avoid this step, add a step earlier in the task sequence that copies the required DLLs to the Windows Setup files folder defined in the registry. This folder location is defined in the SourcePath registry value, located in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersi on\Setup.
Review Known Issues, Limitations, and Recommendations for ZTI Deployments Using Configuration Manager 2007 R3
The following is a list of known issues, limitations, and recommendations that relate to ZTI deployments using Configuration Manager 2007 R3: When deploying computers using Configuration Manager 2007 R3 and backing up the computer data locally, computers with two partitions may not be able to retain the backup. To prevent backups from being removed, save to a network location instead of to a local drive. In a Configuration Manager 2007 R3 task sequence, the Format and Partition task might not run successfully on a computer if it has only one unformatted partition. To work around this issue, either remove the partition or format it.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
38
While installing the server roles, Configuration Manager 2007 R3 might display a prompt for DLLs needed to complete the role installation. If this happens, specify a valid location for the required files. To avoid this step, add a step earlier in the task sequence that copies the required DLLs to the Windows Setup files folder defined in the registry. This folder location is defined in the SourcePath registry value, located in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersi on\Setup.
Review Known Issues, Limitations, and Recommendations for Running Task Sequences on Target Computers
The following is a list of known issues, limitations, and recommendations for running task sequences on target computers in MDT: For LTI deployments, ensure that User Account Control (UAC) is disabled for the built-in local Administrator account on the target computers until the task sequence finishes. Running task sequences on computers with UAC enabled for the local Administrator account causes task sequences to fail.
Note UAC should be disabled only for the built-in local Administrator account and enabled for all other accounts. By default, the built-in local Administrator account is excluded from UAC because of the User Account Control: Admin Approval Mode for the built-in Administrator account (disabled) policy setting.
For more information about UAC Group Policy settings, see UAC Group Policy Settings and Registry Key Settings.
Review Known Issues, Limitations, and Recommendations for Saving and Restoring User Information
The following is a list of known issues, limitations, and recommendations for saving and restoring user information in MDT: For LTI deployments, do not add any of the following USMT command-line parameters to the ScanStateArgs or LoadStateArgs properties, as they cause the saving and restoration of user state information to fail: /hardlink /nocompress /encrypt /key /keyfile /vsc /l /I
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
39
User state migration data may not be restored properly depending on the disk configuration of the target computer when deploying Windows 7. This issue can occur when the target computer has two physical hard disks, Disk_0 and Disk_1. Disk_0 contains the C volume, which is encrypted using BitLocker. The MDT deployment process is configured to deploy a new operating system to Disk_1. The problems in the deployment process occur as follows: Early the deployment process, the minint and smstasksequence folders are copied to the existing C volume, which is encrypted. Disk_1 is partitioned and formatted properly in preparation for deploying the target operating system. The target operating system is installed on the new partition and disk volume on Disk_1. During the State Restore Phase, the original C volume is not assigned a drive letter, so the task sequence steps in the State Restore Phase cannot access the minint and smstasksequence folders on the BitLockerencrypted drive. The restoration of the user state migration data fails. The result is that the target operating system is installed, but the restoration of the user state migration data fails.
Overview of UDI
Typically, when deploying operating systems using the OSD feature in Configuration Manager and ZTI in MDT you must provide all the information necessary to deploy the operating system. Prior to performing the deployment, the information is configured in configuration files or in databases (such as the CustomSettings.ini file or the MDT DB). During the ZTI deployment process, ZTI converts the appropriate configuration settings to task sequence variables, which are consumed by the MDT task sequences for UDI. All of the configuration settings must be provided before you can initiate the deployment. UDI provides a wizard driven interface that allows users to provide configuration information immediately prior to the deployment being performed. You can configure the user experience in the wizard, which lets you control the amount information the user completing the wizard must provide. This division of user roles allows IT pros to provide precise control over deployments while reducing the load on them by allowing other users to perform the deployments. The interface allows you to create generic OSD task sequences, and then provide computer specific information at the time of deployment, which provides greater flexibility in the deployment process.
Note If you are unfamiliar with UDI, review the UDI terms and terminology in "UDI Concepts" in the Microsoft Deployment Toolkit Reference. Familiarizing yourself with these terms and terminology will help you be more successful in applying the remainder of this guide to your organization.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
40
Reviewing Known Issues, Limitations, and Recommendations for Installing or Upgrading to MDT
The following is a list of known issues, limitations, and recommendations for installing MDT: Ensure that the disk volume that contains the temporary folder that the Deployment Workbench uses has at least 20 GB of available disk space. The Deployment Workbench creates large images and requires temporary storage during the image-creation process. The Deployment Workbench determines the temporary folder to use by performing the following steps: a. Use the temporary folder specified in the Temp_Dir registry subkey, which is located at HKEY_LOCAL_MACHINE\Software\Microsoft\Deployment 4. Create the Temp_Dir registry subkey as a REG_SZ type that contains the fully qualified path to the folder to be used as the temporary folder.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
41
b. If the TEMP_DIR registry subkey does not exist, then the Deployment Workbench uses the folder specified in the %TEMP% environment variable. Ensure that the disk volume specified in the TEMP_DIR registry subkey or in the %TEMP% environment variable has sufficient available disk space. When installing MDT on Windows Server 2008 or Windows Vista, install the hotfix that updates the ADO.NET data services for the Microsoft .NET Framework version 3.5 with SP1 available from the Microsoft Support article Description of the ADO.NET Data Services Update for .NET Framework 3.5 SP1 for Windows Server 2003, Windows XP, Windows Vista and Windows Server 2008: May 7, 2010.
42
On this wizard page Welcome to the Microsoft Deployment Toolkit 2012 Setup Wizard End-User License Agreement Custom Setup
1. Review the license agreement. 2. Select the I accept the terms in the License Agreement check box, and then click Next. 1. Select the desired features. 2. Select the desired destination folder for installing MDT (which defaults to C:\Program Files\Microsoft Deployment Toolkit), and then click Next.
Ready to install Microsoft Deployment Toolkit 2012 Installing Microsoft Deployment Toolkit 2012 Completed the Microsoft Deployment Toolkit 2012 Setup Wizard
Click Install.
The progress for installing the Microsoft Deployment Toolkit 2012 is displayed. Click Finish.
Upon completion, MDT is installed in the target folder you selected in the wizard.
Upgrading to MDT
MDT automatically uninstalls previous versions of MDT and BDD before installing MDT, including the following versions: Previous versions of MDT 2012 MDT 2010 Update 1 MDT 2010 MDT 2008 Update 1 BDD 2007 Update 2 In addition to upgrading the MDT installation, upgrade any existing MDT 2012 deployment shares, MDT 2010 deployment shares, MDT 2008 deployment shares, and BDD 2007 deployment shares. For more information on this process, see Upgrade an Existing Deployment Share in the Deployment Workbench.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
43
Click Finish. After the wizard finishes, the list of available components and versions is updated in the details pane of the Deployment Workbench.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
44
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
45
For more information about configuring your environment to support LTI deployments, see the following sections in the MDT document Quick Start Guide for Lite Touch Installation: "Prerequisites" "Step 1: Obtain the Required Software"
Existing MDT 2008 network deployment points are upgraded to linked deployment shares in MDT. However, some of the items selected in the network deployment point are not preserved, such as applications, task sequences, or package groups. However, driver groups are migrated if they are configured to a value other than All Drivers. A selection profile named Windows PE Drivers for NETWORK is created for the driver group selected for Windows PE device drivers and the linked deployment share is configured to use the migrated selection profile. Before updating the linked deployment share, create folders for each type of item not migrated and a selection profile that selects each of those folders. Configure the linked deployment share to use the selection profile, then replicate the linked deployment share.
Note If you do not create the folders and selection profile, the linked deployment share will use the Everything selection profile, which includes all items and may not be the desired configuration.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
46
Existing MDT 2008 LAB deployment points are upgraded to deployment shares in MDT. However, some of the items selected in the LAB deployment point are not preserved, such as applications, task sequences, or package groups. However, driver groups are migrated if they are configured to a value other than All Drivers. A selection profile named Windows PE Drivers for LAB is created for the driver group selected for Windows PE device drivers and the deployment share is configured to use the migrated selection profile. Boot image settings for MDT 2008 media deployment points are not preserved. Instead, the boot image settings from the parent deployment share are copied to the media. You may need to modify the boot image settings to reflect the original boot image settings. Task sequences are recreated using the LTI task sequence templates in MDT. Custom task sequence steps in task sequences created in BDD 2007 are moved to the Custom Tasks groups in the upgraded task sequence. After the upgrade, you may need to move the custom task sequence steps back into their correct sequence in the task sequence. Task sequences will not include the the Apply Local GPO Package task sequence step. If you want to apply GPO packs using this feature, you must manually add the Apply Local GPO Package task sequence step to any task sequences that existed prior to the upgrade. For more informaton.on GPO packs, see Applying Group Policy Object Packs.
Table 10 lists the top-level nodes in the Deployment Workbench and the types of tasks performed in each node. Table 10. Deployment Workbench Nodes Node Information Center Description Provides access to documentation, displays breaking news about MDT, and lists the components required to use the Deployment Workbench. Lists the deployment shares that this instance of the
microsoft.com/technet/SolutionAccelerators
Deployment Shares
Solution Accelerators
47
Node
Description Deployment Workbench manages. Each deployment share includes operating systems, applications, operating system packages, task sequences, and outof-box drivers populated in the deployment share.
The Deployment Workbench automates the download and installation of components used in LTI.
Note If the MDT computer has Internet connectivity, the Deployment Workbench can automatically download the components.
To download and install Deployment Workbench components 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Information Center/Components. 3. In the Components pane, in the Available for Download section, click component_name (where component_name is the name of the component you want to download).
Note The offline servicing kernel update, available with the Microsoft Support article, When you use Windows Server 2003 or Windows XP to modify a Windows Vista registry hive, Windows Vista registry key flags are removed, is required when using the Deployment Workbench and the Windows AIK on Windows XP with SP2 or Windows Server 2003 with SP1.
4. In the details pane, click Download. After downloading the component from the Internet, the component is listed in the Downloaded section in the details pane. 5. In the details pane, in the Download section, click the downloaded component, and then click Install.
Note If there is no Install button, the component cannot be installed or the installation is not necessary.
The installation process for the respective component is initiated. Complete the installation process for the component using the instructions provided for the component. After the component is installed, the component appears in the Installed section of the details pane. If the component cannot be installed or you did not choose to install it, the component remains in the Downloaded section.
Tip Check the Internet frequently for updated components. On the Deployment Workbench main menu bar, from the Action menu, click Check for Updates. On the Check for Updates page of the Check for Updates Wizard, select Check the Internet, and then click Check.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
48
MDT uses the Windows AIK for Windows 7 or Windows AIK Supplement for Windows 7 SP1, which includes USMT 4.0 and works for all scenarios except when the target operating system is Windows XP, which USMT 4.0 does not support. In these scenarios, you must download and configure USMT version 3.0 to perform user state migration for Windows XP. To configure USMT 3.0 for use with MDT for Windows XP 1. Install USMT 3.0 on a computer running Windows XP. 2. On the computer on which MDT is installed, create the deployment_share\Tools\platform\USMT3 folder (where deployment_share is the root folder of the deployment share and platform is the processor architeture of USMT to be supported and can be either x86 or x64) 3. Copy the USMT files from the folder where you installed USMT in step 1 to the folder you created in the previous step.
49
Logon banner for the target computers not be enabled using Group Policy or a local security policy
Create a reference computer for each image you want to create for deployment to the target computers. For more information about determining the number of images required in your organization and subsequently the number of reference computers required, see Estimate Storage Requirements for MDT Deployment Shares. For more information about the use of reference computers in MDT-based deployments, see Using Reference Computers in MDT Deployments. To prepare for deployment to the reference computer 1. Create a new deployment share, or upgrade an existing deployment share. For more information about: Creating a new deployment share, see Create a New Deployment Share in the Deployment Workbench Upgrading an existing deployment share, see Upgrade an Existing Deployment Share in the Deployment Workbench 2. Configure the deployment share to contain the appropriate software for deployment to the reference computer, including the following: Configuring operating systems as described in Configuring Operating Systems in the Deployment Workbench Configuring applications as described in View and Configure an Application in the Deployment Workbench Configuring operating system packages as described in Configuring Packages in the Deployment Workbench Configuring device drivers as described in Configuring Device Drivers in the Deployment Workbench
Solution Accelerators microsoft.com/technet/SolutionAccelerators
50
3. Create a new task sequence that will deploy the target operating system to the reference computer as described in: Configuring Task Sequences in the Deployment Workbench Configuring LTI Task Sequence Steps in the Deployment Workbench The LTI deployment process is unable to perform Sysprep operations on a target computer that is encrypted using BitLocker. Ensure that you do not enable BitLocker on the reference computer. Enable BitLocker on the target computers only after the target operating system is completely deployed.
Tip Create the task sequence for deploying to the reference computer based on the Standard Client Task Sequence template, included in MDT.
4. Customize the MDT configuration files to the needs of your organization as described in Configuring MDT Deployments. 5. Configure any Windows PE options for the deployment share as described in: Configure the Deployment Share Properties Windows PE x86 Settings Tab Configure the Deployment Share Properties Windows PE x86 Components Tab Configure the Deployment Share Properties Windows PE x64 Settings Tab Configure the Deployment Share Properties Windows PE x64 Components Tab 6. Update the deployment share to create the Windows PE images used to start LTI deployment as described in Update a Deployment Share in the Deployment Workbench.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
51
2. Complete the Deployment Wizard to deploy and capture an image of the reference computer as described in Complete the Deployment Wizard. 3. Add the captured reference computer image to the Operating Systems node in the Deployment Workbench as described in Add the Captured Image of the Reference Computer to the Deployment Workbench.
2. Based on the type of computer used for the reference computer, perform one of the following tasks: If the reference computer is a physical computer, create a UFD, CD, or DVD of the ISO file. If the reference computer is a VM, start the VM directly from the ISO file or from a CD or DVD of the ISO file.
To complete the Deployment Wizard 1. Start the reference computer with the LTI bootable media you created earlier in the process.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
52
Windows PE starts, and then the Deployment Wizard starts. 2. Complete the Deployment Wizard as described in Running the Deployment Wizard, ensuring that you specifically follow the configuration settings on the wizard pages listed in Table 11 and selecting the values on the other wizard pages appropriate to your organization. Table 11. Information for Completing the Deployment Wizard On this wizard page Select a task sequence to execute on this computer Join the computer to a domain or workgroup Do this Select the task sequence you created for the reference computer deployment. Join a workgroup.
Note Joining the reference computer to a domain causes problems when deploying the captured image of the reference computer to target computers. The most common symptom of trouble is that the deployment process halts, because the LTI process is not able to automatically log on.
Click Capture an image of this reference computer, and provide the fully qualified Universal Naming Convention (UNC) path for the name of the captured Windows Imaging Format (WIM) image, including the WIM file name.
The wizard starts, and the operating system deployment starts. At the end of the deployment process, the Deployment Summary dialog box appears. 3. In the Deployment Summary dialog box, click Details. If any errors or warnings occur, review them, and record any diagnostic information. For more information about the errors or warnings, see the MDT document Troubleshooting Reference. 4. In the Deployment Summary dialog box, click Finish. The reference computer is now deployed, and the captured WIM file of the reference computer is stored in the location you specified on the Specify whether to capture an image wizard page.
Add the Captured Image of the Reference Computer to the Deployment Workbench
To deploy the captured image of the reference computer to the target computer, add the captured image to the list of operating systems in the Operating Systems node in the Deployment Workbench. The Import Operating System Wizard copies the operating system files to the deployment_share\Operating Systems\operating_system folder (where deployment_share is the deployment
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
53
share folder created earlier in the process and operating_system is the name of the operating system added to the deployment share). Add the captured image of the reference computer by completing the operating system import process as described in Import a Previously Captured Image of a Reference Computer, ensuring that you specifically follow the configuration settings on the wizard pages listed in Table 12 and selecting the values on the other wizard pages that are appropriate to your organization. Table 12. Information for Completing the Importing a Previously Captured Image of a Reference Computer On this wizard page Image Do this In Source File, specify the fully qualified path to the WIM file of the captured image of the reference computer.
The Import Operating System Wizard finishes. The captured image of the reference computer is added to the list of operating systems in the information pane and is copied to the deployment share.
54
Prepare for a Replace Computer Deployment Scenario to Target Computers Using LTI Depending on the target computers in your organization, any combination of the deployments scenarios might be necessary. For more information about the MDT deployment scenarios, see Identifying Deployment Scenarios.
Prepare for the New Computer Deployment Scenario to Target Computers Using LTI
In the New Computer deployment scenario, a new installation of a Windows operating system is deployed to a new computer. There is no user migration information to save and restore and no existing file systems to preserve. Use the Standard Client Task Sequence or Standard Server Task Sequence templates to deploy the captured image of the reference computer to the target computer. To prepare for the New Computer deployment scenario 1. Create a new task sequence that will deploy the captured image of the reference computer to the target computer as described in the following list, ensuring that you specifically follow the configuration settings on the wizard pages listed in Table 13 and select the values on the other wizard pages appropriate to your organization: Configuring Task Sequences in the Deployment Workbench Configuring LTI Task Sequence Steps in the Deployment Workbench
Tip Create the task sequence for deploying to the target computer based on the Standard Client Task Sequence or Standard Server Task Sequence templates included in MDT.
Table 13. Information for Completing the New Task Sequence Wizard for Performing New Computer Deployment Scenario On this wizard page Select OS Do this Select the captured image of the reference computer.
2. Customize the MDT configuration files to the needs of your organization as described in Configuring MDT Deployments. 3. Optionally, customize the MDT DB to the needs of your organization as described in Performing Deployments Using the MDT DB (if you are using the MDT DB to provide MDT configuration information). 4. Verify the Windows PE options for each deployment share as described in: Configure the Deployment Share Properties Windows PE x86 Settings Tab Configure the Deployment Share Properties Windows PE x86 Components Tab
Solution Accelerators microsoft.com/technet/SolutionAccelerators
55
Configure the Deployment Share Properties Windows PE x64 Settings Tab Configure the Deployment Share Properties Windows PE x64 Components Tab 5. Update each deployment share, linked deployment share, and media to create the Windows PE images used to start LTI deployment as described in: Update a Deployment Share in the Deployment Workbench Replicate Linked Deployment Shares in the Deployment Workbench Generate Media Images in the Deployment Workbench
Prepare for a Refresh Computer Deployment Scenario to Target Computers Using LTI
In the Refresh Computer deployment scenario, a computer is refreshedthat is, re-imaged for image standardization or to address a problem. You must save and restore the user migration information, because the existing file systems on the target computer are not preserved. Use the Standard Client Task Sequence or Standard Server Task Sequence templates to deploy the captured image of the reference computer to the target computer. To prepare for the Refresh Computer deployment scenario 1. Create a new task sequence that will deploy the captured image of the reference computer to the target computer as described in the following list, ensuring that you specifically follow the configuration settings on the wizard pages listed in Table 14 and select the values on the other wizard pages that are appropriate to your organization: Configuring Task Sequences in the Deployment Workbench Configuring LTI Task Sequence Steps in the Deployment Workbench
Tip Create the task sequence for deploying images to the target computer based on the Standard Client Task Sequence or Standard Server Task Sequence templates included in MDT.
Table 14. Information for Completing the New Task Sequence Wizard for Performing a Refresh Computer Deployment Scenario On this wizard page Select OS Do this Select the captured image of the reference computer.
2. Customize the MDT configuration files to the needs of your organization as described in Configuring MDT Deployments.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
56
3. Optionally, customize the MDT DB to the needs of your organization as described in Performing Deployments Using the MDT DB (if you are using the MDT DB to provide MDT configuration information). 4. Verify the Windows PE options for each deployment share as described in: Configure the Deployment Share Properties Windows PE x86 Settings Tab Configure the Deployment Share Properties Windows PE x86 Components Tab Configure the Deployment Share Properties Windows PE x64 Settings Tab Configure the Deployment Share Properties Windows PE x64 Components Tab 5. Update each deployment share, linked deployment share, and media to create the Windows PE images used to start LTI deployment as described in: Update a Deployment Share in the Deployment Workbench Replicate Linked Deployment Shares in the Deployment Workbench Generate Media Images in the Deployment Workbench
Prepare for a Replace Computer Deployment Scenario to Target Computers Using LTI
In the Replace Computer deployment scenario, one computer replaces another computer. The existing user state migration data is saved from the original computer to a network shared folder or removable media. Then, a new installation of Windows is deployed to a new computer. Finally, the user state data is restored to the new computer, because the file systems on the new computer are formatted as part of the new installation of Windows. Use the: Standard Client Replace Task Sequence template to save the user state migration data of the existing target computer
Important Run this task sequence on the existing target computer before running the task sequence based on the Standard Client Task Sequence template on the new target computer.
Standard Client Task Sequence template to deploy the captured image of the reference computer to the new target computer and restore the user state migration data
Important Run this task sequence on the new target computer after running the task sequence based on the Standard Client Replace Task Sequence template on the existing target computer.
To prepare for the Replace Computer deployment scenario 1. Create a new task sequence that will save the user state migration data of the existing target computer as described in:
Solution Accelerators microsoft.com/technet/SolutionAccelerators
57
Configuring Task Sequences in the Deployment Workbench Configuring LTI Task Sequence Steps in the Deployment Workbench
Tip Create the task sequence for capturing the user state of the existing target computer based on the Standard Client Task Replace Sequence template included in MDT.
2. Create a new task sequence that will deploy the captured image of the reference computer to the new target computer and restore the user state migration data saved by the task sequence in the previous step as described in the following list, ensuring that you specifically follow the configuration settings on the wizard pages listed in Table 15 and select the values on the other wizard pages that are appropriate to your organization: Configuring Task Sequences in the Deployment Workbench Configuring LTI Task Sequence Steps in the Deployment Workbench
Tip Create the task sequence for deploying to the new target computer based on the Standard Client Task Sequence template, included in MDT.
Table 15. Information for Completing the New Task Sequence Wizard for Performing the Refresh Computer Deployment Scenario On this wizard page Select OS Do this Select the captured image of the reference computer.
3. Customize the MDT configuration files to the needs of your organization as described in Configuring MDT Deployments. 4. Optionally, customize the MDT DB to the needs of your organization as described in Performing Deployments Using the MDT DB (if you are using the MDT DB to provide MDT configuration information). 5. Verify the Windows PE options for each deployment share as described in: Configure the Deployment Share Properties Windows PE x86 Settings Tab Configure the Deployment Share Properties Windows PE x86 Components Tab Configure the Deployment Share Properties Windows PE x64 Settings Tab Configure the Deployment Share Properties Windows PE x64 Components Tab 6. Update each deployment share, linked deployment share, and media to create the Windows PE images used to start LTI deployment as described in: Update a Deployment Share in the Deployment Workbench Replicate Linked Deployment Shares in the Deployment Workbench
Solution Accelerators microsoft.com/technet/SolutionAccelerators
58
Deploy Captured Images to Target Computers in the New Computer Deployment Scenario Using LTI
Start the target computer with the LTI bootable media you created earlier in the process or from Windows Deployment Services. The LTI bootable media starts Windows PE on the target computer and initiates deployment. At the end of the process, the captured image of the reference computer is deployed on the target computers. To complete the Deployment Wizard 1. Start the reference computer with the LTI bootable media you created earlier in the process or from Windows Deployment Services. Windows PE starts, and then the Deployment Wizard starts. 2. Complete the Deployment Wizard as described in Running the Deployment Wizard, ensuring that you specifically follow the configuration settings on the wizard pages listed in Table 16 and select the values on the other wizard pages appropriate to your organization. Table 16. Information for Completing the Deployment Wizard for the New Computer Deployment Scenario Using LTI On this wizard page Select a task sequence to execute
Solution Accelerators
Do this Select the task sequence you created for the target computer deployment for the New
microsoft.com/technet/SolutionAccelerators
59
The wizard starts, and the operating system deployment starts. At the end of the process, the Deployment Summary dialog box appears. 3. In the Deployment Summary dialog box, click Details. If any errors or warnings occur, review them, and record any diagnostic information. For more information about the errors or warnings, see the MDT document Troubleshooting Reference. 4. In the Deployment Summary dialog box, click Finish. The target computers are now deployed.
Deploy Captured Images to Target Computers in a Refresh Computer Deployment Scenario Using LTI
Start the Deployment Wizard on the existing operating system on the target computer to start the Standard Client task sequence or Standard Server task sequence created earlier in the process. The Deployment Wizard saves the user state migration data of the existing target computer to the location you specify. Later in the task sequence, the user state migration data is restored to the target computer. To complete the Deployment Wizard 1. Start the Deployment Wizard by connecting to the appropriate deployment share (for example, \\server_name\Distribution$\Scripts) and typing cscript litetouch.vbs. The Deployment Wizard starts. 2. Complete the Deployment Wizard as described in Running the Deployment Wizard, ensuring that you specifically follow the configuration settings on the wizard pages listed in Table 17 and select the values on the other wizard pages appropriate to your organization. Table 17. Information for Completing the Deployment Wizard for the Refresh Computer Deployment Scenario Using LTI On this wizard page Select a task sequence to execute on this computer Choose a migration type. Specify where to
Solution Accelerators
Do this Select the task sequence you created for the target computer deployment for the Refresh Computer deployment scenario. Click Refresh this computer. Select one of the following options based on the
microsoft.com/technet/SolutionAccelerators
60
Do this requirements of your organization: Automatically determine the location Specify a location
The wizard starts, and the operating system deployment starts. At the end of the process, the Deployment Summary dialog box appears. 3. In the Deployment Summary dialog box, click Details. If any errors or warnings occur, review them, and record any diagnostic information. For more information about the errors or warnings, see the MDT document Troubleshooting Reference. 4. In the Deployment Summary dialog box, click Finish. The target computer is now deployed.
Deploy Captured Images to Target Computers in a Replace Computer Deployment Scenario Using LTI
The Replace Computer deployment scenario requires that you run the Deployment Wizard twice. Run the wizard the first time to capture the user state migration data from the existing target computer (old computer). Then, run it again to deploy the captured image of the reference computer to the new target computer (new computer) and restore the user state saved earlier in the process. Ensure that the user state migration data is stored in a consistent and secure location so that the data can be readily restore later in the LTI process. To deploy captured images of the reference computer 1. Save the user state migration data from the existing target computer as described in Save the User State Migration Data from the Existing Target Computer Using LTI. 2. Deploy the captured image of the reference computer to the new target computer as described in Deploy the Captured Image of the Reference Computer to the New Target Computer Using LTI.
Save the User State Migration Data from the Existing Target Computer Using LTI
Start the Deployment Wizard on the existing operating system on the target computer to start the Standard Client Replace Task Sequence template created earlier in the process. The Deployment Wizard saves the user state migration data of the existing target computer to the location you specify. To complete the Deployment Wizard
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
61
1. Start the Deployment Wizard by connecting to the appropriate deployment share (for example, \\server_name\Distribution$\Scripts) and typing cscript litetouch.vbs. The Deployment Wizard starts. 2. Complete the Deployment Wizard as described in Running the Deployment Wizard, ensuring that you specifically follow the configuration settings on the wizard pages listed in Table 18 and select the values on the other wizard pages that are appropriate to your organization. Table 18. Information for Completing the Deployment Wizard for the Replace Computer Deployment Scenario for Saving User State Migration Data Using LTI On this wizard page Select a task sequence to execute on this computer Specify where to save your data and settings. Specify where to save a complete computer backup Do this Select the task sequence you created for the target computer in the Replace Computer deployment scenario to save the user state migration data. In the Location box, type the fully qualified path to the location in which you want to store the user state migration data. This location must be accessible to the new target computer. Click Specify a location, and then type the fully qualified path to the location in which you want to store the backup.
Note This backup is for use in restoring user state migration data that might have been missed, not as a rollback method for the target computer. If you want to have rollback capability for the target computer, perform a full backup using your organizations backup software.
The wizard starts, and the operating system deployment starts. At the end of the process, the Deployment Summary dialog box appears. 3. In the Deployment Summary dialog box, click Details. If any errors or warnings occur, review them, and record any diagnostic information. For more information about the errors or warnings, see the MDT document Troubleshooting Reference. 4. In the Deployment Summary dialog box, click Finish. The user state migration data of the existing target computer is saved.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
62
Deploy the Captured Image of the Reference Computer to the New Target Computer Using LTI
Start the target computer with the LTI bootable media you created earlier in the process or from Windows Deployment Services. The LTI bootable media starts Windows PE on the target computer and initiates LTI deployment. At the end of the process, the captured image of the reference computer is deployed to the target computer. To deploy the captured image of the reference computer 1. Start the reference computer with the LTI bootable media you created earlier in the process or from Windows Deployment Services. Windows PE starts, and then the Deployment Wizard starts. 2. Complete the Deployment Wizard as described in Running the Deployment Wizard, ensuring that you specifically follow the configuration settings on the wizard pages listed in Table 19 and select the values on the other wizard pages that are appropriate to your organization. Table 19. Information for Completing the Deployment Wizard for the Replace Computer Deployment Scenario for Deploying the Captured Image On this wizard page Select a task sequence to execute on this computer Specify whether to restore user data Do this Select the task sequence you created for the target computer for the Replace Computer deployment scenario. Click the Specify a location option and type the location of the saved user state migration data in the Location box.
The wizard starts, and the operating system deployment starts. At the end of the process, the Deployment Summary dialog box appears. 3. In the Deployment Summary dialog box, click Details. If any errors or warnings occur, review them, and record any diagnostic information. For more information about the errors or warnings, see the MDT document Troubleshooting Reference. 4. In the Deployment Summary dialog box, click Finish.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
63
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
64
Creating a new deployment share as described in Create a New Deployment Share in the Deployment Workbench Opening an existing deployment share as described in Open an Existing Deployment Share in the Deployment Workbench Upgrading an existing deployment share to MDT 2012 as described in Upgrade an Existing Deployment Share in the Deployment Workbench Configuring a deployment share as described in Configure a Deployment Share in the Deployment Workbench Copying a deployment share as described in Copy a Deployment Share Closing a deployment share as described in Close a Deployment Share in the Deployment Workbench Updating a deployment share as described in Update a Deployment Share in the Deployment Workbench Creating bootable devices to start LTI from the MDT boot images as described in Create Bootable Devices from MDT Boot Images
Share
Note This page is displayed only if you entered a path to a folder on a local drive on the Path wizard page.
65
On this wizard page Do this share_name is the share name for the folder on a local drive specified on the Path wizard page). 2. Note the fully qualified to UNC path to the share being created listed immediately below the Share name box, and then click Next.
Note The wizard grants the local group Everyone Full Control access at the share level. Based on your security requirements, you may want to restrict the security of the share.
Descriptive Name
In Deployment share description, type description (where description is a descriptive name that for the deployment share specified on previous wizard pages), and then click Next. Select or clear the Ask if an image should be captured check box based on requirements, and then click Next. This check box configures the Deployment Wizard to allow the user to optionally capture an image of the target computer, which is usually the reference computer. If the check box is: Selected, the path for storing the image and the image name can be configured in the Deployment Wizard Cleared, an image is not capture or the imagecapture information must be set in the MDT configuration file or database
Note By default, this check box is selected.
Select or clear the Ask user to set the local Administrator Password check box based on requirements, and then click Next. This check box configures the Deployment Wizard to allow the user to provide the password for the local Administrator account during the deployment process. If the check box is: Selected, the password can be configured in the Deployment Wizard Cleared, the password must be set in the MDT configuration file or database
Note By default, this check box is cleared.
Select or clear the Ask user for a product key check box based on your requirements, and then
microsoft.com/technet/SolutionAccelerators
Solution Accelerators
66
On this wizard page Do this click Next. This check box configures the Deployment Wizard to allow the user to provide a product key for the target operating system during the deployment process. If the check box is: Selected, the product key can be configured in the Deployment Wizard Cleared, the product key must be set in the MDT configuration file or database
Note By default, this check box is cleared.
Summary Confirmation
Review the information in the Details box, and then click Next.
Tip Click Save Output to save the output of the wizard to a file, or click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Click Close. Upon completion, the new deployment share is created in the target folder you selected in the wizard and appears in the Deployment Workbench.
67
The Open Deployment Share Wizard starts. 4. Complete the Open Deployment Share Wizard using the information in Table 21. Table 21. Information for Completing the Open Deployment Share Wizard On this wizard page Path Do this 1. In Deployment share path, type share_path (where share_path is the fully qualified path to the existing deployment share).
Note You can alternatively click Browse to find the local or network shared folder.
2. Select the Upgrade the content of the deployment share (if required) check box. If the check box is: Selected, the Open Deployment Share Wizard upgrades the deployment share Cleared, the Open Deployment Share Wizard will not upgrade the deployment share 3. Click Next. Summary Confirmation Review the information in the Details box, and then click Next.
Tip You can click Save Output to save the output of the wizard to a file. You can also click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Click Finish. After the wizard finishes, the existing deployment share is upgraded (if required), and the Upgrade the content of the deployment share (if required) check box is selected. The deployment share is added to the details pane in the Deployment Workbench.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
68
Upgrading an existing deployment share that is listed in the Deployment Workbench as described in Upgrade Deployment Shares Already Listed in the Deployment Workbench
2. Select the Upgrade the content of the deployment share (if required) check box, and then click Next. Summary Confirmation
Solution Accelerators
Review the information in the Details box, and then click Next.
Tip Click Save Output to save the output of the wizard to a
microsoft.com/technet/SolutionAccelerators
69
Do this
file, or click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Click Finish. After the wizard finishes, the existing deployment share is upgraded (if required), and the Upgrade the content of the deployment share (if required) check box is selected. The deployment share is added to the details pane in the Deployment Workbench. In addition to upgrading existing deployment shares, any existing installations of previous versions of MDT or BDD must be upgraded to MDT. For more information on upgrading any previous installations to MDT, see Upgrading to MDT.
70
Click Finish. After the wizard finishes, the existing deployment share is upgraded and now can be accessed in the Deployment Workbench.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
71
1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares. 3. In the details pane, click deployment_share (where deployment_share is the name of the deployment share). 4. In the Actions pane, click Properties. The deployment_share Properties dialog box opens (where deployment_share is the name of the deployment share you want to configure). 5. On the General tab, configure the settings listed in Table 24 based on the requirements of your organization, and then click OK. Table 24. Configuration Settings on the General Tab of Deployment Share Properties Setting Description Description Contains the name of the deployment share displayed in the Deployment Workbench. The default value is MDT Deployment Share. Provides information about the deployment share. Text box that contains fully qualified UNC path to the deployment share. This value is used only to enable multicast and is required if you want to do so by selecting the Enable multicast for this deployment share check box.
Note If the deployment share was created from an existing network shared folder, this value is displayed in the details pane of the Deployment Workbench.
Local path
Contains the fully qualified path to the local folder in which the deployment share was created. This value is used only to enable multicast and is required if you want to do so by selecting the Enable multicast for this deployment share check box. If you created the deployment share from: A local path, then this text box contains the local path used in the creation process An existing network shared folder, then this text box is empty
Note If you created the deployment share from a local path, the local path rather than the UNC path is displayed in the
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
72
Setting Platforms supported: x86 Platforms supported: x64 Enable multicast for this deployment share
Description
details pane of the Deployment Workbench.
Select to configure the Update Deployment Share Wizard to create WIM files and bootable media for 32-bit target computers. Select to configure the Update Deployment Share Wizard to create WIM files and bootable media for 64-bit target computers. Select to configure Windows Deployment Services to enable multicast deployment of images generated in this deployment share. If you select this check box, you must provide values for the Network (UNC) path and Local path boxes. For more information about enabling multicastbased deployments, see Enable Windows Deployment Services Multicast Deployment for LTI Deployments.
Note The multicast features of MDT are available using Windows Deployment Services in Windows Server 2008 or Windows Server 2008 R2 operating systems.
The deployment share configuration settings are saved, and the deployment share appears in the details pane of the Deployment Workbench.
73
5. On the Rules tab, configure the settings listed in Table 25 based on the requirements of your organization, and then click OK. Table 25. Configuration Settings on the Rules Tab of Deployment Share Properties Setting CustomSettings.ini Edit Bootstrap.ini Description Contains the current configuration of the CustomSetting.ini file for the deployment share. Click to modify the contents of the Bootstrap.ini file that the Deployment Workbench generates.
The deployment share configuration settings are saved, and the deployment share appears in the details pane of the Deployment Workbench.
74
Setting
Description Wizard creates the LiteTouchPE_x86.wim file with the image description specified in the Image description text box Cleared, the Update Deployment Share Wizard will not create the WIM file
Image description
Contains the image description for the Windows PE WIM file that the Update Deployment Share Wizard creates. The default value is Lite Touch Windows PE (x86). Select to configure the Update Deployment Share Wizard to create a bootable Windows PE ISO file that includes the LTI deployment scripts. If the check box is: Selected, the Update Deployment Share Wizard creates the ISO file with the name specified in the ISO file name text box Cleared, the Update Deployment Share Wizard will not create the ISO file
Contains the file name for the Windows PE ISO file that the Update Deployment Share Wizard creates. The default value for this text box is LiteTouchPE_x86.iso.
Note This text box is enabled only if you select Generate a Lite Touch bootable ISO image.
Generate a generic Select to configure the Update Deployment Share Windows PE WIM file Wizard to create a Windows PE WIM file that does not include the LTI deployment scripts. If the check box is: Selected, the Update Deployment Share Wizard creates the GenericPE_x86.wim file with the image description specified in the Image description text box Cleared, the Update Deployment Share Wizard will not create the WIM file Image description Contains the image description for the generic Windows PE WIM file that the Update Deployment Share Wizard creates. The default value for this text box is Generic Windows PE (x86).
Note This text box is enabled only if you select Generate a generic Windows PE WIM file.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
75
Description Select to configure the Update Deployment Share Wizard to create a bootable Windows PE ISO file that does not include the LTI deployment scripts. If the check box is: Selected, the Update Deployment Share Wizard creates the Generic_x86.iso file with the image description specified in the ISO file name text box Cleared, the Update Deployment Share Wizard will not create the ISO file
Note This box is enabled only if you select Generate a generic Windows PE WIM file.
Contains the file name for the generic Windows PE ISO file that the Update Deployment Share Wizard creates. The default value for this text box is Generic_x86.iso.
Note This text box is enabled only if you select Generate a generic bootable ISO image.
Contains the fully qualified path to the BMP file that is to be used as the custom background bitmap. The default value for this text box is %INSTALLDIR%\Samples\Background.bmp. Contains the fully qualified path to a folder structure to be included in the Windows PE images. The default value for the text box is empty. Configures the size of the scratch space in megabytes; you can select a value of 32, 64, 128, 256, or 512 MB. The default value is 32.
The deployment share configuration settings are saved, and the deployment share appears in the details pane of the Deployment Workbench.
76
2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares. 3. In the details pane, click deployment_share (where deployment_share is the name of the deployment share). 4. In the Actions pane, click Properties. The deployment_share Properties dialog box opens (where deployment_share is the name of the deployment share you want to configure). 5. On the Windows PE x86 Components tab, configure the settings listed in Table 29 based on the requirements of your organization, and then click OK. Table 27. Configuration Settings on the Windows PE x86 Components Tab of Deployment Share Properties Setting Selection profile Description Use to select the device drivers and packages to be included in the Windows PE images based on the selection profile you choose. The default value is All Drivers and Packages. For more information about selection profiles, see Manage Selection Profiles. Select to configure the Update Deployment Share Wizard to include all the device drivers in the selection profile specified in the Selection profile box. Select to configure the Update Deployment Share Wizard to include only the device drivers in the chosen selection profile that are specified in the following check boxes: Include all network drivers in the selected group Include all video drivers in the selected group Include all mass storage drivers in the selected group Include all system-class drivers in the selected group Include all network drivers in the selected group Select to configure the Update Deployment Share Wizard to include all network drivers in the chosen selection profile. If the check box is: Selected, the Update Deployment Share Wizard includes all network drivers in the
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Include all drivers from the selected driver group Include only drivers of the following types
77
Setting
Description selection profile specified in the Selection profile box in the Windows PE images Cleared, the Update Deployment Share Wizard will not include all network drivers in the selection profile specified in the Selection profile box in the Windows PE images
Note This check box is enabled only if you select Include only drivers of the following types.
Select to configure the Update Deployment Share Wizard to include all video drivers in the chosen selection profile. If the check box is: Selected, the Update Deployment Share Wizard includes all video drivers in the selection profile specified in the Selection profile box in the Windows PE images Cleared, the Update Deployment Share Wizard will not include all video drivers in the selection profile specified in the Selection profile list box in the Windows PE images
Note This check box is enabled only if you select Include only drivers of the following types.
Select to configure the Update Deployment Share Wizard to include all mass storage drivers in chosen the selection profile. If the check box is: Selected, the Update Deployment Share Wizard includes all mass storage drivers in the selection profile specified in the Selection profile box in the Windows PE images Cleared, the Update Deployment Share Wizard will not include all mass storage drivers in the selection profile specified in the Selection profile box in the Windows PE images
Note This check box is enabled only if you select Include only drivers of the following types.
Select to configure the Update Deployment Share Wizard to include all system-class drivers in the chosen selection profile. If the check box is: Selected, the Update Deployment Share Wizard includes all system-class drivers in the selection profile specified in the Selection
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
78
Setting
Description profile box in the Windows PE images Cleared, the Update Deployment Share Wizard will not include all system-class drivers in the selection profile specified in the Selection profile box in the Windows PE images
Note This check box is enabled only if you select Include only drivers of the following types.
ADO
Select to add optional ADO components to the Windows PE images. These components are necessary for accessing Microsoft SQL Server databases, such as the MDT DB. If the check box is: Selected, the ADO components are added to the Windows PE images Cleared, the ADO components are not added to the Windows PE images
Optional Fonts
Select to configure the Update Deployment Share Wizard to include the following fonts: Chinese (ZH-CN) Chinese (ZH-HK) Chinese (ZH-TW) Japanese (JA-JP) Korean (KO-KR) Add these fonts when performing an LTI deployment of Windows Server 2008 R2 or Windows Server 2008 images and the Setup files are Japanese, Korean, or Chinese. If the check box for a corresponding font is: Selected, the Update Deployment Share Wizard includes the font in the Windows PE images Cleared, the Update Deployment Share Wizard will not include the font in the Windows PE images
Note Adding fonts to Windows PE boot images increases the size of the images. Add fonts only if necessary.
The deployment share configuration settings are saved, and the deployment share appears in the details pane of the Deployment Workbench.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
79
80
Setting
Description Wizard creates the ISO file with the name specified in the ISO file name box Cleared, the Update Deployment Share Wizard will not create the ISO file
Contains the file name for the Windows PE ISO file that the Update Deployment Share Wizard creates. The default value for this text box is LiteTouchPE_x64.iso.
Note This box is enabled only if you select Generate a Lite Touch bootable ISO image.
Generate a generic Select to configure the Update Deployment Share Windows PE WIM file Wizard to create a Windows PE WIM file that does not include the LTI deployment scripts. If the check box is: Selected, the Update Deployment Share Wizard creates the GenericPE_x64.wim file with the image description specified in the Image description box Cleared, the Update Deployment Share Wizard will not create the WIM file Image description Contains the image description for the generic Windows PE WIM file that the Update Deployment Share Wizard creates. The default value for this text box is Generic Windows PE (x64).
Note This box is enabled only if you select Generate a generic bootable ISO Windows PE WIM file.
Select to configure the Update Deployment Share Wizard to create a bootable Windows PE ISO file that does not include the LTI deployments scripts. If the check box is: Selected, the Update Deployment Share Wizard creates the Generic_x64.iso file with the image description specified in the ISO file name box Cleared, the Update Deployment Share Wizard will not create the ISO file
Note This box is enabled only if you select Generate a generic Windows PE WIM file.
Contains the file name for the generic Windows PE ISO file that the Update Deployment
microsoft.com/technet/SolutionAccelerators
Solution Accelerators
81
Setting
Description Share Wizard creates. The default value for this text box is Generic_x64.iso.
Note This text box is enabled only if the Generate a generic bootable ISO image check box is selected.
Contains the fully qualified path to the BMP file that is to be used as the custom background bitmap. The default value for this text box is %INSTALLDIR%\Samples\Background.bmp. Contains the fully qualified path to a folder structure to be included in the Windows PE images. The default value for the text box is empty. Configures the size of the scratch space in megabytes; you can select a value of 32, 64, 128, 256, or 512 MB. The default value is 32.
The deployment share configuration settings are saved, and the deployment share appears in the details pane of the Deployment Workbench.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
82
Description Selects the device drivers and packages to be included in the Windows PE images based on the selection profile you choose. The default value is All Drivers and Packages. For more information about selection profiles, see Manage Selection Profiles. Select to configure the Update Deployment Share Wizard to include all the device drivers in the selection profile specified in the Selection profile box. Select to configure the Update Deployment Share Wizard to include only the device drivers in the chosen selection profile that are specified in the following check boxes: Include all network drivers in the selected group Include all video drivers in the selected group Include all mass storage drivers in the selected group Include all system-class drivers in the selected group
Include all drivers from the selected driver group Include only drivers of the following types
Select to configure the Update Deployment Share Wizard to include all network drivers in the chosen selection profile. If the check box is: Selected, the Update Deployment Share Wizard includes all network drivers in the selection profile specified in the Selection profile box in the Windows PE images Cleared, the Update Deployment Share Wizard will not include all network drivers in the selection profile specified in the Selection profile box in the Windows PE images
Note This check box is enabled only if you select Include only drivers of the following types.
Select to configure the Update Deployment Share Wizard to include all video drivers in the chosen selection profile. If the check box is: Selected, the Update Deployment Share Wizard includes all video drivers in the selection profile specified in the Selection
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
83
Setting
Description profile box in the Windows PE images Cleared, the Update Deployment Share Wizard will not include all video drivers in the selection profile specified in the Selection profile box in the Windows PE images
Note This check box is enabled only if you select include only drivers of the following types.
Select to configure the Update Deployment Share Wizard to include all mass storage drivers in the chosen selection profile. If the check box is: Selected, the Update Deployment Share Wizard includes all mass storage drivers in the selection profile specified in the Selection profile box in the Windows PE images Cleared, the Update Deployment Share Wizard will not include all mass storage drivers in the selection profile specified in the Selection profile box in the Windows PE images
Note This check box is enabled only if you select include only drivers of the following types.
Select to configure the Update Deployment Share Wizard to include all system-class drivers in chosen the selection profile. If the check box is: Selected, the Update Deployment Share Wizard includes all system-class drivers in the selection profile specified in the Selection profile box in the Windows PE images Cleared, the Update Deployment Share Wizard will not include all system-class drivers in the selection profile specified in the Selection profile box in the Windows PE images
Note This check box is enabled only if you select Include only drivers of the following types.
ADO
Select to add the optional ADO components to the Windows PE images. These components are necessary for accessing SQL Server databases, such as the MDT DB. If this check box is: Selected, the ADO components are added to the Windows PE images
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
84
Setting
Description Cleared, the ADO components are not added to the Windows PE images Use to configure the Update Deployment Share Wizard to include the following fonts: Chinese (ZH-CN) Chinese (ZH-HK) Chinese (ZH-TW) Japanese (JA-JP) Korean (KO-KR) Add these fonts when performing an LTI deployment of Windows Server 2008 R2 or Windows Server 2008 images when the Setup files are Japanese, Korean, or Chinese. If the check box for a corresponding font is: Selected, the Update Deployment Share Wizard includes the font in the Windows PE images Cleared, the Update Deployment Share Wizard will not include the font in the Windows PE images
Note Adding fonts to Windows PE boot images increases the size of the images. Add fonts only if necessary.
Optional Fonts
The deployment share configuration settings are saved, and the deployment share appears in the details pane of the Deployment Workbench.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
85
Close existing deployment shares in the Deployment Workbench using the Close Deployment Share action. Start the Close Deployment Share action by performing one of the following tasks: Right-click the deployment share, and then click Close Deployment Share. Click the deployment share, and then, from the Action menu, click Close Deployment Share. Click the deployment share, and then, in the Actions pane, click Close Deployment Share.
86
Do this Compress the boot image contents to recover space used by removed or modified content check box to reduce the size of the boot images. Over time, the process of adding and removing content (such as drivers, components, and packages) can increase the size of the Windows PE image. Selecting this option reduces the image size to the minimum for the current content. However, it may also increase the time required to generate the images. Completely regenerate the boot images. This option configures the Update Deployment Share Wizard to create a new version of all the image files. Select this option when you want to force the creation of new images. This process can take longer than the Optimize the boot image updating process option. By default, the Optimize the boot image updating process option is selected and the Compress the boot image contents to recover space used by removed or modified content check box is cleared. 2. Click Next.
Summary Confirmation
Review the information in the Details box, and then click Next.
Tip You can click Save Output to save the output of the wizard to a file. You can also click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Click Close. The Deployment Workbench starts updating the deployment share and creates the LiteTouchPE_x86.iso and LiteTouchPE_x86.wim files (for 32-bit target computers) or LiteTouchPE_x64.iso and LiteTouchPE_x64.wim files (for 64-bit target computers) in the deployment_share\Boot folder (where deployment_share is the network shared folder used as the deployment share) based on the configuration settings on the Windows PE x86 Settings and Windows PE x64 Settings tabs.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
87
Note Optionally, create a bootable device, such as a UFD or USB hard disk, from the ISO file so that you can start the target computer from the device as described in Create Bootable Devices from MDT Boot Images.
To create a bootable UFD 1. On a computer running Windows 7 or Windows Vista operating systems, insert the UFD or USB hard disk. 2. Run Diskpart.exe, and type the command list disk to determine the disk number associated with the device. 3. Input the following commands, where N is the disk number identified in the previous step: select disk N clean create partition primary select partition 1 active format fs=fat32 assign exit 4. Copy the contents of LiteTouchPE_x86.iso (for 32-bit target computers) or LiteTouchPE_x64.iso (for 64-bit target computers) to the device by performing one of the following tasks: Burn the ISO file to a CD, and then copy its contents to the device using the command: xcopy <d>:\*.* <e>:\*.* /s /e /f where d is the driver letter of the CD and e is the drive letter of the device. Alternatively, mount the ISO file using a virtual CD program, and then copy its contents to the device using the command: xcopy <d>:\*.* <e>:\*.* /s /e /f where d is the driver letter of the CD and e is the drive letter of the device.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
88
Note Always import operating systems from operating system sources that have the most recent updates. Doing so helps reduces the management effort and network traffic when applying the updates after the target operating system has been deployed. For example, import Windows XP and Windows Server 2003 operating systems from slipstreamed sources, or import Windows 7,
Solution Accelerators microsoft.com/technet/SolutionAccelerators
89
Windows Vista, Windows Server 2008 R2, and Windows Server 2008 operating systems from updated media obtained from Microsoft.
Start the Import Operating System Wizard using one of the following methods: In the Deployment Workbench console tree, click the Operating System node or a folder beneath the Operating System node. Then, in the Actions pane, click Import Operating System. In the Deployment Workbench console tree, click the Operating System node or a folder beneath the Operating System node. Then, from the Action menu, click Import Operating System. In the Deployment Workbench console tree, click the Operating System node or a folder beneath the Operating System node. Then, click Import Operating System. You can also import operating systems into the Deployment Workbench from: Windows distribution media as described in Import an Operating System from Windows Distribution Media WIM images previously captured from reference computers as described in Import a Previously Captured Image of a Reference Computer Existing WIM images in Windows Deployment Services as described in Import an Operating System from an Existing Windows Deployment Services Image
90
Do this Click Full set of source files, and then click Next. In Source directory, type source_folder (where source_folder is the fully qualified path to the folder containing the operating system source files), and then click Next.
Note Alternatively, click Browse to find the source folder.
Destination
In Destination directory name, type destination_folder (where destination_folder is the name of the folder in the deployment share that will contain the operating system source files), and then click Next. Click Next.
Tip Click Save Output to save the output of the wizard to a file, or click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Summary Confirmation
Click Finish. The Import Operating System Wizard finishes. The operating system is added to the list of operating systems in the details pane of the Deployment Workbench.
91
Table 33. Information for Completing the Import Operating System Wizard On this wizard page OS Type Source Do this Click Custom image file, and then click Next. In Source file, type source_file (where source_file is the fully qualified path to the WIM image file containing the operating system source files), and then click Next.
Note Alternatively, click Browse to find the source WIM image.
Setup
Select one of the following options based on your requirements, and then click Next: Setup and Sysprep files are not needed. Select this option when no Setup files for a Windows Vista or Windows Server 2008 image or Sysprep files for a Windows XP or Windows Server 2003 image will be copied. Copy Windows Vista or Windows Server 2008 setup files from the specified path. Select this option to copy the Setup files from a folder containing the Windows Vista or Windows Server 2008 Setup files when those files are not available in another operating system in the Deployment Workbench. In Setup source directory, type or click Browse to find the folder containing the Setup files. Copy Windows XP or Windows Server 2003 Sysprep files from the specified path. Select this option to copy the Sysprep files from a folder containing the Windows XP or Windows Server 2003 Sysprep or DEPLOY.CAB files required to install the image specified. In Sysprep directory. Click Browse to find the folder containing the Sysprep files.
Note The default option is Setup and Sysprep files are not needed.
Destination
In Destination directory name, type destination_folder (where destination_folder is the name of the folder in the deployment share that will contain the operating system source files), and then click Next.
microsoft.com/technet/SolutionAccelerators
Solution Accelerators
92
Click Finish. The Import Operating System Wizard finishes. The operating system is added to the list of operating systems in the details pane of the Deployment Workbench. If you attempt to import a custom image that does not have an Edition ID, the wizard fails with an error similar to the following: Setup failed applying image F:\Deploy\Operating Systems\W2K8R2RTM\W2K8R2RTM.wim, rc = 31 ZTI ERROR Non-zero return code by LTIApply, rc = 31. To resolve this issue, add an Edition ID to the image by running the following command (where edition_id is the appropriate SKU ID as defined in the original factory image or in the Windows AIK, wim_file is the name of the WIM file, new_image_name is the new image name, and new_image_description is the new description for the image): imagex /flags <edition_id> /info <wim_file> 1 <new_image_name> <new_image_description>
93
Table 34. Information for Completing the Import Operating System Wizard On this wizard page OS Type WDS Server Do this Click Custom image file, and then click Next. In Server name, type server_name (where server_name is the name of the Windows Deployment Services server that contains the existing WIM images), and then click Next. Click Next.
Tip Click Save Output to save the output of the wizard to a file, or click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Summary Confirmation
Click Finish. The Import Operating System Wizard finishes. The operating system is added to the list of operating systems in the details pane but is not is copied to the deployment share. The Deployment Workbench leaves the operating system image on the Windows Deployment Services server, but the image is now available to LTI.
Table 35. Configuration Settings on the General Tab of the Operating System Properties Dialog Box Setting Operating system name Description Contains the name of the operating systemfor example, Windows 7 ENTERPRISE in Windows 7 x64 install.wim. Contains the description of the operating systemfor example, Windows 7 ENTERPRISE. Contains the type of operating systemfor example, Windows Image-based Setup.
microsoft.com/technet/SolutionAccelerators
Description OS type
Solution Accelerators
94
Description Contains the processor architecture of the operating systemfor example, x64. Contains the languages included in the operating systemfor example, en-US. Contains True or False, which indicates whether the operating system includes the files necessary to perform setup. Contains the path to the operating system relative to the root of the deployment share. Contains the path and file name of the operating system relative to the root of the deployment share. Contains a numeric value that indicates the image index for the imagefor example, 1. Includes the image namefor example, Windows 7 ENTERPRISE. Contains the size of the image in megabytesfor example, 7921 indicates 7,921 MB, or 7.921 GB. Contains the HAL type for the imagefor example, acpiapic.
95
Delete Items from the Deployment Workbench. The Delete Selected Items Wizard allows deletion of individual operating system files or entire folder structures.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
96
Application bundle A list of applications that you must install in a particular order. This list is specified as dependencies for the application bundle, but the bundle itself does not install anything. Start the New Application Wizard using one of the following methods: In the Deployment Workbench console tree, click the Applications node or a folder beneath the Applications node. Then, in the Actions pane, click New Application. In the Deployment Workbench console tree, click the Applications node or a folder beneath the Applications node. Then, from the Action menu, click New Application. In the Deployment Workbench console tree, click the Applications node or a folder beneath the Applications node. Then, click New Application. You can create a new application in the Deployment Workbench for: Applications to be deployed from the deployment share as described in Create a New Application That Is Deployed from the Deployment Share
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
97
Applications to be deployed from another network shared folder as described in Create a New Application That Is Deployed from Another Network Shared Folder Deploying application dependencies as described in Create a New Application for Deploying Application Dependencies
1. In Source directory, type source_folder (where source_folder is the fully qualified path
microsoft.com/technet/SolutionAccelerators
98
2. Select or clear the Move the files to the deployment share instead of copying them check box based on your requirements, and then click Next. This check box determines whether the wizard copies or moves the application source files to the deployment share. If the check box is: Selected, the wizard moves the source files to the deployment share Cleared, the wizard copies the source files to the deployment share
Note By default, this check box is cleared.
Destination
In Specify the name of the directory that should be created, type destination_folder (where destination_folder is the name of the folder in the deployment share that will contain the application source files), and then click Next. 1. In Command line, type command_line (where command_line is the command line to be run to start the installation of the application, including any command-line parameters). 2. In Working directory, type working_directory (where working_directory is the fully qualified or relative path for the folder designated as the working directory for the application). 3. Click Next. Click Next.
Tip Click Save Output to save the output of the wizard to a file, or click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Command Details
Summary Confirmation
Click Finish. The New Application Wizard finishes. The application is added to the list of operating systems in the details pane in the Deployment Workbench.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
99
Create a New Application That Is Deployed from Another Network Shared Folder
MDT allows for the creation of new applications that you deploy from a network shared folder other than the deployment share. Create a new application using the New Application Wizard in the Deployment Workbench. The New Application Wizard does not copy the source files for this type of application. To create a new application that is deployed from a network shared folder other than the deployment share 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Applications (where deployment_share is the name of the deployment share to which the application will be added). 3. In the Actions pane, click New Application. The New Application Wizard starts. 4. Complete the New Application Wizard using the information in Table 38. Table 38. Information for Completing the New Application Wizard On this wizard page Application Type Details Do this Click Application without source files or elsewhere on the network, and then click Next. 1. In Publisher, type publisher_name (where publisher_name is the name of the applications publisher). 2. In Application Name, type application_name (where application_name is the descriptive name of the application). 3. In Version, type version (where version is the version of the application). 4. In Language, type language (where language is the language of the application). 5. Click Next. Command Details 1. In Command line, type command_line (where command_line is the command line to be run to start the installation of the application, including any command-line parameters). 2. In Working directory, type working_directory (where working_directory
microsoft.com/technet/SolutionAccelerators
Solution Accelerators
100
Do this is the fully qualified or relative path for the folder designated as the working directory for the application). 3. Click Next. Click Next.
Tip Click Save Output to save the output of the wizard to a file, or click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Summary Confirmation
Click Finish. The New Application Wizard finishes. The application is added to the list of operating systems in the details pane of the Deployment Workbench.
Solution Accelerators
101
Do this is the descriptive name of the application). 3. In Version, type version (where version is the version of the application). 4. In Language, type language (where language is the language of the application). 5. Click Next. Click Next.
Tip Click Save Output to save the output of the wizard to a file, or click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Summary Confirmation
Click Finish. The New Application Wizard finishes. The application is added to the list of operating systems in the details pane of the Deployment Workbench.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
102
1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Applications (where deployment_share is the name of the deployment share to which the application will be added). 3. In the details pane, click application_name (where application_name is the name of the application to configure). 4. In the Actions pane, click Properties. The application_name Properties dialog box opens (where application_name is the name of the application to configure). 5. On the General tab, configure the settings listed in Table 40 based on the requirements of your organization, and then click OK. Table 40. Configuration Settings on the General Tab of Application Properties Setting Name Description Contains the name of the application displayed in the Deployment Workbench. If Display name is not configured, this value is also displayed in the Deployment Wizard. Provides information about the application. (Optional) Contains the name displayed in the Deployment Wizard instead of the value in Name. If no value is specified, the value in Name is displayed in the Deployment Wizard. Contains the name of the folder in which the application resides. Contains the version number of the application.
Note Enter the version number in this box; it is not validated against the actual application version number but is provided for informational purposes.
Publisher
Language
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
103
Setting Source directory Application GUID Hide this application in the Deployment Wizard
Description Configures the folder in which the source of the application files resides. Contains the GUID for the application. Select to control when this application appears in the Deployment Wizard. If the check box is: Selected, the Deployment Wizard will not display this application. Cleared, the Deployment Wizard displays this application.
Note This check box is cleared by default.
Select to control when this application is available to other wizards and dialog boxes in the Deployment Workbench. If the check box is: Selected, other wizards and dialog boxes in the Deployment Workbench are able to select this application Cleared, other wizards and dialog boxes in the Deployment Workbench are unable to select this application
Note This check box is selected by default.
The application configuration settings are saved, and the modifications are displayed in the details pane of the Deployment Workbench.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
104
3. In the details pane, click application_name (where application_name is the name of the application to configure). 4. In the Actions pane, click Properties. The application_name Properties dialog box opens (where application_name is the name of the application to configure). 5. On the Details tab, configure the settings listed in Table 41 based on the requirements of your organization, and then click OK. Table 41. Configuration Settings on the Details Tab of Application Properties Setting Application bundle Standard application Description Select to configure the application to install application dependencies but not the application. The other available option is Standard application. Select to configure the application to be a standard application that has source files, a command line, and other options listed on this tab. The other available option is Application bundle. Configures the command line to run for performing an unattended, or quiet, installation of the application. This text box is enabled only when you select the Standard application option. Configures the working directory of the application and is enabled only when you select Standard application. Configures the registry subkey HKEY_LOCAL_MACHINE\Software\Microsoft\Wind ows\CurrentVersion\Uninstall, used to determine whether the application is already installed on the target computer. If MDT detects the presence of the subkey, it assumes that the application is already installed and skips the installation of the application and any dependencies. This text box is enabled only when you select Standard application. Select to configure the MDT deployment process to restart the target computer after installing this application. If the check box is: Selected, the target computer restarts after installing the application Cleared, the target computer will not restart after installing the application
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
105
Setting
Description
Note This check box is cleared by default.
Select to configure the application to run on any supported 32-bit or 64-bit Windows operating system. The other available option is This can run only on the specified client platforms. Select to configure the application to run on any supported 32-bit or 64-bit Windows operating system. The other available option is This can run on any platform.
The application configuration settings are saved, and the modifications are displayed in the details pane of the Deployment Workbench.
When you define more than one application dependency, you can configure the order in which the dependencies are installed, thereby ensuring that the dependencies are installed in a specific order. Update the application properties on the Dependencies tab through the application_name Properties dialog box (where application_name is the name of the application in the Deployment Workbench). To configure the Dependencies tab for application properties 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Applications (where deployment_share is the name of the deployment share to which you will add the application). 3. In the details pane, click application_name (where application_name is the name of the application you are configuring). 4. In the Actions pane, click Properties. The application_name Properties dialog box opens (where application_name is the name of the application to configure).
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
106
5. On the Dependencies tab, configure the settings by performing one of the actions in Table 42 based on the requirements of your organization, and then click OK. Table 42. Actions on the Dependencies Tab of Application Properties Action Add Description Adds a new application dependency to the list of dependencies using the Select an item dialog box. You can add any applications that already exist in the deployment share. Removes an application dependency from the list of dependencies. Moves an application dependency higher in the sequence of installed dependencies.
Note Application dependencies are installed from the top of the list to the bottom.
Remove Up
Down
The application configuration settings are saved, and the modifications are displayed in the details pane of the Deployment Workbench.
To configure the Office Products tab for application properties 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Applications (where deployment_share is the name of the deployment share to which the application will be added). 3. In the details pane, click application_name (where application_name is the name of the application to configure).
Solution Accelerators microsoft.com/technet/SolutionAccelerators
107
4. In the Actions pane, click Properties. The application_name Properties dialog box opens (where application_name is the name of the application to configure). 5. On the Office Products tab, configure the settings listed in Table 43 based on the requirements of your organization, and then click OK. Table 43. Configuration Settings on the Office Products Tab of Application Properties Setting Office product to install Office languages Description Selects the Microsoft Office products to be installed. Use to select each language included in the source image.
Note By default, Microsoft Office Setup installs the same language as the target operating system. Use these check boxes to force the installation of specific language packs.
Product key
Select to determine whether the Deployment Workbench configures the Config.xml file for Microsoft Office Setup to provide a product key. If the check box is: Selected, enter the product key in the associated box to automatically configure the Config.xml file Cleared, the product key is provided during Microsoft Office Setup or in a Windows Installer (MSP) configuration file
Customer name
Select to determine whether the Deployment Workbench configures the Config.xml for Microsoft Office Setup to provide the customer name. If the check box is: Selected, enter the customer name in the associated box to automatically configure the Config.xml file Cleared, the customer name is provided during Microsoft Office Setup or in an MSP configuration file
Display level
Select to determine whether the Deployment Workbench configures Config.xml for Microsoft Office Setup to configure the display level of the setup process. If the check box is: Selected, select the display level in the
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
108
Setting
Description associated box to automatically configure the Config.xml file Cleared, the display level is provided during Microsoft Office Setup or in an MSP configuration file
Accept EULA
Select to determine whether the Deployment Workbench configures Config.xml for Microsoft Office Setup to automatically accept the end user license agreement (EULA) during the Setup process. If the check box is: Selected, the Config.xml file is configured to automatically accept the EULA Cleared, EULA acceptance is provided during Microsoft Office Setup or in an MSP configuration file
Cache only
Select to determine whether the Deployment Workbench configures Config.xml for Microsoft Office Setup to install the local installation source (LIS) cache to the target computer during the setup process but not install Microsoft Office. If the check box is: Selected, the Config.xml file is configured to copy the LIS cache during Microsoft Office Setup but not install Microsoft Office products Cleared, the LIS cache is copied and Microsoft Office products are installed during Microsoft Office Setup
Select to determine whether the Deployment Workbench configures Config.xml for Microsoft Office Setup to prevent restarting the target computer during the setup process. If the check box is: Selected, the Config.xml file is configured to prevent a restart of the target computer during Microsoft Office Setup Cleared, the target computer can be restarted during Microsoft Office Setup
Click to add Microsoft Office language packs. Click to modify the contents of the Config.xml file that the Deployment Workbench generates.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
109
The application configuration settings are saved, and the modifications are displayed in the details pane of the Deployment Workbench.
For more information on enabling or disabling applications in the Deployment Workbench, see Configure the Application Properties General Tab.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
110
For more information on how to configure MDT to restart the target computer after installing an application, see Configure the Application Properties Details Tab.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
111
Setting
Description Specify in the MandatoryApplications property in CustomSettings.ini or the MDT DB You use the Success codes box in conjunction with this option to identify the application installation return codes that indicate a successful application deployment. The default values in this box are 0 and 3010 for the task sequence step in the templates included in MDT.
Note This configuration option is the default selection for the Install Applications task sequence step.
For more information on the: Applications property, see the section, "Applications", in the MDT document Toolkit Reference. MandatoryApplications property, see the section, "MandatoryApplications", in the MDT document Toolkit Reference. Install single application Select to install one or more applications in a single task sequence step. You use the Application to install box in conjunction with this option to select the application to install, including any application dependencies for the selected application.
Customize the application-deployment process in the task sequences by: Configuring the existing Install Applications task sequence step in the State Restore group as described in Configure an Existing Install Applications Task Sequence Step Creating a new task sequence step based on the Install Application task sequence type as described in Create a New Task Sequence Step for Installing Applications
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
112
3. In the details pane, click task_sequence (where task_sequence is the name of the task sequence to configure). 4. In the Actions pane, click Properties. The task_sequence Properties dialog box opens (where task_sequence is the name of the application to configure). 5. In the task_sequence Properties dialog box (where task_sequence is the name of the application you want to configure), click the Task Sequence tab. 6. In the hierarchy of the task sequence, go to State Restore/Install Applications. 7. On the Properties tab, configure the settings listed in Table 45 based on the requirements of your organization, and then click OK. Table 45. Configuration Settings on the Properties Tab of the Install Applications Task Sequence Setting Name Description Install multiple applications Description Configures the name of the task sequence step displayed in the task sequence hierarchy. Configures the description text for the task sequence step. Select to configure the task sequence step to install any applications that you: Select in the Deployment Wizard Specify in the Applications property in CustomSettings.ini or the MDT DB Specify in the MandatoryApplications property in CustomSettings.ini or the MDT DB Success codes Configures the list of success codes for the applicationinstallation software. Each success code is separated by a space. This text box is only enabled when you select the Install multiple applications option. Configures the task sequence step to install only the application listed in the Application to install box. Configures the application to be installed when you select the Install a single application option. Select the application to install by clicking Browse. This text box is enabled only when you select Install a single application.
The updated task sequence appears in the details pane of the Deployment Workbench.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
113
To create a new task sequence step for installing applications 1. Create a new task sequences step based on the Install Application type at the appropriate place in the task sequence hierarchy as described in Configure the Task Sequence Properties Task Sequence Tab. 2. Configure the new task sequence step to deploy one or more applications as described in Configure an Existing Install Applications Task Sequence Step.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
114
Deleting a package as described in Delete a Package from the Deployment Workbench Managing folders for packages as described in Manage Folders for Packages in the Deployment Workbench Enabling or disabling a package Enable or Disable a Package in the Deployment Workbench Preventing a package from being visible as described in Prevent a Package from Being Visible in the Deployment Wizard Customizing package installation as described in Customize Package Installation in Task Sequences
Solution Accelerators
115
Do this
Note You can alternatively click Browse to find the folder on a local drive or network shared folder.
Summary Confirmation
View the information in the Details box, and then click Next.
Tip You can click Save Output to save the output of the wizard to a file. You can also click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Click Finish. The Import OS Packages Wizard finishes. The package is added to the list of packages in the details pane of the Deployment Workbench.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
116
Setting Name
Description Contains the name of the package displayed in the Deployment Workbench. If Display name is not configured, this value is also displayed in the Deployment Wizard. Provides information about the package. (Optional) Contains the name displayed in the Deployment Wizard instead of the value in Name. If no value is specified, the value in Name is displayed in the Deployment Wizard. Type of package, which typically includes the following high-level types of packages: Language packs Quick Fix Engineering patches Feature packs
Note The package type in this text box is automatically determined by the Deployment Workbench and cannot be modified.
Type
Processor architecture
Target processor architecture for the package; it can be x86, amd64, or ia64.
Note The processor architecture in this box is automatically determined by the Deployment Workbench and cannot be modified.
Language
Keyword
Contains the public key token that MDT uses to updated the unattended.xml file.
Note The public key token in this text box is automatically determined by the Deployment Workbench and cannot be modified.
Version
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
117
Description Contains the name of the product for which the package is intended.
Note The product name in this text box is automatically determined by the Deployment Workbench and cannot be modified.
Product version
Contains the version number of the product for which the package is intended.
Note The product version number in this text box is automatically determined by the Deployment Workbench and cannot be modified.
Package path
Contains the path of the package relative to the root of the deployment share.
Note The path in this text box is automatically determined by the Deployment Workbench and cannot be modified.
Select to control when this package appears in the Deployment Wizard. If the check box is: Selected, the Deployment Wizard will not display this package Cleared, the Deployment Wizard displays this package
Note The check box is cleared by default.
Select to control when this package is available to other wizards and dialog boxes in the Deployment Workbench. If the check box is: Selected, other wizards and dialog boxes in the Deployment Workbench are able to select this package Cleared, other wizards and dialog boxes in the Deployment Workbench are unable to select this package
Note The check box is selected by default.
The package configuration settings are saved, and the modifications are displayed in the details pane of the Deployment Workbench.
118
For more information on enabling or disabling packages in the Deployment Workbench, see Configuring Packages in the Deployment Workbench.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
119
120
7. On the Properties tab, configure the settings listed in Table 48 based on the requirements of your organization, and then click OK. Table 48. Configuration Settings on the Properties Tab of the Install Applications Task Sequence Step Setting Name Description Selection profile Description Configures the name of the task sequence step displayed in the task sequence hierarchy. Configures the description text for the task sequence step. Used to select the selection profile that contains the updates you want to deploy in this task sequence step. The selection profile can contain one or more packages to be deployed.
The updated task sequence appears in the details pane of the Deployment Workbench.
To create a new task sequence step for installing packages 1. Create a new task sequences step based on the Install Updates Offline type at the appropriate place in the task sequence hierarchy as described in Configure the Task Sequence Properties Task Sequence Tab. 2. Configure the new task sequence step to deploy one or more packages by selecting the appropriate selection profile containing the packages to be installed as described in Configure an Existing Install Applications Task Sequence Step.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
121
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
122
Configure device drivers in the Deployment Workbench in a deployment shares Out-of-Box node by: Importing device drivers as described in Import Device Drivers into the Deployment Workbench Modifying existing device drivers as described in Modify Existing Device Drivers in the Deployment Workbench Copying device drivers as described in Copy Device Drivers in the Deployment Workbench Moving device drivers as described in Move Device Drivers in the Deployment Workbench Renaming device drivers as described in Rename Device Drivers in the Deployment Workbench Deleting device drivers as described in Delete Device Drivers from the Deployment Workbench Managing folders for device drivers as described in Manage Folders for Device Drivers in the Deployment Workbench Enabling or disabling device drivers as described in Enable or Disable Device Drivers in the Deployment Workbench Deploy specific device drivers to target computers for LTI deployments as described in Deploy Specific Device Drivers to Target Computers in LTI
123
The Import Driver Wizard starts. 4. Complete the Import Driver Wizard using the information in Table 49. Table 49. Information for Completing the Import Driver Wizard On this wizard page Specify Directory Do this 1. In Driver source directory, type path (where path is the fully qualified path to the folder that contains the device drivers you want to import).
Note You can alternatively click Browse to find the folder on a local drive or network shared folder.
2. Select or clear the Import drivers even if they are duplicates of an existing driver check box based on the requirements of your organization. If the check box is: Selected, the wizard will import the drivers even if the same drivers already exist Cleared, the wizard will not import the drivers if the same drivers already exist
Tip In most instances, do not select this check box, as doing so increases the size of the deployment share and makes driver management more complex.
Click Finish. The Import Drivers Wizard finishes. The device drivers are added to the list of device drivers in the details pane of the Deployment Workbench.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
124
Configure properties on the General tab as described in Configure the Device Driver Properties General Tab. View properties on the Details tab as described in View the Device Driver Properties Details Tab.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
125
Setting
Description
Note If the Deployment Workbench incorrectly detects the platforms that the device driver supports, you can clear the platform selection. For example, if the Deployment Workbench incorrectly detects 32-bit and 64-bit device drivers, clear the x64 selection; the driver will then only be used for 32-bit deployments.
Platforms: x64
Select to control whether this device driver is for 64-bit operating system. If the check box is: Selected, the device driver is available for deployment to 64-bit operating systems Cleared, the device driver is unavailable for deployment to 64-bit operating systems
Note If the Deployment Workbench incorrectly detects the platforms that the device driver supports, you can clear the platform selection. For example, if the Deployment Workbench incorrectly detects 32-bit and 64-bit device drivers, clear the x64 selection; the driver will then only be used for 32-bit deployments.
Select to control whether this device driver is available to other wizards and dialog boxes in the Deployment Workbench. If the check box is: Selected, the device driver is available to other wizards and dialog boxes in the Deployment Workbench Cleared, the device driver is unavailable to other wizards and dialog boxes in the Deployment Workbench
Note The check box is selected by default.
The device driver configuration settings are saved, and the modifications are displayed in the details pane of the Deployment Workbench.
126
2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Out-of-Box Drivers (where deployment_share is the name of the deployment share in which you will configure the device driver). 3. In the details pane, click driver_name (where driver_name is the name of the device driver you want to configure). 4. In the Actions pane, click Properties. The driver_name Properties dialog box opens (where driver_name is the name of the device driver you want to configure). 5. On the Details tab, view the settings listed in Table 51, and then click OK.
Note The configuration settings on the Details tab are automatically determined by the Deployment Workbench and cannot be modified.
Table 51. Configuration Settings on the Details Tab of the Device Driver Properties Setting Manufacturer Version Driver date Driver type (class) INF path Supported OS versions Hash Supported PnP IDs This driver is WHQL signed Description Contains the name of the device driver manufacturer. Contains the version number of the device driver. Contains the date of the device driver. Contains the class of the device driver, such as system or boot. Contains the path to the device drive file relative to the root of the deployment share. Contains a comma-separated list of the Windows operating system versions that the device driver supports. Contains the encrypted hash of every file that is part of the driver package. Contains a list of the plug-and-play IDs that the device driver supports. Select to indicate whether the device driver is signed by the Windows Hardware Quality Labs (WHQL). For device drivers that pass the WHQL tests, Microsoft creates a digitally signed certification file that allows installation on 64-bit versions of Windows 7 and Windows Vista and prevents 32-bit versions of Windows 7 and Windows Vista and all versions of Windows XP from displaying a warning message that the driver
microsoft.com/technet/SolutionAccelerators
Solution Accelerators
127
Setting
Description has not been certified by Microsoft. If the check box is: Selected, the device driver has been signed by the WHQL Cleared, the device driver has not been signed by the WHQL
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
128
For more information on enabling or disabling device drivers in the Deployment Workbench, see Modify Existing Device Drivers in the Deployment Workbench.
129
Deleting task sequences as described in Delete Task Sequences from the Deployment Workbench Managing folders for task sequences as described in Manage Folders for Task Sequences in the Deployment Workbench Enabling or disabling a task sequence as described in Enable or Disable a Task Sequence in the Deployment Workbench Preventing task sequences from being visible in the Deployment Wizard as described in Prevent a Task Sequence from Being Visible in the Deployment Wizard Modifying the unattended setup answer file for a task sequence as described in Modify the Unattended Setup Answer File Associated with the Task Sequence
Description Performs a Sysprep operation and captures an image of a reference compute. Creates the default task sequence for deploying operating system images to client computers, including desktop and portable computers Backs up the system entirely, backs up the user state, and wipes the disk
microsoft.com/technet/SolutionAccelerators
130
Template Custom Task Sequence Standard Server Task Sequence Litetouch OEM Task Sequence
Description Creates a customized task sequence that does not install an operating system Creates the default task sequence for deploying operating system images to server computers. Pre-loads operating systems images on computers in a staging environment prior to deploying the target computers in the production environment (typically by a computer OEM). Performs installation tasks after the operating system has been deployed to the target computer Deploys client operating system images to a virtual hard disk (VHD) file on the target computer Deploys server operating system images to a VHD file on the target computer
Post OS Installation Task Sequence Deploy to VHD Client Task Sequence Deploy to VHD Server Task Sequence
Note Select the Litetouch OEM task sequence only when performing deployments using removable mediabased deployments you create in the Media node in the Deployment Workbench. Although you can select the Litetouch OEM Task Sequence template from other deployment shares, the task sequence will not finish successfully.
To create a new task sequence 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Task Sequences (where deployment_share is the name of the deployment share to which you will add the task sequence). 3. In the Actions pane, click New Task Sequence. The New Task Sequence Wizard starts. 4. Complete the New Task Sequence Wizard using the information in Table 53. Table 53. Information for Completing the New Task Sequence Wizard On this wizard page General Settings Do this 1. In Task sequence ID, type task_sequence_id (where task_sequence_id is a unique identifier for the task sequence you are creating).
Tip Although you can change a task sequences name and comments later, you cannot change a task sequences ID. Before creating task sequences, create a naming scheme to use in creating task sequence IDs
Solution Accelerators microsoft.com/technet/SolutionAccelerators
131
Do this
that will provide meaningful information about each task sequence. An example naming scheme is VersionEdition-Level-Label, where Version is the operating system version (Win7, win2008), Edition is the operating system edition (Enterprise, Standard, Ultimate), Level is the service pack level (SP1, SP2), and Label is a descriptive label that identifies the customizations.
2. In Task sequence name, type task_sequence_name (where task_sequence_name is a descriptive name for the task sequence you are creating). 3. In Task sequence comments, type task_sequence_comment (where task_sequence_comment is text that describes the purpose or usage of the task sequence). 4. Click Next. Select Template In The following task sequence templates are available. Select the one you would like to use as a starting point, select task_sequence, and then click Next. In The following operating system images are available to be deployed with this task sequence. Select one to use, select operating_system (where operating_system is the operating system in the Operating Systems node in the Deployment Workbench that you want to deploy to the resource or target computer), and then click Next. 1. Click one of the following options based on the requirements of your organization: Do not specify a product key at this time. Select this option when a product key is not required when deploying Windows 7, Windows Vista, Windows Server 2008 R2, or Windows Server 2008; when the product key will be provided in the Deployment Wizard; or when using volume licenses that are activated using KMS. Specify a multiple activation key (MAK) for activating this operating system. Select this option when deploying Windows Vista or later operating systems
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Select OS
132
Do this using MAK product keys in the deployment. MAK product keys are used by Microsoft Volume Licensing customers. Specify the product key for this operating system. Select this option when deploying Windows XP or Windows Server 2003 Volume Licensing keys or retail product keys.
Note For more information about Volume Activation and product keys in MDT, see Windows Vista Volume Activation 2.0 Technical Guidance at http://go.microsoft.com/fwlink/?LinkID=75674.
2. Click Next. OS Settings 1. In Full Name, type user_full_name (where user_full_name is the name of the user of the target computer). 2. In Organization, type organization_name (where organization_name is the name of the organization). 3. In Internet Explorer Home Page, type home_url (where home_url is the Uniform Resource Locator [URL] of the website to be the default site when starting Internet Explorer). 4. Click Next. Admin Password In Administrator Password and Please confirm Administrator Password, type password (where password is the password to be assigned to the built-in Administrator account on the reference or target computer), and then click Next. Click Next. Click Finish.
Summary Confirmation
The New Task Sequence Wizard finishes. The package is added to the list of packages in the details pane of the Deployment Workbench.
133
Workbench by performing the following steps in the task sequence Properties dialog box: Configure properties on the General tab as described in Configure the Task Sequence Properties General Tab. Configure properties on the Task Sequence tab as described in Configure the Task Sequence Properties Task Sequence Tab. Configure properties on the OS Info tab as described in Configure the Task Sequence Properties OS Info Tab.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
134
Setting
Description
Task sequence name Contains the name of the task sequence displayed in the Deployment Workbench and the Deployment Wizard. Comments Task sequence version Provides information about the task sequence. Contains the version number of the task sequence. You can type any version number that is appropriate for your organizations versioning standards. Select to configure the task sequence to run on any supported 32-bit or 64-bit Windows operating system. The other available option is This can run only on the specified client platforms. Select to configure the task sequence to run on any supported 32-bit or 64-bit Windows operating system. The other available option is This can run only any platform. Select to control when this task sequence appears in the Deployment Wizard. If the check box is: Selected, the Deployment Wizard will not display this task sequence Cleared, the Deployment Wizard displays this task sequence
Note This check box is cleared by default.
This can run only on the specified client platforms Hide this task sequence in the Deployment Wizard
Select to control when this task sequence is available to other wizards and dialog boxes in the Deployment Workbench. If the check box is: Selected, other wizards and dialog boxes in the Deployment Workbench can select this task sequence Cleared, other wizards and dialog boxes in the Deployment Workbench cannot select this task sequence
Note This check box is selected by default.
The task sequence configuration settings are saved, and the modifications are displayed in the details pane of the Deployment Workbench.
135
update the task sequence properties on the Task Sequence tab through the task_sequence_name Properties dialog box (where task_sequence_name is the name of the task sequence in the Deployment Workbench). The Task Sequence tab contains areas and other controls that you use to: Configure steps and sequences as described in Configure the Task Sequence Steps and Step Sequence Configure step properties as described in Configure the Task Sequence Step Properties Configure step options as described in Configure the Task Sequence Step Options Configure the Task Sequence Steps and Step Sequence The Task Sequence tab contains a hierarchical representation of the task sequence steps and their sequence. Task sequence steps are organized into a hierarchical folder structure based on deployment phases. You can organize one or more task sequence steps by creating a group. You can organize multiple groups and task sequence steps to create a hierarchy of groups and task sequence steps. You use task sequence step groups to control the processing of one or more task sequence steps as a unit. Configure the task sequence steps and step sequence by selecting one of the following options from the menu bar at the top of the hierarchical representation: Add. Select to add a task sequence step group or step to the task sequence. The categories of task sequence steps that you can add are listed in Table 56 along with the task sequence step types in each category. For more information about each of the task sequence step types listed in Table 55, see the corresponding section in the MDT document Toolkit Reference. Table 55. Task Sequence Step Categories and Types Category Task sequence step types in this category General Run Command Line Set Task Sequence Variable Restart computer Gather Install Updates Offline Validate Install Application Inject drivers Disks
Solution Accelerators
136
Category Task sequence step types in this category Enable BitLocker Images Settings Install Operating System Apply Network Settings Capture Network Settings Recover From Domain Roles Install Roles and Features Configure DHCP Configure DNS Configure ADDS Authorize DHCP Remove. Select to remove the currently highlighted task sequence step or group.
Important If you remove a task sequence group, you also remove all the task sequence steps in that group.
Up. Select to configure a task sequence step to be processed earlier in the deployment process. The move is reflected in the task sequence hierarchy.
Note If you move the first task sequence step in a task sequence group up, the task sequence step will be performed before the entire group and will be removed from the group. If another task sequence group immediately precedes the group, the task sequence step will become the last step in the preceding group.
Down. Select to configure a task sequence step to be processed earlier in the deployment process.
Note If you move the last task sequence step in a task sequence group down, the task sequence step will be performed after the entire group and will be removed from the group. If another task sequence group immediately follows the group, the task sequence step will become the first step in the following group.
To modify existing task sequence steps and step sequence 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Task Sequences (where deployment_share is the name of the deployment share in which you will configure the task sequence). 3. In the details pane, click task_sequence_name (where task_sequence_name is the name of the task sequence you want to configure). 4. In the Actions pane, click Properties.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
137
The task_sequence_name Properties dialog box opens (where task_sequence_name is the name of the task sequence you want to configure). 5. On the Task Sequence tab, in the task sequence hierarchy, configure the task sequence steps and step sequences based on the requirements of your organization, and then click OK. The task sequence configuration settings are saved, and the modifications are displayed in the details pane of the Deployment Workbench. For more information about customizing task sequence steps for installing: Applications, see Customize Application Installation in Task Sequences Packages, see Customize Package Installation in Task Sequences Configure the Task Sequence Step Properties On the Properties tab, you configure the properties for task sequence groups or individual task sequence steps. The configuration settings for: Task sequence groups are the same for all groups Task sequence steps are different for each task sequence step type Table 56 lists the properties common to task sequence groups and steps. In addition to these properties, most task sequence steps have properties that are specific to the task sequence type. Table 56. Properties Common to Task Sequence Groups and Steps Setting Type Description Contains the task sequence type, which is always set to Group for task sequence groups or to the types listed in Table 55 Contains the name of the task sequence group or step displayed in the task sequence hierarchy Provides descriptive information about the task sequence group or step
Name Description
For more information about: Configuring specific task sequence step types, see the corresponding section in Configuring Task Sequences in the Deployment Workbench The properties for each task sequence type, see the section for corresponding task sequence steps in the MDT document Toolkit Reference To modify existing task sequence group and individual step properties
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
138
1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Task Sequences (where deployment_share is the name of the deployment share in which you will configure the task sequence). 3. In the details pane, click task_sequence_name (where task_sequence_name is the name of the task sequence you want to configure). 4. In the Actions pane, click Properties. The task_sequence_name Properties dialog box opens (where task_sequence_name is the name of the task sequence you want to configure). 5. On the Task Sequence tab, in the task sequence hierarchy, click the Properties tab. 6. On the Properties tab, configure the task sequence group or individual step based on the requirements of your organization, and then click OK. Configure the Task Sequence Step Options On the Options tab, you configure settings that control how the task sequence step runs. These settings allow you to disable the step, specify the return codes for the step that indicate success, determine whether the step should continue in the event of an error, and any conditions for running the step. The configuration settings on the Options tab for: A task sequence group affect all the steps with the group An individual task sequence step affect only that step For example, if you configure a condition for a task sequence group, that condition affects all the task sequence steps within the group. To modify existing task sequence group and individual step options 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Task Sequences (where deployment_share is the name of the deployment share in which you will configure the task sequence). 3. In the details pane, click task_sequence_name (where task_sequence_name is the name of the task sequence you want to configure). 4. In the Actions pane, click Properties.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
139
The task_sequence_name Properties dialog box opens (where task_sequence_name is the name of the task sequence you want to configure). 5. On the Task Sequence tab, in the task sequence hierarchy, click the Options tab. 6. On the Options tab, configure the task sequence group or individual step sequences based on the requirements of your organization, and then click OK. 7. On the Task Sequence tab, configure the settings listed in Table 57 based on the requirements of your organization, and then click OK. Table 57. Configuration Settings on the Task Sequence Tab of Task Sequence Properties Setting Disable this step Description Select to control whether the task sequence step runs during the task sequence. If the check box is: Selected, the task sequence group or step is not run during the task sequence Cleared, the task sequence group or step runs during the task sequence
Note This check box is cleared by default.
Success codes
Contains the list of numeric codes that indicate whether the task sequence step finished successfully.
Note Success codes are not available in task sequence step groups.
Continue on error
Select to control whether the task sequence should continue when the task sequence group or step encounters an error. If the check box is: Selected, the task sequence continues if the group or step encounters an error Cleared, the task sequence will not continue if the group or step encounters an error
Note This check box is selected by default.
Contains any conditional criteria for running this step. If no criteria are specified, the step runs. Add criteria for determining when the group of tasks should (or should not) run. Use the Add, Remove, and Edit buttons to modify the conditions under which the group of tasks runs.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
140
Setting
Description The criteria can be based on: An IF statement A task sequence variable The version of the target operating system. A Windows Management Instrumentation (WMI) Query Language (WQL) query within a WMI namespace
Note Any conditions configured for a group affect all the tasks within a group.
For more information about conditions in task sequence steps, see Configure Task Sequence Step Conditions.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
141
Description Contains the name of the operating system that you provided when creating the task sequence for example Windows 7 ENTERPRISE.
Note The information in this text box is automatically generated by the Deployment Workbench and cannot be modified.
Build
Platform
Edit Unattend.xml
Click to modify the contents of the Unattended.xml file that the Deployment Workbench generates for Windows 7 or Windows Vista operating systems. The Deployment Workbench cannot create catalog files for some Windows images of different architecture types. The following list describes the architecture types running the Deployment Workbench and catalogs that you can create for each architecture: Deployment Workbench running on x86. Creates catalogs for x86 and x64 Windows images Deployment Workbench running on x64. Creates catalogs only for x64 Windows images
Note The Get Operating System Catalog Wizard may appear if an operating system does not yet have a catalog. You will see a progress bar in the Get Operating System Catalog Wizard, but no user interaction is required. The wizard may take a few minutes to finish.
Edit Unattend.txt
Click to modify the contents of the Unattend.txt that the Deployment Workbench generates for Windows XP and Windows Server 2003 operating systems.
Note The Get Operating System Catalog Wizard may appear if an operating system does not yet have a catalog. A
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
142
Setting
Description
progress bar appears in the wizard, but no user interaction is required. The wizard may take a few minutes to finish.
Edit Sysprep.inf
Click to modify the contents of the Sysprep.inf file that the Deployment Workbench generates for Windows XP and Windows Server 2003 operating systems.
The task sequence configuration settings are saved, and the modifications are displayed in the details pane of the Deployment Workbench.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
143
Modify the Unattended Setup Answer File Associated with the Task Sequence
MDT automatically updates the unattended setup answer file (Unattend.xml) for a task sequence based on the configuration settings you provide in the Deployment Workbench and in the Deployment Wizard. However, there are instances in which you may need to modify the unattended setup answer file for a task sequence directly, such as when you modify a configuration parameter that is not exposed in the Deployment Workbench or in the Deployment Wizard. Directly modify the unattended setup answer file for a task sequence by clicking Edit Unattend.xml on the OS Info tab of the task sequence Properties dialog box. For more information about: Modifying the unattended setup answer file in the Deployment Workbench, see Configure the Task Sequence Properties OS Info Tab Unattend.xml, see the Windows Automated Installation Kit Users Guide in the Windows AIK Sysprep.inf and Unattend.txt, see the Microsoft Windows Corporate Deployment Tools Users Guide (Deploy.chm) and the Microsoft Windows Preinstallation Reference (Ref.chm), both of which are in the Deploy.cab file in the Support\Tools folder on the Windows installation media
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
144
Managing folders as described in Manage Folders in the Deployment Workbench Viewing item properties as described in View Item Properties in the Deployment Workbench Copying items as described in Copy Items in the Deployment Workbench Moving items as described in Move Items in the Deployment Workbench Renaming items as described in Rename Items in the Deployment Workbench Deleting items as described in Delete Items from the Deployment Workbench
Management tasks for folders include: Creating a new folder as described in Create a New Folder in the Deployment Workbench Modifying an existing folder as described in Modify an Existing Folder in the Deployment Workbench Copying a folder as described in Copy a Folder in the Deployment Workbench Moving a folder as described in Move a Folder in the Deployment Workbench Renaming a folder as described in Rename a Folder in the Deployment Workbench Deleting a folder as described in Delete a Folder from the Deployment Workbench Enabling or disabling a folder as described in Enable or Disable a Folder in the Deployment Workbench
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
145
In the console tree, click a node or a folder. Then, from the Action menu, click New Folder. In the console tree, right-click a node or a folder. Then, click New Folder. To create a new folder 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/node_or_folder (where deployment_share is the name of the deployment share in which you will create the folder and node_or_folder is the name of the node or folder in which you will create the folder). 3. In the Actions pane, click New Folder. The New Folder Wizard starts. 4. Complete the New Folder Wizard using the information in Table 59. Table 59. Information for Completing the New Folder Wizard On this wizard page General Settings Do this 1. In Folder name, type folder_name (where folder_name is the name of the folder you want to create). 2. In Folder comment, type folder_comment (where folder_comment is text that describes the user of the folder in the deployment share). 3. Select or clear the Enable this folder check box based on the needs of your organization. If this check box is: Selected, the folder, subfolders, and content can be included in selection profiles Cleared, the folder, subfolders, and content cannot be included in selection profiles 4. Click Next. Summary Confirmation Review the information, then click Next.
Tip You can click Save Output to save the output of the wizard to a file. You can also click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
146
After the New Folder Wizard finishes, the new folder appears in the deployment share in the Deployment Workbench.
147
Setting
The folder configuration settings are saved, and the modifications are displayed in the details pane of the Deployment Workbench.
148
1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/item_type (where deployment_share is the name of the deployment share in which you will copy the item and item_type is the type of item you will copy, such as an operating system or device driver). 3. In the details pane, click item (where item is the name of the item to be renamed). 4. In the Actions pane, click Properties. The item Properties dialog box is displayed (where item is the name of the item you selected).
149
Paste the item that you have copied using one of the following methods: In the details pane, click the target location. Then, in the Actions pane, click Paste. In the details pane, click the target location. Then, from the Action menu, click Paste. In the details pane, right-click the target location, and then click Paste. To copy and paste items in a deployment share 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/item_type (where deployment_share is the name of the deployment share in which you will copy the item and item_type is the type of item you will copy, such as an operating system or device driver). 3. In the details pane, click item (where item is the name of the item to be copied). 4. In the Actions pane, click Copy. 5. In the details pane, go to target_folder (where target_folder is the name of the folder where you want to copy the item). 6. In the Actions pane, click Paste. The new copy of the item appears in the details pane of the Deployment Workbench.
150
The item is copied to the target location in the details pane of the Deployment Workbench.
151
152
4. In the details pane, type new_item_name (where new_item_name is the new name of the item), and then press ENTER. The new name of the item appears in the details pane of the Deployment Workbench.
153
Check box
Description or other items that have the same source file are unaffected
Note When you delete an item from the Deployment Workbench, the corresponding file or folder is also deleted in the deployment_share\item_type\item_subfolder (where deployment_share is the name of the deployment share and item_type is the type of item you are deleting, such as an operating system or device driver) if no remaining items reference the folder.
To delete an item from a deployment share 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/item_type (where deployment_share is the name of the deployment share to which you will add the operating system and item_type is the type of item you are deleting, such as an operating system or device driver). 3. In the details pane, click item (where item is the name of the item to be deleted, such as a folder, an operating system, or a device driver). 4. In the Actions pane, click Delete. The Delete Selected Items Wizard starts. 5. Complete the Delete Selected Items Wizard using the information in Table 62. Table 62. Information for Completing the Delete Selected Items Wizard On this wizard page Options Do this 1. Select or clear the Completely delete these items, even if there are copies in other folders check box based on your requirements. By default, this check box is cleared. 2. Select or clear the Recursively delete the contents of folders, as well as multiple items that have the same source file check box based on your requirements. By default, this check box is cleared. 3. Click Next. Summary Confirmation Click Next.
Tip You can click Save Output to save the output of the wizard to a file. You can also click View Script to view the Windows PowerShell scripts used to perform the wizard
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
154
Do this
tasks.
Click Finish. After the Delete Selected Items Wizard finishes, the item and other affected items are removed from the Deployment Workbench and from the deployment share.
155
Table 63. Default Selection Profiles in Deployment Workbench Selection profile Everything Description Holds all folders from all nodes in the Deployment Workbench, including all applications, operating systems, device drivers, operating system packages, and task sequences. Holds all folders from the Out-of-Box Drivers node in the Deployment Workbench, including all device drivers. Holds all folders from the Applications and Out-of-Box Drivers nodes in the Deployment Workbench, including all applications and device drivers. Holds all folders from the Applications node in the Deployment Workbench, including all applications and device drivers. Includes no folders or items in the Deployment Workbench. A sample selection profile that shows how to select a subset of the items and include all folders from the Packages and Task Sequences nodes in the Deployment Workbench. This selection profile includes all operating system packages and task sequences.
All Drivers
Nothing Sample
Manage selection profiles by completing the following tasks in the Deployment Workbench: Create a new selection profile as described in Create a New Selection Profile in the Deployment Workbench. Modify an existing selection profile as described in Modify an Existing Selection Profile in the Deployment Workbench. Copy a selection profile as described in Copy a Selection Profile in the Deployment Workbench. Move a selection profile as described in Move a Selection Profile in the Deployment Workbench. Rename a selection profile as described in Rename a Selection Profile in the Deployment Workbench. Delete a selection profile as described in Delete a Selection Profile from the Deployment Workbench. Identify the differences between selection provides and groups as described in Identify the Relationship Between Selection Profiles and Groups.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
156
Summary
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
157
Do this
Tip You can click Save Output to save the output of the wizard to a file. You can also click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Click Finish. The New Selection Profile Wizard finishes. The selection profile is added to the list of selection profiles in the details pane of the Deployment Workbench.
Comments
Solution Accelerators
158
Setting Folders
The selection profile configuration settings are saved, the modifications are displayed in the details pane of the Deployment Workbench, and the deployment_share\Control\SelectionProfiles.xml file (where deployment_share is the name of the deployment share) is updated with the selection profile configuration settings.
159
LinkedDeploymentShareGroups.xml MediaGroups.xml OperatingSystemGroups.xml PackageGroups.xml SelectionProfileGroups.xml TaskSequenceGroups.xml For example, consider a selection profile for device drivers called WinPEAndFullOS that are stored in a folder created immediately beneath the Out-of-Box Drivers node. The following code is an excerpt from the DriverGroups.xml file generated when you created the selection profile: <groups> <group_quid="{e5143c1c-24e4-466d-9b56-b0db693c8619}" enable="True"> <Name>WinPEAndFullOS</Name> <Member>{1eca45a5-d7ef-475a-bb0d7f7747f16b3a}</Member> SelectionProfiles.xml. This file contains the definitions for all the selection profiles defined for the deployment share. The following code is an excerpt from the SelectionProfile.xml file generated when you created the WinPEAndFullOS selection profile: <selectionProfile quid="{46a3e6a2-694c-4c2f-afd8a2986e6e252e}" enable="True"> <Name>Drivers Safe For WinPE</Name> <Comments>Include Driver packages safe for WinPE.</Comments> <ReadOnly>True</ReadOnly> <Definition><SelectionProfile><Include path="Out-of-Box Drivers\WinPEAndFullOS" /><Include path="Out-of-Box Drivers\WinPEOnly" /></SelectionProfile></Definition> </selectionProfile> By default, if you do not specify a selection profile or group in the CustomSettings.ini file or in the MDT DB, LTI uses all items. If you specify both selection profiles and groups in the CustomSettings.ini file or the MDT DB, LTI uses all the items from both the selection profile and the group. For example, if you specify a selection profile and use the default group (which includes all items), the end result is that LTI uses all items, because the default group includes all items, regardless of what you specify in the selection profile.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
160
To restrict the items to a selection profile, specify a group that contains no items (that is, is empty). The reverse is true if you want to use a group. Because of the introduction of folders in MDT, groups include all folders and subfolders by default. You can override this behavior using the SkipGroupSubFolders property. For more information on this property, see the corresponding section in the MDT document Toolkit Reference. In most instances, you can use selection profiles and groups to perform most deployments. However, the following properties are available for more advanced scenariossuch as if you want to exclude a parent folder but include a child folder: CustomDriverSelectionProfile CustomPackageSelectionProfile CustomWizardSelectionProfile For more information on these properties, see the corresponding sections in the MDT document Toolkit Reference.
161
Delete a linked deployment share as described in Delete a Linked Deployment Share from the Deployment Workbench. Replicate linked deployment shares as described in Replicate Linked Deployment Shares in the Deployment Workbench.
162
Do this information about the linked deployment share). 3. In Selection profile, click profile (where profile is the name of the selection profile that will be used to establish the items to be linked between the source and target deployment shares). 4. Under Selection profile, click one of the following options based on your requirements: Merge the selected content into the target deployment share. Select to configure the wizard to copy the content in the selection profile into an existing target deployment share without deleting or overwriting any folders or items in the target deployment share. Selecting this option also copies the standard folders from the source deployment share, including the Scripts, Tools, USMT, and $OEM$ folders. Replace the contents of the target deployment share folders with those selected. Select to configure the wizard to copy the content in the selection profile into an existing target deployment share and overwrite any existing folders or items in the target deployment share. Selecting this option also copies the standard folders from the source deployment share, including the Scripts, Tools, USMT, and $OEM$ folders. By default, the Merge the selected content into the target deployment share option is selected. 5. Click Next.
Summary Confirmation
Click Finish.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
163
The New Linked Deployment Share Wizard finishes, and the linked deployment share is added to the list of linked deployments shares in the details pane of the Deployment Workbench.
Comments
Solution Accelerators
164
Setting Linked deployment share UNC path Choose a selection profile Merge the selected content into the target deployment share
Description Contains the fully qualified UNC path to the target deployment share. Contains the selection profile that identifies the content to be replicated between the source and target deployment shares. Click to configure the wizard to copy the content in the selection profile into an existing target deployment share without deleting or overwriting any folders or items in the target deployment share. Selecting this option also copies the standard folders from the source deployment share, including the Scripts, Tools, USMT, and $OEM$ folders. Click to configure the wizard to copy the content in the selection profile into an existing target deployment share and overwrite any existing folders or items in the target deployment share. Selecting this option also copies the standard folders from the source deployment share, including the Scripts, Tools, USMT, and $OEM$ folders. Select to configure the Replicate to Linked Deployment Share Wizard to share. If this check box is: Selected, the standard folders are copied to the linked deployment share Cleared, the standard folders are not copied to the linked deployment share This check box is cleared by default. Select to configure the Replicate to Linked Deployment Share Wizard to automatically update any boot images in the linked deployment share after the content is replicated from the source deployment share. If this check box is: Selected, the boot images in the linked deployment share are automatically updated when replication is complete Cleared, the boot images in the linked deployment share are not automatically updated when replication is complete This check box is cleared by default.
Replace the contents of the target deployment share folders with those selected
Copy standard folders (Scripts, Tools, USMT, $OEM$) to this linked deployment share
Automatically update boot images after replicating content to this linked deployment share
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
165
Setting
Description
Note By default, the linked deployment share is configured to generate 32-bit and 64-bit boot images. Open the linked deployment share in the Deployment Workbench to change this default behavior as described in Open an Existing Deployment Share in the Deployment Workbench.
Access the linked deployment share in single-user mode in order to improve replication performance
Select to configure the Replicate to Linked Deployment Share Wizard to open the linked deployment share in single-user mode while replicating the content to the linked deployment share. Single-user mode improves replication performance, If this check box is: Selected, the linked deployment share is opened in single-user mode as replication is performed and replication performance is improved
Note If you select this check box, changes that other users make in the linked deployment share may be overwritten and lost during the replication process.
Cleared, the linked deployment share is not opened in single-user mode as replication is performed and replication performance is unimproved This check box is cleared by default. The linked deployment share configuration settings are saved. The modifications are displayed in the details pane in the Deployment Workbench.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
166
To replicate content to a linked deployment share 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Advanced Configuration/Linked Deployment Share (where deployment_share is the name of the deployment share where you will add the application). 3. In the details pane, click linked_deployment_share (where linked_deployment_share is the name of the linked deployment share you want to configure). 4. In the Actions pane, click Replicate Content. The Replicate to Linked Deployment Share Wizard starts. The replication process starts automatically and is displayed on the Progress wizard page. 5. Complete the Replicate to Linked Deployment Share Wizard using the information in Table 68. Table 68. Information for Completing the Replicate to Linked Deployment Share Wizard On this wizard page Progress Confirmation Do this View the progress of the replication process.
Tip You can click Save Output to save the output of the wizard to a file. You can also click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
167
Note If you view the output of the wizard, the replication appears to have occurred twice. However, the replication is actually performed in two passes: The first pass copies new items into the linked deployment share, and the second pass deletes any items that are no longer needed in the linked deployment share.
The Replicate to Linked Deployments Share wizard finishes. The folders and the content you specified in the selection profile in the linked deployment share are replicated from the source deployment share to the target deployment share. Depending on the configuration of the linked deployment share, the folders and content on the target deployment share are merged or replaced.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
168
2. In Comments, type comment (where comment is descriptive text that provides information about the media). 3. In Selection profile, click profile (where profile is the name of the selection profile that will be used to establish the items to be stored on the media). 4. Click Next. Summary Confirmation
Solution Accelerators
169
Do this
wizard to a file. You can also click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Click Finish. The New Media Wizard finishes. The media are added to the list of media in the details pane of the Deployment Workbench. The media_path\Content\Deploy folder is created (where media_path is the name of the media path you specified in the wizard), and some base folders are created. The folders and content you specified in the selection profile are copied to the Deploy folder when the Update Media Content Wizard runs.
170
2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Advanced Configuration/Media (where deployment_share is the name of the deployment share in which you will configure the media). 3. In the details pane, click media (where media is the name of the media you want to configure). 4. In the Actions pane, click Properties. The media Properties dialog box opens (where media is the name of the media you want to configure). 5. On the General tab, configure the settings listed in Table 70 based on the requirements of your organization, and then click OK. Table 70. Configuration Settings on the General Tab of Media Properties Setting Media identifier Description Contains the identifier of the media.
Note The identifier in this text box is automatically generated by the Deployment Workbench and cannot be modified.
Provides information about the media. Contains the fully qualified UNC path to the target folder for the media source files and generated images. Contains the selection profile that identifies the content to be included in the WIM and ISO image files that the Deployment Workbench generates. Select to configure the Update Media Content Wizard to create WIM files and bootable media for 32-bit target computers.
Note Selecting both the x86 and x64 check boxes generates a dual-boot ISO file. When started, a menu appears from which you can specify which boot image to use.
Selection profile
Select to configure the Update Media Content Wizard to create WIM files and bootable media for 64-bit target computers.
Note Selecting both the x86 and x64 check boxes generates a dual-boot ISO file. When started, a menu appears from which you can specify which boot image to use.
Select to configure the Update Media Content Wizard to create ISO files that you can use to boot VMs or create bootable DVDs.
microsoft.com/technet/SolutionAccelerators
Solution Accelerators
171
Setting
Description If this check box is selected, then you can specify the name of the ISO file to be generated in the ISO file name text box. The ISO file is created in the media_folder folder (where media_folder is the name of the folder that you specified for the media).
The media configuration settings are saved. The modifications are displayed in the details pane of the Deployment Workbench, and the content in the media_folder folder is updated (where media_folder is the name of the folder that you specified for the media). Configure the Media Properties Rules Tab The media properties on the Rules tab are configured when you run the New Media Wizard. However, you can update the linked deployment share properties on the Rules tab of the media Properties dialog box (where media is the name of the media in the Deployment Workbench). To modify existing media properties on the Rules tab 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Advanced Configuration/Media (where deployment_share is the name of the deployment share in which you will configure the media). 3. In the details pane, click media (where media is the name of the media you want to configure). 4. In the Actions pane, click Properties. The media Properties dialog box opens (where media is the name of the media you want to configure). 5. On the Rules tab, configure the settings listed in Table 71 based on the requirements of your organization, and then click OK. Table 71. Configuration Settings on the Rules Tab of Media Properties Setting CustomSettings.ini Edit Bootstrap.ini Description Contains the current configuration of the CustomSetting.ini file for the deployment media Click to modify the contents of the Bootstrap.ini file that the Deployment Workbench generates for the deployment media
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
172
The media configuration settings are saved. The modifications are displayed in the details pane of the Deployment Workbench, and the content in the media_folder folder (where media_folder is the name of the folder that you specified for the media) is updated. Configure the Media Properties Windows PE x86 Settings Tab The media properties on the Windows PE x86 Settings tab are configured when you run the New Media Wizard. However, you can update the linked deployment share properties on the Windows PE x86 tab of the media Properties dialog box (where media is the name of the media in the Deployment Workbench). To configure the Windows PE x86 Settings tab 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Advanced Configuration/Media (where deployment_share is the name of the deployment share in which you will configure the media). 3. In the details pane, click media (where media is the name of the media you want to configure). 4. In the Actions pane, click Properties. The media Properties dialog box opens (where media is the name of the media you want to configure). 5. On the Windows PE x86 Settings tab, configure the settings listed in Table 72 based on the requirements of your organization, and then click OK. Table 72. Configuration Settings on the Windows PE x86 Settings Tab of Media Properties Setting Generate a Lite Touch Windows PE WIM file Description Select to configure the Update Media Content Wizard to create a Windows PE WIM file that includes the LTI deployment scripts. If the check box is: Selected, the Update Media Content Wizard creates the LiteTouchPE_x86.wim file with the image description specified in the Image description text box Cleared, the Update Media Content Wizard will not create the WIM file Image description Contains the image description for the Windows PE WIM file that the Update Media Content Wizard creates. The default value is Lite
microsoft.com/technet/SolutionAccelerators
Solution Accelerators
173
Description Touch Windows PE (x86). Select to configure the Update Media Content Wizard to create a bootable Windows PE ISO file that includes the LTI deployment scripts. If the check box is: Selected, the Update Media Content Wizard creates the ISO file with the name specified in the ISO file name text box Cleared, the Update Media Content Wizard will not create the ISO file
Contains the file name for the Windows PE ISO file that the Update Media Content Wizard creates. The default value for this text box is LiteTouchPE_x86.iso.
Note This text box is enabled only if you select Generate a Lite Touch bootable ISO image.
Generate a generic Select to configure the Update Media Content Windows PE WIM file Wizard to create a Windows PE WIM file that does not include the LTI deployment scripts. If the check box is: Selected, the Update Media Content Wizard creates the GenericPE_x86.wim file with the image description specified in the Image description text box Cleared, the Update Media Content Wizard will not create the WIM file Image description Contains the image description for the generic Windows PE WIM file that the Update Media Content Wizard creates. The default value for this text box is Generic Windows PE (x86).
Note This text box is enabled only if you select Generate a generic Windows PE WIM file.
Select to configure the Update Media Content Wizard to create a bootable Windows PE ISO file that does not include the LTI deployment scripts. If the check box is: Selected, the Update Media Content Wizard creates the Generic_x86.iso file with the image description specified in the ISO file name text box Cleared, the Update Media Content Wizard
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
174
Setting
Contains the file name for the generic Windows PE ISO file that the Update Media Content Wizard creates. The default value for this text box is Generic_x86.iso.
Note This text box is enabled only if you select Generate a generic bootable ISO image.
Contains the fully qualified path to the BMP file that is to be used as the custom background bitmap. The default value for this text box is %INSTALLDIR%\Samples\Background.bmp. Contains the fully qualified path to a folder structure to be included in the Windows PE images. The default value for the text box is empty. Configures the size of the scratch space in megabytes; you can select a value of 32, 64, 128, 256, or 512 MB. The default value is 32.
The media configuration settings are saved, and the media appears in the details pane of the Deployment Workbench. Configure the Media Properties Windows PE x86 Components Tab The media properties on the Windows PE x86 Components tab are configured when you run the New Media Wizard. However, you can update the linked deployment share properties on the Windows PE x86 Components tab of the media Properties dialog box (where media is the name of the media in the Deployment Workbench). To configure the Windows PE x86 Components tab 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Advanced Configuration/Media (where deployment_share is the name of the deployment share in which you will configure the media). 3. In the details pane, click media (where media is the name of the media you want to configure). 4. In the Actions pane, click Properties.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
175
The media Properties dialog box opens (where media is the name of the media you want to configure). 5. On the Windows PE x86 Components tab, configure the settings listed in Table 73 based on the requirements of your organization, and then click OK. Table 73. Configuration Settings on the Windows PE x86 Components Tab of Media Properties Setting Selection profile Description Use to select the device drivers and packages to be included in the Windows PE images based on the selection profile you choose. The default value is All Drivers and Packages. For more information about selection profiles, see Manage Selection Profiles. Select to configure the Update Media Content Wizard to include all the device drivers in the selection profile specified in the Selection profile box. Select to configure the Update Media Content Wizard to include only the device drivers in the chosen selection profile that are specified in the following check boxes: Include all network drivers in the selected group Include all video drivers in the selected group Include all mass storage drivers in the selected group Include all system-class drivers in the selected group Include all network drivers in the selected group Select to configure the Update Media Content Wizard to include all network drivers in the chosen selection profile. If the check box is: Selected, the Update Media Content Wizard includes all network drivers in the selection profile specified in the Selection profile box in the Windows PE images Cleared, the Update Media Content Wizard will not include all network drivers in the selection profile specified in the Selection profile box in the Windows PE images
Note This check box is enabled only if you select Include
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Include all drivers from the selected driver group Include only drivers of the following types
176
Description
only drivers of the following types.
Select to configure the Update Media Content Wizard to include all video drivers in the chosen selection profile. If the check box is: Selected, the Update Media Content Wizard includes all video drivers in the selection profile specified in the Selection profile box in the Windows PE images Cleared, the Update Media Content Wizard will not include all video drivers in the selection profile specified in the Selection profile list box in the Windows PE images
Note This check box is enabled only if you select Include only drivers of the following types.
Select to configure the Update Media Content Wizard to include all mass storage drivers in chosen the selection profile. If the check box is: Selected, the Update Media Content Wizard includes all mass storage drivers in the selection profile specified in the Selection profile box in the Windows PE images Cleared, the Update Media Content Wizard will not include all mass storage drivers in the selection profile specified in the Selection profile box in the Windows PE images
Note This check box is enabled only if you select Include only drivers of the following types.
Select to configure the Update Media Content Wizard to include all system-class drivers in the chosen selection profile. If the check box is: Selected, the Update Media Content Wizard includes all system-class drivers in the selection profile specified in the Selection profile box in the Windows PE images Cleared, the Update Media Content Wizard will not include all system-class drivers in the selection profile specified in the Selection profile box in the Windows PE images
Note This check box is enabled only if you select Include only drivers of the following types.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
177
Setting ADO
Description Select to add optional ADO components to the Windows PE images. These components are necessary for accessing SQL Server databases, such as the MDT DB. If the check box is: Selected, the ADO components are added to the Windows PE images Cleared, the ADO components are not added to the Windows PE images
Note This check box is selected by default.
Optional Fonts
Select to configure the Update Media Content Wizard to include the following fonts: Chinese (ZH-CN) Chinese (ZH-HK) Chinese (ZH-TW) Japanese (JA-JP) Korean (KO-KR) Add these fonts when performing an LTI deployment of Windows Server 2008 R2 or Windows Server 2008 images and the Setup files are Japanese, Korean, or Chinese. If the check box for a corresponding font is: Selected, the Update Media Content Wizard includes the font in the Windows PE images Cleared, the Update Media Content Wizard will not include the font in the Windows PE images
Note Adding fonts to Windows PE boot images increases the size of the images. Add fonts only if necessary.
The media configuration settings are saved, and the media appears in the details pane of the Deployment Workbench. Configure the Media Properties Windows PE x64 Settings Tab The media properties on the Windows PE x64 Settings tab are configured when you run the New Media Wizard. However, you can update the linked deployment share properties on the Windows PE x64 Settings tab of the media Properties dialog box (where media is the name of the media in the Deployment Workbench). To configure the Windows PE x64 Settings tab
Solution Accelerators microsoft.com/technet/SolutionAccelerators
178
1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Advanced Configuration/Media (where deployment_share is the name of the deployment share in which you will configure the media). 3. In the details pane, click media (where media is the name of the media you want to configure). 4. In the Actions pane, click Properties. The media Properties dialog box opens (where media is the name of the media you want to configure). 5. On the Windows PE x64 Settings tab, configure the settings listed in Table 74 based on the requirements of your organization, and then click OK. Table 74. Configuration Settings on the Windows PE x64 Settings Tab of Media Properties Setting Generate a Lite Touch Windows PE WIM file Description Select to configure the Update Media Content Wizard to create a Windows PE WIM file that includes the LTI deployment scripts. If the check box is: Selected, the Update Media Content Wizard creates the LiteTouchPE_x86.wim file with the image description specified in the Image description box Cleared, the Update Media Content Wizard will not create the WIM file Image description Contains the image description for the Windows PE WIM file that the Update Media Content Wizard creates. The default value is Lite Touch Windows PE (x64). Select to configure the Update Media Content Wizard to create a bootable Windows PE ISO file that includes the LTI deployment scripts. If the check box is: Selected, the Update Media Content Wizard creates the ISO file with the name specified in the ISO file name box Cleared, the Update Media Content Wizard will not create the ISO file ISO file name
Solution Accelerators
179
Setting
Description file that the Update Media Content Wizard creates. The default value for this text box is LiteTouchPE_x64.iso.
Note This box is enabled only if you select Generate a Lite Touch bootable ISO image.
Generate a generic Select to configure the Update Media Content Windows PE WIM file Wizard to create a Windows PE WIM file that does not include the LTI deployment scripts. If the check box is: Selected, the Update Media Content Wizard creates the GenericPE_x64.wim file with the image description specified in the Image description box Cleared, the Update Media Content Wizard will not create the WIM file Image description Contains the image description for the generic Windows PE WIM file that the Update Media Content Wizard creates. The default value for this text box is Generic Windows PE (x64).
Note This box is enabled only if you select Generate a generic bootable ISO Windows PE WIM file.
Select to configure the Update Media Content Wizard to create a bootable Windows PE ISO file that does not include the LTI deployments scripts. If the check box is: Selected, the Update Media Content Wizard creates the Generic_x64.iso file with the image description specified in the ISO file name box Cleared, the Update Media Content Wizard will not create the ISO file
Note This box is enabled only if you select Generate a generic Windows PE WIM file.
Contains the file name for the generic Windows PE ISO file that the Update Media Content Wizard creates. The default value for this text box is Generic_x64.iso.
Note This text box is enabled only if the Generate a generic bootable ISO image check box is selected.
Contains the fully qualified path to the BMP file that is to be used as the custom background
microsoft.com/technet/SolutionAccelerators
180
Setting
Description bitmap. The default value for this text box is %INSTALLDIR%\Samples\Background.bmp. Contains the fully qualified path to a folder structure to be included in the Windows PE images. The default value for the text box is empty. Configures the size of the scratch space in megabytes; you can select a value of 32, 64, 128, 256, or 512 MB. The default value is 32.
The media configuration settings are saved, and the media appears in the details pane of the Deployment Workbench. Configure the Media Properties Windows PE x64 Components Tab The media properties on the Windows PE x64 Components tab are configured when you run the New Media Wizard. However, you can update the linked deployment share properties on the Windows PE x64 Components tab of the media Properties dialog box (where media is the name of the media in the Deployment Workbench). To configure the Windows PE x64 Components tab 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Advanced Configuration/Media (where deployment_share is the name of the deployment share in which you will configure the media). 3. In the details pane, click media (where media is the name of the media you want to configure). 4. In the Actions pane, click Properties. The media Properties dialog box opens (where media is the name of the media you want to configure). 5. On the Windows PE x86 Components tab, configure the settings listed in Table 75 based on the requirements of your organization, and then click OK. Table 75. Configuration Settings on the Windows PE x64 Components Tab of Media Properties Setting Selection profile Description Selects the device drivers and packages to be included in the Windows PE images based on the
microsoft.com/technet/SolutionAccelerators
Solution Accelerators
181
Setting
Description selection profile you choose. The default value is All Drivers and Packages. For more information about selection profiles, see Manage Selection Profiles. Select to configure the Update Media Content Wizard to include all the device drivers in the selection profile specified in the Selection profile box. Select to configure the Update Media Content Wizard to include only the device drivers in the chosen selection profile that are specified in the following check boxes: Include all network drivers in the selected group Include all video drivers in the selected group Include all mass storage drivers in the selected group Include all system-class drivers in the selected group
Include all drivers from the selected driver group Include only drivers of the following types
Select to configure the Update Media Content Wizard to include all network drivers in the chosen selection profile. If the check box is: Selected, the Update Media Content Wizard includes all network drivers in the selection profile specified in the Selection profile box in the Windows PE images Cleared, the Update Media Content Wizard will not include all network drivers in the selection profile specified in the Selection profile box in the Windows PE images
Note This check box is enabled only if you select Include only drivers of the following types.
Select to configure the Update Media Content Wizard to include all video drivers in the chosen selection profile. If the check box is: Selected, the Update Media Content Wizard includes all video drivers in the selection profile specified in the Selection profile box in the Windows PE images
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
182
Setting
Description Cleared, the Update Media Content Wizard will not include all video drivers in the selection profile specified in the Selection profile box in the Windows PE images
Note This check box is enabled only if you select include only drivers of the following types.
Select to configure the Update Media Content Wizard to include all mass storage drivers in the chosen selection profile. If the check box is: Selected, the Update Media Content Wizard includes all mass storage drivers in the selection profile specified in the Selection profile box in the Windows PE images Cleared, the Update Media Content Wizard will not include all mass storage drivers in the selection profile specified in the Selection profile box in the Windows PE images
Note This check box is enabled only if you select include only drivers of the following types.
Select to configure the Update Media Content Wizard to include all system-class drivers in chosen the selection profile. If the check box is: Selected, the Update Media Content Wizard includes all system-class drivers in the selection profile specified in the Selection profile box in the Windows PE images Cleared, the Update Media Content Wizard will not include all system-class drivers in the selection profile specified in the Selection profile box in the Windows PE images
Note This check box is enabled only if you select Include only drivers of the following types.
ADO
Select to add the optional ADO components to the Windows PE images. These components are necessary for accessing SQL Server databases, such as the MDT DB. If this check box is: Selected, the ADO components are added to the Windows PE images Cleared, the ADO components are not added to the Windows PE images
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
183
Setting
Description
Note This check box is selected by default.
Optional Fonts
Use to configure the Update Media Content Wizard to include the following fonts: Chinese (ZH-CN) Chinese (ZH-HK) Chinese (ZH-TW) Japanese (JA-JP) Korean (KO-KR) Add these fonts when performing an LTI deployment of Windows Server 2008 R2 and Windows Server 2008 images when the Setup files are Japanese, Korean, or Chinese. If the check box for a corresponding font is: Selected, the Update Media Content Wizard includes the font in the Windows PE images Cleared, the Update Media Content Wizard will not include the font in the Windows PE images
Note Adding fonts to Windows PE boot images increases the size of the images. Add fonts only if necessary.
The media configuration settings are saved, and the media appears in the details pane of the Deployment Workbench.
184
To generate media images of media content 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Advanced Configuration/Media (where deployment_share is the name of the deployment share to which you will add the application). 3. In the details pane, click media (where media is the name of the media for which you want to generate the media). 4. In the Actions pane, click Update Media Content. The Update Media Content Wizard starts. The replication process starts automatically and is displayed on the Progress wizard page. 5. Complete the Update Media Content Wizard using the information in Table 76. Table 76. Information for Completing the Update Media Content Wizard On this wizard page Progress Confirmation Do this View the progress of the replication process.
Tip You can click Save Output to save the output of the wizard to a file. You can also click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Click Finish.
Note If you view the output of the wizard, the generation process appears to have occurred twice. However, the process is actually performed in two passes: The first pass copies new items into the media target folders, and the second pass deletes any items that are no longer needed in the media target folders.
The Update Media Content Wizard finishes, and the following files are created:
Solution Accelerators microsoft.com/technet/SolutionAccelerators
185
An ISO file in the media_folder folder (where media_folder is the name of the folder that you specified for the media) Generating the ISO file is an option that you configure by selecting the Generate a Lite Touch bootable ISO image check box on the General tab of the media Properties dialog box. Clear this check box to reduce the time needed to generate the media unless you need to create bootable DVDs or start VMs from the ISO file. WIM files in the media_folder\Content\Deploy\Boot folder (where media_folder is the name of the folder that you specified for the media). The folders and the content you specified in the selection profile in the linked deployment share are stored in the image files. You can also create a bootable device that contains a copy of the media_folder\Content folder (where media_folder is the name of the folder you specified for the media) so that you can start a target computer from a UFD or USB hard disk. For more information, see Create Bootable Devices from Deployment Media.
To create bootable devices from deployment media 1. On a computer running Windows 7 or Windows Vista operating system, insert the UFD or USB hard disk. 2. Run Diskpart.exe, and type list disk to determine the disk number associated with the device. 3. Type the following commands, where N is the disk number identified in step 2: select disk N clean create partition primary select partition 1 active format fs=ntfs assign exit
Solution Accelerators microsoft.com/technet/SolutionAccelerators
186
4. Copy the contents of the media_folder\Content folder (where media_folder is the name of the folder you specified in the media) to the device.
187
Add one or more task sequence variables to a task sequence step condition as described in Add Task Sequence Variables to Task Sequence Step Conditions. Add one or more target operating system versions to a task sequence step condition as described in Add Operating System Versions to Task Sequence Step Conditions. Add one or more WMI query results to a task sequence step condition as described in Add WMI Queries to Task Sequence Step Conditions. Add the value of one or more registry settings to a task sequence step condition as described in Add Registry Settings to Task Sequence Step Conditions. Add the test for software installed on the target computer to a task sequence step condition as described in Add a Test for Installed Software to Task Sequence Step Conditions. Add the test for various folder properties to a task sequence step condition as described in Add a Test for Folder Properties to Task Sequence Step Conditions. Add the test for various file properties to a task sequence step condition as described in Add a Test for File Properties to Task Sequence Step Conditions.
Complete the condition for running the task sequence step by adding other criteria to the conditions (for example, task sequence variables or values in a registry setting). To add an IF statement condition to a task sequence step
Solution Accelerators microsoft.com/technet/SolutionAccelerators
188
1. On the step Option tab (where step is the name of the task sequence step to configure), click Add, and then click If statement. 2. In the If Statement Properties dialog box, click condition (where condition is one of the conditions listed in Table 77), and then click OK.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
189
1. On the step Option tab (where step is the name of the task sequence step to configure), click Add, and then click Operating System Version. 2. In the Task Sequence OS Condition dialog box, in the Architecture box, click architecture (where architecture is the name of the operating system architecture). 3. In the Task Sequence OS Condition dialog box, in the Operating system box, click the operating system to use. 4. In the Task Sequence OS Condition dialog box, in the Condition box, click condition (where condition is the logical operation to use in the condition), and then click OK.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
190
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
191
3. In the Registry Setting dialog box, in the Key box, type key (where key is the remainder of the registry key minus the subtree). 4. In the Registry Setting dialog box, in the Condition box, click condition (where condition is the logical operation to use in the condition). 5. In the Registry Setting dialog box, in the Value name box, type the name of the Value name. 6. In the Registry Setting dialog box, in the Value type box, click Value type. 7. In the Registry Setting dialog box, in the Value box, type the value for which testing will occur, and then click OK.
192
To add a Folder Properties condition to a task sequence step 1. On the step Option tab (where step is the name of the task sequence step to configure), click Add, and then click Folder Properties. 2. In the Folder Properties dialog box, in the Path box, go to the folder to be tested. 3. In the Folder Properties dialog box, to check the time stamp of the file, select the Check the timestamp check box, set the condition of the value, set a date, and set the time. Otherwise, clear the Check the timestamp check box so that the additional condition will not be tested for. 4. In the Folder Properties dialog box, click OK.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
193
To configure task sequence steps based on the Format and Partition Disk task sequence step type 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Task Sequences (where deployment_share is the name of the deployment share in which you will configure the task sequence). 3. In the details pane, click task_sequence_name (where task_sequence_name is the name of the task sequence you want to configure). 4. In the Actions pane, click Properties. The task_sequence_name Properties dialog box opens (where task_sequence_name is the name of the task sequence you want to configure). 5. On the Task Sequence tab, in the task sequence hierarchy, go to task_sequence_step (where task_sequence_step is the name of the task sequence step that is a Format and Partition Disk Task Sequence step type), and then click the Properties tab. 6. On the Properties tab, configure the settings listed in Table 78 based on the requirements of your organization, and then click OK.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
194
Table 78. Configuration Settings on the Properties Tab of Format and Partition Disk Task Sequence Step Type Setting Type Name Comments Disk number Description Contains the task sequence type, which is always set to Format and Partition Disk. Contains the name of the task sequence step that appears in the task sequence hierarchy. Provides descriptive information about the task sequence step. Includes the disk number to be partitioned and formatted; the disk number is zero-based, which means the first disk will be number zero (0). Contains the type of partition type, which can be Standard (MBR) or GPT. Contains a list of the disk volumes to create on the partition. Click to create a new partition definition and access the Partition Properties dialog box. For information about completing the Partition Properties dialog box, see Table 79. Click to display the Partition Properties dialog box for the partition selected in the Volume box For information about completing the Partition Properties dialog box, see Table 79. Click to delete the partition selected in the Volume box. The Confirm Partition Delete dialog box is displayed in which you can confirm (Yes) or cancel (No) the deletion.
Table 81 lists the configuration settings for the Partition Properties dialog box. Configure the settings in Table 79 based on the requirements of your organization, and then click OK. Table 79. Configuration Settings on the Partition Properties Dialog Box Setting Partition name Description Contains the name of the partition, which appears in the Volume box on the Partition and Format Disk task sequence step types Properties tab. Contains the type of partition to be created, which can be Primary or Extended.
microsoft.com/technet/SolutionAccelerators
Partition type
Solution Accelerators
195
Description Select to configure the task sequence step to create a partition based on a percentage of the remaining free disk space. If you select this option, specify the percentage in the Size(%) box. Select to configure the task sequence step to create a partition of a specific size. If you select this option, specify the size of the partition in the Size box. Select to configure the task sequence step to configure the partition as the boot partition of the target computer. If the check box is: Selected, the partition is configured as the boot partition Cleared, the partition is not configured as the boot partition
Contains the file system for the format process, which can be NTFS or FAT32. Select to configure the task sequence step to format the partition by performing a quick format. If the check box is: Selected, the partition format is performed using the quick format process Cleared, the partition format is performed using the standard format process
Variable
Contains the name of a task sequence variable used to store the drive letter assigned to the partition.
Note MDT automatically creates an additional partition for new computers when deploying Windows 7 or when BitLocker has been requested.
196
only in the Enterprise and Ultimate editions of Windows 7 and Windows Vista Enterprise, Windows Server 2008 R2, and Windows Server 2008. Select one of the following methods of enabling BitLocker: In a task sequence, enable the BitLocker task. In addition, configure the partition in the Format and Partition task, which is necessary for New Computer scenarios but not in Refresh Computer scenario. The most common configurations are: One partition: 100% One partition and some unallocated space In the Deployment Wizard, configure the BitLocker page. This requires that the Enable BitLocker task be enabled in the task sequence used for deployment. In the CustomSettings.ini file, set the following properties: BDEInstall=TPM BdeInstallSuppress=NO BDeWaitForEncryption=False BDEDriveSize=2000 BDEDriveLetter=S: BDEKeyLocation=C: SkipBitLocker=YES For more information about enabling BitLocker, see Windows BitLocker Drive Encryption Frequently Asked Questions.
197
The LTI task sequence templates provided with MDT do not include a task sequence step based on the Capture Network Settings task sequence step type. For Refresh Computer deployment scenarios, add a task sequence step based on the Capture Network Settings task sequence step type in the State Capture phase.
Note The settings captured by sequence steps based on the Capture Network Settings task sequence step in the Refresh Computer deployment scenario override any IP configuration settings specified in the CustomSettings.ini file or in the MDT DB.
To configure task sequence steps based on the Capture Network Settings task sequence step type 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Task Sequences (where deployment_share is the name of the deployment share in which you will configure the task sequence). 3. In the details pane, click task_sequence_name (where task_sequence_name is the name of the task sequence you want to configure). 4. In the Actions pane, click Properties. The task_sequence_name Properties dialog box opens (where task_sequence_name is the name of the task sequence you want to configure). 5. On the Task Sequence tab, in the task sequence hierarchy, go to task_sequence_step (where task_sequence_step is the name of a task sequence that is a Capture Network Settings task sequence step type), and then click the Properties tab. 6. On the Properties tab, configure the settings listed in Table 80 based on the requirements of your organization, and then click OK. Table 80. Configuration Settings on the Properties Tab of the Capture Network Settings Task Sequence Step Type Setting Type Name Description Description Contains the task sequence type, which is always set to Capture Network Settings Contains the name of the task sequence step that appears in the task sequence hierarchy Provides descriptive information about the task sequence step
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
198
Some of the LTI task sequence templates in MDT include a task sequence step in the State Restore phase named Apply Network Settings. In most instances, configure the existing task sequence step instead of creating a new task sequence step. To configure task sequence steps based on the Apply Network Settings task sequence step type 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Task Sequences (where deployment_share is the name of the deployment share where you will configure the task sequence). 3. In the details pane, click task_sequence_name (where task_sequence_name is the name of the task sequence you want to configure). 4. In the Actions pane, click Properties. The task_sequence_name Properties dialog box opens (where task_sequence_name is the name of the task sequence you want to configure). 5. On the Task Sequence tab, in the task sequence hierarchy, go to task_sequence_step (where task_sequence_step is the name of a task sequence that is an Apply Network Setting task sequence step type), and then click the Properties tab. 6. On the Properties tab, configure the settings listed in Table 81 based on the requirements of your organization, and then click OK. Table 81. Configuration Settings on the Properties Tab of the Apply Network Settings Task Sequence Step Type
Solution Accelerators microsoft.com/technet/SolutionAccelerators
199
Setting Type Name Description Create new network adapter setting button
Description Contains the task sequence type, which is always set to Capture Network Settings. Contains the name of the task sequence step that appears in the task sequence hierarchy. Provides descriptive information about the task sequence step. Click to create a new network adapter setting definition and access the Network Settings dialog box. For information about completing the tabs of the Network Settings dialog box, see Table 82, Table 83, and Table 84. Click to display the Network Settings dialog box for the network adapter you selected. For information about completing the tabs of the Network Settings dialog box, see Table 82, Table 83, and Table 84. Click to delete the network adapter setting you selected. In the Confirm Adapter Delete dialog, confirm (Yes) or cancel (No) the deletion.
Table 82 lists the configuration settings for the General tab of the Network Settings dialog box. Configure the settings in Table 82 based on the requirements of your organization, and then click OK. Table 82. Configuration Settings on the General tab of the Network Settings Dialog Box Setting Name Description Contains the name of the network adapter, which appears in the box on the Apply Network Settings task sequence step types Properties tab. Select to configure the task sequence step to configure the IP address of the network adapter on the target computer using DHCP. Select to configure the task sequence step to configure the IP address of the network adapter on the target computer using the values you specify in the Network Settings and Gateway Settings boxes. Contains a list of IP addresses and subnet masks to be configured for the network adapter. Click
microsoft.com/technet/SolutionAccelerators
Network Settings
Solution Accelerators
200
Setting
Description one of the following to modify the IP addresses and subnet masks in this list: Add. Add an IP address and subnet mask combination to the list box. Properties. Modify the IP address and subnet mask for an existing entry. Delete. Delete an existing entry.
Note This box is enabled only if you select Use the following IP address.
Gateway Settings
Contains a list of gateway IP addresses and routing cost metrics to be configured for the network adapter. Click one of the following to modify the gateway IP address and routing cost metric in this list: Add. Add the IP address and cost metric for a gateway to the list box. Properties. Modify the IP address and cost metric for a gateway an existing entry. Delete. Delete an existing entry.
Note This box is enabled only if you select Use the following IP address.
Table 83 lists the configuration settings for the DNS tab of the Network Settings dialog box. Configure the settings in Table 83 based on the requirements of your organization, and then click OK. Table 83. Configuration Settings on the DNS tab of the Network Settings Dialog Box Setting Obtain DNS server automatically Use the following DNS Servers Description Select to configure the task sequence step to configure the DNS settings of the network adapter on the target computer using DHCP. Select to configure the task sequence step to configure the DNS settings of the network adapter on the target computer using the values specified in the DNS Server addresses in order of use box. Contains a list of DNS server IP addresses to be configured for the network adapter. Click one of the following to modify the list of DNS servers:
microsoft.com/technet/SolutionAccelerators
201
Setting
Description Add. Add the DNS Server IP address to the list box. Properties. Modify the DNS server IP address for an existing entry. Delete. Delete an existing entry.
Contains the DNS domain name suffix to be added to any DNS queries. Select to configure the network adapter to register the network adapters IP address of the primary DNS server. If the check box is: Selected, the IP address of the network adapter is registered in DNS Cleared, the IP address of the network adapter is not registered in DNS
Note By default, this check box is selected.
Select to configure the network adapter to register the network adapters IP address using the suffix listed in DNS Suffix. If the check box is: Selected, the IP address of the network adapter is registered using the suffix listed in DNS Suffix Cleared, the IP address of the network adapter is not registered using the suffix listed in DNS Suffix
Note By default, this check box is cleared.
Table 84 lists the configuration settings for the WINS tab of the Network Settings dialog box. Configure the settings in Table 84 based on the requirements of your organization, and then click OK. Table 84. Configuration Settings on the WINS tab of the Network Settings Dialog Box Setting WINS server addresses in order of use Description Contains a list of WINS server IP addresses to be configured for the network adapter. Click one of the following to modify the list of WINS servers: Add. Add the WINS server IP address to the box. Properties. Modify the WINS server IP
Solution Accelerators microsoft.com/technet/SolutionAccelerators
202
Setting
Description address for an existing entry. Delete. Delete an existing entry. Select to configure the network adapter to enable lookups in the LMHOSTS file on the target computer. If the check box is: Selected, the LMHOSTS file is used for Network BIOS (NetBIOS) name resolution on the network adapter Cleared, the LMHOSTS file is not used for NetBIOS name resolution on the network adapter
Note By default, this check box is cleared.
Default
Select to configure the network adapter to use the default NetBIOS over TCP/IP settings of the target operating system. The other options are Enable NetBIOS over TCP/IP and Disable NetBIOS over TCP/IP. Select to enable NetBIOS over TCP/IP for the network adapter. The other options are Default and Disable NetBIOS over TCP/IP. Select to disable NetBIOS over TCP/IP for the network adapter. The other options are Default and Enable NetBIOS over TCP/IP.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
203
Configure the Check BIOS Task Sequence Step for the List of Incompatible BIOS Versions
The default task order for a task sequence includes the Check BIOS task in the Non-Replace group in the Validation group. The Check BIOS task runs the ZTIBIOSCheck.wsf script, which checks the BIOS version of the target computers against the list of incompatible BIOS versions in the ZTIBIOSCheck.xml file. Modify the ZTIBIOSCheck.xml file to contain the list of BIOS versions incompatible with the target operating system in the operating system build. Modify ZTIBIOSCheck.xml for each task sequence created in the Deployment Workbench. The ZTIBIOSCheck.xml file resides in the deployment_share\Scripts folder (where deployment_share is the name of the folder that is the root of the deployment share). Update the attributes in the ZTIBIOSCheck.xml file listed in Table 85 for each incompatible BIOS version. Table 85. Attributes to Update in the ZTIBIOSCheck.xml File Attribute Description Description Text description of the target computer that has an incompatible BIOS version, including any references to possible updates to the BIOS version
Computer Manufacturer Manufacturer of the target computer with an incompatible BIOS version (This value must match the value stored in the BIOS.) Model Model of the target computer with an incompatible BIOS version (This value must match the value stored in the BIOS.) Date of the BIOS of the target computer with an incompatible BIOS version (This value must match the value stored in the BIOS.)
Date
The ZTIBIOSCheck.xml file contains the source for a script (ZTIBIOS_Extract_Utility.vbs) that can help extract the attributes listed in Table 85. To use the ZTIBIOS_Extract_Utility.vbs utility to extract attributes on a target computer 1. Start Microsoft Notepad. 2. Copy the script source from ZTIBIOSCheck.xml file into Notepad. 3. Save the script source in Notepad as ZTIBIOS_Extract_Utility.vbs.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
204
4. Run ZTIBIOS_Extract_Utility.vbs on a target computer that has an incompatible BIOS. 5. Update ZTIBIOSCheck.xml to include the BIOS based on the attributes retrieved in the previous steps.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
205
monitoring), on the Rules tab, notice that the EventService property has been added to the CustomSettings.ini file, and then click OK. 7. Close all open windows and dialog boxes.
To view the LTI deployment process 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Monitoring (where deployment_share is the name of the deployment share that you want to monitor) 3. In the details pane, view the deployment process for each computer being deployed. 4. In the Actions pane, periodically click Refresh. The status of the deployment process is updated in the details pane. Continue to monitor the deployment process till the process completes. 5. In the details pane, click target_computer (where target_computer is the name of the computer being monitored). 6. In the Actions pane, click Properties. The target_computer Properties dialog box is displayed (where target_computer is the name of the computer being monitored). 7. In the target_computer Properties dialog box (where target_computer is the name of the computer being monitored), on the Identity tab, view the monitoring information provided about the deployment process as described in Table 86. Table 86. Monitoring Information About the Deployment Process Information ID Computer Name Deployment status
Solution Accelerators
Description Unique identifier for the computer being deployed. The name of the computer being deployed. The current status of the computer being deployed;
microsoft.com/technet/SolutionAccelerators
206
Information
Description can be one of the following: Running. Indicates that the task sequence is healthy and running. Failed. Indicates that the task sequence failed and the deployment process was unsuccessful. Completed. Indicates that the task sequence has finished. Unresponsive. The task sequence has not updated its status in the past four hours and is assumed to be nonresponsive.
Step Progress
The current task sequence step being run. The overall progress of the task sequence. The progress bar indicates how many task sequence steps have been run out of the total number of task sequence steps. Time the deployment process started. Time the deployment process ended. The length of time the deployment process has been running or took to run if the deployment process has finished. The number of errors encountered during the deployment process. The number of warnings encountered during the deployment process. This button allows you to establish a remote desktop connection with the computer being deployed using the Windows Remote Desktop feature. This method assumes that: The target operating system is running and has remote desktop support enabled mstsc.exe is in the path
Note This button is always visible but may not be able to establish a remote desktop session if the monitored computer is running Windows PE, has not completed installation of the target operating system, or does not have the Remote Desktop feature enabled.
VM Connection
This button allows you to establish a remote desktop connection to virtual machine running in Hyper-V. This method assumes that:
microsoft.com/technet/SolutionAccelerators
Solution Accelerators
207
Information
Description The deployment is being performed to a VM running on Hyper-V vmconnect.exe is located in the %ProgramFiles%\Hyper-V folder
Note This button appears when ZTIGather.wsf detects that Hyper-V integration components are running on the monitored computer. Otherwise, this button will not be visible.
This button allows you to establish a remote control session using the remote viewer feature in DaRT. This method assumes that: DaRT has been deployed to the target computer and is currently running DartRemoteViewer.exe is located in the %ProgramFiles%\Microsoft DaRT 7\v7 folder
Note This button appears when ZTIGather.wsf detects that DaRT is running on the monitored computer. Otherwise, this button will not be visible.
Check box that controls whether the information in the dialog box is automatically refreshed. If the check box is: Selected, the information is refreshed every 10 seconds Cleared, the information is not automatically refreshed and must be manually refreshed using the Refresh Now button
Refresh Now
This button immediately refreshes the information displayed in the dialog box.
8. In the target_computer Properties dialog box (where target_computer is the name of the computer being monitored), click OK. 9. Close the Deployment Workbench
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
208
1. Enable Windows RE support on target computers by installing the LTI boot .wim image to the target computer as described in Enable Windows RE Support. 2. Enable DaRT support on target computers by installing DaRT along with Windows RE as described in Enable DaRT Support. 3. Customize the DaRT configuration when DaRT is integrated with MDT as described in Customize DaRT When Integrated with MDT.
While running the LTI task sequence, the Add Windows Recovery (WinRE) task sequence step is responsible for: Installing the appropriate .wim image to the active partition Modifying the BCD file so that a user can choose to start Windows RE by pressing F8 as Windows is starting. The Add Windows Recovery (WinRE) task sequence step runs when the PrepareWinRE property is set to a value of YES. For more information about the PrepareWinRE property, see the "PrepareWinRE" property in the MDT document Toolkit Reference.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
209
1. Perform an administrative installation of DaRT on the computer running the Deployment Workbench. By default, if you do a traditional installation of DaRT, the processor architecture of DaRT is the same as the processor architecture of the operating system where you installed DaRT. For example, if you install DaRT on a 64-bit operating system, you will have a 64-bit version of DaRT. Performing an administrative installation allows you to install both 32-bit and 64-bit versions of DaRT. With an administrative installation the folder structures for both processor architectures are created, but none of the shortcuts are created. Perform an administrative installation of DaRT by running the following command from a command prompt: msiexec.exe /a MSDart70.msi 2. Copy the 32-bit version of Tools.cab file from the DaRT administrative installation to the Tools\x86 folder in a deployment share. 3. Copy the 64-bit version of Tools.cab file from the DaRT administrative installation to the Tools\x64 folder in a deployment share. 4. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 5. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares 6. In the details pane, click deployment_share (where deployment_share is the name of the deployment share for which you want to enable DaRT support). 7. In the Actions pane, click Properties. The deployment_share Properties dialog box appears (where deployment_share is the name of the deployment share for which you want to enable DaRT support). 8. In the deployment_share Properties dialog box, on the Windows PE tab, select platform (where deployment_share is the name of the deployment share for which you want to enable DaRT support and platform is the processor architecture platform for which you want to enable DaRT support), select the Microsoft Diagnostics and Recovery Toolkit (DaRT) check box, and then click OK. 9. Update the deployment share. As a part of updating the deployment share, the DaRT files are integrated with the Lite Touch Windows PE .wim files, which automatically include Windows RE. When the .wim files are installed on the target computer, DaRT support will automatically be included.
Note For more information about updating a deployment share see Update a Deployment Share in the Deployment Workbench.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
210
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
211
target_drive:\_SMSTaskSequence This folder contains state information specific to the Task Sequencer. 2. Initiate the Deployment Wizard. a. Start the target computer with LTI bootable media from a CD, DVD, removable device, or Windows Deployment Services.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
212
b. Connect to the appropriate deployment share (for example, \\server_name\Distribution$\Scripts), and then type cscript litetouch.vbs. 3. The Deployment Wizard starts. This wizard is responsible for initialing the Windows PE environment prior to running the Deployment Wizard. The Initializing wizard page appears, which displays the initialization status. The Windows Deployment wizard connects to the deployment share and displays the Welcome wizard page when the conditions in Table 88 are met. Table 88. Welcome Wizard page Conditions Property DeployRoot Condition Begins when the DeployRoot property equals (blank) or X:\. Typically, the Windows Deployment console automatically sets this value. Not equal to "YES"
SkipBDDWelcome
The Welcome wizard page in the Deployment Wizard is displayed. 4. On the Welcome page, click one of the options listed in Table 89 based on the environments requirements. To proceed with the Deployment Wizard, click Run the Deployment Wizard to install a new Operating System. Table 89. Welcome Wizard Page Options Option Run the Deployment Wizard to install a new Operating System Run the Windows Recovery Wizard Select this option to Start the Deployment Wizard and complete the LTI deployment process. Open the System Recovery Options dialog box in Windows Recovery Environment. From here, run the Recovery Wizard to help repair an existing Windows installation. Open a Command Prompt window in Windows PE for troubleshooting prior to completing the LTI deployment process. Select the keyboard layout for Windows PE prior to completing the LTI deployment process. Configure the IP configuration settings for Windows PE when DHCP configuration is not available. Click this button to open the Configure Static IP Network Settings dialog box.
Note The IP configuration settings configured in the
Solution Accelerators microsoft.com/technet/SolutionAccelerators
213
Option
The Specify credentials for connecting to network shares wizard page in the Deployment Wizard is displayed. 5. Complete the Specify credentials for connecting to network shares page, and then click OK. This wizard appears when the conditions in Table 90 are met. Table 90. Specify Credentials for Connecting to Network Shares Page Conditions Property UserID_isDirty UserID DeploymentType DeploymentMethod Condition Equal to TRUE Equal to Not equal to REPLACE Not equal to MEDIA
You use these credentials to access network shared folders used during the deployment process. These shared folders include folders used to store user state migration data or image backups of the target computer. Table 91. Credentials Options Option User Name Type user_name (where user_name is the user name of the account that has the appropriate permissions for the network shared folders that the deployment scripts use). password (where password is the password for the user account specified in the User Name box). domain (where domain is the name of the domain in which the user account, specified in the User Name box, is located).
Password
Domain
The Task Sequence page is displayed. 6. On the Task Sequence page, beneath Select a task sequence to execute on this computer, select task_sequence (where task_sequence is the name of the task sequence to run).
Solution Accelerators microsoft.com/technet/SolutionAccelerators
214
Note If a task sequence based on the Litetouch OEM task sequence template appears in the list, ensure that the deployment is being performed from a removable media (MEDIA) deployment share. Although task sequences based on the Litetouch OEM task sequence template can be selected from other deployment shares, the task sequence will not finish successfully.
7. On the Computer Details page, in the Computer name box, type computer_name (where computer_name is the computer name to assign to the target computer), click one of the options listed in Table 93 based on your environments requirements and then click Next. This wizard appears when the conditions in Table 92 are met. Table 92. Configure the Computer Details Page Conditions Property SkipComputerName Condition Not equal to YES
SkipDomainMembership Not equal to YES DeploymentType DeploymentType Not equal to StateRestore or REPLACE or CUSTOM Not equal to REPLACE
Table 93. Specify Computer Membership Configuration For this option Join a domain Perform this task to Join an existing AD DS domain: 1. In the Domain to join box, type domain (where domain is the name of the domain to be joined). 2. In the Organizational Unit box, type organizational_unit (where organizational_unit is the name of the organizational unit [OU] in the AD DS domain in which the computer account will be created). 3. In the User Name box, type user_name (where user_name is the name of a user account that has sufficient permissions to create the computer account in the domain). 4. In the Password box, type password (where password is the password for the user account specified in the User Name box). 5. In the Domain box, type domain (where domain is the name of the domain in the user
Solution Accelerators microsoft.com/technet/SolutionAccelerators
215
Perform this task to account specified in the User Name box is located). Join a Windows workgroup: In the Workgroup box, type workgroup (where workgroup is the name of the workgroup to join).
Join a workgroup
The User Data page is displayed. 8. On the User Data page, click one of the options listed in Table 95 based on your environments requirements, and then click Next. This wizard appears when the conditions in Table 94 are met. Table 94. User Data Page Conditions Property SkipUserData DeploymentType ImageFlags IsServerOS Condition Not equal to YES Not equal to REFRESH or REPLACE or StateRestore Does not contain SERVER Not equal to TRUE
Table 95. User Data Page Options Option Automatically determine the location Select this option to Allow the MDT scripts and process rules to automatically determine the best location based on local available disk space on the target computer. Optionally, select the Allow data and settings to be stored locally when possible check box to give preference to storing the data locally. Specify a location Save the user state migration data to a specific location. In the Location box, type location (where location is the fully qualified path to the locations for storing the user state migration data).
Note Alternatively, click Browse to go to the location.
216
Option settings
9. On the User Data (Restore) page, click one of the options listed in Table 97 based on your environments requirements, and then click Next. This wizard appears when the conditions in Table 96 are met. Table 96. User Data (Restore) Page Conditions Property SkipUserData DeploymentType ImageFlags IsServerOS Condition Not equal to YES Equal to NEWCOMPUTER or StateRestore and not equal to CUSTOM Does not contain SERVER Not equal to TRUE
Table 97. User Data (Restore) Options Option Do not restore user data and settings Specify a location Select this option if The migration type is New Computer and there is no user state migration data to restore. The migration type is Replace Computer. In the Location box, type location (where location is the fully qualified path to the location in which the user state migration back files are stored).
10. On the Computer Backup page, click one of the options listed in Table 99 based on requirements, and then click Next. This wizard appears when the conditions in Table 98 are met. Table 98. Computer Backup Page Conditions Property SkipComputerBackup DeploymentType Condition Not equal to YES Not equal to NEWCOMPUTER and not equal to CUSTOM and not equal to STATERESTORE and equal to REFRESH or equal to REPLACE
217
Select this option to Allow the MDT scripts and process rules to automatically determine the best location based on local available disk space on the target computer. Optionally, select the Allow data and settings to be stored locally when possible check box to give preference to storing the data locally.
Specify a location
Save the computer image backup to a specific location. In the Location box, type location (where location is the fully qualified path to the locations for storing the computer backup). Discard any existing data on the target computer or deploy a new computer with no existing data.
The Deployment Wizard uses the ImageX utility to perform the backup. ImageX is not intended to be used as a part of the overall backup and disaster recovery process. Instead, it is designed to create a backup of the target computer to assist in recovering user state migration information that might not have been captured correctly.
Note Windows Complete PC Backup is a feature of Windows 7 or Windows Vista only. MDT uses the ImageX utility during migration, because it works on all platforms that MDT supports. Use the Windows Complete PC Backup for enhanced disaster recovery protection after migration is complete.
11. On the Product Key page, in the Product key box, type product_key (where product_key is the product key to be assigned to the target computer), and then click Next (see Table 101).
Note This wizard page is displayed when the target operating system is Windows 7, Windows Vista, Windows Server 2008 R2, or Windows Server 2008.
This wizard appears when the conditions in Table 100 are met. Table 100. Product Key Page Conditions Property SkipProductKey DeploymentType Condition Not equal to YES. Not equal to REPLACE and not equal to CUSTOM and not equal to StateRestore.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
218
Option No product key is required Activate the machine with a Multiple Activation Key (MAK)
Select this option to Assign product keys to target computers using a KMS key. Assign a MAK to the target computer and activate the computer over the Internet. In the Multiple activation key box, type mak (where mak is the MAK to be assigned to the target computer). Assign a specific license key for installation or retail activation. In the Product_key box, type product_key (where product_key is the product key to be assigned to the target computer).
12. On the Language Packs page, in the Select the language packs to install box, select the check box next to language_pack (where language_pack is the language pack to be installed), and then click Next.
Tip You can select multiple language packs by selecting multiple check boxes that correspond to the language packs.
This wizard appears when the conditions in Table 102 are met. Table 102. Language Packs Page Conditions Property SkipPackageDisplay DeploymentType ImageBuild Condition Not equal to YES Not equal to REPLACE or CUSTOM The first character in the property is equal to 6 (which indicates the Windows 7 or Windows Vista build), and there are active packages to display to the user.
For Windows 7 Ultimate, Windows 7 Enterprise, Windows Vista Ultimate, Windows Vista Enterprise, and all editions of Windows Server 2008 R2 and Windows Server 2008, you can select more than one language. For all other Windows versions, select only one language. 13. On the Locale and Time page, select the appropriate values for each option listed in Table 104 based on your requirements, and then click Next. This wizard appears when the conditions in Table 103 are met. Table 103. Locale and Time Page Conditions Property
Solution Accelerators
Condition
microsoft.com/technet/SolutionAccelerators
219
Condition Not equal to YES. Not equal to REPLACE or CUSTOM. The first character in the property is equal to 6 (which indicates the Windows 7 or Windows Vista build).
Table 104. Locale and Time Options In this box Language to install Time and currency format (Locale) Keyboard layout Time zone Select The default language for the target operating system. The default locale for the target operating system. Keyboard layout to be used with the target operating system. The time zone in which the target comptuer is located.
14. On the Applications page, select the check box next to application_name (where application_name is the name of the application you want to deploy, and then click Next.
Tip You can select multiple applications by selecting multiple check boxes that correspond to the applications.
This wizard appears when the conditions in Table 105 are met. Table 105. Applications Page Conditions Property SkipApplications DeploymentType Condition Not equal to YES Not equal to REPLACE
IsThereAtLeastOneApplicationPresent Greater than one 15. On the Administrator Password page, in the Administrator Password and Confirm Administrator Password boxes, type password (where password is the password for the local built-in Administrator account on the target computer), and then click Next. This wizard page appears when the conditions in Table 106 are met. Table 106. Administrator Password Page Conditions
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
220
TaskSequenceTemplate Not equal LTIOEM.XML 16. On the Local Administrators page, in the Administrator Accounts box, type admin_accounts (where admin_accounts are the accounts that you want to add to the local built-in Administrator account on the target computer), and then click Next. This wizard page appears when the conditions in Table 106 and Table 107 are met. Table 107. Local Administrators Page Conditions Property SkipAdminAccounts DeploymentType JoinDomain Condition Not equal to YES Not equal to REPLACE and not equal to CUSTOM Not equal to ""
Note Unlike other Deployment Wizard pages, the Administrator Accounts page is skipped by default, because the default value for the SkipAdminAccount property is YES. For more information, see the SkipAdminAccounts property in the MDT document Toolkit Reference.
17. On the Capture Image page, click one of the options listed in Table 109 based on requirements, and then click Next. This wizard appears when the conditions in Table 108 are met. Table 108. Capture Image Page Conditions Property SkipCapture DeploymentType JoinDomain Condition Not equal to YES Not equal to REFRESH or not equal to REPLACE Equal to ""
Capture an image of Run Sysprep, and then capture an image of the this reference computer target computer. Then, store the image in the location specified.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
221
Option
Select this option to In the Location box, type location (where location is the fully qualified path to the location for storing the image of the target computer). In the File name box, type file_name (where file_name is the name of the image file). Copy the required Sysprep files to the target computer, initiate Sysprep, but do not capture an image of the target computer. Copy the required Sysprep files to the target computer, but do not initiate Sysprep. Deploy the target operating system to the target computer without capturing a Sysprep image of the computer.
18. On the BitLocker page, click one of the options listed in Table 111 based on your environments requirements, and then click Next. This wizard appears when the conditions in Table 110 are met. Table 110. BitLocker Page Conditions Property SkipBitLocker DeploymentType DoCapture ImageBuild Condition Not equal to YES. Equal to REPLACE or CUSTOM. Not equal to YES or not equal to PREPARE. The first character in the property is equal to 6 (which indicates an operating system that is Windows Vista or later). Equal to ENTERPRISE or ULTIMATE.
ImageFlags
Do not enable BitLocker Deploy the new operating system without for this computer activating BitLocker. Enable BitLocker Activate BitLocker and use TPM version 1.2 or later. Then, select one of the following options for using TPM: To use TPM only, select Enable BitLocker using TPM only. To use TPM with a PIN, select Enable
Solution Accelerators microsoft.com/technet/SolutionAccelerators
222
Option
Select this option to BitLocker using TPM and a PIN; in the Pin box, type pin (where pin is the BitLocker PIN for the target computer). To use TPM with a startup key, select Enable BitLocker using TPM and a startup key; in the box, select the drive on which the startup key resides. To use only an External Startup Key, select Enable BitLocker using only an External Startup Key; in the box, select the drive on which the external startup key resides. To store the recovery key in AD DS, under Choose where to store the Recovery Key, click In Active Directory. To not create a recovery key, under Choose where to store the Recovery Key, click Do not create a recovery key. To configure the deployment process to wait until encryption is complete on all drives before continuing, select the Wait for BitLocker Encryption to complete on all drives before continuing check box.
19. Review the information on the Ready to begin page, and then click Begin.
Note To expand the details of this deployment, click Details.
The Deployment Wizard closes, and deployment of the new operating system begins.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: ZTI Deployments Using Configuration Manager 2012
223
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
224
4. Enable Configuration Manager console integration with MDT as described in Enable Configuration Manager Console Integration for Configuration Manager 2012.
Prepare the Prerequisite ZTI Infrastructure for Use with Configuration Manager 2012
ZTI deployments using Configuration Manager 2012 require that a properly configured Configuration Manager 2012 infrastructure exist prior to installing MDT and performing deployments. Ensure that your new or existing Configuration Manager 2012 infrastructure is specifically optimized for the Operating System Deployment feature.
Note Windows PowerShell version 2.0 or later must be installed on any computer on which MDT is installed for management of ZTI deployments.
For more information about: Hardware and software requirements for Configuration Manager 2012, see Supported Configurations for Configuration Manager Configuring a Configuration Manager 2012 infrastructure to support ZTI deployments, see the section, "Step 1: Prepare the Prerequisite Infrastructure", in the MDT document Quick Start Guide for Microsoft System Center 2012 Configuration Manager.
Install or Upgrade to MDT for the ZTI Deployment Process Using Configuration Manager 2012
The first step in performing ZTI deployments is to have at least one instance of MDT running in your environment. Install MDT on each computer that has the Configuration Manager console installed and that you will use to create or edit task sequences that MDT generates. If your existing environment has: No computers currently running MDT or a previous version of MDT or BDD, install one or more new instances of MDT as described in Installing a New Instance of MDT. One or more computers running a previous version of MDT or BDD, upgrade those instances to MDT as described in Upgrading to MDT. After the upgrade process is complete: Run the Configure ConfigMgr Integration Wizard. This wizard must be run after the upgrade to register the new components and install the ZTI new task sequence templates. Run the Remove PXE Filter Wizard. If you had previously installed and configured the PXE filter to support the unknown computer capability in previous versions of MDT. This support is now provided in Configuration Manager 2012 and has been removed in MDT.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: ZTI Deployments Using Configuration Manager 2012
225
Ensure you create a new Microsoft Deployment Toolkit Files package for any new ZTI task sequences you create. The existing Microsoft Deployment Toolkit Files package can be used for any ZTI task sequences created prior to the upgrade, but a new Microsoft Deployment Toolkit Files package must be created for new ZTI task sequences. Ensure any ZTI task sequences created prior to the upgrade use the Microsoft Deployment Toolkit Files package that existed prior to the upgrade. You can modify these ZTI task sequences, but you cannot use any of the new MDT task sequence actions or steps. To use the new MDT task sequence actions or steps, create a new ZTI task sequence.
Note If you upgraded from a previous version of Configuration Manager to Configuration Manager 2012, you can use ZTI task sequences for MDT that were created in the previous version of Configuration Manager as long as they were created using the same version of MDT.
Obtain the Software That the ZTI Deployment Process Using Configuration Manager 2012 Requires
Collect the software needed during the ZTI deployment process for Configuration Manager 2012. This software will be imported or added to deployment shares unless it already exists in the deployment share.
Note MDT supports Windows AIK for Windows 7, Windows AIK Supplement for Windows 7 SP1, Windows PE 3.0, and Configuration Manager 2007 with SP2.
Required software includes: Operating system source files for each operating system to be deployed to the reference and target computers Operating system packages for the operating systems, such as security updates, feature packs, and language packs Device drivers for the reference and target computers that are not included as part of the operating system Applications that are to be installed as a part of the operating system image or during the deployment of the reference image USMT source files used to create a software package that is deployed to the target computers to capture user state migration data
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
226
The wizard also adds WMI classes for the new MDT custom actions. You add these classes by compiling a Managed Object Format (.mof) file that contains the new class definitions. To run the Configure ConfigMgr Integration Wizard
Note The Configuration Manager console should be closed when performing this procedure.
1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Configure ConfigMgr Integration. The Configure ConfigMgr Integration Wizard starts. 2. Complete the Configure ConfigMgr Integration Wizard using the information in Table 112. Accept the default values unless otherwise specified. Table 112. Information for Completing the Configure ConfigMgr Integration Wizard On this wizard page Options Do this 1. Verify that the Install the MDT extensions for Configuration Manager option is selected. 2. Verify that the Install the MDT console extensions for ConfigMgr 2012 check box is selected. 3. Verify that the Add the MDT task sequence actions to a ConfigMgr server check box is selected. 4. In Site Server Name, type ConfigMgr_server_name (where ConfigMgr_server_name is the name of the Configuration Manager 2012 server on which to install MDT integration). 5. In Site Code, type ConfigMgr_site_code (where ConfigMgr_site_code is the Configuration Manager 2012 site code that installs MDT integration), and then click Next. Confirmation Review the completion status of the wizard, and then click Finish.
When the wizard finishes, the Configuration Manager console is configured for MDT integration.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: ZTI Deployments Using Configuration Manager 2012
227
Preparing for ZTI Deployment to the Reference Computer Using Configuration Manager 2012
Regardless of the ZTI deployment scenario you are performing, always start by creating a reference computer, and then capturing an image of that computer. Later in the ZTI deployment process, you will deploy the captured image of your reference computer to the appropriate target computers. Create a reference computer for each image that you want to create for deployment to the target computers. For more information about determining the number of images required in your organization (and subsequently the number of reference computers required), see Estimate Storage Requirements for Configuration Manager Distribution Points. For more information about the use of reference computers in MDT deployments, see Using Reference Computers in MDT Deployments. To prepare for deployment to the reference computer using Configuration Manager 2012 1. Create a new task sequence that will deploy the target operating system to the reference computer using the Create MDT Task Sequence Wizard in the Configuration Manager console as described in Creating a ZTI Task Sequence Using MDT Task Sequence Templates in Configuration Manager 2012.
Tip Create the task sequence for deploying to the reference computer based on the Client Task Sequence or Server Task Sequence template included in MDT.
2. Configure Configuration Manager 2012 to contain the appropriate software for deployment to the reference computer, including the following: Configuring applications and operating system packages as described in Managing Software Packages in Configuration Manager 2012 Configuring device drivers as described in Managing Device Drivers in Configuration Manager 2012 3. Ensure that the distribution points for the packages and operating system images that the new ZTI task sequence uses are distributed properly as described in Managing Distribution Points in Configuration Manager 2012.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
4. Customize the MDT configuration files to the needs of your organization as described in Configuring MDT Deployments.
Important If you are capturing an image of the reference computer, you must at least add the DoCapture property to the Customsettings.ini file for the task sequence by specifying DoCapture=YES or DoCapture=SYSPREP.
5. Customize the task sequence to the needs of your organization as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2012.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
228
Note The ZTI deployment process is unable to perform Sysprep operations on a target computer that is encrypted by using BitLocker Drive Encryption. Do not enable BitLocker on the reference computer, and enable BitLocker on the target computers only after the target operating system is completely deployed.
6. Update the distribution points so that any changes to the packages are distributed properly as described in Managing Distribution Points in Configuration Manager 2012.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
Deploying To and Capturing an Image of the Reference Computer Using Configuration Manager 2012
After the distribution points are updated, advertise the task sequence to the reference computer and start the reference computer with the bootable Windows PE image created earlier in the process. The task sequence created earlier will deploy the target operating system, device drivers, operating system packages, and applications to the reference computer, and then capture an image of the reference computer. To deploy to and capture an image of the reference computer 1. Add the reference computer to the Configuration Manager 2012 site database as described in Manually Adding Computers to the Site Database in Configuration Manager 2012. 2. Create a collection that contains the reference computer as described in Managing Computer Collections in Configuration Manager 2012. 3. Deploy the task sequence to the reference computer as described in Managing Task Sequence Deployment in Configuration Manager 2012. 4. Create a task sequence bootable media disk by using the Task Sequence Media Wizard as described in Creating Task Sequence Bootable Media in Configuration Manager 2012. 5. Start the reference computer with the task sequence bootable media disk as described in Deploying an Operating System Using Task Sequence Bootable Media in Configuration Manager 2012.
Preparing for ZTI Deployment to Target Computers Using Configuration Manager 2012
After the images of the reference computers are captured, deploy them to the target computers. In preparation for deploying the captured images to the target computers, create one or more task sequences for deploying the captured
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: ZTI Deployments Using Configuration Manager 2012
229
images, ensure that the necessary deployment resources exist, and customize the MDT deployment process. To prepare for ZTI deployment to target computers 1. Prepare network shares for storing migration data and MDT deployment logs as described in Preparing the MDT Migration Resources. 2. Optionally, prepare Windows Deployment Services to start the appropriate Windows PE images that will in turn start the ZTI deployment process to the target computers as described in Preparing Windows Deployment Services for ZTI Deployments Using Configuration Manager 2012. 3. Create additional distribution points to help in larger deployments as described in Managing Distribution Points in Configuration Manager 2012. 4. Prepare the ZTI task sequences, the MDT configuration files, and the MDT DB for each deployment scenario as described in the following: Prepare for the ZTI New Computer Deployment Scenario to Target Computers Using Configuration Manager 2012 Prepare for the ZTI Refresh Computer Deployment Scenario to Target Computers Using Configuration Manager 2012 Prepare for the ZTI Replace Computer Deployment Scenario to Target Computers Using Configuration Manager 2012 Depending on the target computers in your organization, any combination of these deployments scenarios might be necessary. For more information about MDT deployment scenarios, see Identifying Deployment Scenarios.
Prepare for the ZTI New Computer Deployment Scenario to Target Computers Using Configuration Manager 2012
In the New Computer deployment scenario, you deploy a new installation of a Windows operating system to a new computer. There is no user migration information to save and restore and no existing file systems to preserve. Use the Client Task Sequence template to deploy the captured image of the reference computer to the target computer. To prepare for the New Computer deployment scenario to target computers 1. Create a new task sequence that will deploy the target operating system to the reference computer using the Create MDT Task Sequence Wizard in the Configuration Manager console as described in Creating a ZTI Task Sequence Using MDT Task Sequence Templates in Configuration Manager 2012, but ensure that you specifically follow the configuration settings on the wizard pages listed in Table 113 and select the appropriate values on the other wizard pages based on your organizations requirements.
Tip Create the task sequence for deploying to the reference computer based on the Client Task Sequence or Server Task Sequence template included in MDT.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
230
Table 113. Information for Completing the Create MDT Task Sequence Wizard for Performing New Computer Deployment Scenario Using ZTI On this wizard page OS Image Do this Select Create a new OS image, and specify the fully qualified UNC path to the WIM image captured from the reference computer.
2. Configure Configuration Manager 2012 to contain the appropriate software for deployment to the target computer, including: Configuring applications and operating system packages as described in Managing Software Packages in Configuration Manager 2012 Configuring device drivers as described in Managing Device Drivers in Configuration Manager 2012 3. Customize the MDT configuration files to the needs of your organization as described in Configuring MDT Deployments. 4. Optionally, customize the MDT DB to the needs of your organization as described in Performing Deployments Using the MDT DB (if you are using the MDT DB to provide MDT configuration information). 5. Customize the task sequence to the needs of your organization as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2012. 6. Ensure that the distribution points for the packages and operating system images that the new ZTI task sequence uses are distributed properly as described in Managing Distribution Points in Configuration Manager 2012.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
7. Update the distribution points so that any changes to the packages are distributed properly as described in Managing Distribution Points in Configuration Manager 2012.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
Prepare for the ZTI Refresh Computer Deployment Scenario to Target Computers Using Configuration Manager 2012
In the Refresh Computer deployment scenario, a computer is refreshed, including computers that must be re-imaged for image standardization or to address a problem. There is user migration information to save and restore but no existing file systems to preserve. Use the Client Task Sequence template to deploy the captured image of the reference computer to the target computer. To prepare for the Refresh Computer deployment scenario to target computers
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: ZTI Deployments Using Configuration Manager 2012
231
1. Create a new task sequence that will deploy the target operating system to the reference computer using the Create MDT Task Sequence Wizard in the Configuration Manager console as described in Creating a ZTI Task Sequence Using MDT Task Sequence Templates in Configuration Manager 2012, but ensure that you follow the configuration settings on the wizard pages listed in Table 114 and select the appropriate values on the other wizard pages for your organizations requirements.
Tip Create the task sequence for deploying to the reference computer based on the Client Task Sequence or Server Task Sequence template included in MDT.
Table 114. Information for Completing the Create MDT Task Sequence Wizard for Performing New Computer Deployment Scenario Using ZTI On this wizard page OS Image Do this Select Create a new OS image, and specify the fully qualified UNC path to the WIM image captured from the reference computer.
2. Configure the appropriate software for deployment to the target computer in the Configuration Manager Console, including: Configuring applications and operating system packages as described in Managing Software Packages in Configuration Manager 2012 Configuring device drivers as described in Managing Device Drivers in Configuration Manager 2012 3. Optionally, customize the MDT configuration files or the MDT DB to the needs of your organization as described in: Configuring MDT Deployments Performing Deployments Using the MDT DB 4. Customize the task sequence to the needs of your organization as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2012. 5. Ensure that the distribution points for the packages and operating system images that the new ZTI task sequence uses are distributed properly as described in Managing Distribution Points in Configuration Manager 2012.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
6. Update the distribution points so that any changes to the packages are distributed properly as described in Managing Distribution Points in Configuration Manager 2012.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
232
Prepare for the ZTI Replace Computer Deployment Scenario to Target Computers Using Configuration Manager 2012
In the Replace Computer deployment scenario, one computer replaces another computer. Create a computer association record that associates the existing target computer and the new target computer. The existing user state migration data is saved from the existing target computer. Then, a new installation of Windows is deployed to a new computer. Finally, the user state data is restored to the new computer. There are no existing file systems to preserve.
Important You must establish a computer association record for each existing target computer and each new target computer prior to performing the deployment to the target computer.
Use the: Client Replace Task Sequence template to save the user state migration of the existing target computer
Important Run this task sequence before running the task sequence based on the Client Task Sequence template on the new target computer.
Client Task Sequence template to deploy the captured image of the reference computer to the new target computer and restore the user state migration data
Important Run this task sequence after running the task sequence based on the Client Replace Task Sequence template on the existing target computer.
To prepare for the Replace Computer deployment scenario to target computers 1. Create a computer association between the existing target computer and the new target computer as described in the section, How to Create a Computer Association for Side-by-Side Migration, in Configuration Manager 2012 Documentation Library, which is installed with Configuration Manager 2012. 2. Create a new task sequence that will save the user state migration data of the existing target computer as described in Creating a ZTI Task Sequence Using MDT Task Sequence Templates in Configuration Manager 2012.
Tip Create the task sequence for capturing the user state migration data from the target computer based on the Client Task Replace Sequence template included in MDT.
3. Create a new task sequence that will deploy the captured image of the reference computer to the target computer, and restore the user state migration data saved by the Client Replace Task Sequence as described in Creating a ZTI Task Sequence Using MDT Task Sequence Templates in Configuration Manager 2012, but ensure that you specifically follow the configuration settings on the wizard pages listed in Table 115 and select the appropriate values on the other wizard pages for your organizations requirements.
Tip Create the task sequence for deploying to the target computer based on the Client Task Sequence template included in MDT.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: ZTI Deployments Using Configuration Manager 2012
233
Table 115. Information for Completing the Create MDT Task Sequence Wizard for Performing the ZTI Replace Computer Deployment Scenario On this wizard page OS Image Do this Select Create a new OS image, and specify the fully qualified UNC path to the WIM image captured from the reference computer.
4. Configure the appropriate software for deployment to the target computer in the Configuration Manager Console, including: Configuring applications and operating system packages as described in Managing Software Packages in Configuration Manager 2012 Configuring device drivers as described in Managing Device Drivers in Configuration Manager 2012 5. Customize the MDT configuration files or the MDT DB to the needs of your organization as described in: Configuring MDT Deployments Performing Deployments Using the MDT DB 6. Customize the task sequences to the needs of your organization as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2012. 7. Ensure that the distribution points for the packages and operating system images that the new ZTI task sequence uses are distributed properly as described in Managing Distribution Points in Configuration Manager 2012.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
8. Update the distribution points so that any changes to the packages are distributed properly as described in Managing Distribution Points in Configuration Manager 2012.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
234
1. Add the target computer to the Configuration Manager site database: Manually, as described in Manually Adding Computers to the Site Database in Configuration Manager 2012 Automatically as described in the section, How to Deploy Operating Systems Using Unknown Computer Support, in the Configuration Manager 2012 Documentation Library, which is installed with Configuration Manager 2012 2. Create a collection that contains the target computers as described in Managing Computer Collections in Configuration Manager 2012.
Note Create a collection for each MDT deployment scenario to be performed, and ensure that the collection includes the target computers requiring the corresponding deployment scenario.
3. Deploy the task sequence to the target computers as described in Managing Task Sequence Deployment in Configuration Manager 2012. 4. Provide a method for starting the target computers by doing any combination of the following: Create a task sequence bootable media disk using the Task Sequence Media Wizard as described in Creating Task Sequence Bootable Media in Configuration Manager 2012. Prepare Windows Deployment Services to start the appropriate Windows PE images that will in turn start the ZTI deployment process to the target computers as described in Preparing Windows Deployment Services for ZTI Deployments Using Configuration Manager 2012. 5. Deploy the captured reference computer image to the target computers for each deployment scenario as described in: Deploy Captured Images to Target Computers in the ZTI New Computer Deployment Scenario Using Configuration Manager 2012 Deploy Captured Images to Target Computers in the ZTI Refresh Computer Deployment Scenario Using Configuration Manager 2012 Deploy Captured Images to Target Computers in the Replace Computer Deployment Scenario Using Configuration Manager 2012 Depending on the target computers in your organization, any combination of deployments scenarios might be necessary. For more information about the MDT deployment scenarios, see Identifying Deployment Scenarios.
Deploy Captured Images to Target Computers in the ZTI New Computer Deployment Scenario Using Configuration Manager 2012
Start the target computer with the task sequence bootable media created earlier in the process or from Windows Deployment Services. Either method starts Windows PE on the target computer and initiates the ZTI deployment process. At
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: ZTI Deployments Using Configuration Manager 2012
235
the end of the process, the captured image of the reference computer is deployed on the target computer. To deploy the capture images to the target computers in the ZTI New Computer Deployment Scenario using Configuration Manager 2012 1. Start the target computer with the task sequence bootable media created earlier in the process or from Windows Deployment Services. The Task Sequence Wizard starts. 2. Complete the Task Sequence Wizard, ensuring that you specifically follow the configuration settings on the wizard pages listed in Table 116 and select the appropriate values on the other wizard pages for your organizations requirements.
Note This wizard will not appear if you configure ZTI to perform a PXE boot and have configured a mandatory advertisement or if only one task sequence is advertised to the target computer.
Table 116. Information for Completing the Task Sequence Wizard in the ZTI New Computer Deployment Scenario Using Configuration Manager 2012 On this wizard page Select a Task Sequence Do this Select the task sequence you created for the target computer deployment for the New Computer deployment scenario.
Deploy Captured Images to Target Computers in the ZTI Refresh Computer Deployment Scenario Using Configuration Manager 2012
Start ZTI by running the Configuration Manager task sequence deployment for capturing the user state migration data that you created earlier in the process. This task sequence runs in the current operating system on the existing target computer. To deploy the capture images to the target computers in the Refresh Computer Deployment Scenario Using ZTI Run the Configuration Manager advertisement for capturing the Refresh Computer deployment scenario that you created earlier in the deployment process. The task sequence runs in the current operating system to capture user state migration data. The task sequence restarts the computer, starts Windows PE, and then initiates installation of the new operating system. Finally, the task
Solution Accelerators microsoft.com/technet/SolutionAccelerators
236
sequence restarts the computer, starts the new operating system, restores the user state migration data, installs any packages, installs any applications, and performs any other actions configured in the task sequence. The target computer is now deployed.
Deploy Captured Images to Target Computers in the Replace Computer Deployment Scenario Using Configuration Manager 2012
The Replace Computer deployment scenario requires two separate steps to complete the migration. First, run the advertisement for the task sequence you created to capture the user state migration data from the existing target computer (old computer). Second, run the Task Sequence Wizard to deploy the captured image of the reference computer to the new target computer (new computer) and restore the user state saved earlier in the process. To deploy captured images of the reference computer to target computers 1. Save the user state migration data from the existing target computer as described in Save the User State Migration Data from the Existing Target Computer Using Configuration Manager 2012. 2. Deploy the captured image of the reference computer to the new target computer as described in Deploy the Captured Image to the New Target Computer with the User State Migration Data from the Existing Computer Using Configuration Manager 2012.
Save the User State Migration Data from the Existing Target Computer Using Configuration Manager 2012
Start the ZTI deployment process by running the Configuration Manager 2012 advertisement for capturing the user state migration data that you created earlier in the process. This task sequence runs in the current operating system on the existing target computer. To deploy the capture images to the target computers in the Replace Computer Deployment Scenario Using Configuration Manager 2012 Run the Configuration Manager 2012 advertisement for capturing the Refresh Computer deployment scenario that you created earlier in the process. The task sequence runs in the current operating system to capture user state migration data. At the end of the task sequence, the user state migration data of the existing target computer is saved to the Configuration Manager state migration point.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: ZTI Deployments Using Configuration Manager 2012
237
Deploy the Captured Image to the New Target Computer with the User State Migration Data from the Existing Computer Using Configuration Manager 2012
Start the target computer with the ZTI bootable media created earlier in the process or from Windows Deployment Services. The ZTI bootable media starts Windows PE on the target computer and initiates the ZTI. At the end of the deployment process, the captured image of the reference computer is deployed on the target computer, and the user state migration data is restored from the Configuration Manager 2012 state migration point. To complete the Windows Deployment Wizard in the Replace Computer deployment scenario for deploying the captured image 1. Start the reference computer with the ZTI bootable media created earlier in the process or from Windows Deployment Services. Windows PE starts, and then the Windows Deployment Wizard starts. 2. Complete the Task Sequence Wizard, ensuring that you follow the configuration settings for the wizard pages listed in Table 117 and select values on the other wizard pages for your organizations requirements.
Note This wizard will not appear if you configure ZTI to perform a PXE boot and have configured a mandatory advertisement or if only one task sequence is advertised to the target computer.
Table 117. Information for Completing the Task Sequence Wizard for the Replace Computer Deployment Scenario for Deploying the Captured Image Using Configuration Manager 2012 On this wizard page Select a Task Sequence Do this Select the task sequence you created for the target computer deployment in the Replace Computer deployment scenario to deploy the captured image of the reference computer to the new target computer.
The wizard starts, and the operating system deployment starts. The new target computer is deployed with the user state from the existing target computer automatically restored to the new target computer.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
238
Managing ZTI Deployments in the Configuration Manager Console in Configuration Manager 2012
You manage ZTI deployments using Configuration Manager 2012 through the Configuration Manager console. You use the Deployment Workbench in ZTI deployments only to configure the MDT DB. The wizards used to configure ZTI are integrated into the Configuration Manager console in Configuration Manager 2012.
Note At the time of writing, Configuration Manager 2012 is still in beta. As a result, Configuration Manager 2012 documentation is incomplete, and some sections referenced in this MDT document will not be available until Configuration Manager 2012 is formally released.
Manage ZTI deployments in the Configuration Manager console in Configuration Manager 2012 by: Creating a new task sequence for ZTI deployments using the Create MDT Task Sequence Wizard as described in Creating a ZTI Task Sequence Using MDT Task Sequence Templates in Configuration Manager 2012 Managing operating systems for ZTI deployments in the Configuration Manager console as described in Managing Operating Systems in Configuration Manager 2012 Managing device drivers for ZTI deployments in the Configuration Manager console as describe in Managing Device Drivers in Configuration Manager 2012 Deploying an operating system using task sequence bootable media as described in Deploying an Operating System Using Task Sequence Bootable Media in Configuration Manager 2012 Creating task sequence bootable media for ZTI as described in Creating Task Sequence Bootable Media in Configuration Manager 2012 Creating boot images for use with ZTI using the Create Image Using Microsoft Deployment Wizard as described in Creating ZTI Boot Images in Configuration Manager 2012 Managing software packages for ZTI in the Configuration Manager console as described in Managing Software Packages in Configuration Manager 2012 Deploying task sequences to reference or target computers for ZTI as described in Managing Task Sequence Deployment in Configuration Manager 2012 Manually adding computers to the site database for ZTI as described in Manually Adding Computers to the Site Database in Configuration Manager 2012
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2012
239
Managing computer collections for ZTI as described in Managing Computer Collections in Configuration Manager 2012 Managing distribution points for ZTI as described in Managing Distribution Points in Configuration Manager 2012 Configuring individual ZTI task sequence steps as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2012 Configuring ZTI task sequence steps that perform server rolerelated actions as described in Configuring ZTI Server Role Task Sequence Steps in Configuration Manager 2012
Creating a ZTI Task Sequence Using MDT Task Sequence Templates in Configuration Manager 2012
Use the Create MDT Task Sequence Wizard in the Configuration Manager console to create task sequences in Configuration Manager 2012 that are integrated with MDT. MDT includes task sequence templates that you can use to deploy the reference and target computers. Create ZTI task sequences using the MDT task sequence templates by: Identifying the ZTI task sequence templates that are a part of MDT as described in Identify the Task Sequence Templates in MDT in Configuration Manager 2012 Identifying the packages and images that the MDT task sequence templates require as described in Identify the Packages and Images That the MDT Task Sequence Templates in Configuration Manager 2012 Require Creating ZTI task sequences as described in Create ZTI Task Sequences Using the Create MDT Task Sequence Wizard in Configuration Manager 2012
Solution Accelerators
240
Template Sequence
File name
Select this template to all scenarios except the MDT Replace Computer deployment scenario. Captures user state migration data from target computers for the MDT Replace Computer deployment scenario. Create a task sequence that can be customizable to meet the needs of your organization.
SCCM_ClientReplace.xml
Microsoft SCCM_Custom.xml Deployment Custom Task Sequence Standard Server Task Sequence SCCM_Server.xml
Deploy server operating systems to target computers for all scenarios. Deploy operating systems to target computers using UDI.
User Driven SCCM_UDI.xml Installation Task Sequence User Driven SCCM_UDIReplace.xml Installation Replace Task Sequence
Captures user state migration data from target computers for the MDT Replace Computer deployment scenario using UDI.
Note Always use the Create MDT Task Sequence Wizard to import the task sequence templates. Although you can manually import the task sequence templates, doing so is not recommended.
Identify the Packages and Images That the MDT Task Sequence Templates in Configuration Manager 2012 Require
Table 119 lists the packages and images that the task sequence templates in MDT require. These packages and images must exist (or be created) for the task sequences to run correctly in Configuration Manager 2012. Table 119. Packages and Images Required by the Task Sequence Templates Included in MDT for Configuration Manager 2012 This package or image Boot image package Contains the Boot image used to initiate the ZTI deployment process and in the middle of the process when performing the Refresh Computer deployment
microsoft.com/technet/SolutionAccelerators
Solution Accelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2012
241
This package or image Microsoft Deployment Files package OS image package OS install package
Contains the scenario. Script and tools necessary for the MDT task sequence templates for Configuration Manager 2012. Image of the target operating system to be deployed to the target computer. All the files required to install the operating system (using WINNT32 for Windows XP and Windows Server 2003 or Setup.exe for Windows 7, Windows Vista, Windows Server 2008 R2, and Windows Server 2008 operating systems). Configuration Manager 2012 client installation files. USMT files used to capture and restore user state. Contains unattended files and customsettings.ini. Contains the specific Sysprep files defined for a package, which is only required when capturing an image of a computer running Windows XP or Windows Server 2003.
Client package USMT package Custom Settings package Sysprep files package
Note You can use the generic boot images (WIM files) that the Deployment Workbench generates in ZTI deployments. However, you cannot use the LTI LiteTouch boot images (WIM files) that the Deployment Workbench generates in ZTI deployments using Configuration Manager 2012.
The Create MDT Task Sequence Wizard can automatically create these packages and images or can use existing packages and images. The task sequence templates contain placeholders for each package and image listed in Table 119. The Create MDT Task Sequence Wizard substitutes the packages and images selected for the placeholders in the task sequence templates. After completing the wizard, the new created task sequence references the appropriate packages and images. In addition to the packages and images that the task sequence templates require, consider creating and including the following elements in the task sequences to provide similar functionality in the Deployment Workbench: Software distribution packages. This package includes any software that will be installed as part of the operating system deployment (similar to the Applications node in the Deployment Workbench). These packages are created as packages and programs in Configuration Manager 2012. For more information on how to create these packages, see the following sections in the Configuration Manager 2012 Documentation Library, which is included with Configuration Manager 2012:
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
242
Content Management in Configuration Manager Application Management in Configuration Manager Windows package file (software update) packages. These packages include any Windows package files that contain software updates (such as language packs, security updates, and service packs) that will be installed as part of the operating system deployment (similar to the OS Packages node in the Deployment Workbench). You can use these software update packages: Without modification by using the Software Updates feature in Configuration Manager 2012. For more information on using these packages in the Software Updates feature, see the section, Software Updates in Configuration Manager, in the Configuration Manager 2012 Documentation Library, which is included with Configuration Manager 2012. As installed directly by ZTI using the Install Updates Offline task sequence step type. For more information about configuring a task sequence step based on this type, see Configuring ZTI Task Sequence Steps in Configuration Manager 2012. Custom software distribution packages in Configuration Manager 2012. For more information on how to create these packages, see the section, Technical Reference for Content Management in Configuration Manager, in the Configuration Manager 2012 Documentation Library, which is included with Configuration Manager 2012. Device driver package. Configuration Manager 2012 uses driver packages to control the distribution of drivers to distribution points. You can specify device driver categories in an Auto Apply Drivers task sequence step type to limit which drivers are installed, or you can install all device drivers using an Apply driver package task sequence step type. For more information about how to include device drivers in the operating system image, see the section, How to Install Drivers on a Configuration Manager Client Using a Task Sequence, in the Configuration Manager 2012 Documentation Library, which is included with Configuration Manager 2012.
Create ZTI Task Sequences Using the Create MDT Task Sequence Wizard in Configuration Manager 2012
The Create MDT Task Sequence Wizard in Configuration Manager 2012 substitutes the packages and images selected for the placeholders in the task sequence templates. After completing the wizard, the new task sequence references the appropriate packages and images.
Note Always use the Create MDT Task Sequence Wizard to create task sequences based on the MDT task sequence templates. Although you can manually import the task sequence templates, doing so is not recommend.
To create a ZTI task sequence using the Create MDT Task Sequence Wizard in Configuration Manager 2012
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2012
243
1. Click Start, point to All Programs, and then point to Microsoft System Center 2012. Point to Configuration Manager, and then click Configuration Manager Console. 2. In the Configuration Manager console, in the navigation pane, click Software Library. 3. In the Software Library workspace, go to Overview/Operating Systems/Task Sequences. 4. On the Ribbon, on the Home tab, in the Task Sequences group, click Create MDT Task Sequence. The Create MDT Task Sequence Wizard starts. 5. Complete the Create MDT Task Sequence Wizard using the information in Table 120. Accept the default values unless otherwise specified. Table 120. Information for Completing the Create MDT Task Sequence Wizard On this wizard page Choose Template Do this 1. In The following SCCM task sequence templates are available, select task_sequence_template (where task_sequence_template is the task sequence template to be selected from Table 118). 2. Click Next. Choose Template: General 1. In Task sequence name, type task_sequence_name (where task_sequence_name is the name of the task sequence displayed in the Configuration Manager console). 2. In Task sequence comments, type comment (where comment is descriptive text that describes the purpose of the task sequence). 3. Click Next. Choose Template: Details 1. Select Join a workgroup. 2. The other option is Join a domain. If you select this option, in Workgroup, type workgroup_name (where workgroup_name is the name of the workgroup to join). 3. Select Join a domain. The other option is Join a workgroup. If you select this option, perform the following steps: a. In Domain, type domain_name (where
Solution Accelerators microsoft.com/technet/SolutionAccelerators
244
Do this domain_name is the name of the workgroup to join). b. Click Set. The Windows User Account dialog box appears. c. In the Windows User Account dialog box, in User name, type domain_name\user_name (where user_name is the name of the user account used to join the computer to the domain and domain_name is the name of the domain in which the user account resides. This account must be a member of the Domain Admins group in the domain or have sufficient delegated permissions). d. In Password and Confirm password, type password (where password is the password for the user account), and then click OK. 4. In User name, type user_name (where user_name is the name of the registered user that appears in the Windows operating system properties). 5. In Organization name, type organization_name (where organization_name is the name of the registered organization that appears in the Windows operating system properties). 6. In Product key, type product_key (where product_key is the product key for operating system). 7. Click Next.
1. Select This task sequence will never be used to capture and image. The other option is This task sequence may be used to capture and image. 2. Select This task sequence may be used to capture and image. The other option is This task sequence will never be used to capture and image. If you select this option, perform the following steps: a. In Capture destination, type unc_path
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2012
245
Do this (where unc_path is the fully qualified UNC path for the location of the WIM file, including the name of the WIM file). b. Click Set. The Windows User Account dialog box appears. c. In the Windows User Account dialog box, in User name, type domain_name\user_name (where user_name is the name of the user account that has Write permission to the folder specified in Capture destination and domain_name is the name of the domain in which the user account resides). d. In Password and Confirm password, type password (where password is the password for the user account), and then click OK. 3. Click Next.
Boot Image
1. Select Specify an existing boot image. The other option is Create a new boot image package. If you select this option, perform the following steps: a. Click Browse. The Select a Package dialog box appears. b. In Select a Package dialog box, click package_name (where package_name is the name of the existing boot image), and then click OK. 2. Select Create a new boot image package. The other option is Create a new boot image package. If you select this option, in Package source to be created, type unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the package source will be stored). The Configuration Manager 2012 service account must have permission to modify the contents of this UNC path to update the boot images. Ensure that the Configuration Manager 2012 service account has the
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
246
1. In Name, type package_name (where package_name is the name to be given to the boot image package). 2. In Version, type version_number (where version_number is the version number to be assigned to the boot image package). 3. In Comments, type comment_text (where comment_text is descriptive information about the boot image package). 4. Click Next. Boot Image: Components
Note This wizard page appears only if you select Create a new boot image package on the Boot Image wizard page.
1. In Platform, click platform (where platform is the platform architecture for the boot image x86 or X64). 2. Select or clear the ADO check box if you want to add ADO components to the boot image, which is needed to access SQL Server databases such as the MDT DB. By default, this check box is selected. If the check box is: Selected, the ADO components are added to the boot image Cleared, the ADO components are not added to the boot image
Note Scripting, Hypertext Markup Language Application (HTA), XML, and WMI support are always added to the boot image.
3. Select or clear the font check box (where font is the name of the font to be added, which can be Chinese [ZH-CN], Chinese [ZH-HK], Chinese [ZH-TW], Japanese [JA-JP], or Korean [KO-KR]) to add support for the optional fonts. 4. Click Next.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2012
247
Do this 1. Select or clear the Add prestart command files to enable the Deployment Wizard for this boot media check box. If this check box is: Selected, the prestart command files are added to the boot image. In Command line, type the prestart command script to run, which defaults to ZTIMediaHook.wsf. In Folder for prestart command files, type unc_path (where unc_path is the fully qualified UNC path to a writable folder).
Note Alternatively, click Browse to find the folder in which the prestart command files reside.
Cleared, the prestart command files are not added to the boot image. 2. Select or clear the Add extra files to the new boot image check box. If this check box is: Selected, the extra files are added to the boot image. In Path, type path (where path is the fully qualified or relative local or UNC path to a writable folder).
Note Alternatively, click Browse to find the folder in which the extra files reside.
Cleared, the extra files are not added to the boot image. 3. In Use a custom background bitmap file (UNC Path), type unc_path (where unc_path is the fully qualified UNC path to the bitmap file that you want to use as the background).
Note Alternatively, click Browse to find the bitmap file.
4. Select or clear the Enable command support (F8) check box. If this check box is: 5. Click Next. MDT Package 1. Select Specify an existing Microsoft Deployment Toolkit files package. The other option is Create a new Microsoft Deployment Toolkit files package. If you select this option, perform the following steps: a. Click Browse. The Select a Package dialog box
Solution Accelerators microsoft.com/technet/SolutionAccelerators
248
Do this appears. b. In the Select a Package dialog box, click package_name (where package_name is the name of the existing package), and then click OK. 2. Select Create a new Microsoft Deployment Toolkit files package. The other option is Specify an existing Microsoft Deployment Toolkit files package. If you select this option, in Package source to be created, type unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the package source will be stored).
Tip You can also click Browse to locate the UNC path.
1. In Name, type package_name (where package_name is the name to be given to the Microsoft Deployment Toolkit files package). 2. In Version, type version_number (where version_number is the version number to be assigned to the Microsoft Deployment Toolkit files package). 3. In Language, type language (where language is the language of the Microsoft Deployment Toolkit files package). 4. In Manufacturer, type manufacturer (where manufacturer is the manufacturer of the Microsoft Deployment Toolkit files package). 5. In Comments, type comment_text (where comment_text is descriptive information about the Microsoft Deployment Toolkit files package). 6. Click Next. OS Image On this wizard page, you can select (or create) OS image packages or OS install packages. OS image packages are created from WIM files either from distribution media or from custom WIM files
microsoft.com/technet/SolutionAccelerators
Solution Accelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2012
249
Do this you have created. OS install packages contain all the necessary files to install the operating system, such as the contents of a Windows XP CD.
Note The ZTI task sequence templates always configure the Apply Operating System Image task sequence step to deploy the image index equal to 1. If you want to deploy an image with a different index, change the configuration of the Apply Operating System Image task sequence step.
Also, if you select a SKU that is different from the default SKU, remove the following section from Unattend.xml in the Settings package: <MetaData> <Key>/image/index</Key> <Value>1</Value> </MetaTag> 1. Select Specify an existing OS image. The other options are Create a new OS image, Specify an existing OS installation package, or Create a new OS install package. If you select this option, perform the following steps: a. Click Browse. The Select a Package dialog box appears. b. In Select a Package dialog box, click package_name (where package_name is the name of the existing package), and then click OK. 2. Select Create a new OS image. The other options are Specify an existing OS image, Specify an existing OS installation package, or Create a new OS install package. If you select this option, perform the following steps: a. In OS image file (WIM) location, type unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the WIM file is located, including the name of the WIM file).
Tip You can also click Browse to locate the WIM file.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
250
Do this b. In Package source folder to be created, type unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the package source will be stored).
Tip You can also click Browse to locate the UNC path.
3. Select Specify an existing OS installation package. The other options are Specify an existing OS image, Create a new OS image, or Create a new OS install package. If you select this option, perform the following steps: a. Click Browse. The Select a Package dialog box appears. b. In the Select a Package dialog box, click package_name (where package_name is the name of the existing package), and then click OK. 4. Select Create a new OS install package. The other options are Specify an existing OS image, Create a new OS image, or Specify an existing OS installation package.
Note The OS installation folder contents are copied from the specified UNC location to the package source folder, which are then used to create the package.
If you select this option, perform the following steps: a. In OS installation folder location, type unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the package source will be stored).
Tip You can also click Browse to locate the UNC path.
b. In Package source folder to be created, type unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the package source will be stored).
Tip You can also click Browse to locate the UNC
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2012
251
Do this
path.
1. In Name, type package_name (where package_name is the name to be given to the package). 2. In Version, type version_number (where version_number is the version number to be assigned to the package). 3. In Comments, type comment_text (where comment_text is descriptive information about the package). 4. Click Next. OS Image: Install Source
Note This wizard page appears only if you select Create a new OS install package on the OS Image wizard page.
1. In Name, type package_name (where package_name is the name to be given to the package). 2. In Version, type version_number (where version_number is the version number to be assigned to the package). 3. In Comments, type comment_text (where comment_text is descriptive information about the package). 4. Click Next. OS Image: OS Image Index 1. In The selected operating system image (WIM) file contains multiple images. Specify which image you would like to deploy, select image_index (where image_index is the image index of the image that contains the operating system you want to deploy). 2. Click Next. 1. Select Specify an existing ConfigMgr client package. The other option is Create a new ConfigMgr client package. If you select this option, perform the following steps:
Client Package
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
252
Do this a. Click Browse. The Select a Package dialog box appears. b. In the Select a Package dialog box, click package_name (where package_name is the name of the existing package), and then click OK. 2. Select Create a new ConfigMgr client package. The other option is Specify an existing ConfigMgr client package. 3. Click Next.
USMT Package
Note You cannot specify the location for storing the user state migration data in the CustomSettings.ini file for ZTI using Configuration Manager 2012. The Request state store task automatically determines the state migration point to use for storing user state migration data. For more information, see the section, How to Capture and Restore User State, in the Configuration Manager 2012 Documentation Library, which is installed with Configuration Manager 2012.
1. Select Specify an existing USMT package. The other option is Create a new USMT package. If you select this option, perform the following steps: a. Click Browse. The Select a Package dialog box appears. b. In the Select a Package dialog box, click package_name (where package_name is the name of the existing package), and then click OK. 2. Select Create a new USMT package. The other option is Specify an existing USMT package. If you select this option, perform the following steps: a. In Path to USMT executables and related, type path (where path is the fully qualified path for the location of the folder in which the USMT source files are located).
Tip You can also click Browse to locate the path.
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2012
253
Do this unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the package source will be stored).
Tip You can also click Browse to locate the UNC path.
3. Click Next.
Note USMT can only back up and restore locally cached user profiles, not network copies. For more information on using roaming profiles, see the Managing Roaming User Data Deployment Guide.
Note This wizard page appears only if you select Create a new USMT package on the USMT Package wizard page.
1. In Name, type package_name (where package_name is the name to be given to the package). 2. In Version, type version_number (where version_number is the version number to be assigned to the package). 3. In Language, type language (where language is the language of the package). 4. In Manufacturer, type manufacturer_name (where manufacturer_name is the name of the software manufacturer in the package). 5. In Comments, type comment_text (where comment_text is descriptive information about the package). 6. Click Next. Settings Package 1. Select Specify an existing settings package. The other option is Create a new settings package. Select this option for Windows 7 and Windows Vista operating systems. If you select this option, perform the following steps: a. Click Browse. The Select a Package dialog box appears. b. In the Select a Package dialog box, click package_name (where package_name is the name of the existing package), and then click OK.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
254
Do this 2. Click Create a new settings package. The other option is Specify an existing settings package. If you select this option, in Package source to be created, type unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the package source will be stored).
Tip You can also click Browse to locate the UNC path.
1. In Name, type package_name (where package_name is the name to be given to the package). 2. In Version, type version_number (where version_number is the version number to be assigned to the package). 3. In Language, type language (where language is the language of the package). 4. In Manufacturer, type manufacturer_name (where manufacturer_name is the name of the manufacturer for the software in the package). 5. In Comments, type comment_text (where comment_text is descriptive information about the package). 6. Click Next. Sysprep Package 1. Select No Sysprep package is required. The other options are Specify an existing Sysprep package and Create a new settings package. 2. Select Specify an existing Sysprep package. The other options are No Sysprep package is required and Create a new settings package. If you select this option, perform the following steps: a. Click Browse. The Select a Package dialog box
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2012
255
Do this appears. b. In the Select a Package dialog box, click package_name (where package_name is the name of the existing package), and then click OK. 3. Select Create a new Sysprep package. The other option is Specify an existing settings package. If you select this option, perform the following steps: a. In Path to Sysprep executables and related, type path (where path is the fully qualified path for the location of the folder in which the Sysprep source files reside).
Tip You can also click Browse to locate the path.
b. In Package source to be created, type unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the package source will be stored).
Tip You can also click Browse to locate the UNC path.
1. In Name, type package_name (where package_name is the name to be given to the package). 2. In Version, type version_number (where version_number is the version number to be assigned to the package). 3. In Language, type language (where language is the language of the package). 4. In Manufacturer, type manufacturer_name (where manufacturer_name is the name of the manufacturer for the software in the package). 5. In Comments, type comment_text (where comment_text is descriptive information about the package). 6. Click Next.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
256
The Summary wizard page displays a status bar that shows the progress of the tasks defined in the wizard. The Create MDT Task Sequence Wizard closes when the task sequence is created.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2012
257
Add Device Drivers to Operating System and Boot Images in Configuration Manager 2012
When you have added device drivers to the driver catalog, you can add them to existing operating systems and boot images. The driver catalog helps manage the cost and complexity of deploying an operating system in an environment that contains different types of computers and devices. Storing device drivers in the driver catalog and not with each individual operating system image greatly reduces the number of operating system images you need. For information about managing the driver catalog, see the section, How to Manage the Driver Catalog, in the Configuration Manager 2012 Documentation Library, which is installed with Configuration Manager 2012. To add device drivers to operating systems and boot images in Configuration Manager 2012 Add device drivers from the driver catalog to existing operating systems as described in Add Device Drivers to an Operating System in Configuration Manager 2012. Add device drivers from the driver catalog to existing boot images as described in Add Device Drivers to a Boot Image in Configuration Manager 2012.
258
Task Sequence, in the Configuration Manager 2012 Documentation Library, which is installed with Configuration Manager 2012.
Deploying an Operating System Using Task Sequence Bootable Media in Configuration Manager 2012
To initiate ZTI deployment using Configuration Manager 2012 from bootable media, start the target computer with the bootable media. The boot process starts Windows PE, and then starts ZTI. You can start the target computer from a UFD, CD, or DVD.
Note The ZTI deployment process using Configuration Manager 2012 can also be initiated by starting the target computer from Windows Deployment Services. However, for reference computers it may be easier to start the ZTI deployment process from bootable media.
For more information about how to deploy an operating system using task sequence bootable media, see the section How to Deploy an Operating System Image Using Media in the Configuration Manager 2012 Documentation Library, which is installed with Configuration Manager 2012.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2012
259
For more information about how to create task sequence bootable media, see the section, How to Create Task Sequence Bootable Media, in the Configuration Manager 2012 Documentation Library, which is installed with Configuration Manager 2012.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
260
Do this 1. In Package source folder to be created (UNC) path, type unc_path (where unc_path is the fully qualified UNC path to the folder you want to use as the source for the boot image package). The Configuration Manager service account must have permission to modify the contents of this UNC path to update the boot images. Ensure that the Configuration Manager service account has the appropriate permission on this network shared folder.
Note Alternatively, click Browse to find the network shared folder.
2. Click Next. General Settings 1. In Name, type package_name (where package_name is descriptive name displayed in the Configuration Manager Console). 2. In Version, type package_version (where package_version is version number that you want to assign to the package). 3. In Comments, type package_comments (where package_comments is text that describes the purpose of the boot image). 4. Click Next. 1. In Platform, click platform (where platform is the platform architecture for the boot imagex86 or X64). 2. Select or clear the ADO check box if you want to add ADO components to the boot image, which are needed to access SQL Server databases such as the MDT DB. If the check box is: Selected, the ADO components are added to the boot image Cleared, the ADO components are not added to the boot image
Note The Scripting, HTA, XML, and WMI support are always added to the boot image.
Components
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2012
261
Do this 3. Select or clear the font check box (where font is the name of the font to be added, which can be Chinese [ZH-CN], Chinese [ZH-HK], Chinese [ZH-TW], Japanese [JA-JP], or Korean [KO-KR]) to add support for the optional fonts. 4. Click Next. 1. Select or clear the Add prestart command files to enable the Deployment Wizard for this boot media check box. If this check box is: Selected, the prestart command files are added to the boot image. In Command line, type the prestart command script to run, which defaults to ZTIMediaHook.wsf. In Folder for prestart command files, type unc_path (where unc_path is the fully qualified UNC path to a writable folder).
Note Alternatively, click Browse to find the folder in iwhich the prestart command files reside.
Customization
Cleared, the prestart command files are not added to the boot image. 2. Select or clear the Add extra files to the new boot image check box. If this check box is: Selected, the extra files are added to the boot image. In Path, type path (where path is the fully qualified or relative local or UNC path to a writable folder).
Note Alternatively, click Browse to find the folder in which the extra files reside.
Cleared, the extra files are not added to the boot image. 3. In Use a custom background bitmap file (UNC Path), type unc_path (where unc_path is the fully qualified UNC path to the bitmap file that you want to use as the background).
Solution Accelerators microsoft.com/technet/SolutionAccelerators
262
Do this
Note Alternatively, click Browse to find the bitmap file.
4. Select or clear the Enable command support (F8) check box. 5. Click Next. Summary Confirmation 1. Review the information in Details. 2. Click Next.
Tip You can click Save Output to save the output of the wizard to a file. You can also click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Click Close. After the Create Boot Image using MDT Wizard finishes, the new boot image appears in the preview pane in the Configuration Manager console.
To create a Configuration Manager 2012 package that contains one or more language packs 1. Create a folder that will contain the package source for the language pack (.cab file).
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2012
263
Note Create this folder where previously created packages are stored or where space is available.
2. Create a subfolder beneath the folder you created in step 1 for the language pack (.cab file). 3. Add the language pack (.cab file) downloaded from Microsoft into the subfolder created in step 2.
Note Language packs already in .cab format are available for download from the Microsoft Volume Licensing website.
4. Repeat steps 2 and 3 for each language pack that you want to be a part of the package. 5. Run the New Package Wizard in the Configuration Manager console, ensuring the following options are selected during the wizard: On the Data Source wizard page, click This package contains source files, and then click Set to set the source directory to the folder you created in step 1. On the Data Source wizard page, select the Enable binary differential replication check box. For more information about how to create task sequence bootable media, see the section, New Package Wizard, in the Configuration Manager 2012 Documentation Library, which is installed with Configuration Manager 2012. To add language packs offline to Windows 7, Windows Vista, Windows Server 2008 R2, and Windows Server 2008
Note When used with MDT, the term offline means that the computer is booted into Windows PE, and thus the image can be modified offlinenot in the currently booted operating system.
1. Click Start, point to All Programs, and then point to Microsoft System Center 2012. Point to Configuration Manager, and then click Configuration Manager Console. 2. In the Configuration Manager console, in the navigation pane, click Software Library. 3. In the Software Library workspace, go to Overview/Operating Systems/Task Sequences. 4. In the preview pane, click task_sequence (where task_sequence is the name of the task sequence for which you want to add the language pack). 5. On the Ribbon, on the Home tab, in the Task Sequences group, click Edit. The task_sequence_name Task Sequence Editor dialog box opens (where task_sequence_name is the name of the task sequence to which you want to add language packs offline). 6. In the task_sequence_name Task Sequence Editor dialog box, under the Postinstall phase, go to the Setup Windows and ConfigMgr task.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
264
7. Click the task immediately above this task so that the new added task will be positioned immediately before the Setup Windows and ConfigMgr task. 8. On the menu bar, click Add, click MDT, and then click Install Language Packs Offline. The Install Language Packs Offline task sequence step is added to the task sequence. 9. On the Properties tab of the newly added task sequence step, type the relevant information in the Name and Description boxes. 10. On the Properties tab of the newly added task sequence step, click Browse. The Select a Package dialog box appears. 11. In the Select a Package dialog box, select language_package (where language_package is the name of the package that contains the language pack you want to install), and then click OK. 12. In the task_sequence_name Task Sequence Editor dialog box, click OK. To add language packs online to Windows 7, Windows Vista, Windows Server 2008 R2, and Windows Server 2008
Note When used in MDT, the term online means that the computer is booted into an operating system but run as an Administrator user so that final configurations can be made to the running operating system.
1. Click Start, point to All Programs, and then point to Microsoft System Center 2012. Point to Configuration Manager, and then click Configuration Manager Console. 2. In the Configuration Manager console, in the navigation pane, click Software Library. 3. In the Software Library workspace, go to Overview/Operating Systems/Task Sequences. 4. In the preview pane, click task_sequence (where task_sequence is the name of the task sequence for which you want to add the language pack). 5. On the Ribbon, on the Home tab, in the Task Sequences group, click Edit. The task_sequence_name Task Sequence Editor dialog box opens (where task_sequence_name is the name of the task sequence to which you want to add language packs offline). 6. In the task_sequence_name Task Sequence Editor dialog box, under the Postinstall phase, go to the Setup Windows and ConfigMgr task. 7. Click the task immediately above this task so that the new added task will be positioned immediately before the Setup Windows and ConfigMgr task. 8. On the menu bar, click Add, click MDT, and then click Install Language Packs Online.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2012
265
The Install Language Packs Online task sequence step is added to the task sequence. 9. On the Properties tab of the newly added task sequence step, type the relevant information in the Name and Description boxes. 10. On the Properties tab of the newly added task sequence step, click Browse. The Select a Package dialog box appears. 11. In the Select a Package dialog box, select language_package (where language_package is the name of the package that contains the language pack you want to install), and then click OK. 12. In the task_sequence_name Task Sequence Editor dialog box, click OK.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
266
5. On the Ribbon, on the Home tab, in the Task Sequences group, click Edit. The task_sequence_name Task Sequence Editor dialog box opens (where task_sequence_name is the name of the task sequence to which you want to add language packs offline). 6. In the task_sequence_name Task Sequence Editor dialog box, under the Postinstall phase, go to the Setup Windows and ConfigMgr task. 7. Click the task immediately above this task so that the new added task will be positioned just above the Setup Windows and ConfigMgr task.
Note Only updates in CAB files are supported using the Install Updates Offline task sequence type. Other formats of update files are ignore, such as MSI, MSP, or executable (.exe) files.
8. On the menu bar, click Add, click MDT, and then click Install Updates Offline. The Install Updates Offline task sequence step is added to the task sequence. 9. On the Properties tab of the newly added task sequence step, type the relevant information in the Name and Description boxes. 10. On the Properties tab of the newly added task sequence step, click Browse. The Select a Package dialog box appears. 11. In the Select a Package dialog box, select update_package (where update_package is the name of the package that contains the updates you want to install), and then click OK. 12. In the task_sequence_name Task Sequence Editor dialog box, click OK. To add online updates to Windows 7, Windows Vista, Windows XP, Windows Server 2008 R2, Windows Server 2008, or Windows Server 2003 operating systems
Note The task sequence templates in MDT include the Install Software Updates task sequence step to perform online updates. This step is only necessary when creating custom task sequences.
1. Click Start, point to All Programs, and then point to Microsoft System Center 2012. Point to Configuration Manager, and then click Configuration Manager Console. 2. In the Configuration Manager console, in the navigation pane, click Software Library. 3. In the Software Library workspace, go to Overview/Operating Systems/Task Sequences. 4. In the preview pane, click task_sequence (where task_sequence is the name of the task sequence for which you want to add the language pack). 5. On the Ribbon, on the Home tab, in the Task Sequences group, click Edit.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2012
267
The task_sequence_name Task Sequence Editor dialog box opens (where task_sequence_name is the name of the task sequence to which you want to add language packs offline). 6. In the task_sequence_name Task Sequence Editor dialog box, under the State Restore phase, go to the Restart Computer task. 7. Click the task immediately above this task so that the new added task will be positioned just above the Restart Computer task. 8. In the Task Sequence Editor dialog box, click Add, click General, and then click Install Software Updates. 9. On the menu bar, click Add, click General, and then click Install Software Updates. The Install Software Updates task sequence step is added to the task sequence. 10. On the Properties tab of the newly added task sequence step, type the relevant information in the Name and Description boxes. 11. On the Properties tab of the newly added task sequence step, click one of the following options: Mandatory Software Updates. This option installs only the software updates that are categorized as being mandatory. This option is selected by default. All Software Updates. This option installs all software updates, including mandatory and optional software updates. 12. In the task_sequence_name Task Sequence Editor dialog box, click OK.
Note The Software Update Point role and Windows Server Update Services (WSUS) must be properly configured to work with this task sequence step type.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
268
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2012
269
Configuring ZTI Server Role Task Sequence Steps in Configuration Manager 2012
ZTI can help automate the deployment of server roles in Windows Server 2008 R2 and Windows Server 2008. Configure ZTI task sequence steps in Configuration Manager 2012 to deploy the supported server roles, which include: AD DS DNS Server DHCP Server The process for configuring the server role task sequence steps is similar for ZTI and LTI. For more information about configuring server role task sequence steps for ZTI in Configuration Manager 2012, see Configuring Server Role Task Sequence Steps for LTI and ZTI.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
270
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Performing ZTI Deployments in Configuration Manager 2007 R3
271
Prepare the Prerequisite ZTI Infrastructure for Use with Configuration Manager 2007 R3
ZTI deployments require that a properly configured Configuration Manager 2007 R3 infrastructure exist prior to installing MDT and performing deployments. Ensure that your new or existing Configuration Manager infrastructure is specifically optimized for the Operating System Deployment feature.
Note Windows PowerShell version 2.0 or later must be installed on any computer on which MDT is installed for management of ZTI deployments.
For more information about: Hardware and software requirements for Configuration Manager, see Configuration Manager Supported Configurations Configuring a Configuration Manager infrastructure to support ZTI deployments, see the section, "Step 1: Prepare the Prerequisite Infrastructure", in the MDT document Quick Start Guide for Microsoft System Center Configuration Manager 2007 R3
Install or Upgrade to MDT for the ZTI Deployment Process Using Configuration Manager 2007 R3
The first step in performing ZTI deployments is to have at least one instance of MDT running in your environment. Install MDT on each computer that has the Configuration Manager console installed and that you will use to create or edit task sequences that MDT generates. If your existing environment has: No computers currently running MDT or a previous version of MDT or BDD, install one or more new instances of MDT as described in Installing a New Instance of MDT One or more computers running a previous version of MDT or BDD, upgrade those instances to MDT as described in Upgrading to MDT. After the upgrade process is complete: Run the Configure ConfigMgr Integration Wizard. This wizard must be run after the upgrade to register the new components and install the ZTI new task sequence templates. Run the Remove PXE Filter Wizard. If you had previously installed and configured the PXE filter to support the unknown computer capability in previous versions of MDT. This support is now provided in Configuration Manager 2007 R3 and has been removed in MDT. Ensure you create a new Microsoft Deployment Toolkit Files package for any new ZTI task sequences you create. The existing Microsoft Deployment Toolkit Files package can be used for any ZTI task sequences created prior to the upgrade, but a new Microsoft Deployment Toolkit Files package must be created for new ZTI task sequences.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
272
Ensure any ZTI task sequences created prior to the upgrade use the Microsoft Deployment Toolkit Files package that existed prior to the upgrade. You can modify these ZTI task sequences, but you cannot use any of the new MDT task sequence actions or steps. To use the new MDT task sequence actions or steps, create a new ZTI task sequence.
Obtain the Software That the ZTI Deployment Process Using Configuration Manager 2007 R3 Requires
Collect the software needed during the ZTI deployment process. This software will be imported or added to deployment shares unless it already exists in the deployment share.
Note MDT supports Windows AIK for Windows 7, Windows AIK Supplement for Windows 7 SP1, Windows PE 3.0, and Configuration Manager 2007 with SP2.
Required software includes: Operating system source files for each operating system to be deployed to the reference and target computers Operating system packages for the operating systems, such as security updates, feature packs, and language packs Device drivers for the reference and target computers that are not included as part of the operating system Applications that are to be installed as a part of the operating system image or during the deployment of the reference image USMT source files used to create a software package that is deployed to the target computers to capture user state migration data
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Performing ZTI Deployments in Configuration Manager 2007 R3
273
1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Configure ConfigMgr Integration. The Configure Configuration Manager Integration Wizard starts. 2. Complete the Configure Configuration Manager Integration Wizard using the information in Table 122. Accept the default values unless otherwise specified. Table 122. Information for Completing the Configure Configuration Manager Integration Wizard On this wizard page Options Do this 1. Verify that the Install the MDT extensions for Configuration Manager option is selected. 2. Verify that the Install the MDT console extensions for ConfigMgr 2007 check box is selected. 3. Verify that the Add the MDT task sequence actions to a ConfigMgr server check box is selected. 4. In Site Server Name, type ConfigMgr_server_name (where ConfigMgr_server_name is the name of the Configuration Manager server on which to install MDT integration). 5. In Site Code, type ConfigMgr_site_code (where ConfigMgr_site_code is the Configuration Manager site code that installs MDT integration), and then click Next. Confirmation Review the completion status of the wizard, and then click Finish.
When the wizard finishes, the Configuration Manager console is configured for MDT integration.
Preparing for ZTI Deployment to the Reference Computer Using Configuration Manager 2007 R3
Regardless of the ZTI deployment scenario you are performing, always start by creating a reference computer, and then capturing an image of that computer. Later in the ZTI deployment process, you will deploy the captured image of your reference computer to the appropriate target computers. Create a reference computer for each image that you want to create for deployment to the target computers. For more information about determining the
Solution Accelerators microsoft.com/technet/SolutionAccelerators
274
number of images required in your organization (and subsequently the number of reference computers required), see Estimate Storage Requirements for Configuration Manager Distribution Points. For more information about the use of reference computers in MDT deployments, see Using Reference Computers in MDT Deployments. To prepare for deployment to the reference computer 1. Create a new task sequence that will deploy the target operating system to the reference computer using the Create MDT Task Sequence Wizard in the Configuration Manager console as described in Creating a ZTI Task Sequence Using MDT Task Sequence Templates in Configuration Manager 2007 R3.
Tip Create the task sequence for deploying to the reference computer based on the Client Task Sequence or Server Task Sequence template included in MDT.
2. Configure Configuration Manager 2007 R3 to contain the appropriate software for deployment to the reference computer, including the following: Configuring applications and operating system packages as described in Managing Software Packages in Configuration Manager 2007 R3. Configuring device drivers as described in Managing Device Drivers in Configuration Manager 2007 R3. 3. Ensure that the distribution points for the packages and operating system images that the new ZTI task sequence uses are distributed properly as described in Managing Distribution Points in Configuration Manager 2007 R3.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
4. Customize the MDT configuration files to the needs of your organization as described in Configuring MDT Deployments.
Important If you are capturing an image of the reference computer, you must at least add the DoCapture property to the CustomSettings.ini file for the task sequence by specifying DoCapture=YES or DoCapture=SYSPREP.
5. Customize the task sequence to the needs of your organization as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3.
Note The ZTI deployment process is unable to perform Sysprep operations on a target computer that is encrypted by using BitLocker. Do not enable BitLocker on the reference computer, and enable BitLocker on the target computers only after the target operating system is completely deployed.
6. Update the distribution points so that any changes to the packages are distributed properly as described in Managing Distribution Points in Configuration Manager 2007 R3.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Performing ZTI Deployments in Configuration Manager 2007 R3
275
Deploying To and Capturing an Image of the Reference Computer Using Configuration Manager 2007 R3
After the distribution points are updated, advertise the task sequence to the reference computer and start the reference computer with the bootable Windows PE image created earlier in the process. The task sequence created earlier will deploy the target operating system, device drivers, operating system packages, and applications to the reference computer, and then capture an image of the reference computer. To deploy to and capture an image of the reference computer 1. Add the reference computer to the Configuration Manager 2007 R3 site database as described in Manually Adding Computers to the Site Database in Configuration Manager 2007 R3. 2. Create a collection that contains the reference computer as described in Managing Computer Collections in Configuration Manager 2007 R3. 3. Create an advertisement for the reference computer task sequence as described in Managing Advertisements in Configuration Manager 2007 R3. 4. Create a task sequence bootable media disk by using the Task Sequence Media Wizard as described in Creating Task Sequence Bootable Media in Configuration Manager 2007 R3. 5. Start the reference computer with the task sequence bootable media disk as described in Deploying an Operating System Using Task Sequence Bootable Media in Configuration Manager 2007 R3.
Preparing for ZTI Deployment to Target Computers Using Configuration Manager 2007 R3
After the images of the reference computers are captured, deploy them to the target computers. In preparation for deploying the captured images to the target computers, create one or more task sequences for deploying the captured images, ensure that the necessary deployment resources exist, and customize the MDT deployment process. To prepare for ZTI deployment to target computers 1. Prepare network shares for storing migration data and MDT deployment logs as described in Preparing the MDT Migration Resources. 2. Optionally, prepare Windows Deployment Services to start the appropriate Windows PE images that will in turn start the ZTI deployment process to the target computers as described in Preparing Windows Deployment Services for ZTI Deployments Using Configuration Manager 2007 R3.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
276
3. Create additional distribution points to help in larger deployments as described in Managing Distribution Points in Configuration Manager 2007 R3. 4. Prepare the ZTI task sequences, the MDT configuration files, and the MDT DB for each deployment scenario as described in the following: Prepare for the ZTI New Computer Deployment Scenario to Target Computers Using Configuration Manager 2007 R3 Prepare for the ZTI Refresh Computer Deployment Scenario to Target Computers Using Configuration Manager 2007 R3 Prepare for the ZTI Replace Computer Deployment Scenario to Target Computers Using Configuration Manager 2007 R3 Depending on the target computers in your organization, any combination of these deployments scenarios might be necessary. For more information about MDT deployment scenarios, see Identifying Deployment Scenarios.
Prepare for the ZTI New Computer Deployment Scenario to Target Computers Using Configuration Manager 2007 R3
In the New Computer deployment scenario, you deploy a new installation of a Windows operating system to a new computer. There is no user migration information to save and restore and no existing file systems to preserve. Use the Client Task Sequence template to deploy the captured image of the reference computer to the target computer. To prepare for the New Computer deployment scenario to target computers 1. Create a new task sequence that will deploy the target operating system to the reference computer using the Create MDT Task Sequence Wizard in the Configuration Manager console as described in Creating a ZTI Task Sequence Using MDT Task Sequence Templates in Configuration Manager 2007 R3, but ensure that you specifically follow the configuration settings on the wizard pages listed in Table 123 and select the appropriate values on the other wizard pages based on your organizations requirements.
Tip Create the task sequence for deploying to the reference computer based on the Client Task Sequence or Server Task Sequence template included in MDT.
Table 123. Information for Completing the Create MDT Task Sequence Wizard for Performing New Computer Deployment Scenario Using ZTI On this wizard page OS Image Do this Select Create a new OS image, and specify the fully qualified UNC path to the WIM image captured from the reference computer.
2. Configure Configuration Manager 2007 R3 to contain the appropriate software for deployment to the target computer, including:
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Performing ZTI Deployments in Configuration Manager 2007 R3
277
Configuring applications and operating system packages as described in Managing Software Packages in Configuration Manager 2007 R3 Configuring device drivers as described in Managing Device Drivers in Configuration Manager 2007 R3 3. Customize the MDT configuration files to the needs of your organization as described in Configuring MDT Deployments. 4. Optionally, customize the MDT DB to the needs of your organization as described in Performing Deployments Using the MDT DB (if you are using the MDT DB to provide MDT configuration information). 5. Customize the task sequence to the needs of your organization as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3. 6. Ensure that the distribution points for the packages and operating system images that the new ZTI task sequence uses are distributed properly as described in Managing Distribution Points in Configuration Manager 2007 R3.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
7. Update the distribution points so that any changes to the packages are distributed properly as described in Managing Distribution Points in Configuration Manager 2007 R3.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
Prepare for the ZTI Refresh Computer Deployment Scenario to Target Computers Using Configuration Manager 2007 R3
In the Refresh Computer deployment scenario, a computer is refreshed, including computers that must be re-imaged for image standardization or to address a problem. There is user migration information to save and restore but no existing file systems to preserve. Use the Client Task Sequence template to deploy the captured image of the reference computer to the target computer. To prepare for the Refresh Computer deployment scenario to target computers 1. Create a new task sequence that will deploy the target operating system to the reference computer using the Create MDT Task Sequence Wizard in the Configuration Manager console as described in Creating a ZTI Task Sequence Using MDT Task Sequence Templates in Configuration Manager 2007 R3, but ensure that you follow the configuration settings on the wizard pages listed in Table 124 and select the appropriate values on the other wizard pages for your organizations requirements.
Tip Create the task sequence for deploying to the reference computer based on the Client Task Sequence or Server Task Sequence template included in MDT.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
278
Table 124. Information for Completing the Create MDT Task Sequence Wizard for Performing New Computer Deployment Scenario Using ZTI On this wizard page OS Image Do this Select Create a new OS image, and specify the fully qualified UNC path to the WIM image captured from the reference computer.
2. Configure Configuration Manager 2007 R3 to contain the appropriate software for deployment to the target computer, including: Configuring applications and operating system packages as described in Managing Software Packages in Configuration Manager 2007 R3 Configuring device drivers as described in Managing Device Drivers in Configuration Manager 2007 R3 3. Optionally, customize the MDT configuration files or the MDT DB to the needs of your organization as described in: Configuring MDT Deployments Performing Deployments Using the MDT DB 4. Customize the task sequence to the needs of your organization as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3. 5. Ensure that the distribution points for the packages and operating system images that the new ZTI task sequence uses are distributed properly as described in Managing Distribution Points in Configuration Manager 2007 R3.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
6. Update the distribution points so that any changes to the packages are distributed properly as described in Managing Distribution Points in Configuration Manager 2007 R3.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
Prepare for the ZTI Replace Computer Deployment Scenario to Target Computers Using Configuration Manager 2007 R3
In the Replace Computer deployment scenario, one computer replaces another computer. Create a computer association record that associates the existing target computer and the new target computer. The existing user state migration data is saved from the existing target computer. Then, a new installation of Windows is deployed to a new computer. Finally, the user state data is restored to the new computer. There are no existing file systems to preserve.
Important You must establish a computer association record for each existing target computer and each new target computer prior to performing the deployment to the target computer.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Performing ZTI Deployments in Configuration Manager 2007 R3
279
Use the: Client Replace Task Sequence template to save the user state migration of the existing target computer
Important Run this task sequence before running the task sequence based on the Client Task Sequence template on the new target computer.
Client Task Sequence template to deploy the captured image of the reference computer to the new target computer and restore the user state migration data
Important Run this task sequence after running the task sequence based on the Client Replace Task Sequence template on the existing target computer.
To prepare for the Replace Computer deployment scenario to target computers 1. Create a computer association between the existing target computer and the new target computer as described in the section, How to Create a Computer Association for Side-by-Side Migration, in the Configuration Manager 2007 Documentation Library, which is installed with Configuration Manager 2007 R3. 2. Create a new task sequence that will save the user state migration data of the existing target computer as described in Creating a ZTI Task Sequence Using MDT Task Sequence Templates in Configuration Manager 2007 R3.
Tip Create the task sequence for deploying to the reference computer based on the Client Task Replace Sequence template included in MDT.
3. Create a new task sequence that will deploy the captured image of the reference computer to the target computer, and restore the user state migration data saved by the Client Replace Task Sequence as described in Creating a ZTI Task Sequence Using MDT Task Sequence Templates in Configuration Manager 2007 R3, but ensure that you specifically follow the configuration settings on the wizard pages listed in Table 125 and select the appropriate values on the other wizard pages for your organizations requirements.
Tip Create the task sequence for deploying to the reference computer based on the Client Replace Task Sequence template included in MDT.
Table 125. Information for Completing the Create MDT Task Sequence Wizard for Performing Replace Computer Deployment Scenario Using ZTI On this wizard page OS Image Do this Select Create a new OS image, and specify the fully qualified UNC path to the WIM image captured from the reference computer.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
280
4. Configure Configuration Manager 2007 R3 to contain the appropriate software for deployment to the target computer, including: Configuring applications and operating system packages as described in Managing Software Packages in Configuration Manager 2007 R3 Configuring device drivers as described in Managing Device Drivers in Configuration Manager 2007 R3 5. Customize the MDT configuration files or the MDT DB to the needs of your organization as described in: Configuring MDT Deployments Performing Deployments Using the MDT DB 6. Customize the task sequences to the needs of your organization as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3. 7. Ensure that the distribution points for the packages and operating system images that the new ZTI task sequence uses are distributed properly as described in Managing Distribution Points in Configuration Manager 2007 R3.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
8. Update the distribution points so that any changes to the packages are distributed properly as described in Managing Distribution Points in Configuration Manager 2007 R3.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Performing ZTI Deployments in Configuration Manager 2007 R3
281
Manager 2007 Documentation Library, which is installed with Configuration Manager 2007 R3 2. Create a collection that contains the target computers as described in Managing Computer Collections in Configuration Manager 2007 R3.
Note Create a collection for each MDT deployment scenario to be performed, and ensure that the collection includes the target computers requiring the corresponding deployment scenario.
3. Create an advertisement for the target computer task sequences as described in Managing Advertisements in Configuration Manager 2007 R3. 4. Provide a method for starting the target computers by doing any combination of the following: Create a task sequence bootable media disk using the Task Sequence Media Wizard as described in Creating Task Sequence Bootable Media in Configuration Manager 2007 R3. Prepare Windows Deployment Services to start the appropriate Windows PE images that will in turn start the ZTI deployment process to the target computers as described in Preparing Windows Deployment Services for ZTI Deployments Using Configuration Manager 2007 R3. 5. Deploy the captured reference computer image to the target computers for each deployment scenario as described in: Deploy Captured Images to Target Computers in the New Computer Deployment Scenario Using Configuration Manager 2007 R3 Deploy Captured Images to Target Computers in the Refresh Computer Deployment Scenario Using Configuration Manager 2007 R3 Deploy Captured Images to Target Computers in the Replace Computer Deployment Scenario Using Configuration Manager 2007 R3 Depending on the target computers in your organization, any combination of deployments scenarios might be necessary. For more information about the MDT deployment scenarios, see Identifying Deployment Scenarios.
Deploy Captured Images to Target Computers in the New Computer Deployment Scenario Using Configuration Manager 2007 R3
Start the target computer with the task sequence bootable media created earlier in the process or from Windows Deployment Services. Either method starts Windows PE on the target computer and initiates the ZTI deployment process. At the end of the process, the captured image of the reference computer is deployed on the target computer. To deploy the capture images to the target computers in the New Computer Deployment Scenario Using ZTI
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
282
1. Start the target computer with the task sequence bootable media created earlier in the process or from Windows Deployment Services. The Task Sequence Wizard starts. 2. Complete the Task Sequence Wizard, ensuring that you specifically follow the configuration settings on the wizard pages listed in Table 126 and select the appropriate values on the other wizard pages for your organizations requirements.
Note This wizard will not appear if you configure ZTI to perform a PXE boot and have configured a mandatory advertisement or if only one task sequence is advertised to the target computer.
Table 126. Information for Completing the Task Sequence Wizard in the New Computer Deployment Scenario Using ZTI On this wizard page Select a Task Sequence Do this Select the task sequence you created for the target computer deployment for the New Computer deployment scenario.
Deploy Captured Images to Target Computers in the Refresh Computer Deployment Scenario Using Configuration Manager 2007 R3
Start ZTI by running the Configuration Manager 2007 R3 advertisement for capturing the user state migration data you created earlier in the process. This task sequence runs in the current operating system on the existing target computer. To deploy the capture images to the target computers in the Refresh Computer Deployment Scenario Using ZTI Run the Configuration Manager 2007 R3 advertisement for capturing the Refresh Computer deployment scenario that you created earlier in the deployment process. The task sequence runs in the current operating system to capture user state migration data. The task sequence restarts the computer, starts Windows PE, and then initiates installation of the new operating system. Finally, the task sequence restarts the computer, starts the new operating system, restores the user state migration data, installs any packages, installs any applications, and performs any other actions configured in the task sequence. The target computer is now deployed.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Performing ZTI Deployments in Configuration Manager 2007 R3
283
Deploy Captured Images to Target Computers in the Replace Computer Deployment Scenario Using Configuration Manager 2007 R3
The Replace Computer deployment scenario requires two separate steps to complete the migration. First, run the advertisement for the task sequence you created to capture the user state migration data from the existing target computer (old computer). Second, run the Task Sequence Wizard to deploy the captured image of the reference computer to the new target computer (new computer) and restore the user state saved earlier in the process. To deploy captured images of the reference computer to target computers 1. Save the user state migration data from the existing target computer as described in Save the User State Migration Data from the Existing Target Computer Using Configuration Manager 2007 R3. 2. Deploy the captured image of the reference computer to the new target computer as described in Deploy the Captured Image to the New Target Computer with the User State Migration Data from the Existing Computer Using Configuration Manager 2007 R3.
Save the User State Migration Data from the Existing Target Computer Using Configuration Manager 2007 R3
Start the ZTI deployment process by running the Configuration Manager 2007 R3 advertisement for capturing the user state migration data that you created earlier in the process. This task sequence runs in the current operating system on the existing target computer. To deploy the capture images to the target computers in the Replace Computer Deployment Scenario Using Configuration Manager 2007 R3 Run the Configuration Manager 2007 R3 advertisement for capturing the Refresh Computer deployment scenario that you created earlier in the process. The task sequence runs in the current operating system to capture user state migration data. At the end of the task sequence, the user state migration data of the existing target computer is saved to the Configuration Manager 2007 R3 state migration point.
Deploy the Captured Image to the New Target Computer with the User State Migration Data from the Existing Computer Using Configuration Manager 2007 R3
Start the target computer with the ZTI bootable media created earlier in the process or from Windows Deployment Services. The ZTI bootable media starts Windows PE on the target computer and initiates the ZTI. At the end of the deployment process, the captured image of the reference computer is deployed
Solution Accelerators microsoft.com/technet/SolutionAccelerators
284
on the target computer, and the user state migration data is restored from the Configuration Manager 2007 R3 state migration point. To complete the Deployment Wizard in the Replace Computer deployment scenario for deploying the captured image 1. Start the reference computer with the ZTI bootable media created earlier in the process or from Windows Deployment Services. Windows PE starts, and then the Deployment Wizard starts. 2. Complete the Task Sequence Wizard, ensuring that you follow the configuration settings for the wizard pages listed in Table 127 and select values on the other wizard pages for your organizations requirements.
Note This wizard will not appear if you configure ZTI to perform a PXE boot and have configured a mandatory advertisement or if only one task sequence is advertised to the target computer.
Table 127. Information for Completing the Task Sequence Wizard for the Replace Computer Deployment Scenario for Deploying the Captured Image Using Configuration Manager 2007 R3 On this wizard page Select a Task Sequence Do this Select the task sequence you created for the target computer deployment in the Replace Computer deployment scenario to deploy the captured image of the reference computer to the new target computer.
The wizard starts, and the operating system deployment starts. The new target computer is deployed with the user state from the existing target computer automatically restored to the new target computer.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2007 R3
285
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
286
Configuring individual ZTI task sequence steps as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3 Configuring ZTI task sequence steps that perform server rolerelated actions as described in Configuring ZTI Server Role Task Sequence Steps in Configuration Manager 2007 R3
Creating a ZTI Task Sequence Using MDT Task Sequence Templates in Configuration Manager 2007 R3
Use the Create MDT Task Sequence Wizard in the Configuration Manager console to create task sequences in Configuration Manager 2007 R3 that are integrated with MDT. MDT includes task sequence templates that you can use to deploy the reference and target computers. Create ZTI task sequences using the MDT task sequence templates by: Identifying the ZTI task sequence templates that are a part of MDT as described in Identify the ZTI Task Sequence Templates in MDT in Configuration Manager 2007 R3 Identifying the packages and images that the MDT task sequence templates require as described in Identify the Packages and Images That the MDT Task Sequence Templates in Configuration Manager 2007 R3 Require Creating ZTI task sequences as described in Create ZTI Task Sequences Using the Create MDT Task Sequence Wizard in Configuration Manager 2007 R3
Identify the ZTI Task Sequence Templates in MDT in Configuration Manager 2007 R3
Table 128 lists the task sequences templates included in MDT, the file name for each template, and a description of the template. The template files are located in the install_folder\SCCM folder (where install_folder is the folder in which MDT was installed). Table 128. Task Sequence Templates Included in MDT Template Client Task Sequence File name SCCM_Client.xml Select this template to Deploy client operating systems to target computers for all scenarios except the MDT Replace Computer scenario. Deploy to target computers for the MDT Replace Computer deployment scenario.
microsoft.com/technet/SolutionAccelerators
SCCM_ClientReplace.xml
Solution Accelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2007 R3
287
Template Sequence
File name
Microsoft SCCM_Custom.xml Deployment Custom Task Sequence Standard Server Task Sequence SCCM_Server.xml
Create a task sequence that can be customizable to meet the needs of your organization.
Deploy server operating systems to target computers for all scenarios. Deploy operating systems to target computers using UDI.
User Driven SCCM_UDI.xml Installation Task Sequence User Driven SCCM_UDIReplace.xml Installation Replace Task Sequence
Captures user state migration data from target computers for the MDT Replace Computer Deployment scenario using UDI.
Note Always use the Create MDT Task Sequence Wizard to import the task sequence templates. Although you can manually import the task sequence templates, doing so is not recommended.
Identify the Packages and Images That the MDT Task Sequence Templates in Configuration Manager 2007 R3 Require
Table 129 lists the packages and images that the task sequence templates in MDT require. These packages and images must exist (or be created) for the task sequences to run correctly. Table 129. Packages and Images Required by the Task Sequence Templates Included in MDT This package or image Boot image package Contains the Boot image used to initiate the ZTI deployment process and in the middle of the process when performing the Refresh Computer deployment scenario Script and tools necessary for the MDT task sequence templates for Configuration Manager 2007 R3
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
288
Contains the Image of the target operating system to be deployed to the target computer All the files required to install the operating system (using WINNT32 for Windows XP and Windows Server 2003 or Setup.exe for Windows 7 or Windows Vista) Configuration Manager 2007 R3 client installation files USMT files used to capture and restore user state Contains unattended files and CustomSettings.ini Contains the specific Sysprep files defined for a package, which is only required when capturing an image of a computer running Windows XP or Windows Server 2003
Client package USMT package Custom Settings package Sysprep files package
Note You can use the generic boot images (WIM files) that the Deployment Workbench generates in ZTI deployments. However, you cannot use the LTI LiteTouch boot images (WIM files) that the Deployment Workbench generates in ZTI deployments using Configuration Manager 2007 R3.
The Create MDT Task Sequence Wizard can automatically create these packages and images or can use existing packages and images. The task sequence templates contain placeholders for each package and image listed in Table 129. The Create MDT Task Sequence Wizard substitutes the packages and images selected for the placeholders in the task sequence templates. After completing the wizard, the new created task sequence references the appropriate packages and images. In addition to the packages and images that the task sequence templates require, consider creating and including the following elements in the task sequences to provide similar functionality in the Deployment Workbench: Software distribution packages. This package includes any software that will be installed as part of the operating system deployment (similar to the Applications node in the Deployment Workbench). These packages are created as packages and programs in Configuration Manager 2007 R3. For more information on how to create these packages, see the section, Tasks for Software Distribution, in Configuration Manager 2007 Documentation Library, which is included with Configuration Manager 2007 R3. Windows package file (software update) packages. These packages include any Windows package files that contain software updates (such as language packs, security updates, and service packs) that will be installed as part of the operating system deployment (similar to the OS Packages node in the Deployment Workbench). You can use these software update packages:
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2007 R3
289
Without modification by using the Software Updates feature in Configuration Manager 2007 R3. For more information on using these packages in the Software Updates feature, see the section, About Software Update Deployments, in Configuration Manager 2007 Documentation Library, which is included with Configuration Manager 2007 R3. As installed directly by ZTI using the Install Updates Offline task sequence step type. For more information about configuring a task sequence step based on this type, see Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3. As custom software distribution packages in Configuration Manager 2007 R3. For more information on how to create these packages, see the section, Tasks for Software Distribution, in Configuration Manager 2007 Documentation Library, which is included with Configuration Manager 2007 R3. Device driver package. Configuration Manager 2007 R3 uses driver packages to control the distribution of drivers to distribution points. You can specify device driver categories in an Auto Apply Drivers task sequence step type to limit which drivers are installed, or you can install all device drivers using an Apply driver package task sequence step type. For more information about how to include device drivers in the operating system image, see the section, How to Install Drivers on a Configuration Manager Client Using a Task Sequence, in Configuration Manager 2007 Documentation Library, which is included with Configuration Manager 2007 R3.
Create ZTI Task Sequences Using the Create MDT Task Sequence Wizard in Configuration Manager 2007 R3
The Create MDT Task Sequence Wizard substitutes the packages and images selected for the placeholders in the task sequence templates. After completing the wizard, the new task sequence references the appropriate packages and images.
Note Always use the Create MDT Task Sequence Wizard to create task sequences based on the MDT task sequence templates. Although you can manually import the task sequence templates, doing so is not recommend.
To create a ZTI task sequence using the Create MDT Task Sequence Wizard 1. Click Start, and then point to All Programs. Point to Microsoft System Center, point to Configuration Manager 2007, and then click ConfigMgr Console. 2. In the Configuration Manager console navigation pane, go to Site Database/Computer Management/Task Sequences. 3. In the Actions pane, click Create MDT Task Sequence.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
290
The Create MDT Task Sequence Wizard starts. 4. Complete the Create MDT Task Sequence Wizard using the information in Table 130. Accept the default values unless otherwise specified. Table 130. Information for Completing the Create MDT Task Sequence Wizard On this wizard page Choose Template Do this 1. In The following SCCM task sequence templates are available, select task_sequence_template (where task_sequence_template is the task sequence template to be selected from Table 115). 2. Click Next. 1. In Task sequence name, type task_sequence_name (where task_sequence_name is the name of the task sequence displayed in the Configuration Manager console). 2. In Task sequence comments, type comment (where comment is descriptive text that describes the purpose of the task sequence). 3. Click Next. 1. Select Join a workgroup. The other option is Join a domain. If you select this option, in Workgroup, type workgroup_name (where workgroup_name is the name of the workgroup to join). 2. Select Join a domain. The other option is Join a workgroup. If you select this option, perform the following steps: a. In Domain, type domain_name (where domain_name is the name of the workgroup to join). b. Click Set. The Windows User Account dialog box appears. c. In the Windows User Account dialog box, in User name, type domain_name\user_name (where user_name is the name of the user account used to join the computer to the
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2007 R3
291
Do this domain and domain_name is the name of the domain in which the user account resides. This account must be a member of the Domain Admins group in the domain or have sufficient delegated permissions). d. In Password and Confirm password, type password (where password is the password for the user account), and then click OK. 3. In User name, type user_name (where user_name is the name of the registered user that appears in the Windows operating system properties). 4. In Organization name, type organization_name (where organization_name is the name of the registered organization that appears in the Windows operating system properties). 5. In Product key, type product_key (where product_key is the product key for operating system). 6. Click Next.
1. Select This task sequence will never be used to capture and image. The other option is This task sequence may be used to capture and image. 2. Select This task sequence may be used to capture and image. The other option is This task sequence will never be used to capture and image. If you select this option, perform the following steps: a. In Capture destination, type unc_path (where unc_path is the fully qualified UNC path for the location of the WIM file, including the name of the WIM file). b. Click Set. The Windows User Account dialog box appears. c. In the Windows User Account dialog box, in User name, type domain_name\user_name (where user_name is the name of the user
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
292
Do this account that has Write permission to the folder specified in Capture destination and domain_name is the name of the domain in which the user account resides). d. In Password and Confirm password, type password (where password is the password for the user account), and then click OK. 3. Click Next.
Boot Image
1. Select Specify an existing boot image. The other option is Create a new boot image package. If you select this option, perform the following steps: a. Click Browse. The Select a Package dialog box appears. b. In Select a Package dialog box, click package_name (where package_name is the name of the existing boot image), and then click OK. 2. Select Create a new boot image package. The other option is Create a new boot image package. If you select this option, in Package source to be created, type unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the package source will be stored). The Configuration Manager 2007 R3 service account must have permission to modify the contents of this UNC path to update the boot images. Ensure that the Configuration Manager 2007 R3 service account has the appropriate permission on this network shared folder.
Tip You can also click Browse to locate the UNC path.
1. In Name, type package_name (where package_name is the name to be given to the boot image package).
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2007 R3
293
Do this 2. In Version, type version_number (where version_number is the version number to be assigned to the boot image package). 3. In Comments, type comment_text (where comment_text is descriptive information about the boot image package). 4. Click Next.
Note This wizard page appears only if you select Create a new boot image package on the Boot Image wizard page.
1. In Platform, click platform (where platform is the platform architecture for the boot image x86 or X64). 2. Select or clear the ADO check box if you want to add ADO components to the boot image, which is needed to access SQL Server databases such as the MDT DB. By default, this check box is selected. If the check box is: Selected, the ADO components are added to the boot image Cleared, the ADO components are not added to the boot image
Note Scripting, Hypertext Markup Language Application (HTA), XML, and WMI support are always added to the boot image.
3. Select or clear the font check box (where font is the name of the font to be added, which can be Chinese [ZH-CN], Chinese [ZH-HK], Chinese [ZH-TW], Japanese [JA-JP], or Korean [KO-KR]) to add support for the optional fonts. 4. Click Next. Boot Image: Customization 1. Select or clear the Add prestart command files to enable the Deployment Wizard for this boot media check box. If this check box is: Selected, the prestart command files are added to the boot image. In Command line, type the prestart command script to run, which defaults to ZTIMediaHook.wsf. In Folder for prestart command files, type unc_path (where unc_path is the fully
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
294
Cleared, the prestart command files are not added to the boot image. 2. Select or clear the Add extra files to the new boot image check box. If this check box is: Selected, the extra files are added to the boot image. In Path, type path (where path is the fully qualified or relative local or UNC path to a writable folder).
Note Alternatively, click Browse to find the folder in which the extra files reside.
Cleared, the extra files are not added to the boot image. 3. In Use a custom background bitmap file (UNC Path), type unc_path (where unc_path is the fully qualified UNC path to the bitmap file that you want to use as the background).
Note Alternatively, click Browse to find the bitmap file.
4. Select or clear the Enable command support (F8) check box. 5. Click Next. MDT Package 1. Select Specify an existing Microsoft Deployment Toolkit files package. The other option is Create a new Microsoft Deployment Toolkit files package. If you select this option, perform the following steps: a. Click Browse. The Select a Package dialog box appears. b. In the Select a Package dialog box, click package_name (where package_name is the name of the existing package), and then click OK. 2. Select Create a new Microsoft Deployment Toolkit files package. The other option is Specify an existing Microsoft Deployment Toolkit files package. If you select this option, in Package
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2007 R3
295
Do this source to be created, type unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the package source will be stored).
Tip You can also click Browse to locate the UNC path.
1. In Name, type package_name (where package_name is the name to be given to the Microsoft Deployment Toolkit files package). 2. In Version, type version_number (where version_number is the version number to be assigned to the Microsoft Deployment Toolkit files package). 3. In Language, type language (where language is the language of the Microsoft Deployment Toolkit files package). 4. In Manufacturer, type manufacturer (where manufacturer is the manufacturer of the Microsoft Deployment Toolkit files package). 5. In Comments, type comment_text (where comment_text is descriptive information about the Microsoft Deployment Toolkit files package). 6. Click Next. OS Image On this wizard page, you can select (or create) OS image packages or OS install packages. OS image packages are created from WIM files either from distribution media or from custom WIM files you have created. OS install packages contain all the necessary files to install the operating system, such as the contents of a Windows XP CD.
Note The ZTI task sequence templates always configure the Apply Operating System Image task sequence step to deploy the image index equal to 1. If you want to deploy an image with a different index, change the configuration of the Apply Operating System Image task sequence step.
Also, if you select a SKU that is different from the default SKU, remove the following section from Unattend.xml in the Settings package:
Solution Accelerators microsoft.com/technet/SolutionAccelerators
296
Do this <MetaData> <Key>/image/index</Key> <Value>1</Value> </MetaTag> 1. Select Specify an existing OS image. The other options are Create a new OS image, Specify an existing OS installation package, or Create a new OS install package. If you select this option, perform the following steps: a. Click Browse. The Select a Package dialog box appears. b. In Select a Package dialog box, click package_name (where package_name is the name of the existing package), and then click OK. 2. Select Create a new OS image. The other options are Specify an existing OS image, Specify an existing OS installation package, or Create a new OS install package. If you select this option, perform the following steps: a. In OS image file (WIM) location, type unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the WIM file is located, including the name of the WIM file).
Tip You can also click Browse to locate the WIM file.
b. In Package source folder to be created, type unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the package source will be stored).
Tip You can also click Browse to locate the UNC path.
3. Select Specify an existing OS installation package. The other options are Specify an existing OS image, Create a new OS image, or Create a new OS install package. If you select this
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2007 R3
297
Do this option, perform the following steps: a. Click Browse. The Select a Package dialog box appears. b. In the Select a Package dialog box, click package_name (where package_name is the name of the existing package), and then click OK. 4. Select Create a new OS install package. The other options are Specify an existing OS image, Create a new OS image, or Specify an existing OS installation package.
Note The OS installation folder contents are copied from the specified UNC location to the package source folder, which are then used to create the package.
If you select this option, perform the following steps: a. In OS installation folder location, type unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the package source will be stored).
Tip You can also click Browse to locate the UNC path.
b. In Package source folder to be created, type unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the package source will be stored).
Tip You can also click Browse to locate the UNC path.
1. In Name, type package_name (where package_name is the name to be given to the package). 2. In Version, type version_number (where version_number is the version number to be assigned to the package).
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
298
Do this 3. In Comments, type comment_text (where comment_text is descriptive information about the package). 4. Click Next.
Note This wizard page appears only if you select Create a new OS install package on the OS Image wizard page.
1. In Name, type package_name (where package_name is the name to be given to the package). 2. In Version, type version_number (where version_number is the version number to be assigned to the package). 3. In Comments, type comment_text (where comment_text is descriptive information about the package). 4. Click Next. OS Image: OS Image Index 1. In The selected operating system image (WIM) file contains multiple images. Specify which image you would like to deploy, select image_index (where image_index is the image index of the image that contains the operating system you wish to deploy). 2. Click Next. 1. Select Specify an existing ConfigMgr client package. The other option is Create a new ConfigMgr client package. If you select this option, perform the following steps: a. Click Browse. The Select a Package dialog box appears. b. In the Select a Package dialog box, click package_name (where package_name is the name of the existing package), and then click OK. 2. Select Create a new ConfigMgr client package. The other option is Specify an existing ConfigMgr client package.
Client Package
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2007 R3
299
1. Select Specify an existing USMT package. The other option is Create a new USMT package. If you select this option, perform the following steps: a. Click Browse. The Select a Package dialog box appears. b. In the Select a Package dialog box, click package_name (where package_name is the name of the existing package), and then click OK. 2. Select Create a new USMT package. The other option is Specify an existing USMT package. If you select this option, perform the following steps: a. In Path to USMT executables and related, type path (where path is the fully qualified path for the location of the folder in which the USMT source files are located).
Tip You can also click Browse to locate the path.
b. In Package source to be created, type unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the package source will be stored).
Tip You can also click Browse to locate the UNC path.
3. Click Next.
Note USMT can only back up and restore locally cached user profiles, not network copies. For more information on using roaming profiles, see the Managing Roaming User
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
300
Do this
Data Deployment Guide. Note This wizard page appears only if you select Create a new USMT package on the USMT Package wizard page.
1. In Name, type package_name (where package_name is the name to be given to the package). 2. In Version, type version_number (where version_number is the version number to be assigned to the package). 3. In Language, type language (where language is the language of the package). 4. In Manufacturer, type manufacturer_name (where manufacturer_name is the name of the software manufacturer in the package). 5. In Comments, type comment_text (where comment_text is descriptive information about the package). 6. Click Next. Settings Package 1. Select Specify an existing settings package. The other option is Create a new settings package. Select this option for Windows 7 or Windows Vista operating systems. If you select this option, perform the following steps: a. Click Browse. The Select a Package dialog box appears. b. In the Select a Package dialog box, click package_name (where package_name is the name of the existing package), and then click OK. 2. Click Create a new settings package. The other option is Specify an existing settings package. If you select this option, in Package source to be created, type unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the package source will be stored).
Tip You can also click Browse to locate the UNC path.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2007 R3
301
1. In Name, type package_name (where package_name is the name to be given to the package). 2. In Version, type version_number (where version_number is the version number to be assigned to the package). 3. In Language, type language (where language is the language of the package). 4. In Manufacturer, type manufacturer_name (where manufacturer_name is the name of the manufacturer for the software in the package). 5. In Comments, type comment_text (where comment_text is descriptive information about the package). 6. Click Next. Sysprep Package 1. Select No Sysprep package is required. The other options are Specify an existing Sysprep package and Create a new settings package. 2. Select Specify an existing Sysprep package. The other options are No Sysprep package is required and Create a new settings package. If you select this option, perform the following steps: a. Click Browse. The Select a Package dialog box appears. b. In the Select a Package dialog box, click package_name (where package_name is the name of the existing package), and then click OK. 3. Select Create a new Sysprep package. The other option is Specify an existing settings package. If you select this option, perform the following steps: a. In Path to Sysprep executables and
Solution Accelerators microsoft.com/technet/SolutionAccelerators
302
Do this related, type path (where path is the fully qualified path for the location of the folder in which the Sysprep source files reside).
Tip You can also click Browse to locate the path.
b. In Package source to be created, type unc_path (where unc_path is the fully qualified UNC path for the location of the folder in which the package source will be stored).
Tip You can also click Browse to locate the UNC path.
1. In Name, type package_name (where package_name is the name to be given to the package). 2. In Version, type version_number (where version_number is the version number to be assigned to the package). 3. In Language, type language (where language is the language of the package). 4. In Manufacturer, type manufacturer_name (where manufacturer_name is the name of the manufacturer for the software in the package). 5. In Comments, type comment_text (where comment_text is descriptive information about the package). 6. Click Next. Summary Click Next.
The Summary wizard page displays a status bar that shows the progress of the tasks defined in the wizard. The Create MDT Task Sequence Wizard closes when the task sequence is created.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2007 R3
303
304
Add Device Drivers to Operating System and Boot Images in Configuration Manager 2007 R3
When you have added device drivers to the driver catalog, you can add the them to existing operating systems and boot images. The driver catalog helps manage the cost and complexity of deploying an operating system in an environment that contains different types of computers and devices. Storing device drivers in the driver catalog and not with each individual operating system image greatly reduces the number of operating system images you need. For information about managing the driver catalog, see the section, How to Manage the Driver Catalog, in the Configuration Manager 2007 Documentation Library, which is installed with Configuration Manager 2007 R3. To add device drivers to operating systems and boot images in Configuration Manager 2007 R3 Add device drivers from the driver catalog to existing operating systems as described in Add Device Drivers to an Operating System in Configuration Manager 2007 R3. Add device drivers from the driver catalog to existing boot images as described in Add Device Drivers to a Boot Image in Configuration Manager 2007 R3.
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2007 R3
305
Manager 2007 Documentation Library, which is installed with Configuration Manager 2007 R3.
Deploying an Operating System Using Task Sequence Bootable Media in Configuration Manager 2007 R3
To initiate ZTI deployment from bootable media, start the target computer with the bootable media. The boot process starts Windows PE, and then starts ZTI. You can start the target computer from a UFD, CD, or DVD.
Note The ZTI deployment process can also be initiated by starting the target computer from Windows Deployment Services. However, for reference computers it may be easier to start the ZTI deployment process from bootable media.
For more information about how to deploy an operating system using task sequence bootable media, see the section How to Deploy an Operating System Image Using Media in the Configuration Manager 2007 Documentation Library, which is installed with Configuration Manager 2007 R3.
For more information about how to create task sequence bootable media, see the section, How to Create Task Sequence Bootable Media, in Configuration
Solution Accelerators microsoft.com/technet/SolutionAccelerators
306
Manager 2007 Documentation Library, which is installed with Configuration Manager 2007 R3.
2. Click Next.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2007 R3
307
Do this 1. In Name, type package_name (where package_name is descriptive name displayed in the Configuration Manager console). 2. In Version, type package_version (where package_version is version number that you want to assign to the package). 3. In Comments, type package_comments (where package_comments is text that describes the purpose of the boot image). 4. Click Next.
Components
1. In Platform, click platform (where platform is the platform architecture for the boot imagex86 or x64). 2. Select or clear the ADO check box if you want to add ADO components to the boot image, which are needed to access SQL Server databases such as the MDT DB. If the check box is: Selected, the ADO components are added to the boot image Cleared, the ADO components are not added to the boot image
Note Scripting, HTA, XML, and WMI support are always added to the boot image.
3. Select or clear the font check box (where font is the name of the font to be added, which can be Chinese [ZH-CN], Chinese [ZH-HK], Chinese [ZH-TW], Japanese [JA-JP], or Korean [KO-KR]) to add support for the optional fonts. 4. Click Next. Customization 1. Select or clear the Add prestart command files to enable the Deployment Wizard for this boot media check box. If this check box is: Selected, the prestart command files are added to the boot image. In Command line, type the prestart command script to run, which defaults to ZTIMediaHook.wsf. In Folder for
Solution Accelerators microsoft.com/technet/SolutionAccelerators
308
Do this prestart command files, type unc_path (where unc_path is the fully qualified UNC path to a writable folder).
Note Alternatively, click Browse to find the folder in which the prestart command files reside.
Cleared, the prestart command files are not added to the boot image. 2. Select or clear the Add extra files to the new boot image check box. If this check box is: Selected, the extra files are added to the boot image. In Path, type path (where path is the fully qualified or relative local or UNC path to a writable folder).
Note Alternatively, click Browse to find the folder in which the extra files reside.
Cleared, the extra files are not added to the boot image. 3. In Use a custom background bitmap file (UNC Path), type unc_path (where unc_path is the fully qualified UNC path to the bitmap file that you want to use as the background).
Note Alternatively, click Browse to find the bitmap file.
4. Select or clear the Enable command support (F8) check box. 5. Click Next. Summary Confirmation 1. Review the information in Details. 2. Click Next.
Tip You can click Save Output to save the output of the wizard to a file. You can also click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Click Close. After the Create Boot Image Using MDT Wizard finishes, the new boot image appears in the preview pane in the Configuration Manager console.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2007 R3
309
To create a Configuration Manager 2007 R3 package that contains one or more language packs 1. Create a folder that will contain the package source for the language pack (.cab file).
Note Create this folder where previously created packages are stored or where space is available.
2. Create a subfolder beneath the folder you created in step 1 for the language pack (.cab file). 3. Add the language pack (.cab file) downloaded from Microsoft into the subfolder created in step 2.
Note Language packs already in .cab format are available for download from the Microsoft Volume Licensing website.
4. Repeat steps 2 and 3 for each language pack that you want to be a part of the package. 5. Run the New Package Wizard in the Configuration Manager console, ensuring that the following options are selected in the wizard: On the Data Source wizard page, click This package contains source files, and then click Set to set the source directory to the folder you created in step 1. On the Data Source wizard page, select the Enable binary differential replication check box. For more information on running the New Package Wizard, see New Package Wizard.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
310
To add language packs offline to Windows 7, Windows Vista, Windows Server 2008 R2, and Windows Server 2008
Note When used with MDT, the term offline means that the computer is booted into Windows PE, and thus the image can be modified offlinenot in the currently booted operating system.
1. In the Configuration Manager console, go to Operating System Deployment/Task Sequence. 2. Right-click task_sequence (where task_sequence is the name of the task sequence you want to edit), and then click Edit. 3. In the Task Sequence Editor dialog box, under the Postinstall phase, go to the Setup Windows and ConfigMgr task. 4. Click the task immediately above this task so that the new added task will be positioned immediately before the Setup Windows and ConfigMgr task. 5. Click Add, click MDT, and then click Install Language Packs Offline. The Install Language Packs Offline task sequence step is added to the task sequence. 6. On the Properties tab of the newly added task sequence step, type the relevant information in the Name and Description boxes. 7. On the Properties tab of the newly added task sequence step, click Browse. The Select a Package dialog box appears. 8. In the Select a Package dialog box, select language_package (where language_package is the name of the package that contains the language pack you want to install), and then click OK. 9. In the task_sequence_name Task Sequence Editor dialog box, click OK. To add language packs online to Windows 7, Windows Vista, Windows Server 2008 R2, and Windows Server 2008
Note When used in MDT, the term online means that the computer is booted into an operating system but run as an Administrator user so that final configurations can be made to the running operating system.
1. In the Configuration Manager console, go to Operating System Deployment/Task Sequence. 2. Right-click task_sequence (where task_sequence is the name of the task sequence you want to edit), and then click Edit. 3. In the Task Sequence Editor dialog box, under the State Restore phase, go to the Restart Computer task. 4. Click Add, click MDT, and then click Install Language Packs Online. The Install Language Packs Online task sequence step is added to the task sequence.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2007 R3
311
5. On the Properties tab of the newly added task sequence step, type the relevant information in the Name and Description boxes. 6. On the Properties tab of the newly added task sequence step, click Browse. The Select a Package dialog box appears. 7. In the Select a Package dialog box, select language_package (where language_package is the name of the package that contains the language pack you want to install), and then click OK. 8. In the task_sequence_name Task Sequence Editor dialog box, click OK.
5. In the task_sequence_name Task Sequence Editor dialog box, click Add, click MDT, and then click Install Updates Offline. 6. On the Properties tab of the newly added task sequence step, type the relevant information in the Name and Description boxes.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
312
7. On the Properties tab of the newly added task sequence step, click Browse. The Select a Package dialog box appears. 8. In the Select a Package dialog box, select update_package (where update_package is the name of the package that contains the updates you want to install), and then click OK. 9. In the task_sequence_name Task Sequence Editor dialog box, click OK. To add online updates to Windows 7, Windows Vista, Windows XP, Windows Server 2008 R2, Windows Server 2008, or Windows Server 2003
Note The task sequence templates in MDT include the Install Software Updates task sequence step to perform online updates. This step is only necessary when creating custom task sequences.
1. In the Configuration Manager console, go to Computer Management/Task Sequence. 2. Right-click task_sequence_name (where task_sequence_name is the name of the task sequence you want to edit), and then click Edit. 3. In the Task Sequence Editor dialog box, go to the State Restore phase. 4. Click the Restart Computer task. 5. Click Add, click General, and then click Install Software Updates. The Install Software Updates task sequence step is added to the task sequence. 6. On the Properties tab of the newly added task sequence step, type the relevant information in the Name and Description boxes. 7. On the Properties tab of the newly added task sequence step, click one of the following options: Mandatory Software Updates. This option installs only the software updates that are categorized as being mandatory. This option is selected by default. All Software Updates. This option installs all software updates, including mandatory and optional software updates. 8. In the task_sequence_name Task Sequence Editor dialog box, click OK.
Note The Software Update Point role and WSUS must be properly configured to work with this task sequence step type.
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2007 R3
313
sequence to the collection that includes the reference computer or target computers. For more information about advertising task sequences, see the following sections in the Configuration Manager 2007 Documentation Library, which is installed with Configuration Manager 2007 R3: Advertisements Home Page How to Advertise Task Sequences
314
MDT uses, ensuring that each reference and target computer has a persistent, high-speed connection to a distribution point. If you make any changes to the operating system images and software packages that MDT uses, update the distribution points where these images and packages are stored. For more information about managing distribution points, see the following sections in the Configuration Manager 2007 Documentation Library, which is installed with Configuration Manager 2007 R3: About Distribution Points How to Designate a Distribution Point
Configuring ZTI Server Role Task Sequence Steps in Configuration Manager 2007 R3
ZTI can help automate the deployment of server roles in Windows Server 2008 R2 and Windows Server 2008. Configure ZTI task sequence steps in Configuration Manager 2007 R3 to deploy the supported server roles, which include: AD DS
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Managing ZTI in Configuration Manager Console 2007 R3
315
DNS Server DHCP Server The process for configuring the server role task sequence steps is similar for ZTI and LTI. For more information about configuring server role task sequence steps for ZTI in Configuration Manager 2007 R3, see Configuring Server Role Task Sequence Steps for LTI and ZTI.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
316
Perform UDI deployments by: Reviewing the overview information for UDI deployments as described in Overview of UDI Deployments Preparing the UDI deployment environment as described in Preparing the UDI Deployment Environment Preparing for UDI deployment to the reference computer as described in Preparing for UDI Deployment to the Reference Computer Deploying to and capturing an image of the reference computer in UDI as described in Deploying To and Capturing an Image of the Reference Computer Using UDI Preparing for UDI deployment to the target computers as described in Preparing for UDI Deployment to Target Computers Deploying captured images to the target computer using UDI as described in Deploying Captured Images to Target Computers Using UDI
317
Note If you are unfamiliar with UDI, review the UDI terms and terminology in the section, "UDI Concepts", in the MDT document Microsoft Deployment Toolkit Reference. Familiarizing yourself with these terms and terminology will help you be more successful in applying the remainder of this guide to your organization.
Review the overview information about UDI deployments in the subsequent sections: Overview of UDI in MDT Deployment Scenarios Overview of Built-in UDI Components Table 132 lists additional content resources for UDI administration and development. Table 132. Additional Content Resources for UDI Administration and Development Resource Overview of UDI Administration Configuring UDI Wizard Behavior Review the UDI Wizard Designer User Interface Description This content provides an overview of UDI administration. This content describes how to configure the behavior of the UDI Wizard using the UDI Wizard Designer. This content provides an overview of the user interface for the UDI Wizard designer.
"UDI Reference" section This content provides reference material for UDI, in Microsoft Deployment including information on: Toolkit Reference OSDResults AppInstaller Built-in UDI stage groups and stages UDI tasks UDI validators UDI wizard pages User-Driven Installation Developers Guide "UDI Concepts" section in Microsoft Deployment Toolkit Reference This content provides guidance on how to customized and extend UDI to meet the needs of your organization. This content provides definitions of UDI terms and terminology and conceptual information about UDI.
318
Scenarios. UDI supports these deployments scenarios using the Configuration Manager task sequence templates provided with MDT. Table 133 lists the MDT deployment scenarios and the corresponding UDI task sequence templates used to perform the deployment scenario. Table 133. MDT Deployment Scenarios and UDI Task Sequence Templates Used to Perform the Scenarios Deployment scenario New Computer UDI tasks sequences used Run task sequence created using User Driven Installation Task Sequence task sequence template. Run task sequence created using User Driven Installation Task Sequence task sequence template. 1. Run task sequence created using User Driven Installation Replace Task Sequence task sequence template on existing computer. 2. Run task sequence created using User Driven Installation Task Sequence task sequence template on new computer.
Refresh Computer
Replace Computer
The UDI Wizard is run by the UDI Wizard task sequence step in these task sequences at the appropriate place in the task sequence. To identify how UDI performs each of the MDT deployment scenarios, see the subsequent sections: UDI in the New Computer Deployment Scenario UDI in the Refresh Computer Deployment Scenario UDI in the Replace Computer Deployment Scenario For more details about how UDI operates in each of these MDT deployment scenarios, see the corresponding sections in "UDI Stage Reference" in Microsoft Deployment Toolkit Reference.
319
begins with the target computer running Windows PE, which is how the tasks sequence knows the difference between the New Computer deployment scenario and the Refresh Computer deployments scenario. Figure 2 illustrates how UDI is used in the New Computer deployment scenario using the traditional OSD deployment methodology in Configuration Manager with the operating system image located on a distribution point.
Figure 2. Process flow for UDI performing the New Computer deployment scenario for images stored on distribution points Figure 3 illustrates how UDI is used in the New Computer deployment scenario using the prestaged media feature in Configuration Manager with the operating system image located on a local disk on the target computer.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
320
Figure 3. Process flow for UDI performing the New Computer deployment scenario for prestaged media
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
321
Figure 4. Process flow for UDI performing the Refresh Computer deployment scenario
322
Figure 5 illustrates how UDI is used in the Replace Computer deployment scenario.
Figure 5. Process flow for UDI performing the Replace Computer deployment scenario
323
deployment scenarios without the assistance of a developer. These built-in components can be configured using the UDI Wizard Designer: For more information about the built-in UDI components, see the following sections in the Microsoft Deployment Toolkit Reference: "UDI Stage Reference" "UDI Wizard Page Reference" "UDI Task Reference" "UDI Validator Reference" In addition to these built-in components, you can create custom wizard pages, wizard page editors, tasks, and validators using the UDI software development kit (SDK). The UDI SDK is installed with MDT and contains example solutions for Visual Studio 2010. For more information about extending UDI using the UDI SDK, see the MDT document User-Driven Installation Developers Guide.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
324
Hardware and software requirements for: Configuration Manager 2012, see Configuration Manager Supported Configurations. Configuration Manager 2007 R3, see Configuration Manager Supported Configurations. Configuring a Configuration Manager infrastructure to support UDI deployments, see the section, "Step 1: Prepare the Prerequisite Infrastructure", in the MDT document Quick Start Guide for User-Driven Installation.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
325
Required software includes: Operating system source files for each operating system to be deployed to the reference and target computers Operating system packages for the operating systems, such as security updates, feature packs, and language packs Device drivers for the reference and target computers that are not included as part of the operating system Applications that are to be installed as a part of the operating system image or during the deployment of the reference image USMT source files used to create a software package that is deployed to the target computers to capture user state migration data
1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Configure ConfigMgr Integration. The Configure ConfigMgr Integration Wizard starts. 2. Complete the Configure ConfigMgr Integration Wizard using the information in Table 134. Accept the default values unless otherwise specified. Table 134. Information for Completing the Configure ConfigMgr Integration Wizard On this wizard page Options
Solution Accelerators
Do this 1. If running:
microsoft.com/technet/SolutionAccelerators
326
Do this Configuration Manager 2012, verify that the Install the MDT console extensions for ConfigMgr 2012 check box is selected Configuration Manager 2007 R3, verify that the Install the MDT console extensions for ConfigMgr 2007 check box is selected. Verify that the Add the MDT task sequence actions to a ConfigMgr server check box is selected. In Site server name, type ConfigMgr_server_name (where ConfigMgr_server_name is the name of the Configuration Manager server on which to install MDT integration). In Site code, type ConfigMgr_site_code (where ConfigMgr_site_code is the Configuration Manager site code that installs MDT integration) Click Next.
2.
3.
4.
5. Confirmation
Click Finish.
The Configure ConfigMgr Integration Wizard finishes, and MDT is integrated with Configuration Manager 2012 or Configuration Manager 2007 R3.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
327
To prepare for deployment to the reference computer 1. Create a new task sequence that will deploy the target operating system to the reference computer using the Create MDT Task Sequence Wizard in the Configuration Manager console as described in Creating a UDI Task Sequence Using MDT Task Sequence Templates.
Tip Create the task sequence for deploying to the reference computer based on the UserDriven Installation task sequence template included in MDT.
2. Configure Configuration Manager to contain the appropriate software for deployment to the reference computer, including the following: Configuring applications and operating system packages as described in Managing Software Packages in Configuration Manager 2012 or Managing Software Packages in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments. Configuring device drivers as described in Managing Device Drivers in Configuration Manager 2012 or Managing Device Drivers in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments. 3. Ensure that all packages, including operating system deployment packages, that the new UDI task sequence uses are properly distributed to the assigned distribution points as described in Managing Distribution Points in Configuration Manager 2012 or Managing Distribution Points in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
4. Customize the MDT configuration files to the needs of your organization as described in Configuring MDT Deployments.
Important If you are capturing an image of the reference computer, you must at least add the DoCapture property to the CustomSettings.ini file for the task sequence by specifying DoCapture=YES or DoCapture=SYSPREP.
5. Customize the task sequence to the needs of your organization as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2012 or Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments.
Note The UDI deployment process is unable to perform Sysprep operations on a target computer that is encrypted by using BitLocker Drive Encryption. Do not enable BitLocker on the reference computer, and enable BitLocker on the target computers only after the target operating system is completely deployed.
328
Windows PE image created earlier in the process. The task sequence created earlier will deploy the target operating system, device drivers, operating system packages, and applications to the reference computer, and then capture an image of the reference computer. To deploy to and capture an image of the reference computer 1. Add the reference computer to the Configuration Manager site database as described in Manually Adding Computers to the Site Database in Configuration Manager 2012 or Manually Adding Computers to the Site Database in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments. 2. Create a collection that contains the reference computer as described in Managing Computer Collections in Configuration Manager 2012 or Managing Computer Collections in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments. 3. Deploy the task sequence to the reference computer as described in Managing Task Sequence Deployment in Configuration Manager 2012 or Managing Advertisements in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments. 4. Create a task sequence bootable media disk by using the Task Sequence Media Wizard as described in Creating Task Sequence Bootable Media in Configuration Manager 2012 or Creating Task Sequence Bootable Media in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments. 5. Start the reference computer with the task sequence bootable media disk as described in Deploying an Operating System Using Task Sequence Bootable Media in Configuration Manager 2012 or Deploying an Operating System Using Task Sequence Bootable Media in Configuration Manager 2007 R3 which is the same process for UDI and ZTI deployments.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
329
target computers as described in Preparing Windows Deployment Services for UDI Deployments. 3. Create additional distribution points to help in larger deployments as described in Managing Distribution Points in Configuration Manager 2012 or Managing Distribution Points in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments. 4. Prepare the UDI task sequences, the MDT configuration files, the UDI Wizard configuration files, and the MDT DB for each deployment scenario as described in the following sections: Prepare for the New Computer Deployment Scenario to Target Computers Using UDI Prepare for the Refresh Computer Deployment Scenario to Target Computers Using UDI Prepare for the Replace Computer Deployment Scenario to Target Computers Using UDI Depending on the target computers in your organization, any combination of these deployments scenarios might be necessary. For more information about MDT deployment scenarios, see Identifying Deployment Scenarios.
Prepare for the New Computer Deployment Scenario to Target Computers Using UDI
In the New Computer deployment scenario, you deploy a new installation of a Windows operating system to a new computer. There is no user migration information to save and restore and no existing file systems to preserve. Use the User-Driven Installation task sequence template to deploy the captured image of the reference computer to the target computer. To prepare for the New Computer deployment scenario to target computers using UDI 1. Create a new task sequence that will deploy the target operating system to the reference computer using Create MDT Task Sequence Wizard in the Configuration Manager Console as described in Creating a ZTI Task Sequence Using MDT Task Sequence Templates in Configuration Manager 2012 or Creating a ZTI Task Sequence Using MDT Task Sequence Templates in Configuration Manager 2007 R3, but ensure that you specifically follow the configuration settings on the wizard pages listed in Table 135 and select the appropriate values on the other wizard pages based on your organizations requirements.
Tip Create the task sequence for deploying to the reference computer based on the UserDriven task sequence template included in MDT.
Table 135. Information for Completing the Create MDT Task Sequence Wizard for Performing New Computer Deployment Scenario Using UDI
Solution Accelerators microsoft.com/technet/SolutionAccelerators
330
Do this Select Create a new OS image, and specify the fully qualified UNC path to the WIM image captured from the reference computer.
2. Configure the application and operating system packages for deployment to the reference computer, including: Configuring applications and operating system packages as described in Managing Software Packages in Configuration Manager 2012 or Managing Software Packages in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments. Configuring device drivers as described in Managing Device Drivers in Configuration Manager 2012 or Managing Device Drivers in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments. 3. Ensure that all packages, including operating system deployment packages, that the new UDI task sequence uses are properly distributed to the assigned distribution points as described in Managing Distribution Points in Configuration Manager 2012 or Managing Distribution Points in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
4. Customize the MDT configuration files to the needs of your organization as described in Configuring MDT Deployments. 5. Optionally, customize the MDT DB to the needs of your organization as described in Performing Deployments Using the MDT DB (if you are using the MDT DB to provide MDT configuration information). 6. Customize the task sequence to the needs of your organization as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2012 or Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments. 7. Customize the UDI Wizard configuration files to the needs of your organization as described in Configuring UDI Wizard Behavior. 8. Ensure that all packages, including operating system deployment packages, that the new UDI task sequence uses are properly distributed to the assigned distribution points as described in Managing Distribution Points in Configuration Manager 2012 or Managing Distribution Points in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
9. Update the distribution points so that any changes to the packages are distributed properly as described in Managing Distribution Points in
Solution Accelerators microsoft.com/technet/SolutionAccelerators
331
Configuration Manager 2012 or Managing Distribution Points in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
Prepare for the Refresh Computer Deployment Scenario to Target Computers Using UDI
In the Refresh Computer deployment scenario, a computer is refreshed, including computers that must be re-imaged for image standardization or to address a problem. There is user migration information to save and restore but no existing file systems to preserve. Use the User Driven Installation Task Sequence template to deploy the captured image of the reference computer to the target computer. To prepare for the Refresh Computer deployment scenario to target computers using UDI 1. Create a new task sequence that will deploy the target operating system to the reference computer using the Create MDT Task Sequence Wizard in the Configuration Manager console as described in Creating a UDI Task Sequence Using MDT Task Sequence Templates, but ensure that you follow the configuration settings on the wizard pages listed in Table 136 and select the appropriate values on the other wizard pages for your organizations requirements.
Tip Create the task sequence for deploying to the reference computer based on the UserDriven task sequence template included in MDT.
Table 136. Information for Completing the Create MDT Task Sequence Wizard for Performing Refresh Computer Deployment Scenario Using UDI On this wizard page OS Image Do this Select Create a new OS image, and specify the fully qualified path to the WIM image captured from the reference computer.
2. Configure the appropriate software for deployment to the target computer in the Configuration Manager console, including: Configuring applications and operating system packages as described in Managing Software Packages in Configuration Manager 2012 or Managing Software Packages in Configuration Manager 2007 R3 Configuring device drivers as described in Managing Device Drivers in Configuration Manager 2012 or Managing Device Drivers in Configuration Manager 2007 R3 3. Optionally, customize the MDT configuration files or the MDT DB to the needs of your organization as described in:
Solution Accelerators microsoft.com/technet/SolutionAccelerators
332
Configuring MDT Deployments Performing Deployments Using the MDT DB 4. Customize the task sequence to the needs of your organization as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2012 or Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments. 5. Configure the behavior of the UDI Wizard to the needs of your organization as described in Configuring UDI Wizard Behavior. 6. Ensure that all packages, including operating system deployment packages, that the new UDI task sequence uses are properly distributed to the assigned distribution points as described in Managing Distribution Points in Configuration Manager 2012 or Managing Distribution Points in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
7. Update the distribution points so that any changes to the packages are distributed properly as described in Managing Distribution Points in Configuration Manager 2012 or Managing Distribution Points in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
Prepare for the Replace Computer Deployment Scenario to Target Computers Using UDI
In the Replace Computer deployment scenario, one computer replaces another computer. Create a computer association record that associates the existing target computer and the new target computer. The existing user state migration data is saved from the existing target computer. Then, a new installation of Windows is deployed to a new computer. Finally, the user state data is restored to the new computer. There are no existing file systems to preserve.
Important You must establish a computer association record for each existing target computer and each new target computer prior to performing the deployment to the target computer.
Use the: User Driven Installation Replace Task Sequence template to save the user state migration of the existing target computer
Important Run this task sequence before running the task sequence based on the User Driven Installation Task Sequence template on the new target computer.
User Driven Installation Task Sequence template to deploy the captured image of the reference computer to the new target computer and restore the user state migration data
Important Run this task sequence after running the task sequence based on the User Driven Installation Replace Task Sequence template on the existing target computer.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
333
To prepare for the Replace Computer deployment scenario to target computers using UDI 1. Create a computer association between the existing target computer and the new target computer as described in the following sections, How to Create a Computer Association for Side-by-Side Migration, in Configuration Manager 2012 Documentation Library, which is installed with Configuration Manager 2012. How to Create a Computer Association for Side-by-Side Migration, in Configuration Manager 2007 Documentation Library, which is installed with Configuration Manager 2007 R3. 2. Create a new task sequence that will save the user state migration data of the existing target computer as described in Creating a UDI Task Sequence Using MDT Task Sequence Templates.
Tip Create the task sequence for capturing the user state migration data from the target computer based on the User Driven Installation Task Replace Sequence template included in MDT.
3. Create a new task sequence that will deploy the captured image of the reference computer to the target computer, and restore the user state migration data saved by the User Driven Installation Replace Task Sequence as described in Creating a UDI Task Sequence Using MDT Task Sequence Templates, but ensure that you specifically follow the configuration settings on the wizard pages listed in Table 137 and select the appropriate values on the other wizard pages for your organizations requirements.
Tip Create the task sequence for deploying to the target computer based on the User Driven Installation Task Sequence template included in MDT.
Table 137. Information for Completing the Create MDT Task Sequence Wizard for Performing the Replace Computer Deployment Scenario using UDI On this wizard page OS Image Do this Select Create a new OS image, and specify the fully qualified UNC path to the WIM image captured from the reference computer.
4. Configure the appropriate software for deployment to the target computer in the Configuration Manager console, including: Configuring applications and operating system packages as described in Managing Software Packages in Configuration Manager 2012 or Managing Software Packages in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments. Configuring device drivers as described in Managing Device Drivers in Configuration Manager 2012 or Managing Device Drivers in Configuration
Solution Accelerators microsoft.com/technet/SolutionAccelerators
334
Manager 2007 R3, which is the same process for UDI and ZTI deployments. 5. Customize the MDT configuration files or the MDT DB to the needs of your organization as described in: Configuring MDT Deployments Performing Deployments Using the MDT DB 6. Customize the task sequences to the needs of your organization as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2012 or Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments. 7. Ensure that the distribution points for the packages and operating system images that the new ZTI task sequence uses are distributed properly as described in Managing Distribution Points in Configuration Manager 2012 or Managing Distribution Points in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
8. Update the distribution points so that any changes to the packages are distributed properly as described in Managing Distribution Points in Configuration Manager 2012 or Managing Distribution Points in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments.
Note Most production networks have multiple distribution points. When performing this step in a production environment, select the appropriate distribution points for the network.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
335
in the Configuration Manager 2012 Documentation Library, which is installed with Configuration Manager 2012. Automatically in Configuration Manager 2007 R3 as described in the section, How to Deploy Operating Systems Using Unknown Computer Support, in the Configuration Manager 2007 Documentation Library, which is installed with Configuration Manager 2007 R3.
Note If the target computers already exist in the Configuration Manager Site database, then this step is not necessary.
2. Create a collection that contains the target computers as described in Managing Computer Collections in Configuration Manager 2012 or Managing Computer Collections in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments.
Note Create a collection for each MDT deployment scenario to be performed, and ensure that the collection includes the target computers requiring the corresponding deployment scenario.
3. Create an advertisement for the target computer task sequences as described in Managing Task Sequence Deployment in Configuration Manager 2012 or Managing Advertisements in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments. 4. Provide a method for starting the target computers by doing any combination of the following: Create a task sequence bootable media disk using the Task Sequence Media Wizard as described in Creating Task Sequence Bootable Media in Configuration Manager 2012 or Creating Task Sequence Bootable Media in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments. Prepare Windows Deployment Services to start the appropriate Windows PE images that will in turn start the UDI deployment process to the target computers as described in Preparing Windows Deployment Services for ZTI Deployments Using Configuration Manager 2012 or Preparing Windows Deployment Services for ZTI Deployments Using Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments. 5. Deploy the captured reference computer image to the target computers for each deployment scenario as described in: Deploy Captured Images to Target Computers in the New Computer Deployment Scenario Using UDI Deploy Captured Images to Target Computers in the Refresh Computer Deployment Scenario Using UDI Deploy Captured Images to Target Computers in the Replace Computer Deployment Scenario Using UDI
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
336
Depending on the target computers in your organization, any combination of deployments scenarios might be necessary. For more information about the MDT deployment scenarios, see Identifying Deployment Scenarios.
Deploy Captured Images to Target Computers in the New Computer Deployment Scenario Using UDI
Start the target computer with the task sequence bootable media created earlier in the process or from Windows Deployment Services. Either method starts Windows PE on the target computer and initiates the UDI deployment process. At the end of the process, the captured image of the reference computer is deployed on the target computer. To deploy the capture images to the target computers in the New Computer Deployment Scenario using UDI 1. Start the target computer with the task sequence bootable media created earlier in the process or from Windows Deployment Services. The Task Sequence Wizard starts. 2. Complete the Task Sequence Wizard, ensuring that you specifically follow the configuration settings on the wizard pages listed in Table 138 and select the appropriate values on the other wizard pages for your organizations requirements.
Note This wizard will not appear if you configure UDI to perform a PXE boot and have configured a mandatory advertisement or if only one task sequence is advertised to the target computer.
Table 138. Information for Completing the Task Sequence Wizard in the New Computer Deployment Scenario using UDI On this wizard page Select a Task Sequence Do this Select the task sequence you created for the target computer deployment for the New Computer deployment scenario.
The wizard starts, and the operating system deployment starts. Eventually the task sequence starts the UDI Wizard. 3. Complete the UDI Wizard by selecting the appropriate values on the wizard pages for your organizations requirements as described in Running the UDI Wizard.
Deploy Captured Images to Target Computers in the Refresh Computer Deployment Scenario Using UDI
Start this scenario by running the Configuration Manager task sequence deployment (advertisement) for capturing the user state migration data that you
Solution Accelerators microsoft.com/technet/SolutionAccelerators
337
created earlier in the process. This task sequence runs in the current operating system on the existing target computer. To deploy the capture images to the target computers in the Refresh Computer Deployment Scenario Using UDI 1. On the target computer, run the Configuration Manager deployment (advertisement) for capturing the Refresh Computer deployment scenario that you created earlier in the deployment process. The task sequence starts. Eventually, the task sequence starts the UDI Wizard. 2. Complete the UDI Wizard by selecting the appropriate values on the wizard pages for your organizations requirements, as described in Running the UDI Wizard. The task sequence runs in Windows PE to capture user state migration data. The task sequence restarts the computer, starts Windows PE, and then initiates installation of the new operating system. The task sequence restarts the computer, starts the new operating system, restores the user state migration data, installs any packages, installs any applications, and performs any other actions configured in the task sequence. Finally, the OSD Results program, OSDResults.exe, runs and displays the results of the deployment. The target computer is now deployed.
Deploy Captured Images to Target Computers in the Replace Computer Deployment Scenario Using UDI
The Replace Computer deployment scenario requires two separate steps to complete the migration. First, run the deployment (advertisement) for the task sequence you created to capture the user state migration data from the existing target computer (old computer). Second, run the UDI Wizard to deploy the captured image of the reference computer to the new target computer (new computer) and restore the user state saved earlier in the process. To deploy captured images of the reference computer to target computers in the Replace Computer deployment scenario using UDI 1. Save the user state migration data from the existing target computer as described in Save the User State Migration Data in the Replace Computer Deployment Scenario Using UDI. 2. Deploy the captured image of the reference computer to the new target computer as described in Deploy the Captured Image and User State Migration Data in the Replace Computer Deployment Scenario Using UDI.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
338
Save the User State Migration Data in the Replace Computer Deployment Scenario Using UDI
Start this scenario by running the task sequence deployment (advertisement) for capturing the user state migration data that you created earlier in the process. This task sequence runs in the current operating system on the existing target computer. To save the user state migration data from the existing target computers in the Replace Computer Deployment Scenario using UDI Run the task sequence deployment (advertisement) for capturing user state migration data that you created earlier in the process Refresh Computer deployment scenario. The task sequence runs in the current operating system to capture user state migration data. At the end of the task sequence, the user state migration data of the existing target computer is saved to the Configuration Manager state migration point.
Deploy the Captured Image and User State Migration Data in the Replace Computer Deployment Scenario Using UDI
Start the target computer with the ZTI bootable media created earlier in the process or from Windows Deployment Services. The ZTI bootable media starts Windows PE on the target computer and initiates the UDI deployment process. At the end of the deployment process, the captured image of the reference computer is deployed on the target computer, and the user state migration data is restored from the Configuration Manager 2012 state migration point. To complete the Windows Deployment Wizard in the Replace Computer deployment scenario for deploying the captured image using UDI 1. Start the reference computer with the ZTI bootable media created earlier in the process or from Windows Deployment Services. Windows PE starts, and then the Windows Deployment Wizard starts. 2. Complete the Task Sequence Wizard, ensuring that you follow the configuration settings for the wizard pages listed in Table 139 and select values on the other wizard pages for your organizations requirements.
Note This wizard will not appear if you configure ZTI to perform a PXE boot and have configured a mandatory advertisement or if only one task sequence is advertised to the target computer.
Table 139. Information for Completing the Task Sequence Wizard for the Replace Computer Deployment Scenario Using UDI On this wizard page Select a Task
Solution Accelerators
339
Do this target computer deployment in the Replace Computer deployment scenario to deploy the captured image of the reference computer to the new target computer.
The task sequence starts. Eventually, the task sequence starts the UDI Wizard. 3. Complete the UDI Wizard by selecting the appropriate values on the wizard pages for your organizations requirements, as described in Running the UDI Wizard. The task sequence starts Windows PE and then initiates installation of the new operating system. The task sequence restarts the computer, starts the new operating system, restores the user state migration data, installs any packages, installs any applications, and performs any other actions configured in the task sequence. Finally, the OSD Results program, OSDResults.exe, runs and displays the results of the deployment. The target computer is now deployed.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
340
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
341
Advertisements in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments Manually adding computers to the site database for UDI as described in Manually Adding Computers to the Site Database in Configuration Manager 2012 or Manually Adding Computers to the Site Database in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments Managing computer collections for UDI as described in Managing Computer Collections in Configuration Manager 2012 or Managing Computer Collections in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments Managing distribution points for UDI as described in Managing Distribution Points in Configuration Manager 2012 or Managing Distribution Points in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments Configuring individual UDI task sequence steps as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2012 or Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments Configuring the UDI Wizard behavior by customizing the UDI Wizard configuration file as described in Configuring UDI Wizard Behavior
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
342
Figure 6. Overview of UDI administration process The UDI administration process, as illustrated in Figure 6, is performed as follows: 1. Create a UDI task sequence based on the task sequence templates built-in to MDT. As a part of creating the task sequence, the Create MDT Task Sequence wizard creates an MDT toolkit package that contains the contents of the installation_folder\Templates\Distribution folder (where installation_folder is the folder where you installed MDT). The toolkit package is referenced by the Use Toolkit Package task sequence step. For more information about the built-in UDI tasks sequence templates in MDT, see Identify the UDI Task Sequence Templates in MDT. 2. Distribute the MDT toolkit package to Configuration Manager distribution points. The UDI Wizard and UDI Wizard configuration file are contained in the package. The UDI Wizard (UDIWizard.exe) is in the Tools folder in the package. The UDI Wizard configuration file (UDIWizard_Config.xml) is in the Scripts folder in the package. 3. Customize the UDI Wizard configuration file and application information file using the UDI Wizard Designer.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
343
The UDI Wizard configuration file (UDIWizard_Config.xml) and application information file (UDIWizard_Config.xml.app) are stored in the Scripts folder in the MDT toolkit package. 4. Update the distribution points with the modified version of the UDI Wizard configuration file and corresponding application information file in the MDT toolkit package. 5. The target computers initiate the UDI task sequence which runs the UDI Wizard at the appropriate point in the task sequence. The UDI Wizard is initiated using the UDI Wizard task sequence step. 6. The UDI Wizard runs and the deployment configuration information is collected from the user. The UDI Wizard reads the UDI Wizard configuration file to determine the wizard pages to display and the sequence of the pages. The user completes the UDI Wizard by providing the necessary deployment information. The UDI Wizard updates task sequence variables based on the information provided. The updated task sequence variables are used by the UDI task sequence to perform the balance of the deployment. 7. The remainder of the task sequence steps in the UDI task sequence complete and the OSD Results dialog is displayed at the end of the deployment. Any applications installed during the task sequences are identified the first time a user logs in using AppInstaller. AppInstaller enables Configuration Manager 2012 to identify any applications installed using the Application model during the task sequence. This allows Configuration Manager 2012 to use features such as the monitoring feature.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
344
Creating UDI task sequences as described in Create UDI Task Sequences Using the Create MDT Task Sequence Wizard
Identify the Packages and Images That the UDI Task Sequence Templates Require
The UDI task sequence templates require the same packages and images as required by ZTI deployments, as described in Identify the Packages and Images That the MDT Task Sequence Templates in Configuration Manager 2012 Require. The same packages and images are required by Configuration Manager 2007 R3.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
345
Create UDI Task Sequences Using the Create MDT Task Sequence Wizard
The Create MDT Task Sequence Wizard substitutes the packages and images selected for the placeholders in the task sequence templates. After completing the wizard, the new task sequence references the appropriate packages and images.
Note Always use the Create MDT Task Sequence Wizard to create task sequences based on the MDT task sequence templates. Although you can manually import the task sequence templates, doing so is not recommend.
Create UDI tasks sequences using the same process for creating ZTI task sequences using the Create MDT Task Sequence Wizard as describe for: Configuration Manager 2012 in Create ZTI Task Sequences Using the Create MDT Task Sequence Wizard in Configuration Manager 2012 Configuration Manager 2007 R3 in Create ZTI Task Sequences Using the Create MDT Task Sequence Wizard in Configuration Manager 2007 R3 In both Configuration Manager 2012 and Configuration Manager 2007 R3, select the appropriate UDI task sequence template based on the deployment scenario being performed. For more information about the UDI task sequence templates in MDT, see Identify the UDI Task Sequence Templates in MDT.
346
Create a new UDI Wizard configuration file as described in Create a New UDI Wizard Configuration File. Open an existing UDI Wizard configuration file as described in Open an Existing UDI Wizard Configuration File. Save changes in the UDI Wizard Designer to a UDI Wizard configuration file as described in Save UDI Wizard Configuration Updates. Override the location and name of the UDI configuration file used by a task sequence as described in Override the Configuration File That the UDI Wizard Uses. Configure the title and banner image to be displayed in the UDI Wizard as described in Configure the UDI Wizard Title and Banner Image. Add a wizard page to a stage as described in Add a Wizard Page to a Stage. Remove a wizard page from a stage as described in Remove a Wizard Page from a Stage. Change the sequence of a wizard page within a stage as described in Change the Wizard Page Sequence Flow Within a Stage. Allow or prevent users from entering information in a control on a wizard page as described in Allow or Prevent Users from Entering Information in a Control on a Wizard Page. Configure the user experience for a wizard page as described in Configure the User Experience for a Wizard Page. Preview how the wizard pages and wizard page sequence flow the UDI Wizard as described in Preview Wizard Pages and the Wizard Page Sequence Flow. Add a wizard page to the page library as described in Add a Wizard Page to the Page Library. Remove a wizard page from the page library as described in Remove a Wizard Page from the Page Library. Change the sequence of a stage group or a stage within a stage group as described in Change the Sequence of a Stage Group or a Stage. Prepare for language pack deployment using the UDI Wizard as described in Prepare for Language Pack Deployment in UDI. Skip (remove) a wizard page from a stage as described in Skip a Wizard Page.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
347
existing UDI Wizard configuration file or create a new UDI Wizard configuration file.
Note If you are unfamiliar with UDI, review the UDI terms and terminology in "UDI Concepts". Familiarizing yourself with these terms and terminology will help you be more successful in applying this guide to your organization.
At a high-level, the UDI Wizard Designer allows you to configure the: Types of wizard pages that are displayed in the UDI Wizard Sequence of the wizard pages as they will appear in the UDI Wizard Configuration settings for each wizard page For more detailed information about the tasks that can be performed in the UDI Wizard Designer, see Configuring UDI Wizard Behavior.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
348
Component
Description the UDI Wizard Determine the sequence of the wizard pages that are displayed in the UDI Wizard Configure default values for controls on the wizard pages Enable or disable individual controls on the wizard pages
The UDI Wizard configuration file is read by the UDI Wizard to determine the wizard pages that are displayed, the sequence of the wizard pages, any default values for controls, and whether controls are enabled or disabled for user interaction. The UDI Wizard configuration file is customized using the UDI Wizard Designer. The default UDI Wizard configuration file is name UDIWizard_Config.xml and is stored in the Scripts folder in the MDT files package.
The UDI task sequences are created using UDIrelated MDT task sequence templates. The UDI task sequence templates include the task sequence step to run the UDI Wizard at the appropriate time in the UDI deployment process. For more information about UDI task sequence templates, see Identify the UDI Task Sequence Templates in MDT.
Review the Relationship Among UDI Wizard Pages, Wizard Page Editors, and the UDI Wizard Configuration File
For each wizard page displayed in the UDI Wizard, there is a corresponding wizard page editor that can be used to configure that wizard page using the UDI Wizard Designer. The UDI Wizard configuration file (UDIWizard_Config.xml) is used to store the configuration settings for each wizard page. Figure 7 illustrates the relationship between UDI wizard pages, UDI wizard page editors, and the UDI Wizard configuration file.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
349
Figure 7. Relationship between UDI wizard pages, UDI wizard page editors, and the UDI Wizard configuration file In the UDI Wizard configuration file, there is a separate Page XML element for each wizard page that is displayed in the UDI Wizard. When you add a wizard page using the UDI Wizard Designer a corresponding Page XML element is created in the UDI Wizard configuration file. Similarly, when you remove a wizard page, the corresponding Page XML element is removed. Each Page XML element has child XML elements for each configuration setting for the wizard page. These child XML elements are also configured using the wizard page editors in the UDI Wizard Designer. For a complete list of the Page XML elements, see the "UDI Wizard Configuration File Schema Reference".
Note Do not directly modify the UDI Wizard configuration file. Instead, use the appropriate wizard page editors in the UDI Wizard Designer.
350
Enabling a control for user interaction Disabling a control for user interaction Specifying a default value Review the UDI Wizard Designer UI by completing the following steps: 1. Review the UDI Wizard Designer high-level UI elements as described in Review the UDI Wizard Designer High-Level User Interface Elements. 2. Review the Page Library pane UI elements in the UDI Wizard Designer as described in Review the Page Library Pane in the UDI Wizard Designer. 3. Review the Flow tab in the details pane the UDI Wizard Designer as described in Review the Flow Tab in the UDI Wizard Designer. 4. Review the Configure tab in the details pane the UDI Wizard Designer as described in Review the Configure Tab in the UDI Wizard Designer.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
351
Figure 8. UDI Wizard Designer high-level UI elements Table 141 lists the high-level UI elements illustrated in Figure 8 and provides a brief description of each element. Table 141. UDI Wizard Designer High-Level UI Elements UI element Ribbon Description Provides access to task-based actions that can be performed within the UDI Wizard Designer. The actions are combined into groups, such as the File Menu group or the Flow Designer group. Contains the wizard pages that are available for use within the UDI Wizard Designer. The number of times that each page is used within the UDI Wizard configuration file is displayed on the far right portion of the wizard page entry. For example, the
microsoft.com/technet/SolutionAccelerators
Solution Accelerators
352
UI element
Description Language page is used three times while the Scan Configuration page is used twice. Provides access to the configuration details of the UDI Wizard configuration file being customized.
Details pane
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
353
Figure 9. UI elements in the Page Library pane Table 142 lists the UI elements illustrated in Figure 9 and provides a brief description of each element. Table 142. UI Elements in the Page Library Pane UI element Page instance Description Each wizard page in the Page Library is an instance of a specific wizard page type. As shown in Figure 9, there are two instances of the
microsoft.com/technet/SolutionAccelerators
Solution Accelerators
354
UI element
Description ConfigScanPage wizard page type with the page name of ConfigScanBareMetal and ConfigScanPage.
Note Configuration settings are made to a wizard page instance in the Page Library and affect all stages to which the wizard page is added.
Page type
A page type defines a template that can be used to create instances of the wizard page type. The Add New Page dialog box has a list of the wizard page types available in the UDI Wizard Designer. This is the user-friendly name for the instance of the wizard page type. This value does not have to be unique within the Page Library. This is the name of the instance of the wizard page type. This value must be unique within a page library. This element maintains a count of the number of times that a wizard page instance is used in the stages. For example, as shown in Figure 9, the ComputerPage wizard page instance is used in two different places within the UDI Wizard configuration file.
Display name
Page name
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
355
Figure 10. Flow tab in the UDI Wizard Designer Table 143 lists the UI elements on the Flow tab, which is illustrated in Figure 10, and provides a brief description of each element. Table 143. UDI Wizard Designer Flow Tab UI Elements UI element Stage group Description Collection of one or more sets of wizard page groupings (stages) that are used by the deployment scenarios that UDI supports, including the New Computer, Refresh Computer, and Replace Computer MDT deployment scenarios.
Note The stage groups are predefined in UDI. Adding or removing stage groups is not supported.
Stage
Collection of one or more wizard pages used at a specific time within a stage group. For the New Computer stage group, MDT includes the following stages:
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
356
UI element
Description NEWCOMPUTER. This stage is used for new computer deployments. NEWCOMPUTER.Prestaged. This stage is used for prestaged media deployments in Configuration Manager 2012 or Configuration Manager 2007 R3. For the Replace Computer stage group, MDT includes the following stages: REPLACE. This stage is used for the portion of the Replace Computer stage group performed in the original operating system running on the target computer. REPLACE.WinPE. This stage is used for the portion of the Replace Computer stage group performed in Windows PE.
Note The stages are predefined in UDI. Adding or removing stages is not supported.
Wizard page
The wizard page that is to be displayed in the UDI Wizard for a specific stage within a specific stage group. A wizard page is based on an instance of the wizard page in the Page Library. An instance of a wizard page may appear in multiple stages and stage groups. Configuration settings for a wizard page affect the wizard page instance, not the individual pages that appear in the stages and stage groups.
Note Create a unique instance of a wizard page in the Page Library for each set of unique configuration settings that you want to manage for a specific type of wizard page.
The sequence in which the wizard page is displayed in the UDI Wizard for a specific stage within a specific stage group.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
357
Figure 11. Configure tab in the UDI Wizard Designer Table 144 lists the UI elements on the Flow tab, which is illustrated in Figure 11, and provides a brief description of each element. Table 144. UDI Wizard Designer Configure Tab UI Elements UI element Page screenshot Section Subsection Description Expand to show a sample of the wizard page as displayed in the UDI Wizard. Logical grouping of one or more user controls. Logical grouping of one or more user controls within a section. Expand to show the user controls contained within the configuration details.
If you expand a subsection, you can see the controls within that subsection. Figure 12 illustrates the UI elements for a control beneath a subsection. A subsection may contain multiple controls.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
358
Figure 12. UI elements for a control on the Configure tab in the UDI Wizard Designer Table 145 lists the UI elements for a control on the Configure tab, which is illustrated in Figure 12, and provides a brief description of each element.
Note Each control on a wizard page is unique and has different UI elements. The control illustrated in Figure 12 is provided as an example for generalized discussion.
Table 145. UI Elements for a Control on the Configure Tab UI element Control lock Description Allows you to enable (unlocked) or disable (lock) the control to allow or prevent users from entering information in the control. The status in the button
microsoft.com/technet/SolutionAccelerators
Solution Accelerators
359
UI element
Description can be one of the following values: Unlocked. Users are able to interact with the control in the UDI Wizard. Locked. Users are unable to interact with the control in the UDI Wizard.
Note If you disable a control, you must provide the information collected by the control either as a default value in the control or in the CustomSettings.ini file or in MDT DB.
Default value
The value that is displayed in the control by default. If the control is enabled, then the user can override the default value. The task sequence variable name associated with the control. The UDI Wizard sets the specified task sequence variable with the value provided in the UDI Wizard. The name which appears on the Summary wizard page (if included) and shows the configuration setting collected by this control. A list of validation checks performed on the information entered in the control. You can add or remove validation checks to this list.
Validators
For more information about configuring specific controls on specific wizard pages, see the corresponding section for that wizard page in the MDT document Toolkit Reference.
To create a new UDI Wizard configuration file using the UDI Wizard Designer 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click UDI Wizard Designer. The UDI Wizard Designer starts.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
360
2. In the UDI Wizard Designer console, on the Ribbon, in the File Menu group, click New. 3. Make the appropriate changes in the UDI Wizard Designer console. 4. In the UDI Wizard Designer console, on the Ribbon, in the File Menu group, click Save As. The Save As dialog box opens. 5. In the Save As dialog box, go to folder_path (where folder_path is the fully qualified path to the Scripts folder in the MDT files package source), in File name, type file_name (where file_name is the file name for the configuration file), and then click Save. After creating the new UDI Wizard configuration file, create a new task sequence or modify an existing task sequence steps to use the appropriate MDT files package. You also need to update the distribution points with the modified MDT files package as described in in Managing Distribution Points in Configuration Manager 2012 or Managing Distribution Points in Configuration Manager 2007 R3, which is the same process for UDI and ZTI deployments.
361
1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click UDI Wizard Designer. The UDI Wizard Designer starts. 2. In the UDI Wizard Designer console, on the Ribbon, in the File Menu group, click Open. 3. In the Open dialog box, go to folder_path (where folder_path is the fully qualified path to the Scripts folder in the MDT files package source), click file_name (where file_name is the file name for the configuration file), and then click Open. 4. Make the appropriate changes in the UDI Wizard Designer console. 5. In the UDI Wizard Designer console, on the Ribbon, in the File Menu group, click Save. The File Save dialog box opens, notifying you that the file Save operation is complete. 6. In the File Save dialog box, click OK.
362
8. Repeat steps 3 and 4, substituting State Capture with Preinstall/New Computer Only. 9. Repeat steps 3 and 4 for any custom task sequence steps that run UDIWizard.wsf. 10. Click OK.
c. Click OK.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
363
6. Make other appropriate changes in the UDI Wizard Designer console. 7. In the UDI Wizard Designer console, on the Ribbon, in the File Menu group, click Save. The File Save dialog box opens, notifying you that the file Save operation is complete. 8. In the File Save dialog box, click OK. 9. Close all open windows and dialog boxes.
To remove a wizard page from a stage using the UDI Wizard Designer 1. In the UDI Wizard Designer console, in the details pane, expand stage (where stage is the stage you want to customize).
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
364
2. In the details pane, click wizard_page (where wizard_page is the wizard page you want to remove). 3. On the Ribbon, on the Home tab, in the Flow Designer group, click Remove Item. The Delete Item Confirmation dialog box appears. 4. In the Delete Item Confirmation dialog box, click Yes. In the details pane, the wizard page is removed from the stage.
Tip Remember to save the UDI Wizard configuration file after making any changes.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
365
Locked. This status indicates that the control is disabled and users are unable to enter information using it.
Note If you disable (lock) a control, you must provide the information the control collected by configuring MDT properties in CustomSettings.ini or in the MDT DB. Otherwise, the UDI Wizard will not collect the necessary information, and the UDI deployment will fail.
To allow or prevent users from entering formation in a control on a wizard page using the UDI Wizard Designer 1. In the UDI Wizard Designer console, in the details pane, expand stage (where stage is the stage you want to customize). 2. In the details pane, click wizard_page (where wizard_page is the wizard page you want to remove). 3. In the details pane, on the Configure tab, expand section, go to control (where section is the section where the control is located and control is the control you want to allow or prevent users from entering information), and then click the corresponding button with one of the following status indicators: Unlocked. Clicking the button changes the status to Locked and prevents users from entering information in the control. Locked. Clicking the button changes the status to Unlocked and allows users to enter information in the control.
Tip Remember to save the UDI Wizard configuration file after making any changes.
366
c. Click OK.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
367
The wizard page appears in the list of wizard pages in the Page Library.
Tip Remember to save the UDI Wizard configuration file after making any changes.
You can also add a wizard page by right-clicking anywhere in the stage in the details pane, and then clicking Add Page.
To remove a wizard page from the Page Library using the UDI Wizard Designer 1. In the UDI Wizard Designer console, in Page Library, click wizard_page (where wizard_page is the name of the wizard page you want to remove from the page library). 2. On the Ribbon, on the Home tab, in the Page Library group, click Remove Page. 3. If the wizard page is: In use in any stage, the Page In Use dialog box is displayed, notifying you that the wizard page is currently in use and cannot be removed. In the Page In Use dialog box, click OK. Not in use by any stage, the Delete Item Confirmation dialog box is displayed, confirming that you want to remove the wizard page. In the Delete Item Confirmation dialog box, click Yes. The wizard page is deleted from the Page Library.
Tip Remember to save the UDI Wizard configuration file after making any changes.
368
Replace Computer You can change the sequence of a stage group or the stages within in the details pane. To change the sequence of a stage group using the UDI Wizard Designer 1. In the UDI Wizard Designer console, in the details pane, click stage_group (where stage_group is the name of the stage group for which you want to change the sequence). 2. On the Ribbon, on the Home tab, in the Flow Designer group, click one of the following: Move Up to make the stage group appear earlier in the list of scenarios Move Down to make the stage group appear later in the list of scenarios The stage group moves up or down in the list of stage group based on the option you select. You can also change the sequence of a stage group by right-clicking the stage group, and then clicking Move Up or Move Down based on the desired result.
Tip Remember to save the UDI Wizard configuration file after making any changes.
To change the sequence of a stage within a stage group using the UDI Wizard Designer 1. In the UDI Wizard Designer console, in the details pane, expand stage_group, and then click stage (where stage_group is the name of the stage group that contains the stage and stage is the name of the stage for which you want to change the sequence). 2. On the Ribbon, on the Home tab, in the Flow Designer group, click one of the following: Move Up to make the stage appear earlier in the list of stages within the stage group Move Down to make the stage appear later in the list of stages within the stage group The stage moves up or down in the list of stages within the stage group based on the option you select. You can also change the sequence of a stage by right-clicking the stage, and then clicking Move Up or Move Down based on the desired result.
Tip Remember to save the UDI Wizard configuration file after making any changes.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
369
For example, if you add a Japanese language pack, then the condition for the corresponding Install Language Packs Offline task sequence step will be for the UILanguage task sequence variable to be equal to JA-JP. For more information on the LanguagePage wizard page type in the UDI Wizard Designer, see the corresponding section in the User-Driven Installation Developers Guide.
370
To skip a wizard page 1. Identify the variables that are written by the wizard page in a specific stage. To identify the variables written by a specific wizard page, see the corresponding section for the wizard page in "UDI Wizard Page Reference". 2. Configure the variables identified in the previous step in the CustomSettings.ini or the MDT DB. 3. Remove the wizard page from the stage within a stage by using the Remove Item action on the Ribbon in the Flow Designer group.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
371
After you complete the UDI Wizard, the deployment of the new operating system begins. When the deployment process is complete, the OSD Results page is displayed just prior to the first user logging on to the target computer. For more information about how to configure the OSD Results page, see the section,
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
372
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
373
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
374
375
[Default] OSInstall=Y ScanStateArgs=/v:5 /o /c LoadStateArgs=/v:5 /c /lac UserDataLocation=NONE [00:0F:20:35:DE:AC] CustomProperty=TRUE [00:03:FF:FE:FF:FF] CustomProperty=FALSE
Required Sections
Only the [Settings] section is required. All other sections are optional. The MDT scripts require the [Settings] section in CustomSettings.ini to locate the reserved properties (Priority and Properties).
Optional Sections
You use the optional sections in the CustomSettings.ini file to assign a group of configuration settings to: A group of computers. In Listing 1, the configuration settings in the [Default] section are applied to more than one computer. For more information, see Applying MDT Properties to Groups of Computers, later in this guide. An individual computer. In Listing 1, the configuration settings in the [00:0F:20:35:DE:AC] and [00:03:FF:FE:FF:FF] sections are applied to the corresponding computer (in this case, identified by the media access control [MAC] address of the target computer). For more information, see Applying MDT Properties to Individual Computers, later in this guide.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
376
Configure the CustomSettings.ini file by: Configuring the Priority reserved property as described in Priority Reserved Property Configuring the Properties reserved property as described in Properties Reserved Property
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
377
Configuring the values for properties as described in Values in the CustomSettings.ini File
Indirect reference
378
In Listing 1, CustomProperty is a user-defined property, and ScanStateArgs is a predefined property. For a list of the predefined properties in MDT, see the section, "Properties", in the MDT document Toolkit Reference. You can also define custom properties to which you can assign multiple values by adding numerical suffixes, such as ListProperty001, ListProperty002, and so on. You create these types of custom properties by adding (*) to the end of the property name. For example, ListProperty(*) defines the custom property as a list of property values instead of a single-valued property. Consider the following excerpt from a CustomSettings.ini file in which ListProperty(*) is defined: [Settings] Priority=Default Property=CustomProperty, ListProperty(*) [Default] CustomProperty=TRUE ListProperty001=New York City ListProperty002=Chicago
379
[Default] OSInstall=Y ScanStateArgs=/v:5 /o /c LoadStateArgs=/v:5 /c /lac The New Deployment Share Wizard in the Deployment Workbench modifies this template of the CustomSettings.ini file based on the responses provided. Listing 3 shows the customized version of the CustomSettings.ini file after completing the New Deployment Share Wizard. Listing 3. Customized CustomSettings.ini File Modified by the Deployment Workbench [Settings] Priority=Default Properties=MyCustomProperty [Default] OSInstall=Y ScanStateArgs=/v:5 /o /c LoadStateArgs=/v:5 /c /lac UserDataLocation=NONE SkipCapture=NO SkipAdminPassword=YES SkipProductKey=YES The CustomSettings.ini file in Listing 3 contains the property values for all the target computers to be migrated using this version of the file. This version of the file contains no values unique to a specific target computer. For LTI, the target computerspecific configuration values are manually provided during the installation process. Table 147 explains the properties and corresponding values used in Listing 3. Table 147. Explanation of CustomSettings.ini Properties in Listing 3 Line in CustomSettings.ini
[Settings] Priority=Default
Purpose Indicates the start of the [Settings] section. Establishes the sequence in which the process parses subsections to locate values for the variables. In this example, the [Default] section is the only subsection that is parsed for variables.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
380
Line in CustomSettings.ini
Purpose The properties listed here are in addition to the properties listed in ZTIGather.xml. ZTIGather.wsf parses ZTIGather.xml to obtain a list of the properties.
Indicates the start of the [Default] section. Indicates that the computer is supposed to perform an operating system deployment. Parameters passed to the Scanstate.exe tool in the USMT. These parameters are passed to Scanstate.exe during state capture. Parameters passed to the Loadstate.exe tool in the USMT. These parameters are passed to Loadstate.exe during state restore. Indicates where the user state migration data should be saved. The value NONE indicates that the user state migration data should not be saved. Indicates whether the Specify whether to prompt for image capture page in the Deployment Wizard is displayed. If the property is set to YES, the wizard page is skipped and not displayed. Indicates whether the Allow user to set Administrator Password page in the Deployment Wizard is displayed. If the property is set to YES, the wizard page is skipped and not displayed. Indicates whether the Allow user to specify a product key page in the Deployment Wizard is displayed. If the property is set to YES, the wizard page is skipped and not displayed.
LoadStateArgs=/v:5 /c /lac
UserDataLocation=NONE
SkipCapture=YES
SkipAdminPassword=YES
SkipProductKey=YES
For more information on the individual properties, see the corresponding reference section in the MDT document Toolkit Reference.
Basic CustomSettings.ini File for ZTI Deployments Using Configuration Manger 2012 or Configuration Manager 2007 R3
For ZTI deployments using Configuration Manager 2012 or Configuration Manager 2007 R3, the Deployment Workbench uses a template version of the
Solution Accelerators microsoft.com/technet/SolutionAccelerators
381
CustomSettings.ini file (stored in installation_folder\Templates, where installation_folder is the folder in which MDT is installed) as a basis for a customized version of CustomSettings.ini. The template version of the CustomSettings.ini file is illustrated in Listing 4. The template version in Listing 4 does not contain sufficient settings to successfully deploy Windows 7 to a target computer. However, the file will be further customized using the Deployment Workbench. Listing 4. Unmodified CustomSettings.ini File in the Templates Folder [Settings] Priority=Default Properties=MyCustomProperty [Default] OSInstall=Y ScanStateArgs=/v:5 /o /c LoadStateArgs=/v:5 /c /lac The New Deployment Share Wizard in the Deployment Workbench modifies this template version of the CustomSettings.ini file based on the responses provided. Listing 5 shows the customized version of the CustomSettings.ini file after completing the New Deployment Share Wizard. Listing 5. Customized CustomSettings.ini File Modified by the Deployment Workbench [Settings] Priority=Default Properties=MyCustomProperty [Default] OSInstall=Y ScanStateArgs=/v:5 /o /c LoadStateArgs=/v:5 /c /lac UserDataLocation=NONE The CustomSettings.ini file shown in Listing 5 contains the property values for all of the target computers to be deployed using this version of the file. This version of the file contains no values that are unique to a specific target computer. For ZTI using Configuration Manager 2012 or Configuration Manager 2007 R3, the Create MDT Task Sequence Wizard copies an unmodified version of the CustomSettings.ini template with no modifications to the file. Modify the version of the template in the package source folder that you specified in Package source to be created on the MDT Package wizard page in the Create MDT Task Sequence Wizard as described in:
Solution Accelerators microsoft.com/technet/SolutionAccelerators
382
Create ZTI Task Sequences Using the Create MDT Task Sequence Wizard in Configuration Manager 2012 Create ZTI Task Sequences Using the Create MDT Task Sequence Wizard in Configuration Manager 2007 R3 Modify this version of the CustomSettings.ini file to include the target computer specific configuration values. After modifying the file, update the distribution points for the Microsoft Deployment Files package so that the changes are available to the task sequences. Listing 6 shows a modified version of the CustomSettings.ini file, which includes target computerspecific settings. Listing 6. Customized CustomSettings.ini File with Target Computer Settings [Settings] Priority=Default, MACAddress Properties=MyCustomProperty [Default] OSInstall=Y ScanStateArgs=/v:5 /o /c LoadStateArgs=/v:5 /c /lac UserDataLocation=NONE [00:0F:20:35:DE:AC] MyCustomProperty=TRUE [00:03:FF:FE:FF:FF] MyCustomProperty=FALSE Table 148 explains the properties and corresponding values used in Listing 6. Table 148. Explanation of CustomSettings.ini Properties in Listing 6 Line in CustomSettings.ini
[Settings]
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
383
Line in CustomSettings.ini
Priority=Default, MACAddress
Purpose Establishes the sequence in which the process parses subsections to locate values for the variables. In this example, the [Default] section is parsed first, and then the section that corresponds to the MAC address of the target computer (MACAddress) is parsed. The sections for the target computers ([00:0F:20:35:DE:AC] and [00:03:FF:FE:FF:FF]) contain computer-specific settings.
Properties=MyCustomProperty
Indicates any additional properties to locate. The properties listed here are in addition to the properties listed in ZTIGather.xml. ZTIGather.wsf parses ZTIGather.xml to obtain a list of the properties. Indicates the start of the [Default] section. Indicates whether the target computer is authorized to have the operating system installed. Parameters passed to the Scanstate.exe tool in the USMT. These parameters are passed to Scanstate.exe during the State Capture Phase. Parameters passed to the Loadstate.exe tool in the USMT. These parameters are passed to Loadstate.exe during state restore. Indicates where the user state migration data should be saved. The value NONE indicates that the user state migration data should not be saved. Section that contains all the properties and settings specific to the target computer with the matching MAC address. In this sample, the target computer has a MAC address of [00:0F:20:35:DE:AC].
[Default] OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
UserDataLocation=NONE
[00:0F:20:35:DE:AC]
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
384
Line in CustomSettings.ini
[00:03:FF:FE:FF:FF]
Purpose Section that contains all the properties and settings specific to the target computer with the matching MAC address. In this sample, the target computer has a MAC address of [00:03:FF:FE:FF:FF].
For more information on the individual properties, see the corresponding reference section in the MDT document Toolkit Reference.
For more information about each of these properties, see the corresponding section in the MDT document Toolkit Reference. The Deployment Workbench creates the BootStrap.ini file when you create a deployment share. After the initial creation, make all further customizations manually. Listing 7 shows the BootStrap.ini file that the Deployment Workbench creates automatically for a deployment share. You may need to customize the BootStrap.ini file in Listing 7. Listing 7. BootStrap.ini File As Created by the Deployment Workbench for Deployment Shares
Solution Accelerators microsoft.com/technet/SolutionAccelerators
385
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
386
Post Install Phase. Updates the Sysprep.inf file, Sysprep.xml file, or Unattend.txt file with information gathered in the previous custom actions based on the operating system being deployed. State Restore Phase. Invokes the USMT Loadstate.exe command to restore the user state that was previously backed up. The TS.xml file identifies the appropriate steps in each phase based on each type of deployment scenario (Refresh Computer, Replace Computer, and New Computer). Select the properties required during each phase of the deployment process. For more information on each of the properties used in each phase, see the section, "Properties", in the MDT document Toolkit Reference.
DefaultGateway Group configuration settings based on resources located within a geographic region (such as a shared folder on a computer within a geographic region). Group configuration settings Architecture
Target computer
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
387
Grouping method Description hardware attributes based on hardware attributes (such as the make of the computer or processor architecture of the target computer). Target computer software attributes Group configuration settings based on hardware attributes (such as the operating system version of the target computer). Apply configuration settings to all target computers when the properties are not in other sections.
Default attributes
Default
In most instances, computer groupings can be nested. For example, you can use the DefaultGateway property to designate the IP subnets on which a computer resides within a geographic location. Define locations using the user-defined properties in the [DefaultGateway] section, as shown in Listing 8.
Note A variety of methods can be used to group computers by hardware configuration, and the script will search for the substituted value regardless. For instance, if you specify Priority=Make, the script substitutes the value for Make that it determines through a Windows Management Instrumentation (WMI) call and will look for the corresponding section for example, [Dell Computer Corporation].
Example: Computer Groupings Selected by Woodgrove Bank Listing 8 shows an example of how the fictional company, Woodgrove Bank, used [DefaultGateway] to designate the configuration settings for a specific location. Three subnets (172.16.0.3, 172.16.1.3, and 172.16.2.3) reside within the NYC location. A separate section, [NYC], includes the configuration settings specific to the NYC location. Similar sections exist for the DALLAS and WASHINGTON locations. This is a special case that allows multiple default gateways to point to the same section. In many environments, a one-to-one mapping might be expected between the [DefaultGateway] section and a corresponding section. Listing 8. Using [DefaultGateway] to Designate Location-Specific Configuration Settings [Settings] Priority=DefaultGateway [DefaultGateway] 172.16.0.3=NYC 172.16.1.3=NYC
Solution Accelerators microsoft.com/technet/SolutionAccelerators
388
172.16.2.3=NYC 172.16.111.3=DALLAS 172.16.112.3=DALLAS 172.16.116.3=WASHINGTON 172.16.117.3=WASHINGTON [NYC] UDShare=\\NYC-AM-FIL-01\MigData SLShare=\\NYC-AM-FIL-01\Logs Packages1=NYC00010-Install Packages2=NYC00011-Install Administrator1=WOODGROVEBANK\NYC Help Desk Staff [DALLAS] UDShare=\\DAL-AM-FIL-01\MigData SLShare=\\DAL-AM-FIL-01\Logs Administrator1=WOODGROVEBANK\DAL Help Desk Staff
389
OSDNewMachineName Example: Group-based Configuration Settings Selected by Woodgrove Bank Listing 8 showed an example in which Woodgrove Bank selects group-based configuration settings: In the NYC and DALLAS locations, UDShare, SLShare, and Administrator1 are specified for each location. The servers that UDShare and SLSShare (NYC-AM-FIL-01 and DAL-AMFIL-01) reference are within each respective location. The Administrator accounts that Administrator1 (WOODGROVEBANK\NYC Help Desk Staff and WOODGROVEBANK\DAL Help Desk Staff) reference are unique to each respective location. In NYC, location-specific packages are designated by Packages1 and Packages2.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
390
Properties AssetTag, MACAddress, SerialNumber, UUID, Product, Make, and Model OSVersion, IsServerOS, and OSSKU AssetTag SerialNumber
Identify the target computer using the software or firmware configuration. Identify the target computer using attributes that are assigned to the computer but not part of the hardware or software configuration.
Example: Computer Identification Method Selected by Woodgrove Listing 9 shows an example of how Woodgrove Bank identified computer-based configuration settings. In this instance, Woodgrove used the MAC address of the computer to identify the corresponding configuration settings for the computer (for example, 00:03:FF:CB:4E:C2 and 00:0F:20:35:DE:AC). The configuration settings for each computer are listed immediately after the section that corresponds to the computers MAC address. Listing 9. How Woodgrove Identified Client Computers [00:03:FF:CB:4E:C2] ComputerName=WasW2K OverRideProductKey= TTTTT-VVVVV-WWWWW-XXXXX-YYYYY [00:0F:20:35:DE:AC] ComputerName=HPD530-1 OverRideProductKey= AAAAA-BBBBB-CCCCC-DDDDD-EEEEE [00:03:FF:FE:FF:FF] ComputerName=BVMXP OverRideProductKey= 11111-22222-33333-44444-55555 Example: Computer-based Configuration Settings Selected by Woodgrove Listing 9 also shows the computer-based configuration settings that Woodgrove Bank selected. Table 151 lists the computer-specific configuration settings applied to each computer.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
391
Table 151. Woodgrove Client Computers and the Corresponding Configuration Settings Target computer [00:03:FF:CB:4E:C2] Settings and description
ComputerName is the name of the computer after
392
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
393
5. Review the task sequence steps used for saving and restoring user state information as described in Configure Disk Preparation Task Sequence Steps. 6. Configure the MDT properties used in saving and restoring user state information as described in Configure Disk Preparation Properties.
BDEDrive NTFS
OSDisk
NTFS
Remaining Partition on which Windows is located, space also known as the operating system drive. If BitLocker is used, this is the partition that is encrypted.
By default, MDT creates the partition configuration for UEFI-based computers as described in Table 153. Table 153. Default Partition Configuration Created by MDT for UEFI-based Computers Partition EFI System File system Size FAT32 512 MB Description Unencrypted partition used for starting Windows. For more information, see Deploy to Computers with UEFI. This partition can also be shared with the recovery partition. The Microsoft Reserved Partition (MSR) is a partition on a data storage device that is labeled with a GUID equal to E3C9E3160B5C-4DB8-817D-F92DF00215AE. The containing storage device has to use the
microsoft.com/technet/SolutionAccelerators
MSR
Unformatted 128 MB
Solution Accelerators
394
Partition
Description new GUID Partition Table (GPT) format, not the traditional master boot record (MBR) partition table format. An MSR partition is required on every GPT disk and should be created as the disk is initially partitioned. It should be located after the EFI System Partition (ESP) and any OEM service partitions, butmost importantlythe first data partition must immediately follow it.
OSDisk
NTFS
Remaining Partition on which Windows is located, space also known as the operating system drive. If BitLocker is used, this is the partition that is encrypted.
In addition to the default MDT partition configurations, you can create custom partition configurations. For example, the default MDT partition configurations do not include other utility partitions or recovery images. For more information, see Understanding Disk Partitions.
Native VHD boot has the following dependencies: The local disk must have at least two partitions: a system partition that contains the Windows 7 boot environment files and Boot Configuration Data (BCD) store and a partition to store the VHD file. The local disk partition that contains the VHD file must have enough free disk space for expanding a dynamic VHD to its maximum size and for the page file created when booting the VHD. The page file is created outside of the VHD file, unlike in a VM, where the page file is contained inside the VHD. You can create LTI task sequences based on the following LTI task sequence templates to deploy to VHDs with native boot: Deploy to VHD Client Task Sequence. Select this LTI task sequence template to deploy Windows 7 in a VHD with native boot. Deploy to VHD Server Task Sequence. Select this LTI task sequence template to deploy Windows 7 in a VHD with native boot. These tasks sequences contain the following task sequence steps, which are used to perform deployment to VHDs:
Solution Accelerators microsoft.com/technet/SolutionAccelerators
395
Create VHD Disk. The step creates the VHD file after the physical partition has been created and formatted. For more information about this task sequence step, see Configure the Create VHD Disk Task Sequence Step Type. Format and Partition VHD. This step formats the .vhd file and is built using the Format and Partition Disk task sequence step type. For more information about task sequence step type, see Configure Disk Preparation Task Sequence Steps. Clear OSDDiskIndexVariable. This step clears the OSDDiskIndexVariable task sequence variable that was set during the Create VHD Disk task sequence step. Clearing the OSDDiskIndexVariable task sequence variable allows other disks to be partitioned and formatted as a part of the task sequence. For more information about VHDs with native boot, see Understanding Virtual Hard Disks with Native Boot.
396
Setting
Description Blank. In this case, no differencing .vhd file is created. The default value for this setting is blank, which indicates that no differencing .vhd file is created.
VHD size
Specifies the capacity of the .vhd file, which can be specified in megabytes or as a percentage of the available disk space. This option creates a dynamically expanding .vhd file, which will physically increase in size as more data is stored in the .vhd file. The other option is Fixed size. This setting is the default selection. This option creates a fixed sized .vhd file, which is created as the size specified in VHD size and does not automatically grow in size. The other option is Dynamically expanding, which is the default selection. This specifies the task sequence variable name used to designate the destination drive for the task sequence variable. You can specify any valid task sequence variable in this setting. The default value is the VHDTargetDisk task sequence variable. For more information on the VHDTargetDisk task sequence variable, see the VHDTargetDisk property in the in the MDT document Toolkit Reference.
Dynamically expanding
Fixed size
Retrieve the destination drive for the VHD file from a variable
Assign the disk index This setting specifies the task sequence variable name created from the used to designate the disk index to be used in deploying VHD to a variable the operating system. You can specify any valid task sequence variable in this setting. The default value is the OSDDiskIndex task sequence variable. For more information on the OSDDiskIndex task sequence variable, see the OSDDiskIndex property in the in the MDT document Toolkit Reference.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
397
platforms. Windows also supports firmware revisions that are based on the EFI Version 1.10 specification on Intel Itanium platforms. Windows supports a subset of the functionality that is defined in the UEFI 2.0 specification. Windows implementations do not explicitly check against higher revisions of the firmware. The operating system supports higher revisions of the firmware if they contain the necessary support for Windows 7, Windows Server 2008 R2, and Windows Server 2008.
Note The UEFI partitions must be formatted using the FAT32 file system. The NTFS file system is not supported for UEFI boot.
By default, MDT creates the appropriate partitions to support UEFI. If you create custom partition configurations, ensure that you follow the recommendations described in the Review the Default Partition Configuration Created by MDT section. For more information, see the following resources: UEFI Support and Requirements for Windows Operating Systems Recommended UEFI-Based Disk-Partition Configurations
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
398
BDERecoveryKey BDEWaitForEncryption
OSDPartitionsxBootable
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
399
Description The type of file system for the partition (Valid values are NTFS or FAT32.) Indicates whether the partition should be quick formatted (The default is TRUE.) The size of the partition The units of measure for specifying the size of the partition (Valid values are MB, GB, or %. The default value is MB.) The type of partition to be created
OSDPartitionsxType
OSDPartitionsxVolumeLetter The drive letter to be assigned to the partition Variable OSDPartitionsxVolumeName WipeDisk The volume name that will be assigned to the partition Indicates whether the disk should be wiped
400
sequence templates include the task sequence steps listed in Table 157, which are used to save and restore user state information. Table 157. User State Information Task Sequence Steps Task sequence step Description
Generate Application Generates an XML file used to identify documents Migration Files created by applications installed on the target computer Capture User State Captures user state information based on the application migration files that the Generate Application Migration Files task sequence step generates and the user state information properties in CustomSettings.ini or the MDT DB for LTI deployments Captures the group membership of the local groups on the target computer based on the user state information properties in CustomSettings.ini or the MDT DB Restores the user state information that the Capture User State task sequence step saved to the target computer Restores the group membership information that the Capture Groups task sequence step saved to the target computer
Capture Groups
Restore Groups
UserDataLocation Indicates where the user state migration data should be saved UDDir The folder in which the user state migration data is stored (This folder exists beneath the network shared folder specified in the UDShare property.) A comma-delimited list of user profiles that the
microsoft.com/technet/SolutionAccelerators
UDProfiles
Solution Accelerators
401
Property
Description Scanstate.exe tool must save during the State Capture Phase The network share in which user state migration data is stored
UDShare
Configure User State Migration XML Control Files for LTI Deployments
For LTI deployments, insert one or more lines in the CustomSettings.ini file that contain the USMTMigFiles property for each of the USMT migration XML control files that you want to specify. The XML files need to be copied into either the USMT folder or the Scripts folder in the distribution share. Use the following format for these lines: USMTMigFiles1=MigApp.xml USMTMigFiles2=MigUser.xml USMTMigFiles3=MigSys.xml USMTMigFiles4=MigCustom.xml USMTConfigFile=Config.xml
Note See the MDT document Toolkit Reference for details on configuration settings.
Configure User State Migration XML Control Files for ZTI Deployments
For ZTI deployments for Configuration Manager 2012 and Configuration Manager 2007 R3, insert a line in the CustomSettings.ini file that contains the OSDMigrateConfigFiles task sequence variable for the USMT migration XML control file that you want to specify. If you specify the OSDMigrateConfigFiles property, insert another line that sets the OSDMigrateMode task sequence variable to Advanced. Use the following format for these lines: OSDMigrateMode=Advanced
Solution Accelerators microsoft.com/technet/SolutionAccelerators
402
OSDMigrateConfigFiles=MigApp.xml,MigUser.xml The path to the XML control files is relative to the current folder, which will be the location of the USMT package. If you keep the XML control files in the USMT package, update this package each time you modify any of the XML control files. Otherwise, you can store the XML control files in a separate package or network shared folder and specify a fully qualified UNC path to the package or network shared folder.
User Name
Solution Accelerators
403
Setting Password
Description box is enabled only when you select Join a domain. Specifies the password for the account specified in User Name. This text box is enabled only when you select Join a domain. Specifies the domain in which the account specified in User Name is located. This text box is enabled only when you select Join a domain. Specifies the OU in which the computer account will be created in the domain specified in Domain. This text box is enabled only when you select Join a domain.
Domain
Organizational Unit
For more information about completing the Join the computer to a domain or workgroup wizard page in the Windows Deploy Wizard, see Complete the Deployment Wizard.
DomainAdminDomain
DomainAdminPassword The password used for the domain Administrator account specified in the DomainAdmin property to join the computer to the domain JoinDomain The domain that the target computer joins after the target operating system is deployed (This is the domain in which the computer account for the target computer is created. The JoinDomain property can contain alphanumeric characters, hyphens [-], and underscores [_]. The JoinDomain property cannot be blank or contain spaces.) The AD DS OU in the target domain in which the computer account for the target computer is created
MachineObjectOU
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
404
JoinDomain MachineObjectOU
Join Domains Using the Recover from Domain Join Failure Task Sequence Step Type
Task sequence steps based on the Recover from Domain Join Failure task sequence step type retry the domain-join process using the configuration information specified in CustomSettings.ini. You can configure the Recover from Domain Join Failure task sequence step type to recover using one of the following methods: Auto Recover (Rerun Join Domain). This method automatically retries the domain-join process without intervention. Select this method when you want the MDT process to automatically retry the domain-join process. Manual Recover (Allow user to Join Domain). This method allows the user running the Deployment Wizard to retry the domain-join process. Select this method when you want the MDT process to allow the user to retry the domain-join process. No Recover (Stop script execution). This method automatically terminates the task sequence if the computer has not successfully joined the domain. Select this method when you want MDT to stop running the task sequence if the computer has not successfully joined the domain.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
405
To configure task sequence steps based on the Recover from Domain Join Failure task sequence step type 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Task Sequences (where deployment_share is the name of the deployment share in which you will configure the task sequence). 3. In the details pane, click task_sequence_name (where task_sequence_name is the name of the task sequence you want to configure). 4. In the Actions pane, click Properties. The task_sequence_name Properties dialog box opens (where task_sequence_name is the name of the task sequence you want to configure). 5. On the Task Sequence tab, in the task sequence hierarchy, go to task_sequence_step, and then click the Properties tab. 6. On the Properties tab, configure the settings listed in Table 162 based on the requirements of your organization, and then click OK. Table 162. Configuration Settings on the Properties Tab of the Recover from Domain Join Failure Task Sequence Step Type Setting Type Name Comments Auto Recover (Rerun Join Domain) Manual Recover (Allow user to Join Domain) No Recover (Stop script execution) Description Contains the task sequence type, which is always set to Recover from Domain Join Failure Contains name of the task sequence step displayed in the task sequence Provides descriptive information about the task sequence step Select to configure the task sequence step to automatically retry the domain-join process without intervention Select to configure the task sequence step to allow the user to retry the domain-join process Select to configure the task sequence step to stop the task sequence if the computer has not successfully joined the domain
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
406
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
407
Deploying software updates using Configuration Manager 2007 R3 for ZTI deployments as described in Deploy Software Updates with Configuration Manager 2007 R3 for ZTI Deployments
Deploy Software Updates with Windows Update Agent for LTI Deployments
In LTI deployments, you can install software updates from Windows Update or from WSUS using a task sequence step that runs the ZTIWindowsUpdate.wsf script. Some of the LTI task sequence templates provided in MDT include the Windows Update (Pre-Application Installation) task sequence step and the Windows Update (Post-Application Installation) task sequence step. You can also create a custom task sequence step based on the Run Command Line task sequence step type that runs the following command line: Cscript.exe "%SCRIPTROOT%\ZTIWindowsUpdate.wsf"
Deploy Software Updates with the Deployment Workbench for LTI Deployments
In LTI deployments, you can install software updates in the Packages node in the Deployment Workbench for Windows 7 or Windows Vista operating systems using a task sequence step based on the Install Updates Offline task sequence step type. Some of the LTI task sequence templates provided in MDT include the Apply Patches task sequence step, which is based on the Install Updates Offline task sequence step type. You can control the software updates deployed to the target computers by this method using selection profiles. The Install Updates Offline task sequence step allows you to specify a selection profile so that you can specify which software updates to deploy. If you want to deploy software updates based on multiple selection profiles, create a task sequence step for each selection profile, and then specify the corresponding selection profile in the task sequence step. For more information on creating selection profiles, see Create a New Selection Profile in the Deployment Workbench.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
408
Deploy Software Updates with Configuration Manager 2012 for ZTI Deployments
In ZTI deployments using Configuration Manager 2012, you can initiate software updates using a task sequence step based on the Install Software Updates task sequence step type. The Install Software Updates task sequence type allows you to install only mandatory or all software updates in a single task sequence step using one of the configuration options listed in Table 163. Table 163. Configuration Settings on the Properties Tab of the Install Software Updates Type Task Sequence Step Setting Name Description Mandatory Software Updates All Software Updates Description Configures the name of the task sequence step displayed in the task sequence hierarchy Configures the description text for the task sequence step Selecting configures the task sequence step to install only mandatory software updates Selecting configures the task sequence step to install all software updates, including mandatory software updates
For more information about the Install Software Updates task sequence type, see the section, Install Software Updates, in the Configuration Manager 2012 Documentation Library, which is installed with Configuration Manager 2012.
Deploy Software Updates with Configuration Manager 2007 R3 for ZTI Deployments
The process for deploying software updates using Configuration Manager 2007 R3 is the same process as for Configuration Manager 2012. Both processes use the Install Software Updates task sequence step type. For more information about: Configuring the Install Software Updates task sequence step, see Deploy Software Updates with Configuration Manager 2012 for ZTI Deployments The Install Software Updates task sequence type in Configuration Manager 2007 R3, see the section, Install Software Updates, in the Configuration Manager 2007 Documentation Library, which is installed with Configuration Manager 2007 R3.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
409
microsoft.com/technet/SolutionAccelerators
410
Strategy
All mass storage drivers for Ongoing Windows XP and management of Windows Server 2003 device drivers in the are included. image requires more effort, because there Works well when are more drivers in there are fewer the image. device drivers to manage. Does not work well if there are a large number of device drivers to manage. Requires more initial time and effort to identify the appropriate drivers.
Include only the device drivers specifically required for the target computer
Ongoing management of device drivers in the image requires less effort, because there are fewer drivers in the image. Images are smaller. Images require less frequent version updates. Works well when there is a large number of device drivers to manage.
Windows XP and Windows Server 2003 images should still include all mass storage drivers. Can introduce unnecessary management overhead when there are fewer device drivers to manage.
Either of these strategies can cause problems if taken to the extreme. The Include all device drivers strategy might cause problems when trying to manage tens of thousands of device drivers because of the larger download sizes and a higher probability of detecting the wrong device drivers. A complex management structure used in the Include only the device drivers specifically required for the target computer strategy might be too complex for managing small environments with only two or three different types of computers and cause you to spend a lot of unnecessary time up front. In most instances, select a device driver management strategy that is a hybrid of these strategies and best fits your organization.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
411
The complexity of the folder structure that you create is based on the level of precision you want for deploying the device drivers. The more precision you want, the more complex the folder structure. You can also select a method for creating folder structures based on specific problems you may be having or to mitigate an existing problem. For example, you may have or expect to have one of the following problems:
Solution Accelerators microsoft.com/technet/SolutionAccelerators
412
Device drivers are being selected for the wrong operating system. In this case, you could organize your device drivers by creating the following folder structure in the Out-of-Box Drivers node in the Deployment Workbench based on operating systems, and then place the device drivers in the corresponding folders: Windows 7 Windows Server 2008 R2 Windows Server 2008 Windows Vista Windows Server 2003 Windows XP Device drivers are being selected for the wrong processor architecture. In this case, you could organize your device drivers by creating the following folder structure in the Out-of-Box Drivers node in the Deployment Workbench based on processor architecture, and then place the device drivers in the corresponding folders: x86 x64 Device drivers are being selected for the wrong make and model of target computer. In this case, you could organize your device drivers by creating the following folder structure in the Out-of-Box Drivers node in the Deployment Workbench based on the make and model of the target computer, and then place the device drivers in the corresponding folders: make_01\ \model_01 \model_02 \model_03 make_02\ \model_aa \model_ab make_03\ \model_xx \model_xy Example: Woodgrove Bank Device Driver Folder Structure for LTI
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
413
Woodgrove Bank has decided that it wants to maintain precise control over the device drivers deployed to target computers. So, its IP pros create a folder structure in the Out-of-Box Drivers node in the Deployment Workbench that organizes the device drivers by make and model, operating system, and processor architecture: make\model\operating_system\architecture Figure 13 illustrates the folder structure Woodgrove Bank created.
Create Selection Profiles to Select the Device Drivers for LTI Deployments
Create selection profiles to identify the combination of device drivers that you want to deploy to specific target computers based on the folder structure you created in the Out-of-Box Drivers node in the Deployment Workbench. The LTI deployment process uses selection profiles to determine the device drivers to deploy in the Inject Drivers task sequence step type, in CustomSettings.ini, and in the MDT DB. By default, selection profiles deploy the device drivers in the selected folder and subfolders. Create selection profiles based on the level of control you want to have over the device drivers being deployed. If you create selection profiles on folders: Higher in the folder structure, more device drivers are included, and you have less granular control over the device drivers deployed
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
414
Lower in the folder structure, fewer device drivers are included, and you have more granular control over the device drivers deployed
Tip Use selection profile names that allow you to easily identify the device drivers included in them, such as Windows 7 32-bit and 64-bit Device Drivers, Windows XP 64-bit Device Drivers, or Fabrikam - Model A532- 32-bit Device Drivers.
Example: Woodgrove Bank Device Driver Selection Profiles for LTI Deployments Woodgrove Bank has decided that it wants to maintain precise control over the device drivers deployed to target computers. So, its IT pros create a selection profile for each leaf-level folder in following folder structure: make\model\operating_system\architecture Woodgrove Bank named the selection profiles based on the folder structure in the format as follows: makemodel-operating_systemarchitecture The following is an example of the Woodgrove Bank selection profile naming convention for 64-bit device drivers for Windows 7 running on a computer with Fabrikam as the make and FK5323 as the model: FabrikamFK5323Win7x64
Configure Task Sequences to Deploy Device Drivers in Selection Profiles for LTI Deployments
Modify The configuration for your task sequences to reference the selection profiles and deploy the appropriate device drivers to the target computers. Selection profiles are exposed to the LTI deployment process as: Selection profiles that can be configured in the Deployment Workbench, the CustomSettings.ini file, or the MDT DB Device driver groups that can be configured in the CustomSettings.ini file or the MDT DB Selection profiles and device driver groups are additive. The LTI deployment process creates the list of device drivers to deploy based on the union of both selection profiles and device driver groups, which can cause unpredictable results, because the default selection profile and default device driver group include all device drivers. For example, if you specify a selection profile that contains only 64-bit device drivers and leave the default device driver group, the result will include all device drivers. To change this behavior, specify: The Nothing device driver group in the CustomSettings.ini file or the MDT DB to allow the selection profile to control the device drivers deployed to the target computer
Solution Accelerators microsoft.com/technet/SolutionAccelerators
415
The Nothing selection profile in the Inject Driver task sequence step, the CustomSettings.ini file, or the MDT DB to allow the device driver group to control the device drivers deployed to the target computer A specific set of device drivers for the selection profile and the device driver group so that a known set of device drivers is deployed The following are strategies for configuring task sequences to control the deployment of device drivers for LTI deployments: For a single selection profile, modify the Inject Driver task sequence step, which is in most of the LTI task sequence templates, to use the selection profile. For a limited number of selection profiles, add an Inject Driver task sequence step for each selection profile, and then configure each task sequence step with the corresponding selection profile. Configure a single Inject Driver task sequence step in your task sequence, and then override the selection profile specified in the Inject Driver task sequence step using the DriverSelectionProfile task sequence variable in the CustomSettings.ini file or the MDT DB.
Note The selection profile you specify in the DriverSelectionProfile task sequence variable overrides all Inject Driver task sequence steps in a task sequence. If you have multiple all Inject Driver task sequence steps in your task sequence, they all will be overridden.
Configure a single Inject Driver task sequence step in the task sequence (which already exists in most of the LTI task sequence templates), but specify additional device drivers to be added using the DriverGroup task sequence variable. Because selection profiles and device driver groups are additive, the device drivers specified in the DriverGroup task sequence variable are deployed in addition to the device drivers in the selection profile. If you want to use the DriverGroup task sequence variable for backward compatibility with previous versions of MDT, configure the Inject Driver task sequence step to use the Nothing selection profile.
Note You can also use the DriverPaths property to specify the UNC path to the folders containing the device drivers to deploy. However, this method is provided for backward compatibility with previous versions of BDD and MDT. Instead, use selection profiles or the DriverGroup task sequence variable.
Example: Woodgrove Bank Device Driver Task Sequence Configuration for LTI Deployments Woodgrove Bank has decided that it wants to maintain precise control over the device drivers deployed to target computers. Its IT pros have created a device driver folder structure and selection profile strategy that allows detailed control of device drivers. The IT pros configured their task sequences using the Inject Driver task sequence step in their task sequences with the most common configuration in their organization, and then used the DriverSelectionProfile task sequence
Solution Accelerators microsoft.com/technet/SolutionAccelerators
416
variable in the CustomSettings.ini file and the MDT DB to override the selection profile specified in the Inject Driver task sequence step as necessary. The IT pros added the following line in their CustomSettings.ini file for the DriverSelectionProfile task sequence variable: DriverSelectionProfile =%MAKE%-%MODEL%-Win7-%ARCHITECTURE%
Note The operating system is a static value for the DriverSelectionProfile task sequence variable, because the task sequence will deploy only one operating system.
Control Device Driver Deployments Using Configuration Manager 2012 for ZTI
ZTI deployments in Configuration Manager 2012 use the driver catalog in Configuration Manager as the central repository for device drivers. After you import device drivers into the driver catalog, you can organize them by: Device driver packages. Like software packages, device driver packages are distributed to distribution points so that they are accessible to the target computers. You can create multiple device driver packages to group device drivers to be deployed to the target computer, such as the make and model of target computer. You can control the device drivers deployed based on the device driver packages using the Apply Driver Package task sequence step. Device driver categories. Device driver categories allow you to specify a category for each device driver you import into the driver catalog. Categories allow you to group device drivers based common characteristics, such as all network adapter drivers or by processor architecture. You can control the device drivers deployed to the target computer based on the device driver categories using the Auto Apply Drivers task sequence step. Most of the ZTI task sequences created using the MDT task sequence templates include the Auto Apply Drivers task sequence step. By default, this step configures the task sequence to deploy all device drivers to the target computer, allowing the target operating system to select the device drivers required. The list that follows provides strategies for configuring task sequences to control the deployment of device drivers for ZTI deployments in Configuration Manager 2012: Create multiple device driver categories that are configured in multiple Auto Apply Drivers task sequence steps. Control the deployment of device drivers by performing the following steps: a. Create device driver categories based on the level of granularity you want in controlling the device drivers to be deployed. b. Add multiple Auto Apply Drivers task sequence steps based on the number of combination categories you want to deploy.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
417
c. Configure the Auto Apply Drivers task sequence step to use the proper combination of device driver categories using the Limit driver matching to only consider drivers in selected categories list box. d. Configure the task sequence step conditions based on the contents of the device driver package. For example, if the device driver packages are based on the make and model of the target computer, configure the task sequence step to run when the Make and Model task sequence variables equal the make and model for the device driver package. Create multiple device driver packages that are configured in multiple Apply Driver Package task sequence steps. Control the deployment of device drivers by performing the following steps: a. Create device driver packages based on the criteria for limiting the device drivers to be deployed. b. For each device driver package, add an Apply Driver Package task sequence step for each category. c. Configure the Apply Driver Package task sequence step to use the corresponding device driver package. d. Configure the task sequence step conditions based on the contents of the device driver package. For example, if the device driver packages are based on the make and model of the target computer, configure the task sequence step to run when the Make and Model task sequence variables equal the make and model for the device driver package. Configure a single Auto Apply Drivers task sequence step in your task sequence, and then override the selection profile specified in the Auto Apply Drivers task sequence step using the OSDAutoApplyDriverCategoryList task sequence variable in the CustomSettings.ini file or the MDT DB. Control the deployment of device drivers by performing the following steps: a. Create device driver categories based on the level of granularity you want in controlling the device drivers to be deployed. b. Add a new or an existing Auto Apply Drivers task sequence step in your task sequence. c. Configure the Auto Apply Drivers task sequence step to use any of the device driver categories using the Limit driver matching to only consider drivers in selected categories list box.
Note The device driver category you select is not important, as the category will be overridden by the OSDAutoApplyDriverCategoryList task sequence variable.
d. Determine GUIDs for each device driver category you created by running the following script, substituting strSiteCode with your site code, strServer
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
418
with you Configuration Manager site server, and strDriverCatName with the name of a device driver category you created: strSiteCode = "NYC" strServer = "CMSERVER" strDriverCatName = "Fabrikam" set objWMIService= GetObject("winmgmts:{impersonationlevel=impersonate}!\ \" & strServer & "\root\sms\site_" & strSiteCode) set DriverGUIDS = objWMIService.ExecQuery("select CategoryInstance_UniqueID from CMDB_categoryinstance where LocalizedCategoryInstanceName = '" & strDriverCatName & "'") For each DriverGuid in DriverGuids wscript.echo DriverGuid.CategoryInstance_UniqueID Next e. Modify the CustomSettings.ini file as follows, substituting SECTION with the name of a section (such as [Default]) and GUID with the GUID you retrieved in the previous step: [Settings] Properties=OSDAutoAPplyDriverCategoryList [SECTION] OSDAutoApplyDriverCategoryList=DriverCategories:GUID Deploy mass storage device drivers for Windows XP and Windows Server 2003 using an Apply Driver Package task sequence step. The Auto Apply Drivers task sequence cannot be used for mass storage drivers for these operating systems, because you must explicitly deploy the correct mass storage drivers and only the Apply Driver Package task sequence step can do so.
Note Deploying mass storage drivers using the Apply Driver Package task sequence step will overwrite any mass storage sections in the Sysprep.inf file.
When performing deployments using stand-alone media, use an Apply Driver Package task sequence step, because the Auto Apply Drivers task sequence requires connectivity to a management point, and the stand-alone media will not attempt a connection to a management point.
Control Device Driver Deployments Using Configuration Manager 2007 R3 for ZTI
The process for controlling device driver deployment using Configuration Manager 2007 R3 is the same process as for Configuration Manager 2012. For more information, see Control Device Driver Deployments Using Configuration Manager 2012 for ZTI.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
419
To run a Windows PowerShell script in a task sequence 1. Create the Windows PowerShell script. For more information about creating Windows PowerShell scripts for use in MDT task sequences, see Create Windows PowerShell Scripts for Use in MDT. 2. Place the Windows PowerShell script in the Scripts subfolder in the: Deployment share for LTI MDT files package for ZTI and UDI 3. Add a new task sequence step to your task sequence based on the Run PowerShell Script task sequence step type.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
420
4. In the newly create task sequence step, in the PowerShell script text box, script_name (where script_name is the fully qualified path to the Windows PowerShell script). If you specify: Just the script name, then the assumption is that the script exists in the Scripts subfolder A fully qualified path and script name, then ensure that the task sequence has access to the folder in which the script is stored (For example, if the script is stored on a network shared folder, ensure that there is an existing connection to that server prior to running the script.)
The following MDT task sequence templates include the Apply Local GPO Package task sequence step: Standard Client Task Sequence in LTI, ZTI with Configuration Manager 2012, and ZTI with Configuration Manager 2007 R3 Standard Server Task Sequence in LTI, ZTI with Configuration Manager 2012, and ZTI with Configuration Manager 2007 R3 Deploy to VHD Client Task Sequence in LTI Deploy to VHD Server Task Sequence in LTI
Note Applying GPO packs affects system behavior and features because of the increased security requirements that GPO packs could configure. The result is that you may lose certain funcationality after a GPO pack is applied.
If the security configuration settings that the GPO packs included in MDT provide are too stringent, perform one of the following tasks:
Solution Accelerators microsoft.com/technet/SolutionAccelerators
421
Modify the existing GPO templates to be less restrictive. Provide a custom GPO template that you have created that is less restrictive. Disable the Apply Local GPO Package task sequence step in your task sequence. For example, the GPO pack for Windows 7 can enforce Server Message Block (SMB) configuration settings that could prevent Windows 7 from communicating with other devices running Common Internet File System (CIFS) or SAMBA. Apply GPO packs templates by performing the following steps: 1. Identify or create the GPO packs required by your organization as described in Identify or Create the GPO Packs. 2. Place the GPO packs in the appropriate MDT folders as described in Place the GPO Packs in the Appropriate MDT Folders. 3. Configure MDT to deploy the GPO packs as described in Configure MDT to Deploy the GPO Packs.
422
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
423
WER. This parameter determines the participation in WER and can be one of the following: YES. This value specifies to enable participation. NO. This value specifies to not enable participation.
Note Any value other than YES is treated as NO, including not providing the parameter.
Configuring Server Role Task Sequence Steps for LTI and ZTI
MDT automates the deployment of server roles in Windows Server 2008. Configure task sequence steps in MDT to deploy the server roles that are supported in MDT.
Note For ZTI task sequences that are not created using the MDT task sequence templates, ensure that you run the Use Toolkit Package and Gather task sequence steps prior to running
Solution Accelerators microsoft.com/technet/SolutionAccelerators
424
any of the server role task sequence steps. The server role task sequence steps are dependent on the Use Toolkit Package and Gather task sequence steps.
Configure the Windows Server 2008 R2 or Windows Server 2008 server role task sequence steps for LTI and ZTI deployments by: Configuring the AD DS server role task sequence step as described in Configure AD DS Server Role Task Sequence Step Settings for LTI and ZTI Configuring the DNS Server server role task sequence step as described in Configure DNS Server Role Settings for LTI and ZTI Configuring the DHCP Server server role task sequence step as described in Configure DHCP Server Role Task Sequence Step Settings for LTI and ZTI Configuring the Authorize DHCP task sequence step as described in Configure Authorize DHCP Task Sequence Step Settings for LTI and ZTI
Configure AD DS Server Role Task Sequence Step Settings for LTI and ZTI
AD DS stores directory data and manages communications between users and domains, including logon processes, authentication, and directory searches. An AD DS domain controller is a server that runs AD DS.
Note For ZTI task sequences in Configuration Manager 2012 and Configuration Manager 2007 R3 that are not created using the MDT task sequence templates, ensure that you run the Use Toolkit Package and Gather task sequence steps prior to running any of the server role task sequence steps. The server role task sequence steps are dependent on the Use Toolkit Package and Gather task sequence steps.
Configure the AD DS Server Role task sequence step by: Deploying a new domain controller in a new forest as described in Deploy a Domain Controller in a New Forest Deploying a new domain controller as a replica in an existing domain as described in Deploy a New Domain Controller as a Replica in an Existing Domain Deploying a new domain controller in a new domain tree in an existing forest as described in Deploy a New Domain Controller in a New Domain Tree in an Existing Forest Deploying a new domain controller in a new domain in an existing forest as described in Deploy a New Domain Controller in a New Domain in an Existing Forest Deploying a new read-only domain controller (RODC) in an existing domain as described in Deploy an RODC in an Existing Domain Configuring AD DS advanced properties for domain controllers as described in Configure AD DS Advanced Properties
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
425
426
427
This password is used to recover from a failed AD DS service. Make note of this password in case AD DS must be recovered. 9. In the Advanced Properties section, complete the task configuration as described in Configure AD DS Advanced Properties, and then click OK. For more information about DCPROMO command-line options, see Dcpromo.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
428
7. In the New domain tree (child) DNS name box, type a name for the child domain being createdfor example, child.woodgrove.com (where child is the name of the child domain). 8. In the Replication source domain controller box, type the name of the domain controller to which the new child domain will replicate. 9. In the Account box, type the name of an account with permissions to add a domain controller to the existing network (typically, a domain Administrator account), and then click Set. 10. In the Recovery (safe mode) password box, type a password to use for safe mode recovery. You use this password to recover from a failed AD DS service. Make note of this password in case AD DS must be recovered. 11. In the Advanced Properties section, complete the task configuration as described in Configure AD DS Advanced Properties, and then click OK. For more information about DCPROMO command-line options, see Dcpromo.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
429
Description. Type a description of the taskfor example, Server_Name Site_Name (where Server_Name is the name of the server and Site_Name is the name of the domain). 4. In the Create box, click New domain in existing forest. 5. In the Existing forest (parent) domain DNS name box, type the name of an existing domain in the network. 6. In the NetBIOS name box, type the NetBIOS name of an existing domain in the network, usually the domain name without .com or any other type of extensionfor example, the domain woodgrove.com might have the NetBIOS name WOODGROVE. 7. In the New domain (child) DNS name box, type a name for the child domain being createdfor example, child.woodgrove.com (where child is the name of the child domain). 8. In the Replication source domain controller box, type the name of the domain controller to which the new child domain will be replicated. 9. In the Account box, type the name of an account with permissions to add a domain controller to the existing network (typically, a domain Administrator account), and then click Set. 10. In the Recovery (safe mode) password box, type a password to use for safe mode recovery. You use this password to recover from a failed AD DS service. Make note of this password in case AD DS must be recovered. 11. In the Advanced Properties section, complete the task configuration as described in Configure AD DS Advanced Properties, and then click OK. For more information about DCPROMO command-line options, see Dcpromo.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
430
ZTI using Configuration Manager 2007 R3 as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3 2. Add a new task sequence step based on the Configure ADDS task sequence type for: LTI on the Task Sequence tab (In the task sequence hierarchy, click Add, click Roles, and then click Configure ADDS.) ZTI in the task sequence hierarchy (Click Add, click MDT, and then click Configure ADDS.) 3. On the Properties tab, type the relevant information in the following boxes: Name. Type a name for the task. Description. Type a description of the task; for example, Server_Name Site_Name (where Server_Name is the name of the server and Site_Name is the name of the domain). 4. In the Create box, click New read-only domain controller (RODC) replica. 5. In the Existing domain DNS name box, type the name of an existing DNS server. 6. In the Replication source domain controller box, type the name of the domain controller to be replicated within the existing environment. The directory services database replicates this domain controller. 7. In the Account box, type the name of an account with permissions to add a domain controller to the existing network (typically, a domain Administrator account), and then click Set. 8. In the Recovery (safe mode) password box, type a password to use for safe mode recovery. You use this password to recover from a failed AD DS service. Make note of this password in case AD DS must be recovered. 9. In the Advanced Properties section, complete the task configuration as described in Configure AD DS Advanced Properties, and then click OK. For more information about DCPROMO command-line options, go to Dcpromo.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
431
ZTI using Configuration Manager 2007 R3 as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3 2. Modify the Configure ADDS task sequence step you created for: LTI on the Task Sequence tab (In the task sequence hierarchy, click task_sequence_step [where task_sequence_step is the Configure ADDS task sequence step].) ZTI in the task sequence hierarchy (Click Add, click MDT, and then click task_sequence_step [where task_sequence_step is the Configure ADDS task sequence step].) 3. On the Properties tab, click Advanced. 4. In the AD DS Advanced Properties dialog box, in the Options, Functional Levels, and Folders sections, select the following options as required for your environment and AD DS scenario: Options section: Install DNS if not already present. Select this option when creating a new forest or new domain. Make this domain controller a global catalog (GC) server. This is the default option and should be selected for new domains or forests and domains without a GC server. Wait for critical replication only. Select this option to populate only the directory services database using replication. Functional levels section: Forest Functional Level. Windows Server 2003, Windows Server 2008 (2 = Windows Server 2003; 3 = Windows Server 2008; 4 = Windows Server 2008 R2) Domain Functional Level. Windows Server 2003, Windows Server 2008 (2 = Windows Server 2003; 3 = Windows Server 2008; 4 = Windows Server 2008 R2) Folders section: Database. Contains the fully qualified path on the target computer to the location for the NTDS database. The default value is %SYSTEMROOT%NTDS. You can also configure this value using the DatabasePath property in the CustomSettings.ini file or the MDT DB. Log Files. Contains the fully qualified path on the target computer to the location for the log files. The default value is %SYSTEMROOT%NTDS. You can also configure this value using the LogPath property in the CustomSettings.ini file or the MDT DB. SYSVOL. Contains the fully qualified path on the target computer to the location for the SYSVOL folder. The default value is
Solution Accelerators microsoft.com/technet/SolutionAccelerators
432
%SYSTEMROOT%SYSVOL. You can also configure this value using the SysVolPath property in the CustomSettings.ini file or the MDT DB.
Note If you configure values in the CustomSettings.ini or the MDT DB, use the %DESTINATIONLOGICALDRIVE% task sequence variable instead of the %SYSTEMROOT% variable. For LTI deployments, the variables are evaluated while running Windows PE, so the %SYSTEMROOT% variable will return the SystemRoot folder for Windows PE, not the target operating system. The %SYSTEMROOT% variable for Windows PE typically is set to X:\WINDOWS.
5. In the Site name box, type the name of the site in which to install the domain controller. The default name for a new forest or site is default_first_site; however, this value does not appear in the Site name box by defaultyou must type it. Then, click OK to complete the configuration of the AD DS Advanced Properties dialog box, and then click OK in the Task Name Properties dialog box to complete configuration of the task.
To configure and deploy the DNS server role 1. Edit task_sequence_name (where task_sequence_name is the name of the task sequence to which you want to add the task sequence step) for: LTI as described in Configure the Task Sequence Properties Task Sequence Tab ZTI using Configuration Manager 2012 as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2012 ZTI using Configuration Manager 2007 R3 as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3 2. For Windows Server 2003 target operating systems, add a new task sequence step based on the Run Command Line task sequence type to install the Windows Support Tools for Windows Server 2003. Run the following command (where unc_path is the fully qualified UNC path to the folder in which the suptools.msi file resides):
Solution Accelerators microsoft.com/technet/SolutionAccelerators
433
msiexec /i unc_path\suptools.msi /q addlocal=all Alternatively, install the Windows Support Tools for Windows Server 2003 as an application. If you choose this option, restart the target computer after installing the Windows Support Tools for Windows Server 2003. For more information about deploying an application in: LTI deployments, see Create a New Application in the Deployment Workbench ZTI deployments using Configuration Manager 2012, see the section, Configuring Content Management in Configuration Manager, in the Configuration Manager 2012 Documentation Library, included with Configuration Manager 2012 ZTI deployments using Configuration Manager 2007 R3, see the section, Configuring Software Distribution, in the Configuration Manager 2007 Documentation Library, included with Configuration Manager 2007 R3.
Note The Windows Support Tools for Windows Server 2003 must be installed prior to running the Configure DNS task sequence type that you create later in this process.
3. Add a new task sequence step based on the Configure DNS task sequence type for: LTI on the Task Sequence tab (In the task sequence hierarchy, click Add, click Roles, and then click Configure DNS.) ZTI in the task sequence hierarchy (Click Add, click MDT, and then click Configure DNS.) 4. On the Properties tab, in Name, type name (where name is the name by which the task is identified in the task sequence). 5. In Description, type description (where description is the description of the task and its role in the task sequence). 6. In the Zones section, click the yellow Add button. 7. In the DNS Zone Properties dialog box, in DNS zone name, type a name for the zone (for example, woodgrove.com). 8. In Type, click Change. 9. In the Change Zone Type dialog box, select one of the following zone types: Primary zone Secondary zone Stub zone 10. In the Change Zone Type dialog box, select the Store the zone in Active Directory check box if DNS will be installed on a domain controller, and then click OK. 11. In the DNS Zone Properties dialog box, in Dynamic updates, select one of the following:
Solution Accelerators microsoft.com/technet/SolutionAccelerators
434
None Nonsecure and Secure 12. Select the Scavenge stale resource records check box to enable this feature, and then click OK. 13. On the Properties tab of the Configure DNS step, click Server Properties. 14. In the Server Properties dialog box, in Server Options, select the appropriate server options to enable. 15. In the Server Properties dialog box, in Name checking, select the appropriate name-checking options to enforce, and then click OK. 16. In the task_sequence Properties dialog box (where task_sequence is the name of the task sequence being edited), click OK. 17. Close the Deployment Workbench.
Configure DHCP Server Role Task Sequence Step Settings for LTI and ZTI
Using this option, configure and deploy the DHCP server role using MDT. You can configure all the standard DHCP scope options similar to using the standard DHCP console in Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003. To implement the DHCP server role, configure the Authorize DHCP task sequence in conjunction with the Configure DHCP Server task sequence.
Note For ZTI task sequences using Configuration Manager 2012 and Configuration Manager 2007 R3 that are not created using the MDT task sequence templates, ensure that you run the Use Toolkit Package and Gather task sequence steps prior to running any of the server role task sequence steps. The server role task sequence steps are dependent on the Use Toolkit Package and Gather task sequence steps.
Configure the Configure DHCP Server task sequence step settings by: Configuring the deployment of the DHCP server role as described in Configure Deployment of the DHCP Server Role Configuring the DHCP scopes for the DHCP server role as described in Configure DHCP Scopes for the DHCP Server Role Configuring the DHCP server options for the DHCP server role as described in Configure the DHCP Server Options for the DHCP Server Role
Note For Windows Server 2003 target operating systems, if you run the Configure DHCP Server task sequence step in the same task sequence as the Configure DNS task sequence step, ensure that the Configure DHCP Server task sequence step precedes the task sequence step to install the Windows Support Tools for Windows Server 2003. The Configure DNS task sequence step requires that the support tools be installed. For more information, see Configure DNS Server Role Settings for LTI and ZTI.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
435
436
LTI as described in Configure the Task Sequence Properties Task Sequence Tab ZTI using Configuration Manager 2012 as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2012 ZTI using Configuration Manager 2007 R3 as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3 2. Modify the task sequence step you created based on the Configure DHCP task sequence type for: LTI on the Task Sequence tab (In the task sequence hierarchy, click task_sequence_step [where task_sequence_step is the name of the task sequence step].) ZTI in the task sequence hierarchy (Click task_sequence_step [where task_sequence_step is the name of the task sequence step].) 3. On the Properties tab, click the yellow Add scope button. 4. In the Scope Properties dialog box, configure the following options as required for the environment: Scope name. The name used to refer to the scope. Start IP address. The beginning address of the scope (for example, 192.168.0.150). End IP address. The ending address of the scope (for example, 192.168.0.250). Subnet mask. The mask used for the IP address scope (for example, 255.255.255.0). Scope IP address. The address of the scope itself (for example, 192.168.0.1). Lease duration for DHCP clients. The maximum time a client can keep the IP address that the DHCP server assigns. Description. A description of the scope (for administrative reference). 5. On the Advanced tab, in the Exclude IP Address Range section, type the following information to exclude addresses for the scope created on the General tab: Start IP address. The beginning address for exclusion from a scope (for example, 192.168.0.251). End IP address. The ending address for exclusion from a scope (for example, 192.168.0.255). 6. On the Options tab, configure the following options for the scope created on the General tab: 003 Router. The default gateway given to DHCP clients.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
437
006 DNS Servers. The DNS server address given to DHCP clients. 015 DNS Domain Name. The DNS domain name given to clients (for example, woodgove.com). 044 WINS/NBNS Servers. The WINS server IP address (for example, 192.168.0.2). 046 WINS/NBT Node Type. The WINS node type. 060 PXE Client. The address used for PXE client Bootstrap code. 7. Click OK.
Configure the DHCP Server Options for the DHCP Server Role
Using this option, configure the DHCP server options given to DHCP clients, including router or default gateway designation, DNS server IP information, and WINS server information. To configure and deploy DHCP server options 1. Edit task_sequence_name (where task_sequence_name is the name of the task sequence to which you want to add the task sequence step) for: LTI as described in Configure the Task Sequence Properties Task Sequence Tab ZTI using Configuration Manager 2012 as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2012 ZTI using Configuration Manager 2007 R3 as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3. 2. Modify the task sequence step you created based on the Configure DHCP task sequence type for: LTI on the Task Sequence tab (In the task sequence hierarchy, click task_sequence_step [where task_sequence_step is the name of the task sequence step].) ZTI in the task sequence hierarchy (Click task_sequence_step [where task_sequence_step is the name of the task sequence step].) 3. On the Properties tab, in the Server Options section, click Configure, and then configure the following options as required for your environment. 4. Click 003 Router, and then perform the following steps: a. In the Server Name box, type the IP address and resolve the name. b. Click Add to type an IP address. c. Click an IP address, and then click Remove to remove the highlighted IP address. 5. Click 006 DNS Servers, and then perform the following tasks:
Solution Accelerators microsoft.com/technet/SolutionAccelerators
438
a. In the Server Name box, type the IP address and resolve the name. b. Click Add to type an IP address. c. Click an IP address, and then click Remove to remove the highlighted IP address. 6. Click 015 DNS Domain Name, and then, in the String Value box, type the domain name (for example, woodgrove.com). 7. Click 044 WINS/NBNS Servers, and then perform the following tasks: a. In the Server Name box, type the IP address and resolve the name. b. Click Add to type an IP address. c. Click an IP address, and then click Remove to remove the highlighted IP address. 8. Click 046 WINS/NBT Node Type, and then type one of the following codes: 44, 46, or 47. For more information about how to determine the correct option for the environment, see the section, DHCP Options for WINS, in WINS Tools and Settings at http://technet2.microsoft.com/windowsserver/en/library/e71fac630521-4217-899f-79802bfdb7481033.mspx?mfr=true. 9. Click 060 PXE Client; then, in the String Value box, type the PXE client string (typically, PXEClient).
Configure Authorize DHCP Task Sequence Step Settings for LTI and ZTI
Authorizing the DHCP service within AD DS is imperative to successfully deploying and using DHCP services within a Windows-based network.
Note The ZTI task sequence templates that are provided with MDT do not include an Authorize DHCP task sequence step type. You must manually add this step type if you want to automatically authorize the DHCP server as a part of the ZTI deployment.
To authorize the DHCP server role in AD DS 1. Edit task_sequence_name (where task_sequence_name is the name of the task sequence to which you want to add the task sequence step) for: LTI as described in Configure the Task Sequence Properties Task Sequence Tab ZTI using Configuration Manager 2012 as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2012 ZTI using Configuration Manager 2007 R3 as described in Configuring ZTI Task Sequence Steps in Configuration Manager 2007 R3 2. Add a new task sequence step based on the Authorize DHCP task sequence type for:
Solution Accelerators microsoft.com/technet/SolutionAccelerators
439
LTI on the Task Sequence tab (In the task sequence hierarchy, click Add, click Roles, and then click Authorize DHCP.) ZTI in the task sequence hierarchy (Click Add, click MDT, and then click Authorize DHCP.) 3. On the Properties tab, type the relevant information in the following boxes: Name. The name by which the task appears in the task sequence list. Description. A description of the task. 4. In the Account box, type the name of an account with permissions to authorize the DHCP service in AD DS. Click Set, and then type the following information in the relevant boxes: Username. The account that can authorize DHCP, in the format domain\user Password. The password for the account Confirm Password. Retype the password 5. Click OK, then click OK again.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
440
For more information about using: Data WIM files or $OEM$ folders with Windows Vista or Windows Server 2008, see the Windows Automated Installation Kit Users Guide in the Windows AIK An $OEM$ folder with Windows XP or Windows Server 2003, see the Microsoft Windows Corporate Deployment Tools Users Guide (Deploy.chm) and the Microsoft Windows Preinstallation Reference (Ref.chm), both of which are in the Deploy.cab file in the Support\Tools folder on the Windows installation media MDT looks in the following locations within the deployment share, in the order specified, to find an $OEM$ folder: Control\task_sequence (where task_sequence is the name or ID of the task sequence that MDT is installing). Create $OEM$ folders in this location to create a custom folder for each build. Operating Systems\Name (where Name is the name of the operating system MDT is installing). Create $OEM$ folders in this location to create a custom folder for each operating system. Platform (where Platform is either x86 or x64). Create $OEM$ folders in this location to create a custom folder for each platform. $OEM$, which is at the root of the deployment share and is the default $OEM$ folder if a folder is not found in the previous locations. An $OEM$ folder contains supplemental files. The following list describes each folder that you can create within an $OEM$ folder to organize these files: $$. Windows Setup copies the contents of this folder to %SystemRoot% on each destination computer. It replicates all the folders, subfolders, and files that this folder contains in the %SystemRoot% folder of each destination computer. For Windows Setup to copy a file to %SystemRoot%\System32 on each destination computer, for example, put the file in $OEM$\$$\System32. $1. Windows Setup copies the contents of this folder to %SystemDrive% on each destination computer. It replicates all the folders, subfolders, and files that this folder contains in the %SystemDrive% folder on each destination computer. This is typically drive C on most computers. Drive. Drive is a drive letter (C, D, E, and so on). Windows Setup copies the contents of this folder to the root of the corresponding drive on each destination computer. It replicates all the folders, subfolders, and files that this folder contains in the corresponding drive during the setup process. For example, Windows Setup copies any files put in $OEM$\D to the root of drive D on each destination computer. Microsoft recommends that these folders not be used. The folders rely on a very specific disk configuration on the destination computer. Use $1 to
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
441
represent %SystemDrive%, instead. In most installations, $OEM$\$1 and $OEM$\C write to the same location: the root of drive C. TEXTMODE. For Windows XP and Windows Server 2003, this folder contains hardware-specific files that Windows Setup and text-mode setup install on the destination computer during the text-mode phase of the installation process. These files may include OEM HALs, mass-storage device drivers, and the Txtsetup.oem file. The Txtsetup.oem file describes how to load and install these files. List these files in the [OemBootFiles] section of the answer file.
Before describing how to create a script, it is best to review how the scripts included with MDT are constructed. The standard MDT script is a .wsf file, which allows references to be made to functions that are contained in other scripts. MDT scripts leverage this functionality by referencing the ZTIUtility.vbs script and the ZTIDataAccess.vbs script. The ZTIUtility.vbs script is used to initialize the
Solution Accelerators microsoft.com/technet/SolutionAccelerators
442
MDT environment and setup classes. The ZTIDataAccess.vbs script includes the common routines for database access, including connecting to and querying databases, and provides a web service interface. The scripts define several standard objects that need not be declared in the script: oFSO. File System Object oShell. WScript Shell object oEnv. Process Environment object oNetwork. WScript Network object The following classes are defined that perform several standard tasks: Environment. Configures environment variables gathered through WMI and MDT rule processing, allowing for direct reference from the script, and is defined in ZTIUtility.vbs as described in Environment Class. Logging. Provides the logging functionality that all MDT scripts use, creating a single log file for each script and a consolidated log file of all scripts and is defined in ZTIUtility.vbs as described in Logging Class. Utility. Provides general utility functionality and is defined in ZTIUtility.vbs as described in Utility Class. Database. Provide access to databases and is defined in ZTIDataAccess.vbs as described in Database Class. The Database class: Is used by ZTIGather.wsf when processing database rules from the CustomSettings.ini or BootStrap.ini files Can be used to access databases in scripts instead of configuring the CustomSettings.ini or BootStrap.ini files; you can specify the parameters for accessing the database in the scripts WebService. Provides access to web services and is defined in ZTIDataAccess.vbs as described in WebService Class. The WebService class: Is used by ZTIGather.wsf when processing web service rules from the CustomSettings.ini or BootStrap.ini files Can be used to access web services in scripts instead of configuring the CustomSettings.ini or BootStrap.ini files; you can specify the parameters for accessing the web services in the scripts
Environment Class
Reference this class in scripts through the oEnvironment object. For example, change the computer name to Example using the command: oEnvironment.Item("ComputerName") = "Example"
Solution Accelerators microsoft.com/technet/SolutionAccelerators
443
Or, to determine whether this is a 32-bit or 64-bit architecture, query the architecture using the command: oEnvironment.Item("Architecture")
Logging Class
Reference this class in scripts through the oLogging object. When creating an informational log entry, use the command: oLogging.CreateEntry "Informational message", LogTypeInfo When creating an error log entry, use the command: oLogging.CreateEntry "An error occurred",LogTypeError
Utility Class
Reference this class in scripts through the oUtility object. To determine the name of the current script, use the command: oUtility.ScriptName To find the location of a file, use the command: iRetVal = oUtility.FindFile("CustomSettings.ini", sIniFile)
Database Class
Reference this class in scripts through the Database class. You can create an instance of the object class and connect to a database using following script excerpt: <script language="VBScript" src="ZTIUtility.vbs"/> <script language="VBScript" src="ZTIDataAccess.vbs"/> <script language="VBScript"> Dim oDatabase Dim oRecordset Set oDatabase = new Database oDatabase.SQLServer = "NYC-MDT-01" oDatabase.Instance = "SQLExpress" oDatabase.Database = "MDTDB" oDatabase.Port = "" oDatabase.Netlib = "DBNMPNTW" oDatabase.Table = "ComputerSettings" oDatabase.Parameters = "UUID, AssetTag, SerialNumber, MacAddress" oDatabase.ParameterCondition = "OR"
Solution Accelerators microsoft.com/technet/SolutionAccelerators
444
oDatabase.SQLShare = "DeploymentShare$" oDatabase.Connect Set oRecordset = oDatabase.Query WScript.Echo "Records retrieved: " & oRecordset.RecordCount
WebService Class
Reference this class in scripts through the WebService class. You can create an instance of the object class and connect to a database using following script excerpt: <script language="VBScript" src="ZTIUtility.vbs"/> <script language="VBScript" src="ZTIDataAccess.vbs"/> <script language="VBScript"> Dim oWebService Dim oXML oEnvironment.Item("USZip") = "98029" oEnvironment.Item("USZip") = "98029" Set oWebService = new WebService oWebService.WebService = "http://www.webservicex.net/uszip.asmx/GetInfoByZIP" oWebService.Parameters = "USZip" Set oXML = oWebService.Query WScript.Echo "Web service response:" WScript.Echo oXML.XML
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
445
' //********************************************************* ****************** ' // ***** Script Header ***** ' // ' // Solution: Solution Accelerator for Microsoft Deployment ' // File: Z-Sample.wsf ' // ' // Purpose: Template ' // ' // Usage: cscript Z-Sample.wsf [/debug:true] ' // ' // Customer Build Version: 1.0.0 ' // Customer Script Version: 1.0.0 ' // Customer History: ' // ' // ***** End Header ***** ' //********************************************************* ****************** '//--------------------------------------------------------------------------'// '// Global constant and variable declarations '// '//--------------------------------------------------------------------------Option Explicit Dim iRetVal '//--------------------------------------------------------------------------'// End declarations '//--------------------------------------------------------------------------'//--------------------------------------------------------------------------'// Main routine
Solution Accelerators microsoft.com/technet/SolutionAccelerators
446
'//--------------------------------------------------------------------------On Error Resume Next iRetVal = ZTIProcess ProcessResults iRetVal On Error Goto 0 '//-------------------------------------------------------------------------'// '// Function: ZTIProcess() '// '// Input: None '// '// Return: Success - 0 '// Failure - non-zero '// '// Purpose: Perform main ZTI processing '// '//-------------------------------------------------------------------------Function ZTIProcess() iRetVal = Success ZTIProcess = iRetval '!!!!!!!!!!! End Function </script> </job> At a high level, complete the following steps to add a custom script: 1. Create the script based on the template. 2. Place the script in the Scripts folder of the: Deployment share for LTI deployments Package source for the Microsoft Deployment Toolkit Files package INSERT YOUR CODE HERE !!!!!!!!!!!!
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
447
3. Create a task sequence step based on the Run Command Line task sequence step type in your task sequence. 4. Configure the task sequence step created in the previous step to run your script. Follow these guidelines when creating a script: Always declare variables. Only create objects where required, because MDT includes most objects that are needed. Verify that ZTIUtility.vbs and ZTIDataAccess.vbs do not already provide the functionality required before writing a function.
448
Including the ZTIUtility.psm1 module at the beginning of your script provides the following features: Creates the TSENV: and TSEVNLIST: Windows PowerShell drives so that you can test your script outside a task sequence Provides support for Windows PowerShell task sequence module features that may be provided in future releases For more information on the TSENV: and TSEVNLIST: Windows PowerShell drives, see Use Task Sequence Variables Within Windows PowerShell Scripts.
Note For Configuration Manager 2012 and Configuration Manager 2007 R3 task sequences, run the Use Toolkit Package task sequence step prior to running the Run PowerShell Script task sequence step.
If your script needs to load other custom modules, places those modules in a subfolder beneath the Tools\Modules folder. By default, the module path is modified to include the Tools\Modules folder and all subfolders. For example, if you have a module in the MyCustomModule.psm1 file, create the Tools\Modules\MyCustomModule folder and the place MyCustomModule.psm1 file in that folder. To load your custom module in your script, include the following line in in your script: Import-Module MyCustomModule
The following are examples that illustrate how to access task sequence variables using these drives:
$tsenv:GPOPackPath = "\\WDG-MDT-01\Packages$\GPOPacks"
Solution Accelerators
449
This command displays the contents of the ScriptRoot task sequence variable to the Windows PowerShell console.
$packages = $tsenvlist:PACKAGES
This command sets the $packages Windows PowerShell variable to the current value of the PACKAGES task sequence variable.
$tsenvlist:PACKAGES = @("XXX00001:Program","XXX00002:Program")
This command sets the value of the PACKAGES task sequence variable to "XXX00001:Program","XXX00002:Program".
The progress for your Windows PowerShell script is shown in the task sequence progress UI and is displayed as follows: Progress is shown as a percentage of total completion for the current script and any messages that are being displayed. Progress is updated using the standard Write-Progress cmdlet.
Note Unlike some of the other scripts in MDT, a separate log file is not generated for the task sequence step running the Windows PowerShell script. Logging is only performed in the BDD.LOG file.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
450
Description Unable to find the Windows PowerShell script in the location specified. No Windows PowerShell script was specified in the task sequence step. A terminating error was reported by the Windows PowerShell script.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Performing Deployments Using the MDT DB
451
452
Workbench. However, for ZTI deployments, you do not need to add any content to the deployment share, as ZTI deployments do not require it.
Create a new MDT DB or connect to an existing MDT DB by performing one of the following tasks: Create a new MDT DB as described in Create a New MDT DB. Connect to an existing MDT DB as described in Connect to an Existing MDT DB.
To create the MDT DB in an existing database 1. The DBA creates the database and grants you DBA permission on the database. 2. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 3. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Advanced Configuration/Database (where deployment_share is the name of the deployment share in which you will add the application). 4. In the Actions pane, click New Database. The New DB Wizard starts. 5. Complete the New DB Wizard using the information in Table 168. Table 168. Information for Completing the New DB Wizard On this wizard page
Solution Accelerators
Do this
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Performing Deployments Using the MDT DB
453
Do this 1. In SQL Server name, type computer_name (where computer_name is the name of the computer running SQL Server). 2. In Instance, type instance_name (where instance_name is the name of SQL Server instance on the computer running SQL Server). If you are using SQL Server installed as the default instance, you can leave Instance blank. If you are using Microsoft SQL Server Express, type SQLExpress for the instance name. 3. In Port, type port_number (where port_number is the TCP port number for the SQL Server instances if different than the default value). If you are using the default value, you can leave Port blank. 4. In Network Library, select network_library (where network_library is the network library used to communicate with SQL Server and can be either Named Pipes or TCP/IP Sockets). 5. Click Next.
Database
1. Select Create (or recreate) the tables and views in an existing database. 2. In Database, select database_name (where database_name is the name of the database in which you want to store the MDT DB).
Note If you select a database that has an existing MDT DB, the information in the existing MDT DB tables and views will be lost.
3. Click Next. SQL Share 1. In SQL Share, type share_name (where share_name is the name of a network shared folder on the computer specified on the SQL Server Details wizard page). This text box is required for Window PE to connect to the database using the Windows Integrated Security with Named Pipes protocol. Windows PE connects to the network shared folder, establishing a network
Solution Accelerators microsoft.com/technet/SolutionAccelerators
454
Do this connection to the server so that Windows Integrated Security in SQL Server authenticates correctly. If Windows PE is not connecting to the database using this protocol, you can leave SQL Share blank. 2. Click Next.
Summary Confirmation
Review the information in the Details box, and then click Next.
Tip You can click Save Output to save the output of the wizard to a file. You can also click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Click Finish. The New DB Wizard finishes. The database configuration information is listed in the details pane of the Deployment Workbench.
To create the MDT DB in a new database 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Advanced Configuration/Database (where deployment_share is the name of the deployment share in which you will add the application). 3. In the Actions pane, click New Database. The New DB Wizard starts. 4. Complete the New DB Wizard using the information in Table 169. Table 169. Information for Completing the New DB Wizard On this wizard page SQL Server Details Do this 1. In SQL Server name, type computer_name (where computer_name is the name of the
microsoft.com/technet/SolutionAccelerators
Solution Accelerators
Using the Microsoft Deployment Toolkit: Performing Deployments Using the MDT DB
455
Do this computer running SQL Server). 2. In Instance, type instance_name (where instance_name is the name of the SQL Server instance on the computer running SQL Server). If you are using SQL Server installed as the default instance, you can leave Instance blank. If you are using SQL Server Express, type SQLExpress for the instance name. 3. In Port, type port_number (where port_number is the TCP port number for the SQL Server instance if different than the default value). 4. In Network Library, select network_library (where network_library is the network library used to communicate with SQL Server and can be either Named Pipes or TCP/IP Sockets). 5. Click Next.
Database
1. Select Create a new database. 2. In Database, type database_name (where database_name is the name of the database in which you want to store the MDT DB). 3. Click Next.
SQL Share
1. In SQL Share, type share_name (where share_name is the name of a network shared folder on the computer specified on the SQL Server Details wizard page). This text box is required for Window PE to connect to the database using the Windows Integrated Security with Named Pipes protocol. Windows PE connects to the network shared folder, establishing a network connection to the server so that Windows Integrated Security in SQL Server authenticates correctly. If Windows PE is not connecting to the database using this protocol, you can leave SQL Share blank. 2. Click Next.
Summary
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
456
Click Finish. The New DB Wizard finishes. The database configuration information is shown in the details pane of the Deployment Workbench.
To connect to an existing MDT DB 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Advanced Configuration/Database (where deployment_share is the name of the deployment share in which you will add the application). 3. In the Actions pane, click New Database. The New DB Wizard starts. 4. Complete the New DB Wizard using the information in Table 170. Table 170. Information for Completing the New DB Wizard On this wizard page SQL Server Details Do this 1. In SQL Server name, type computer_name (where computer_name is the name of the computer running SQL Server). 2. In Instance, type instance_name (where instance_name is the name of SQL Server instance on the computer running SQL Server). If you are using SQL Server installed as the default instance, you can leave Instance blank. If you are using SQL Server Express,
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Performing Deployments Using the MDT DB
457
Do this type SQL Express for the instance name. 3. In Port, type port_number (where port_number is the TCP port number for the SQL Server if different than the default value). If you are using the default value, you can leave Port blank. 4. In Network Library, select network_library (where network_library is the network library used to communicate with SQL Server and can be either Named Pipes or TCP/IP Sockets). 5. Click Next.
Database
1. Select Use an existing database that already contains the required tables and views. 2. In Database, select database_name (where database_name is the name of the existing MDT DB). 3. Click Next.
SQL Share
1. In SQL Share, type share_name (where share_name is the name of a network shared folder on the computer specified on the SQL Server Details wizard page). This text box is required for Window PE to connect to the database using the Windows Integrated Security with Named Pipes protocol. Windows PE connects to the network shared folder, establishing a network connection to the server so that Windows Integrated Security in SQL Server authenticates correctly. If Windows PE is not connecting to the database using this protocol, you can leave SQL Share blank. 2. Click Next.
Summary Confirmation
Review the information in the Details box, and then click Next.
Tip You can click Save Output to save the output of the wizard to a file. You can also click View Script to view the Windows PowerShell scripts used to perform the wizard tasks.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
458
The New DB Wizard finishes. The database configuration information is shown in the details pane of the Deployment Workbench.
Modify the schema of the MDT DB Modify the configuration information stored in the MDT DB View the configuration information stored in the MDT DB
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Performing Deployments Using the MDT DB
459
For more information on how to assign these permissions see Adding a Member to a Predefined Role.
Manage Configuration Settings Stored in the MDT DB Using the Deployment Workbench
You can manage the configuration settings stored in the MDT DB using the nodes beneath the Database node in a Deployment Workbench deployment share.
Note Managing configuration settings stored in the MDT DB using the Deployment Workbench is good when adding a limited number of entries or managing individual entries. If you want to make bulk additions or updates to the MDT DB, use standard SQL Server database tools as described in Manage Configuration Settings Stored in the MDT DB Using SQL Server Management Tools.
Table 172 lists the nodes beneath the Database node and describes when to make configuration settings in each node. Table 172. Nodes Beneath the Database Node in a Deployment Share Node Computers Use this node to define Specific target computers based on one of these properties: AssetTag, UUID, SerialNumber, or MACAddress properties. Associate property settings, applications, packages, roles, and Administrator-level accounts with a computer. A group of computers based on the tasks performed by the
microsoft.com/technet/SolutionAccelerators
Roles
Solution Accelerators
460
Node
Use this node to define users of the target computers (using the Role property). Associate property settings, applications, packages, and Administrator-level accounts with a role. A group of computers using the DefaultGateway property of the target computers to identify a geographic location. Associate property settings, applications, packages, roles, and Administrator-level accounts with a location.
Locations
Make and Model A group of computers using the Make and Model properties of the target computers. Associate property settings, applications, packages, roles, and Administrator-level accounts with target computers that are of the same make and model.
Note Create the items in the Roles node before creating items beneath the other nodes (Computers, Locations, and Make and Model), because items in the other nodes can be associated with roles.
You can use the nodes in Table 172 to make configuration settings that are stored in the MDT DB. The Deployment Workbench manages the updates to the corresponding tables in the MDT DB. To manipulate the configuration settings stored in the MDT DB using the Deployment Workbench, you can manage: Role-base configuration settlings as described in Manage Role-Based Configuration Settings in the Deployment Workbench Computer-based configuration settings as described in Manage ComputerBased Configuration Settings in the Deployment Workbench Location-based configuration settings as described in Manage LocationBased Configuration Settings in the Deployment Workbench Make and modelbased configuration settings as described in Manage Make and ModelBased Configuration Settings in the Deployment Workbench
Using the Microsoft Deployment Toolkit: Performing Deployments Using the MDT DB
461
4. In the Properties dialog box, click the Identity tab. 5. In the Role name box, type role_name (where role_name is the name of the role). 6. Click the Details tab, and then configure the relevant property values identified earlier in the process. 7. Click the Applications tab, and then configure the applications to install and the order of the application installation. 8. Click the Packages tab, and then configure the packages to install and the order of the package installation. 9. Click the Administrators tab, configure the accounts to be made members of the local Administrators group on the target computers, and then click OK.
Table 173. Information to Complete the Identity Tab for a New Computers Item In this box Description Asset tag UUID Serial number Type The user-friendly description of the computer The asset tag or inventory control tag assigned to the computer The universally unique identifier (UUID) assigned to the target computer The serial number assigned to the target computer
MAC address The MAC address assigned to the target computer (If the target computer has multiple network adapters, you can
Solution Accelerators microsoft.com/technet/SolutionAccelerators
462
In this box
Type specify any of the MAC addresses. MDT identifies the target computer by any MAC address.)
For more information about the values for asset tag, UUID, serial number, and MAC address, see the AssetTag, UUID, SerialNumber, and MACAddress properties in the MDT document Toolkit Reference. 5. Click the Details tab, and then configure the appropriate property values identified earlier in the process. 6. Click the Applications tab, and then configure the applications to install and the order of the application installation. 7. Click the Packages tab, and then configure the packages to install and the order of the package installation. 8. Click the Roles tab, and then configure the roles to associate with the computer. 9. Click the Administrators tab, configure the accounts to be made members of the local Administrators group on the target computers, and then click OK.
Using the Microsoft Deployment Toolkit: Performing Deployments Using the MDT DB
463
9. Click the Roles tab, and then configure the roles to associate with the computer. 10. Click the Administrators tab, configure the accounts to be made members of the local Administrators group on the target computers, and then click OK.
Manage Configuration Settings Stored in the MDT DB Using SQL Server Management Tools
Managing the configuration settings stored in the MDT DB using the Deployment Workbench is good for management of a limited number of database entries. However, if you need to add hundreds of entries (such as adding the configuration settings for the target computers) or if you want to perform a bulk
Solution Accelerators microsoft.com/technet/SolutionAccelerators
464
update to the configuration settings, use SQL Server database management tools. Perform bulk import and update of configuration settings in the MDT DB using: Microsoft Office system applications. Microsoft Office Access or Office Excel have data-manipulation features that allow you to directly modify tables in the MDT DB using tools with which you are already familiar. bcp utility (Bcp.exe). This bulk import/export tool allows you to import configuration settings to and export configuration settings from the tables in the MDT DB. Transact-SQL language in SQL Server. The Transact-SQL language allows you to add, update, or delete entries in tables in the MDT DB. You can review the tables, views, and other database objects in the MDT DB to determine the tables that you want to update. For more information on the tables and views in the MDT DB, see the section, "Tables and Views in the MDT DB", in the MDT document Toolkit Reference.
Using the Microsoft Deployment Toolkit: Performing Deployments Using the MDT DB
465
In most instances, use the Configure DB Wizard to modify the CustomSettings.ini file. Only make direct modifications to the CustomSettings.ini file if you have added database objects, such as tables, views, or stored procedures. Run the Configure DB Wizard for each deployment share defined in the Deployment Workbench that will be updated. To configure CustomSettings.ini for database queries using the Configure DB Wizard in the Deployment Workbench 1. Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench. 2. In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Advanced Configuration/Database (where deployment_share is the name of the deployment share to which you will add the application). 3. In the Actions pane, click Configure Database Rules. The Configure DB Wizard starts. 4. Complete the Computer Options wizard page using the information in Table 174, and then click Next. Table 174. Information to Complete the Computer Options Wizard Page Select this check box To do this
Query for computer-specific Query the settings configured on the settings Details tab of the computer items Properties dialog box. Query for roles assigned to this computer Query for applications to be installed on this computer Query the roles associated with the computer on the Roles tab of the computer items Properties dialog box. Query the applications to be installed on the computer as configured on the Applications tab of the computer items Properties dialog box. Query the SMS packages to be installed on the computer as configured on the ConfigMgr Packages tab of the computer items Properties dialog box. Query the accounts that are to be made members of the local Administrators group on the target computer as configured on the Administrators tab of the computer items Properties dialog box.
Query for SMS packages to be installed on this computer Query for administrators to be assigned to this computer
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
466
Tip You can click Select All or Deselect All to correspondingly select or deselect all the check boxes on the Computer Options wizard page.
5. Complete the Location Options wizard page using the information in Table 175, and then click Next. Table 175. Information to Complete the Location Options Wizard Page Select this check box Query for location names based on default gateways To do this Query for location names based on the IP addresses of the default gateways configured on the Identity tab of the location items Properties dialog box. Query the settings configured on the Details tab of the location items Properties dialog box.
Query for roles assigned for Query the roles associated with the location this location as configured on the Roles tab of the location items Properties dialog box. Query for applications to be installed for this location Query the applications to be installed on the target computers within the location as configured on the Applications tab of the location items Properties dialog box. Query the SMS packages to be installed on the target computers within the location as configured on the ConfigMgr Packages tab of the location items Properties dialog box.
Query for administrators to Query the accounts that are to be made be assigned for this location members of the local Administrators group on the target computers within the location as configured on the Administrators tab of the location items Properties dialog box.
Tip You can click Select All or Deselect All to correspondingly select or deselect all the check boxes on the Location Options wizard page.
6. Complete the Make/Model Options wizard page using the information in Table 176, and then click Finish. Table 176. Information to Complete the Make/Model Options Wizard Page Select this check box Query for model-specific settings To do this Query the settings configured on the Details tab of the make and model items Properties dialog box.
microsoft.com/technet/SolutionAccelerators
Solution Accelerators
Using the Microsoft Deployment Toolkit: Performing Deployments Using the MDT DB
467
Select this check box Query for roles assigned to computers with this make and model Query for applications to be installed on computers with this make and model
To do this Query the roles associated with the make and model on the Roles tab of the make and model items Properties dialog box. Query the applications to be installed on the target computers with the make and model as configured on the Applications tab of the make and model items Properties dialog box. Query the SMS packages to be installed on the target computers with the make and model as configured on the ConfigMgr Packages tab of the make and model items Properties dialog box. Query the accounts that are to be made members of the local Administrators group on the target computer with the make and model as configured on the Administrators tab of the make and model items Properties dialog box.
Query for SMS packages to be installed for this make and model
Query for administrators to be assigned to machines with this make and model
Tip You can click Select All or Deselect All to correspondingly select or deselect all the check boxes on the Make/Model Options wizard page.
7. Complete the Role Options wizard page using the information in Table 177, and then click Next. Table 177. Information to Complete the Role Options Wizard Page Select this check box Query for role-specific settings Query for applications to be installed for this role To do this Query the settings configured on the Details tab of the role items Properties dialog box. Query the applications to be installed on computers that perform this role as configured on the Applications tab of the role items Properties dialog box. Query the SMS packages to be installed on the target computers that perform this role as configured on the ConfigMgr Packages tab of the role items Properties dialog box.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
468
Select this check box Query for administrators to be assigned for this role
To do this Query the accounts that are to be made members of the local Administrators group on computers that perform this role as configured on the Administrators tab of the role items Properties dialog box.
Tip You can click Select All or Deselect All to correspondingly select or deselect all the check boxes on the Role Options wizard page.
8. On the Summary wizard page, review the information in the Details box, and then click Next. 9. On the Confirmation wizard page, review the information, and then click Finish. When the Configure DB Wizard has finished, the CustomSettings.ini file is configured to perform the selected queries. Listing 11 provides an example of the CustomSettings.ini file after the Configure DB Wizard has finished. Listing 11. The CustomSettings.ini File After the Configure DB Wizard Has Finished [Settings] Priority=CSettings, CPackages, CApps, CAdmins, CRoles, Locations, LSettings, LPackages, LApps, LAdmins, LRoles, MMSettings, MMPackages, MMApps, MMAdmins, MMRoles, RSettings, RPackages, RApps, RAdmins, Default Properties=MyCustomProperty [Default] OSInstall=Y SkipCapture=NO SkipAdminPassword=YES SkipProductKey=YES [CSettings] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=ComputerSettings Parameters=UUID, AssetTag, SerialNumber, MacAddress ParameterCondition=OR
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Performing Deployments Using the MDT DB
469
[CPackages] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=ComputerPackages Parameters=UUID, AssetTag, SerialNumber, MacAddress ParameterCondition=OR Order=Sequence [CApps] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=ComputerApplications Parameters=UUID, AssetTag, SerialNumber, MacAddress ParameterCondition=OR Order=Sequence [CAdmins] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=ComputerAdministrators Parameters=UUID, AssetTag, SerialNumber, MacAddress ParameterCondition=OR [CRoles] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=ComputerRoles Parameters=UUID, AssetTag, SerialNumber, MacAddress
Solution Accelerators microsoft.com/technet/SolutionAccelerators
470
ParameterCondition=OR [Locations] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=Locations Parameters=DefaultGateway [LSettings] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=LocationSettings Parameters=DefaultGateway [LPackages] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=LocationPackages Parameters=DefaultGateway Order=Sequence [LApps] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=LocationApplications Parameters=DefaultGateway Order=Sequence [LAdmins]
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Performing Deployments Using the MDT DB
471
SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=LocationAdministrators Parameters=DefaultGateway [LRoles] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=LocationRoles Parameters=DefaultGateway [MMSettings] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=MakeModelSettings Parameters=Make, Model [MMPackages] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=MakeModelPackages Parameters=Make, Model Order=Sequence [MMApps] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW
Solution Accelerators microsoft.com/technet/SolutionAccelerators
472
SQLShare=Client Table=MakeModelApplications Parameters=Make, Model Order=Sequence [MMAdmins] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=MakeModelAdministrators Parameters=Make, Model [MMRoles] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=MakeModelRoles Parameters=Make, Model [RSettings] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=RoleSettings Parameters=Role [RPackages] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=RolePackages Parameters=Role Order=Sequence
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Performing Deployments Using the MDT DB
473
[RApps] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=RoleApplications Parameters=Role Order=Sequence [RAdmins] SQLServer=R33-dep-01 Instance=R33instance Database=AdminDB Netlib=DBNMPNTW SQLShare=Client Table=RoleAdministrators Parameters=Role For more information about customizing the MDT DB, see: "Automating Deployment to a Specific Computer" in the MDT document Microsoft Deployment Toolkit Samples Guide "Automating Deployment by Location" in the MDT document Microsoft Deployment Toolkit Samples Guide "Automating Deployment by Computer Make and Model" in the MDT document Microsoft Deployment Toolkit Samples Guide "Automating Deployment by Role" in the MDT document Microsoft Deployment Toolkit Samples Guide For more information about customizing each property, see: The corresponding section for each property in the section, "Properties", in the MDT document Toolkit Reference For more information about customizing tables and views in the configuration database, see: The section, "Tables and Views in the MDT DB", in the MDT document Toolkit Reference
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
474
SQLShare
Table
StoredProcedure
Solution Accelerators
Using the Microsoft Deployment Toolkit: Performing Deployments Using the MDT DB
475
Property Parameters
Description specify one or the other. Specifies the selection criteria for returning rows from the query. Conceptually, this property is the WHERE clause in an SQL SELECT statement.
ParameterCondition Specifies the Boolean operation to be performed when you specify more than one selection criterion in the Parameters property. You can select either Boolean AND (the default) or OR operations. If you want to use a Boolean OR operation, you must specify ParameterCondition=OR. Order Specifies the sort order of the rows returned from the query. Conceptually, this property is the ORDER BY clause in an SQL SELECT statement.
Note The SQL query that these properties create returns all columns from the table or view specified in the Table property.
Most of these properties in Table 178 were configured when you created the MDT DB. Listing 12 provides an example of CustomSettings.ini file that creates an SQL query that returns all the configuration information in the Computers view for a computer that matches the SerialNumber or AssetTag of the computer being deployed. Listing 12. The CustomSettings.ini File After the Configure DB Wizard Has Finished [Settings] Priority=CSettings, Default [Default] OSInstall=YES [CSettings] SQLServer=NYC-SQL-01 Instance=SQLEXPRESS Database=MDTDB Netlib=DBNMPNTW SQLShare=SQL$ Table=ComputerSettings Parameters=UUID, AssetTag, SerialNumber, MacAddress ParameterCondition=OR
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
476
The Priority line in the CustomSettings.ini file contains the Computers value, which directs MDT to process the [CSettings] section later in the CustomSettings.ini file. The properties in the [CSettings] section performs the query and returns the result set from the query to be used during the MDT deployment process, such as the computer name or IP address of the target computer. You can review the tables and views in the MDT DB to determine the columns you want to reference in the Parameters property. For more information on the tables and views in the MDT DB, see the section, "Tables and Views in the MDT DB", in the MDT document Toolkit Reference.
Using the Microsoft Deployment Toolkit: Performing Deployments Using the MDT DB
477
6. Create a task sequence step that references the new column as described in Reference the New Column in a Task Sequence Step.
For more information on the tables and views in the MDT DB, see the section, "Tables and Views in the MDT DB", in the MDT document Toolkit Reference.
Tip To determine which views are dependent on a table, look at the Transact-SQL statements used to create the view by right-clicking the view, and then clicking Edit.
Example: How Woodgrove Bank Determined the Tables and Views to Be Modified Woodgrove Bank has decided that it needs to configure the antivirus server based on the location of a target computer. To do this, the banks IT pros need to add an antivirus server configuration setting for each location that they define in the MDT DB. To make the antivirus server information available, they must: Modify the Settings table Retrieve the information through the LocationSettings view
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
478
SQL Server Management Studio. For more information on how to add a column using SQL Server Management Studio, see How to: Insert Columns into Tables (Visual Database Tools) in SQL Server Books Online, included with SQL Server. ALTER TABLE Transact-SQL statement. For more information on how to add a column using the ALTER TABLE Transact-SQL statement, see ALTER TABLE (Transact-SQL) in SQL Server Books Online, included with SQL Server. Other SQL Server management tools. For more information on how to perform this task using other SQL Server management tools, see the documentation for the corresponding tool. To add a new column to a table, you need to know: The columns that you will add to the table The SQL data type for each column you will add to the table If the new column allows Null values The default value for the new column (optional) Check constraints for the new column (optional) For more information on how to determine what to use for each item in the previous list, see the section, Table Column Properties (SQL Server Management Studio), in SQL Server Books Online, included with SQL Server. Example: How Woodgrove Bank Modified Tables Woodgrove Bank will add a new column to the Settings table called AVServer. The AVServer column will contain the computer name of the antivirus server for each location specified in the LocationIdentity table. Woodgrove Bank has decided to create the AVServer column using the information in Table 179. Table 179. Information for the AVServer Column Property Name Allow Nulls Data Type Value AVServer Yes char(20)
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
Using the Microsoft Deployment Toolkit: Performing Deployments Using the MDT DB
479
Note The views provided with MDT do not require modifications, because all these views already return all columns. If you have not created custom views, you can skip this step.
Modify the dependent views in the MDT DB using: SQL Server Management Studio. For more information on how to add a column using SQL Server Management Studio, see the section, Working with Views (Visual Database Tools), in SQL Server Books Online, included with SQL Server. ALTER VIEW Transact-SQL statement. For more information on how to drop a view using the ALTER VIEW Transact-SQL statement, see the section, ALTER View (Transact-SQL), in SQL Server Books Online, included with SQL Server. Other SQL Server management tools. For more information on how to perform this task using other SQL Server management tools, see the documentation for the corresponding tool. To modify the dependent view, you need to know: The columns that you will add to the view The SQL SELECT statement used to create the view For more information on determining what to use of each of the items in the previous list, see the section, Modifying Views, in SQL Server Books Online, included with SQL Server. Even if the views do not require modification, refresh all views that reference modified tables by running the sp_refreshview stored procedure. The sp_refreshview stored procedure is required to update views when the columns in dependent tables or views have changed. For more information about the sp_refreshview stored procedure, see the section, "sp_refreshview (TransactSQL), in SQL Server Books Online, included with SQL Server. Example: How Woodgrove Bank Modified the Dependent Views Woodgrove Bank does not need to modify any views, as the LocationSettings view already returns all columns from the Settings table. However, Woodgrove Bank ran the sp_refreshview stored procedure to refresh the ComputerSettings, LocationSettings, MakeModelSettings, or RoleSettings views, which reference the Settings table. This allows all the views to return the computer name of the antivirus server, if required.
480
This reference initiates the query defined in the query section that you will create in a later step. This step may not be necessary if CustomSettings.ini already has an existing query for the view or table referenced in the query. 2. Add the new column name to the Properties line in the CustomSettings.ini file. This reference informs MDT to resolve the value for AVServer and create a task sequence variable of the same name. The task sequence variable can then be referenced in a task sequence step. 3. Create a query section that was referenced in step 1, which queries the appropriate table or view. Example: How Woodgrove Bank Referenced the New Column in the CustomSettings.ini File Woodgrove Bank queries the LocationSettings view to return the antivirus server for a particular location. The LSettings query already exists in the CustomSettings.ini file after running the Configure DB Wizard. As shown in Listing 13, all Woodgrove Bank needs to do is add AVServer to the Priority line so that MDT creates a task sequence variable of the same name. Listing 13. CustomSettings.ini File to Retrieve Antivirus Server for Woodgrove Bank [Settings] Priority=LSettings, Default Properties=AVServer [Default] OSInstall=YES [LSettings] SQLServer=NYC-SQL-01 Instance=SQLExpress Database=MDTDB Netlib=DBNMPNTW SQLShare=SQL$ Table=LocationSettings Parameters=DefaultGateway
Using the Microsoft Deployment Toolkit: Performing Deployments Using the MDT DB
481
For example, if you create a column named Zip_Code, the task sequence variable will be named Zip_Code. Example: How Woodgrove Bank Referenced the New Column in a Task Sequence Step Woodgrove Bank creates a custom task sequence step to run the antivirus setup program. As a part of the antivirus setup program, the antivirus server name can be provided by using the server parameter and referencing the new column name as a task sequence variable (%AVSERVER%). The command line used to run the antivirus setup program is: avsetup.exe -server %AVSERVER%
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
482
Note The files in Table 180 are recommended shared folder names. Use any name for these shared folders. However, the remainder of the deployment process refers to these shared folders by these names.
Using the Microsoft Deployment Toolkit: Preparing the MDT Migration Resources
483
2. On the Security tab, click Advanced. 3. On the Permissions tab, clear the Allow inheritable permissions from the parent to propagate to this object and all child objects check box. 4. In the Security dialog box, click Remove. 5. On the Permissions tab, click Add. 6. In the Enter the object name to select box, type Authenticated Users, and then click OK. 7. In the Permission Entry for shared_folder dialog box (where shared_folder is one of the shared folders listed in Table 180), in the Apply onto list, click This folder only. 8. In the Permission Entry for shared_folder dialog box (where shared_folder is one of the shared folders listed in Table 180), in the Permissions list, click Allow for the Create Folders/Append Data permission, and then click OK. 9. On the Permissions tab, click Add. 10. In the Enter the object name to select box, type CREATOR OWNER, and then click OK. This action allows domain computers and domain users to access the subfolders they create. 11. In the Permission Entry for shared_folder dialog box (where shared_folder is one of the shared folders listed in Table 180), in the Apply onto list, click Subfolders and files only. 12. In the Permission Entry for shared_folder dialog box (where shared_folder is one of the shared folders listed in Table 180), in the Permissions list, click Allow for the Full Control permission, and then click OK. 13. Repeat steps 1013 for each group that will receive Administrator privileges. The permissions set in these steps work for both LTI and ZTI deployments. In some instances, you may want to further restrict the user accounts that can access the shared folder. You can restrict user accounts for: LTI deployments by substituting Authenticated Users in the steps above with each account you want to have access ZTI deployments by substituting Authenticated Users in the steps above with the network access account in Configuration Manager 2012 or Configuration Manager 2007 R3
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
484
Access is granted to the credentials specified in the: UserID, UserPassword, and UserDomain properties for LTI deployments Deployment Wizard for LTI deployments Network access account used by the Configuration Manager client for ZTI deployments Grant access to the following resources: MDT deployment share for LTI deployments. Configure access to the deployment share created in the Deployment Workbench. Any resources accessed using the ZTIConnect.wsf script for LTI or ZTI deployments. Configure access to resources that are referenced using the ZTIConnect.wsf script.
Note For further guidance on using the ZTIConnect.wsf script, see the MDT document Microsoft Deployment Toolkit Samples Guide.
Any resources on application or database servers for LTI or ZTI deployments. Configure access to applications or databases that are accessed through the SQLServer, SQLShare, and Database properties.
Note Other connections to the same servers, such as Named Pipes and RPC, use the same credentials listed above. Use the ZTIConnect.wsf script to establish these connections.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
485
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
486
The white paper, Deploying and Managing the Windows Deployment Services Update on Windows Server 2003, at http://go.microsoft.com/fwlink/?LinkId=81031 Prepare Windows Deployment Services for LTI deployments by: Adding boot images created in the Deployment Workbench for LTI deployments to Windows Deployment Services as described in Add LTI Boot Images to Windows Deployment Services Pre-staging target computers in Windows Deployment Services for LTI deployments as described in Pre-stage Target Computers for Windows Deployment Services for LTI Deployments Enabling Windows Deployment Services multicast deployment of images in Windows Deployment Services for LTI deployments as described in Enable Windows Deployment Services Multicast Deployment for LTI Deployments
You can add LTI boot images to Windows Deployment Services using the Windows Deployment Services management console or the WDSUTIL.exe tool. For more information about adding an LTI boot image to Windows Deployment Services, see: Add an Image, in Windows Deployment Services Help, which is included in Windows Deployment Services How to Manage Images
Pre-stage Target Computers for Windows Deployment Services for LTI Deployments
You can pre-stage PXE client computers in AD DS domains. When target computers are pre-staged, the computer accounts exist in AD DS domains (also called known computers). Target computers that are not pre-staged do not have computer accounts in AD DS domains (also called unknown computers).
Note Responding to unknown computers is the preferred method for LTI deployments, because it is the simplest method. If you pre-stage the target computers, LTI is unable to use the pre-staged computer account. Only Windows Deployment Services can use the pre-staged computer accounts.
You can configure Windows Deployment Services to respond to computers that are known or unknown. Depending on the Windows Deployment Services
Solution Accelerators microsoft.com/technet/SolutionAccelerators
487
configuration, you may need to pre-stage the target computers. Doing so authorizes Windows Deployment Services to deploy operating system images to the target computer.
Note If Windows Deployment Services is configured to respond to any computer (known or unknown), pre-staging the target computers is not necessary. LTI will not use a pre-staged computer account when joining the domain. Instead, LTI uses the computer name and credentials configured in the task sequence or through the rules process.
To pre-stage the target computers for Windows Deployment Services 1. Click Start, point to Administrative Tools, and then click Active Directory Users and Computers. 2. In the console tree, right-click organizational_unit (where organizational_unit is the name of the OU that will contain the target computer), point to New, and then click Computer. 3. In the New Object Computer dialog box, in the Computer name box, type computer_name (where computer_name is the name of the target computer), and then click Next. 4. In the Managed dialog box, select the This is a managed computer check box. In the Computers unique ID (GUID/UUID) box, type guid_uuid (where guid_uuid is the GUID/UUID of the computer), and then click Next.
Note For more information on locating the GUID for target computers, see the Microsoft TechNet document, Locate the GUID for client computers.
5. In the Host server dialog box, select one of the following options, and then click Next: Any available remote installation server. This option specifies that this computer can be serviced by any RIS/Windows Deployment Services server. The following remote installation server. This option designates a specific server to service the computer. Specify the FQDN of the server running Windows Deployment Services. 6. In the New Object Computer dialog box, review the information displayed, and then click Finish. 7. Close all open windows.
488
computers using multicast from the deployment share, not from a Windows Deployment Services share.
Note MDT supports only the multicast transfer of images stored in the LTI$ distribution share. Images stored in Windows Deployment Services cannot be deployed using multicast transfer.
The multicast types available for use in LTI deployments include: Auto-Cast. In this option, as soon as an applicable client computer requests an installation image, a multicast transmission of the selected image begins. Then, as other client computers request the same image, they are joined to the transmission that has already started. Scheduled-Cast. This option sets the start criteria for the transmission based on the number of client computers requesting an image or a specific day and time.
Note The Multicasting feature in MDT is only supported in Windows Server 2008 R2 or Windows Server 2008 operating systems.
MDT supports multicast-based deployments when MDT and the deployment share are installed on: The computer running Windows Deployment Services. In this scenario, MDT is installed on a computer running Windows Server 2008 R2 or Windows Server 2008 operating systems with the Windows Deployment Services role as described in Enable Multicast Deployments with MDT Installed on the Same Computer as Windows Deployment Services.
Note If the computer on which MDT is installed is running Windows Server 2003, you must configure Windows Deployment Services manually.
A computer other than the computer Windows Deployment Services is running on. In this scenario, MDT and the deployment share are installed on a separate computer from the one running Windows Server 2008 R2 or Windows Server 2008 operating systems with the Windows Deployment Services role as described in Enable Multicast Deployments with MDT Installed on a Different Computer from Windows Deployment Services.
Note If MDT is installed on a separate computer, you must install the Remote Server Administration Tools feature so that the WDSUTIL command-line utility is available. Note You cannot use these scenarios to allow multicast for boot images, as the multicast client is not loaded until after Windows PE is running. LTI only uses multicast to transfer operating system WIM files.
Enable Multicast Deployments with MDT Installed on the Same Computer as Windows Deployment Services
In this scenario, MDT is installed on a computer running Windows Server 2008 R2 or Windows Server 2008 operating systems with the Window Deployment Services server role. In this scenario, MDT can automatically configure Windows Deployment Services to support multicast deployments.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
489
To enable multicast deployments with MDT installed on the same computer as Windows Deployment Services 1. Install Windows Server 2008 R2 or Windows Server 2008 operating systems on the computer that is to be the deployment server. 2. Install the Windows Deployment Services server role on the computer that is to be the deployment server. 3. Install Windows AIK for Windows 7 or Windows AIK Supplement for Windows 7 with SP1 on the computer that is to be the deployment server. 4. Install MDT on the computer that is to be the deployment server. 5. Start the Deployment Workbench. 6. In the Deployment Workbench console tree, click Deployment Shares. 7. In the details pane, right-click deployment_share (where deployment_share is the name of an existing deployment share for which multicast deployments will be enabled), and then click Properties. 8. In the deployment_share Properties dialog box (where deployment_share is the name of an existing deployment share), on the General tab, select the Enable multicast for this deployment share check box, and then click OK.
Note The Network (UNC) path and Local Path text boxes on the General tab must contain valid paths for multicasting to function properly.
9. In the Actions pane, click Update Deployment Share. When completed, the Deployment Workbench creates an Auto-Cast Windows Deployment Services multicast transmission from the deployment share.
Enable Multicast Deployments with MDT Installed on a Different Computer from Windows Deployment Services
In this scenario, Windows Deployment Services and Windows Server 2008 R2 or Windows Server 2008 operating system are all installed on the computer acting as the deployment server, but MDT is installed on another computer. In this configuration, remotely run the WDSUTIL command on the computer running Windows Deployment Services and Windows Server 2008 R2 or Windows Server 2008 operating system. To enable multicast deployments with MDT Installed on a different computer than Windows Deployment Services 1. Install Windows Server 2008 R2 or Windows Server 2008 operating system on the computer hosting the deployment share. 2. Install the Windows Deployment Services server role on the computer hosting the deployment share.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
490
3. Install Windows AIK for Windows 7 or Windows AIK Supplement for Windows 7 with SP1 on a computer other than the computer hosting the deployment share. 4. Install MDT on the same computer as in step 3. 5. On the computer hosting the deployment share, in a Command Prompt window, type the following command, and then press ENTER (where remote_server is the name of the computer running Windows Server 2008 or the later server operating system with the Windows Deployment Services server role and deploy_share_path is the fully qualified path to the root of the deployment share). wdsutil.exe /new-namespace /friendlyname:"BDD Share Deploy$" /server:remote_server /namespace:"Deploy$" /contentprovider:WDS /configstring:"deploy_share_path" /namespacetype:AutoCast When completed, the WDSUTIL tool creates an Auto-Cast Windows Deployment Services multicast transmission from the deployment share.
Preparing Windows Deployment Services for ZTI Deployments Using Configuration Manager 2012
For ZTI deployments using Configuration Manager 2012, configure a Configuration Manager PXE service point on the computer on which Windows Deployment Services is installed. Doing so allows Configuration Manager 2012 to directly service PXE boot requests received by Windows Deployment Services as a PXE service point, which in turn allows target computers to boot images that Configuration Manager 2012 manages using PXE. The PXE service point is a feature of the distribution point site system role, which means that you will configure the computer running Windows Deployment Services as a distribution point site system role. For more information about preparing Windows Deployment Services for ZTI deployments using Configuration Manager 2012, see: How to Deploy Operating Systems by Using PXE in Configuration Manager in the Configuration Manager 2012 Documentation Library, included with Configuration Manager 2012 How to Configure the PXE Service Point in the Configuration Manager 2012 Documentation Library, included with Configuration Manager 2012
Note In addition to the methods described here, you can use traditional Windows Deployment Services methods for responding to PXE boot requests. For more information, see the Windows Deployment Services Help file included with Windows Deployment Services.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
491
Preparing Windows Deployment Services for ZTI Deployments Using Configuration Manager 2007 R3
For ZTI deployments using Configuration Manager 2007 R3, configure a Configuration Manager 2007 R3 PXE service point site system role on the computer on which Windows Deployment Services is installed. Doing so allows Configuration Manager 2007 R3 to directly service PXE boot requests received by Windows Deployment Services as a PXE service point, which in turn allows target computers to boot images that Configuration Manager 2007 R3 manages using PXE. For more information about preparing Windows Deployment Services for ZTI deployments using Configuration Manager 2007 R3, see: How to Deploy an Operating System Image Using PXE in the Configuration Manager 2007 Documentation Library, included with Configuration Manager 2007 R3 How to Configure the PXE Service Point, in the Configuration Manager 2007 Documentation Library, included with Configuration Manager 2007 R3
Note In addition to the methods described here, you can use traditional Windows Deployment Services methods for responding to PXE boot requests. For more information, see the Windows Deployment Services Help file included with Windows Deployment Services.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
492
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
493
App-V Components
App-V full infrastructure has several components. Figure 14 provides a high-level overview of these components in an App-V installation.
Figure 14. App-V full infrastructure components The following list describes each component, beginning from the center of the diagram: App-V Management Server. The App-V Management Server manages and streams virtual applications. It relies on components that can be installed on a single server in proof-of-concept installations. However, in cases where components must be scaled or you cannot install dependencies such as IIS on the App-V Management Server, you can distribute components across other servers. Components on which App-V Management Servers rely include:
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
494
Management web service. The Management web service controls access to the database. At least one instance of the Management web service is required, and the service requires IIS version 6 and Microsoft .NET version 2.0.When designing a production App-V environment, install the Management web service on multiple dedicated servers to provide fault-tolerant access to the management services. Database. The App-V Management Server stores configuration and reporting information in a SQL Server database. This database can be local to the server or can be hosted on a remote database server. If the database will be hosted on a remote SQL Server machine, connect it by a fast network connection and performance test it to make sure that the database server will respond appropriately. All App-V management information regarding application publishing and usage tracking is stored in this database. Configure the database that hosts the App-V database with fault tolerance and run it on a separate server from other management components. App-V Management Console. Use the App-V Management Console to manage App-V servers and virtualized applications. The console requires a connection to the Management web service to effect changes to the configuration information in the App-V data store. Install the App-V Management Console on computers used for App-V management. The App-V Management Console is based on Microsoft Management Console (MMC) version 3.0 and requires installation of the downloads packaged with the Microsoft Help and Support article, MMC 3.0 update is available for Windows Server 2003 and for Windows XP. App-V Streaming Server. The App-V Streaming Server is a slim version of a full App-V Management Server that only performs application delivery. It streams applications using Real Time Streaming Protocol (RTSP) or Transport Layer Security + RTSP (RTSPS) in branch offices where it is not feasible or desirable to install a complete App-V Management Server. Clients still communicate with an App-V Management Server located at a central location to obtain publishing information and for reporting, but they stream applications from the local App-V Streaming Server. IIS and Windows file servers can also be used as streaming servers. IIS servers can stream virtual applications to clients using Hypertext Transfer Protocol (HTTP)/HTTP over Secure Sockets Layer (HTTPS). Windows file servers can stream virtual application to clients using the Server Message Block (SMB) protocol. IIS and file servers are more scalable than App-V Streaming Servers. They can potentially support approximately 10,000 active application streams, while typical App-V Streaming Servers support approximately 1,000 active streaming sessions. App-V Sequencer. The process of packaging an application for use with the App-V infrastructure is known as sequencing. App-V has a dedicated packaging utility known as the App-V Sequencer. The App-V Sequencer prepares applications for use in virtual environments and separates each
Solution Accelerators microsoft.com/technet/SolutionAccelerators
495
application into feature blocks. The App-V Management Server or App-V Streaming Server streams the sequenced applications feature blocks to the App-V Desktop Client. Sequencing applications is by far the most timeconsuming aspect of application virtualization. App-V Desktop Client. The App-V Desktop Client manages applications on users client computers. It also streams applications from an App-V Management Server or Streaming Server when running in Streaming or Full Infrastructure modes (see Choose a Deployment Method). Finally, the App-V Desktop Client provides the virtual environment for the sequenced application. App-V Terminal Service Client. App-V applications can be packaged and deployed through Terminal Services. The App-V Client for Terminal Services is optimized to run in a Terminal Services environment. An App-V Terminal Services Client license is required to run virtualized applications on a terminal server. The App-V Desktop Client license that comes with the Microsoft Desktop Optimization Pack is required to run virtual applications on desktop or portable computers and is independent of the App-V Terminal Services Client license.
App-V Limitations
When using App-V in the scope of a larger desktop-deployment project, consider the following limitations: Support for 64-bit architectures. The current version of App-V is optimized for 32-bit (x86) platforms; thus, the sequencer and client cannot are not supported on any 64-bit (x64) platforms. A 64-bit version of the client is not yet available. You can install the App-V Management Console and Streaming Server on 64-bit server operating systems, but these components are only supported in Windows 32-bit On Windows 64-bit (WOW64). Application cache limit. The client limits the total space used for virtual applications to 1 TB in size, which means that the total size of all files deployed to one client computer cannot exceed 1 TB. It is possible to remove an application that is no longer used to free space in the cache. Application size limit. SFT files are limited to 4 GB. Large applications that result in SFT files that exceed 4 GB in size after sequencing are not supported. Applications that start as a service. The client can only start applications after a user has logged on to the client computer, which means that applications that run as a service when the computer starts cannot be sequenced into virtual applications. App-V can, however, virtualize applications that install services as dependencies. Support for operating systemintegrated applications. Applications that are part of the operating system cannot be sequenced. A typical example is
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
496
Internet Explorer. It is possible to sequence a plug-in, however, such as Microsoft Silverlight. Application compatibility. Application virtualization does not remediate compatibility problems between Windows and legacy applications. It does, however, remediate compatibility problems between two applications. For example, if two applications use a different Java Runtime Engine version, they would typically not run on the same client computer. When sequenced, they now can run on the same client computer at the same time. Device drivers. App-V cannot virtualize device drivers. If an application installs a device driver, it may be possible to install the device driver locally and sequence the core application. COM+ or COM dynamic link library (DLL). Applications that use COM+ or COM DLL surrogate virtualization (DLLhost.exe) cannot be virtualized. Applications with licensing enforcement tied to machine computer. Applications that tie the license to the systems MAC address should not be virtualized with App-V. Messaging Application Programming Interface (MAPI) virtualization. Virtualized applications that use MAPI will use the MAPI interfaces in the underlying client operating system. MAPI resourcesfor example, profiles are shared by all MAPI applications on a client computer rather than isolated. Click-once updates. Applications that use click-once technology for application updates should not be virtualized by using App-V.
Planning
In this guide, the primary planning focus is on App-V client deployment and application sequencing. Also, this section briefly discusses infrastructure planning as it relates to the overall deployment project. The high-level steps for planning application virtualization as part of a desktop-deployment project are listed below. Additional guidance is available in the following white papers, available at http://technet.microsoft.com/en-us/appvirtualization/cc843994.aspx: App-V 4.5 Infrastructure Planning and Design Microsoft Application Virtualization 4.6 Sequencing Guide Virtual Application Management with Microsoft Application Virtualization 4.5 and System Center Configuration Manager 2007 R2 To plan application virtualization 1. Plan the application virtualization infrastructure. Determine where to store applications and prepare the network. Also, consider whether to use Configuration Manager 2012 Configuration Manager 2007 R3 and how to service branch offices during deployment.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
497
2. Plan the application App-V Sequencer environment. The App-V Sequencer packages applications for deployment as virtualized applications. In this step, determine the requirements for sequencing applications. 3. Choose an application deployment method. You can deploy virtualized applications in any of three ways: streaming, stand-alone, or a combination of both. In this step, choose the deployment method. 4. Plan how to deploy the App-V Desktop Client. Determine how to deploy the App-V Desktop Client to client computers. For example, include the client in the operating system images, or deploy it by using Configuration Manager 2012 or Configuration Manager 2007 R3. 5. Choose applications to sequence and deploy. Not every application is suitable for application virtualization. In this step, choose which applications will be sequenced and whether they are suitable for virtualization or particularly difficult to sequence. This task can occur first or concurrently with the other tasks in this checklist.
498
Application Management with Microsoft Application Virtualization 4.5 and System Center Configuration Manager 2007 R2.
Note When using Configuration Manager for streaming delivery, a virtual application is not streamed until the user launches the application for the first time. When using streaming delivery, it is possible for a user to receive program shortcuts for virtual applications, and then disconnect from the network before launching virtual applications for the first time. If the user tries to launch the virtual application while the client computer is offline, the user will receive an error and will not be able to launch the virtualized application, because a distribution point is not available to stream the application. The application will be unavailable until the user reconnects the client computer to the network and launches the application. This scenario can result in a negative user experience, but it can be avoided by using the local delivery method for virtual application delivery to client computers.
Network requirements. Streaming applications requires that client computers be connected to the App-V server infrastructure. The connections must be reliable, and they must provide the bandwidth necessary to allow the peak number of clients in a given location to access applications. Application streaming can also make intensive use of network bandwidth. Plan streaming deployment of virtual application appropriately to avoid overloading the network. For detailed guidance on planning an App-V infrastructure, see the Infrastructure Planning and Design guide, Microsoft Application Virtualization 4.5 at http://www.microsoft.com/ipd, which provides step-by-step planning and design guidance for the topics that this section introduces.
499
not available. This is ideal in small deployment scenarios in which a complete App-V Management Server is not available. This method requires a custom application-publishing solution, such as a login script or a non-Microsoft electronic software distribution (ESD) system, to publish applications on the client (for example, configure program shortcuts, file type associations, and so on). Full Infrastructure mode. Applications are streamed to the client, and a complete App-V Management Server provides features to track and manage application usage. These features include assigning applications to AD DS security groups, enforcing licenses, and reporting application usage. Stand-alone mode. When using ESD systems or deploying applications to disconnected, unmanaged client computers, package applications as stand-alone MSI files. For guidance on choosing deployment methods, see the Infrastructure Planning and Design document, Microsoft Application Virtualization 4.5, at http://www.microsoft.com/ipd. This guide helps you evaluate the benefits and costs of each method and choose the right method for specific requirements. Additionally, when using App-V with Configuration Manager 2012 or Configuration Manager 2007 R3, you can stream applications or deliver them locally, downloading and executing them on the local computer. For more information about deploying virtualized applications with Configuration Manager 2007 R3, see the white paper, Virtual Application Management with Microsoft Application Virtualization 4.5 and System Center Configuration Manager 2007 R2.
500
computers, users will have access to the applications they have the rights to use based on group membership. The down side of using this method to assign applications to users is the tendency to create many security groupsoften, a security group for every application. When a user is a member of too many security groups, the maximum Kerberos token size can be exceeded. You can adjust the ticket size to allow a user to be a member of more user groups; however, managing many groups can become an administrative burden. See the Microsoft Support article, New resolution for problems with Kerberos authentication when users belong to many groups, for details on this issue. The best practice for using security groups when deploying virtual applications is to align groups to a job role rather than have each application assigned its own group. For example, a customer support employee would need access to an issue-tracking line-of-business application and the customer database application. By associating both applications with a group for customer support, the employees receive their applications by administrators adding users to a single security group.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
501
Figure 15. Automatically loading applications The following command installs the App-V Desktop Client in Unattended mode and should be used only for portable computers. (See Plan the Client Deployment for more information about installing the App-V Desktop Client.) To ensure that applications automatically load, the command uses the options autoloadonlogin and autoloadtarget=All). "setup.exe" /s /v"SWICACHESIZE=\"4096\" SWIPUBSVRDISPLAY=\"Production System\" SWIPUBSVRTYPE=\"RTSP\" SWIPUBSVRHOST=\"PRODSYS\" SWIPUBSVRREFRESH=\"on\" SWISKIPDATASETTINGS=\"false\" SWIGLOBALDATA=\"D:\AppVirt\Global\" SWIUSERDATA=\"^%HomeDrive^%\Windows\Application Virtualization Client\" SWIFSDRIVE=\"Q\"" "AUTOLOADONLOGIN" "AUTOLOADTARGET=\"ALL\"" Using MDT, either install the App-V Desktop Client on Windows images or deploy the client when deploying images to the production environment (recommended). MDT can easily determine whether the destination client computer is a portable computer. Then, one App-V Desktop Client installation command can be targeted at desktop client computers and a different installation command targeted at portable computers. For more information about filtering application installations, see Plan the Client Deployment. Of course, you can easily target portable computers when using Configuration Manager 2012 or Configuration Manager 2007 R3.
502
also install the client by installing the App-V Desktop Client MSI file. Before installing the MSI file, though, ensure that the following prerequisite components are installed: Microsoft Visual C++ 2005 with SP1 Redistributable Package (x86). Visit the Microsoft Download Center for Microsoft Visual C++ 2005 SP1 Redistributable Package (x86). The command to install this component silently is: VCREDIST_X86.EXE /Q:A /C:"VCREDI~3.EXE /Q:A /C:""MSIEXEC /I VCREDIST.MSI /QN""" MSXML version 6.0 with SP1 (x86). Visit the Microsoft Download Center for more information about installing Microsoft Core XML Services (MSXML) 6.0. The command to install this component silently is: MSIEXEC /I MSXML6_x86.MSI ALLUSERS=TRUE REBOOT=SUPPRESS /QN Microsoft Application Error Reporting. The installation program for this software is included in the Support folder in the self-extracting archive file. The command to install this component silently is: MSIEXEC /I DW20SHARED.MSI ALLUSERS=TRUE REBOOT=SUPPRESS /QN
503
deployment method is most convenient in smaller homogenous deployments. It is not recommended in environments that have both desktop computers and portable computers, each with different configuration requirements.
Note A new Group Policy template is available for configuring the App-V Desktop Client. You can download the Microsoft Application Virtualization Administrative Template (ADM Template) from the Microsoft Download Center. Warning When installing the App-V Desktop Client in a Windows image, ensure that the App-V cache is empty in the image. Preloading applications in the image is not supported.
504
Application SME. The application SME has knowledge of the applications he or she is assigned. This SME should understand the installation process, the configuration process, how the application works, its inputs and outputs, how the application is updated, and how the application affects the business. The application SME is familiar with the ACT and tools used to assess the application. For App-V, the application SME works closely with the sequencing SME to make sure that applications are properly sequenced. This means testing features in the application for problems after sequencing.
Developing
During development, prepare the development environment for App-V, sequence applications, and prepare them for deployment. The high-level steps for developing application virtualization as part of a desktop-deployment project are shown below. To develop application virtualization 1. Install and prepare App-V for sequencing and deployment. Install the App-V Management Server and Sequencer in the lab. Also, prepare the App-V Desktop Client for deployment to destination client computers. 2. Sequence applications. Use the App-V Sequencer to package applications for deployment. 3. Prepare applications for deployment. After sequencing applications, prepare them for deployment. In this step, choose to deploy them to an App-V Management Server or Streaming Server, or choose to integrate them into a Windows image.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
505
This section does not describe deploying an App-V infrastructure in a production environment. A variety of topologies is possible, depending on requirements. For step-by-step guidance on deploying an App-V infrastructure in a production environment, see the Infrastructure Planning and Design guide Microsoft Application Virtualization 4.5 at http://www.microsoft.com/ipd.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
506
Figure 16. Enabling Microsoft Update for App-V 6. On the Registering Information page, type a user name and the name of the organization. Click Next. 7. On the Setup Type page, select Typical, and then click Next. Doing so installs the: App-V Management Server App-V Management Console Management web service 8. On the Configuration Database page, shown in Figure 17, select a database server from the list of available servers, or add a server by selecting Use the following host name to access the database server and typing the server name and port number. Click Next.
Note When naming a server, do not use the forward slash (/) in the server name.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
507
Figure 17. Choosing a database server 9. On the Configuration Database page, shown in Figure 18, perform one of the following tasks, and then click Next: Select Use an existing database, and then choose a database from the list. If a database is available, Setup will upgrade it. Select Create a new database, and then type a name for the database.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
508
Figure 18. Creating a new database 10. On the Connection Security Mode page, select an existing certificate from the drop-down list, and then click Next. If no public key infrastructure (PKI) is available in the lab, the options on this page will not be available.
Note The Connection Security Mode page requires the server to have a server certificate provisioned to it from a PKI. If a server certificate is not installed on the server, this option is unavailable. The Network Service account must have Read access to the certificate being used. For more information, see the App-V blog entry, Setting up an Application Virtualization Server in "Secure Mode". In a lab environment, using a secure connection is recommended but not essential.
11. On the TCP Port Configuration page, shown in Figure 19, perform one of the following tasks, and then click Next: Select Use default port (554) to use the default port. Select Use custom port, and then type the port to use in the Port box.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
509
Figure 19. Configuring the TCP port 12. On the Administrator Group page, type the name of the security group authorized to manage this server from the App-V Management Console (for example, Domain Administrators, App-V Developers) in the Group Name box, and then click Next. Confirm the group specified, and then click Next. 13. On the Default Provider Group page, type the name of the group authorized to use the App-V Management Server (for example, Domain Users, App-V Testers), and then click Next. 14. On the Content Path page, shown in Figure 20, specify the location on the server on which application content, such as SFT files, will be stored, and then click Next.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
510
Figure 20. Choosing a content folder 15. On the Ready to Install the Program page, click Install to install the App-V Management Server. 16. On the Installation Wizard Completed page, click Finish.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
511
Operating system. The same operating system as the client computers; the App-V Sequencer runs on the following x86 operating systems (the sequencer is not supported on 64-bit operating systems or WOW64 on 64-bit operating systems): Windows XP Professional with SP2 or SP3 Windows Server 2003 Windows Vista
Additional software. Software installed on the App-V Sequencer computer should match the software installed on the target computers as closely as possible. For example, if Microsoft Office Outlook is installed locally on each client computer, it should also be installed on the App-V Sequencer computer. In practice, the lab will likely have multiple App-V Sequencer computers: one to represent each configuration to which virtual applications will be deployed. And some applications will require physical computers rather than VMs to sequence. Additionally, consider implementing a method for quickly restoring a sequencing computers image after sequencing an application. Similar to undo disks in Virtual Server 2005 R2, this capability will streamline the sequencing process considerably. To install the App-V Sequencer on a computer 1. Copy the App-V Sequencer installation files to the computer on which it will be installed. 2. Start the Sequencer Installation Wizard by running Setup.exe from the location containing the source files. If the Visual C++ with SP1 Redistributable Package (x86) is not detected prior to installation, Setup.exe will install it. 3. On the Welcome page, click Next. 4. On the License Agreement page, select I accept the terms in the license agreement to accept the terms of the license agreement. Click Next. 5. On the Destination Folder page, shown in Figure 21, click Next to accept the default installation folder.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
512
Figure 21. Choosing a destination folder 6. To specify a different destination folder, click Change, and then specify the installation folder that will be used for the installation.
7. On the Ready to Install the Program page, click Install to start the
installation. 8. On the InstallShield Wizard Completed page, click Finish to close the installation wizard and open the App-V Sequencer. To close the installation wizard without opening the App-V Sequencer, clear the Launch the program check box, and then click Finish.
Sequence Applications
Successfully sequencing App-V applications is a key to a robust App-V deployment. The following sections contain basic, step-by-step guidance for sequencing applications. These are the essential steps to preparing applications. Additional information on sequencing applications and working with applications that prove exceptional is available at the following resources: Best practices to use for sequencing in Microsoft App-V (SoftGrid) The App-V blog Sequencing Best Practices Microsoft SoftGrid Application Virtualization - MCS Sequencing Guidelines The white paper Microsoft Application Virtualization 4.6 Sequencing Guide.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
513
Stream Applications
Perform the following steps to sequence an application that will be streamed from an App-V Management Server or Streaming Server: 1. Start the App-V Sequencer by clicking Start, and then pointing to All Programs. Point to Microsoft Application Virtualization, and then click Microsoft Application Virtualization Sequencer. If running the App-V Sequencer in Windows Vista, click Continue in the User Account Control dialog box. 2. From the File menu, click New Package to start the Sequencing Wizard. 3. On the Package Information page, shown in Figure 22, type the appropriate information in the following boxes, and then click Next: Package Name. Type a name that describes the package. Comments. Add comments to describe the package details. Show Advanced Monitoring Options. Select this option to change the default package block size, allow Windows Update during monitoring, or rebase DLLs.
Figure 22. Describing the package 4. Exit all programs that are not needed, and then close all windows that are not needed. If using Windows Vista, disable the Search Indexing service. 5. On the Monitor Installation page, click Begin Monitoring. 6. In the Browse for Folder dialog box, choose the folder in which the application will be installed.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
514
If no directory has been created to store the package root file, create a new folder. 7. Install the application using the documented application installation procedure. 8. Verify that each program that is required as part of the applications works correctly. If necessary, start each program several times. 9. On the Monitor Installation page of the Sequencing Wizard, click Stop Monitoring. When the Sequencing Wizard indicates that it is finished monitoring, click Next. 10. On the Additional Files to Map to Virtual File System (VFS) page, click Next. Optionally, add files to the VFS by clicking Add. 11. On the Configure Applications page, customize the shortcuts to be included in the package as appropriate for the environment. As shown in Figure 23, this page already includes shortcuts and file associations that the Sequencing Wizard detected when the applications were installed. Remove shortcuts that trigger update actions or that are not needed, and then click Next.
Figure 23. Customizing shortcuts and file associations 12. On the Launch Applications page, click each program in turn, and then click Launch. Optionally, click Launch All to exercise all applications in the list. Perform the operations in each program as appropriate for the functionality to be included in FB1, which is streamed immediately to the App-V Desktop Client. When all necessary programs have been started, click Next.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
515
13. Click Finish to complete the Sequencing Wizard. 14. Make any customizations to the VFS, registry, and exclusions. Then, customize the following tabs: Properties Deployment Change History Files Virtual Registry Virtual File System (see Figure 24) Virtual Services OSD
Figure 24. Editing the VFS 15. From the File menu, click Save As. Choose a folder, and then type a name for the project file (.sprj). Click Save.
Stand-Alone Applications
The procedure for creating stand-alone applications is similar to creating streaming applications. If the application is never deployed to an App-V Management Server or a Streaming Server, there is no need to exercise each
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
516
application. If the entire application will always be loaded, there is no need to create FB1 and FB2. To distribute the stand-alone application by using an ESD system, create an MSI file for the sequenced application. From the Tools menu, click Create MSI, as shown in Figure 25. The App-V Sequencer creates an MSI file in the project folder using the name of the project file.
517
See the section Stream Applications. 2. Sequence secondary applications, making sure the primary application has been installed on the sequencing computer first. This step ensures that the sequencer has all the application programming interfaces and libraries needed for the secondary application to install various integrations with the primary application. Using Microsoft Office as an example, Microsoft Office has been installed on the sequencing computer before sequencing the secondary application. It is installed natively, meaning that it has not been virtualized. 3. After sequencing both applications, perform one of the following tasks: If streaming the application, publish them to a distribution point and complete the remaining steps on the App-V Streaming Server or Management Server. If using Stand-alone mode, package applications as MSI files, then complete the remaining steps on the sequencing computer before generating the MSI file. 4. Edit the OSD file for the secondary application. Copy the tag containing the <CODEBASE> tag to the clipboard. 5. Open the primary applications OSD file. 6. After the </VIRTUALENV> tag, add a <DEPENDENCIES></DEPENDENCIES> container, and then paste the <CODEBASE> tag from the clipboard into it. 7. Remove from the <CODEBASE> tag all but the following parameters: HREF, which is the property that defines the URI for the package GUID, which is the package ID SYSGUARDFILE, which is the property that determines the relative path to the OSGUARD.cp file MANDATORY, which is a Boolean field that you must add manually and that determines whether the secondary package is required for the primary package to run. (A package is optional by default.) The XML file should look like this: <CODEBASE HREF="RTSP://appvserver:554/PLUG-IN.001/PLUGIN.001.sft" GUID="B8BCA34F-25C2-4CC2-9623-CA366C801E89" SYSGUARDFILE=" PLUG-IN.001\osguard.cp" MANDATORY="YES"/> 8. Verify that the primary application is properly interfacing with the secondary application.
Upgrade Applications
To upgrade an application that has been sequenced, open the App-V Sequencer. From the File menu, click Open for Package Upgrade, as shown in Figure 26.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
518
Follow the same steps used to sequence an application as described in Stream Applications.
Figure 26. Upgrading an application After sequencing the upgrade, save and copy the updated files to the App-V Management Server from which it can be loaded using the Dynamic Update feature of App-V, which dynamically upgrades a cached application.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
519
Figure 27. Installing dependencies 2. On the Welcome page, click Next. 3. On the License Agreement page, select I accept the terms in the license agreement, and then click Next. 4. On the Setup Type page, perform one of the following tasks: Click Typical to use the default installation options. If you select this option, click Next, and then click Install to begin installing the client with default options. Click Custom to configure the App-V Desktop Client settings; then, click Next. 5. On the Destination Folder page, optionally click Change to change the installation folder. Click Next. 6. On the Application Virtualization Data Location page, shown in Figure 28, perform any of the following tasks, and then click Next: In the Global Data Location box, type the path of the folder to contain data shared by all users. Click Change to browse to a folder. Choose a drive letter from the Preferred Drive Letter list. In the User-specific Data Location box, type a path to store userspecific data.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
520
Note This path must be different for every user, so it should include a user-specific environment variable, a mapped drive, or something else that will resolve to a unique path for each user.
Figure 28. Configuring data locations 7. On the Cache Size Settings page, perform one of the following tasks, and then click Next: Click Use maximum cache size. Type a numeric value from 100 1,048,576 (1 TB) in the Maximum size (MB) box to specify the maximum size of the cache. Click Use free disk space threshold. Type a numeric value to specify the amount of free disk space in megabytes that the App-V Desktop Client must leave available on the disk. This allows the cache to grow until the amount of free disk space reaches this limit. The value shown in Free disk space remaining indicates how much disk space is currently unused. 8. In the following sections of the Runtime Policy Package Configuration page, shown in Figure 29, configure the parameters that affect how the AppV Desktop Client behaves during run time, and then click Next: Application Source Root. Specifies the location of application content, such as SFT files; if used, it overrides the protocol, server, and port portions of the CODEBASE HREF URL in the OSD file.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
521
Application Authorization. If you select the Require User authorization even when cached check box, users simply connect to a server and validate their credentials at least once before they are allowed to start each virtual application. If you select the Allow streaming from file check box, streaming from file will be enabled. If the check box is cleared, streaming from files is disabled. Select this check box if the Application Source Root box contains a UNC path in the form \\server\share. Automatically Load Application. This section controls when and how automatic background loading of applications occurs.
Figure 29. Configuring run time package policies 9. On the Publishing Server page, select the Set up a Publishing Server now check box to define a publishing server; then, click Next. To define a publishing server, type the following information: Display Name. Type the name to display for the server. Type. Select the server type from the drop-down list of server types. Host Name and Port. Type the host name and the port in the corresponding boxes. When selecting a server type from the drop-down list, the Port box automatically fills with the standard port numbers. To change a port number, select the server type from the list, and then change the port number accordingly.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
522
Path. If you selected either Standard HTTP Server or Enhanced Security HTTP Server, type the complete path to the XML file containing publishing data in this field. If you selected either Application Virtualization Server or Enhanced Security Application Virtualization Server, this box is not active. Automatically contact this server to update settings when a user logs in. Select this check box if this server will be queried automatically when users log in to their account on the App-V Desktop Client. 10. On the Ready to Install the Program page, click Install. A page showing the installation progress is displayed. 11. On the Install Wizard Completed page, click Finish.
523
Deploy Applications
When sequenced, test each application in a lab environment before deploying it to production client computers. Testing a virtual application is a similar process to testing application compatibility: Exercise each featureparticularly features that interface with the operating systemand verify that it works as expected. App-V provides multiple methods for deploying applications. You chose one or more deployment methods earlier in this guide (see Choosing a Deployment Method). The following sections describe how to deploy applications using each of the methods available.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
524
Figure 30. Configuring general application settings 4. On the Published Shortcuts page, shown in Figure 31, choose where to publish application shortcuts for the user, and then click Next.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
525
Figure 31. Publishing application shortcuts 5. On the Access Permissions page, shown in Figure 32, choose which AD DS groups will be assigned the application, and then click Next.
Figure 32. Granting access to applications 6. Click Finish. The application will be imported into the database.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
526
The App-V Desktop Client still requires a connection to App-V Management Server. The connection with the App-V Management Server will provide application usage and enforce log usage and the refresh interval policy. When the client has satisfied the management requirements to stream applications, the client retrieves the OSD and ICO files from the local App-V Streaming Server. The local streaming server has been configured in the clients registry. To manually configure a client computer, open the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SoftGrid\4.5\Client\Configu ration registry subkey in Registry Editor (Regedit.exe), edit the values shown in Table 181, and then restart the client computer. Table 181. Values for Manually Configuring the Client Computer Registry value Configuration data ApplicationSo urceRoot Explanation
RTSP://STREAMING_SERVER_NAME_FQDN This is the :554 RTSP path to the App-V Streaming Server. If the server is a secure server, remember to use RTSPS with port 322.
IconSourceRo \\STREAMING_SERVER_NAME_FQDN\Conte The share ot nt name on the App-V Streaming Server or URL from which the client will copy icon files. OSDSourceRo \\STREAMING_SERVER_NAME_FQDN\Conte The share ot nt name on the App-V Streaming Server or URL from which the OSD file will be streamed.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators
527
A Group Policy administrative template is also available to configure these values on a large scale. For addition information on importing the administrative template, see the Windows Server 2003 or Windows Server 2008 documentation. Note that there is no need to modify the sequenced application OSD files after the client has been configured: The client automatically overrides the OSD default streaming server.
The following is an example of using Sftmime to install an application: SFTMIME ADD PACKAGE:package-name /MANIFEST manifest-path
Stabilizing
The primary focus in this phase is testing and stabilizing the virtual application deployment files. The high-level steps for stabilizing application virtualization as part of a desktop-deployment project are shown below. To stabilize application virtualization 1. Test the client environment. Validate that the client is properly installed and applications run properly when deployed to the client. Also, test that users data files are saved.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
528
2. Test App-V Desktop Clients and application distribution. Test the App-V Desktop Client deployed in Windows images. Also, test application distribution to ensure that applications are available as expected.
Note An important part of stabilizing an App-V solution for desktop deployment is ensuring security and availability. For detailed information about planning and designing a secure, highly available virtualization infrastructure, see the white paper App-V 4.5 Infrastructure Planning and Design Guide.
529
Configuring the App-V Desktop Client to use an App-V Streaming Server at one site can cause the client to fail or experience slow performance at other sites. In large organizations, it is common to set up a central location from which the sequencing team will package applications and distribute them to multiple sites. Packages can be quite large. Using technology such as DFS to replicate packages among sites is recommended. Some customers prefer to use a tool like Robocopy (http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff4ae7-96ee-b18c4790cffd&DisplayLang=en) to replicate App-V content. Make sure that there is sufficient bandwidth to transfer files among sites. Typically, bandwidth should be reserved for file replication during off hours. When sequencing applications for a multi-site environment, avoid hard-coded local variables, such as server names. Using exact server names often causes the application to break or experience performance problems when run on a remote site. Sites can also experience problems if applications were packaged on a computer with one set of regional settings but run with different settings at the remote site. To mitigate these problems, develop a test plan to validate that applications function as expected at each site. Application dependencies can range from hardware dongles to applications sequenced into packages, using DSC, to applications found on the local client computer. It is important to test applications at different sites, especially if each site has different Windows images deployed. If dependencies for an application differ, it may cause instability.
Deploying
The primary focus in this phase is rolling out App-V infrastructure to the production environment and distributing applications. Also, monitor App-V services as the rollout progresses. The high-level steps for deploying application virtualization as part of a desktop-deployment project are shown below. To deploy application virtualization 1. Install App-V servers at each site. Install the planned App-V servers at each site. At central locations, for example, consider installing full App-V Management Servers. At branch offices, consider installing App-V Streaming Servers. 2. Distribute applications to each site. Implement the planned application distribution strategy. 3. Monitor key App-V services during deployment. During deployment, monitor App-V to catch problems early. A Microsoft System Center Operations Manager 2007 Management Pack is available for App-V version 4.5.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
530
SQL Server (MSSQLSERVER) (App-V instance) World Wide Web Publishing service
Table 183. Key App-V Streaming Server Services Service App-V Streaming Server Description Responsible for servicing client requests for streamed applications
531
Description Streams and manages applications on the client computer Runs virtual services while a virtual application that includes a service is running on the App-V Desktop Client
A System Center Operations Manager Management Pack is available for App-V version 4.5. It does not support earlier versions of App-V and only works with System Center Operations Manager. The Management Pack is designed to maximize App-V availability for handling client requests. It monitors server health but does not monitor App-V Desktop Clients.
Solution Accelerators
microsoft.com/technet/SolutionAccelerators