Windows 7 Deployment: with MDT 2010 and SCCM 2007
Assesses, deploys, and updates servers, client computers, and devices—across physical, virtual, distributed, and mobile environments.

ManU
Founder
Founder
Posts: 98
Joined: Sat Sep 26, 2009 9:57 am
Location: India

Windows 7 Deployment: with MDT 2010 and SCCM 2007

by ManU » Tue Apr 20, 2010 2:34 pm

Introduction

Microsoft® Deployment Toolkit (MDT) 2010 provides technology for deploying Windows® operating systems, the 2007 Microsoft Office system, and Microsoft Office 2003. This quick-start guide helps you quickly evaluate MDT 2010 by providing condensed, step-by-step instructions for using it to install the Windows 7 operating system with Microsoft System Center Configuration Manager 2007. This quick start guide demonstrates how to perform the New Computer deployment scenario, which covers the deployment of Windows 7 to a new computer.

Note: The infrastructure setup described here is for evaluation purposes and not intended for a production system

Prerequisites
MDT 2010 has the following prerequisites.
Required Software
Windows Server 2008
Windows 7
SCCM 2007 with Service Pack 2
Windows PE which is included in SCCM 2007 with Service Pack 2
Networking services, including DNS and DHCP
Active Directory® Domain Services (AD DS)


Computer Configurations

The computer runs Windows Server 2008,with MDT 2010 infrastructure and SCCM2007 with the following networking services installed:
•AD DS
•DNS Server
•DHCP Server
•Windows Deployment Services
The system resources of the computer are as follows:
•Processor running at 1.4 gigahertz (GHz) or faster
•1 gigabyte (GB) or more of physical memory
•One disk partition that has 16 GB or more of available disk space; it will become the drive C partition
•One CD-ROM or DVD-ROM drive that will be assigned the drive letter D
•One disk partition that has 16 GB or more of available disk space; it will become partition E.

The reference computer, which runs no current operating system. The system resources of the computer are as follows:
•Processor running at 1.4 GHz or faster
•1 GB or more of physical memory
•16 GB or more of available disk space

The target computer, which runs no current operating system. The system resources of the computer are as follows:
•Processor running at 1.4 GHz or faster
•1 GB or more of physical memory
•16 GB or more of available disk space

Step 1: Prepare the Prerequisite Infrastructure

Install the prerequisite software, server roles, and services on this computer before installing MDT 2010

Step 1-1: Install Windows Server 2008
Install Windows Server 2008 with NTFS Disc volumes and static TCP/IP settings

Step 1-2: Create Required Folders and Network Shares
1. Create the folders and shares as listed in any drive and set appropriate permissions for these folders

Source$
Images$
Capture$
Packages$
Source$\CustomSettings
Source$\Drivers
Source$\Windows_7
Source$\MDT_2010


2.Copy the device drivers for the reference computer and the target computer to \Source$\Drivers

Step 1-3: Obtain the Required Software
Besides Windows Server 2008, Windows 7, and SCCM2007, certain software is required to evaluate MDT 2010. The list below shows the software required to perform deployments using MDT 2010

1. MDT 2010: Available at http://go.microsoft.com/fwlink/?LinkId=159061
2. Windows 7 distribution files from the product media
3. Device drivers required for the target computer
4. SQL Server 2005 SP2
5. SCCM2007 with SP2
6. WebDAV version 7.5

Step 1-4: Install the AD DS Server Role
AD DS is required to provide authentication and act as a repository for configuration values for the Microsoft products and technologies that MDT 2010 uses, such as SQL Server 2005 and System Center Configuration Manager.
To install AD DS, run the DCPROMO Wizard to configure the computer as a domain controller. Install AD DS with Windows Server 2008 forest functional level

Step 1-5: Install the DHCP Server Server Role
The DHCP Server server role is required to provide automatic IP configuration for the target computers

Step 1-6: Install the Web Services (IIS) Server Role
Install the Web Services (IIS) server required for SQL Server 2005 and System Center Configuration Manager

Step 1-7: Enable the WebDAV Extension in IIS
System Center Configuration Manager requires that the WebDAV extension be installed and enabled on the management points and distribution points for BITS.

To enable WebDAV and create an Authoring Rule
1.Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
2.In the Connections pane, expand the Sites node in the console tree, and then click SMSWEB (if you are using a custom Web site) or Default Web Site (if you are using the default Web site for the site system).
3.Click Features View at the bottom of the console. In the workspace, double-click WebDAV Authoring Rules.
4.When the WebDAV Authoring Rules page appears, in the Actions pane, click Enable WebDAV.
5.When WebDAV has been enabled, in the Actions pane, click Add Authoring Rule.
6.In the Add Authoring Rule dialog box, under Allow access to, click All content.
7.Under Allow access to this content to, click All users.
8.Under Permissions, click Read, and then click OK

To change the WebDAV Property Behavior settings
1.In the WebDAV Authoring Rules workspace, in the Actions pane, click WebDAV Settings.
2.In the WebDAV Settings workspace, under Property Behavior, set Allow anonymous property queries to True.
3.Set Allow Custom Properties to False.
4.Set Allow property queries with infinite depth to True.
5.If this is a BITS-enabled distribution point, under WebDAV Behavior, set Allow access to hidden files to True.
6.In the Actions pane, click Apply.
7.Close IIS Manager.

Step 1-8: Add the Required Windows Server 2008 Features
Add the following required features in Server Manager in the Features Summary section:
•BITS Server Extensions
•Remote Differential Compression


Step 1-9: Create the Required User and Service Accounts
System Center Configuration Manager and SQL Server 2005 require user accounts during the installation process

Step 1-10: Install SQL Server 2005 with SP2
Before installing System Center Configuration Manager, install SQL Server 2005 with SP2.

Step 1-11: Add the Site Server to the Administrators Security Group
To add the site server to the Administrators security group
1.Click Start, point to Administrative Tools, and then click Active Directory Users and Computers.
2.In the Active Directory Users and Computers console tree, go to /Builtin section
3.In the details pane, right-click Administrators, and then click Properties.
4.In the Administrators Properties dialog box, click the Members tab, and then click Add.
5.In the Select Users, Contacts, Computers, or Groups dialog box, click Object Types.
6.In the Object Types dialog box, in Object types, select Computers, and then click OK.
7.In the Select Users, Contacts, Computers, or Groups dialog box, in Enter the object names to select, type "servername". Click Check Names, and then click OK.
8.Close any open windows.

Step 1-12: Install System Center Configuration Manager
Before Installing System Center Configuration Manager, however, extend the Active Directory schema so that computers can locate the distribution points, service locator points, and other server roles. Also, you can extend the schema after you have installed System Center Configuration Manager.

To extend the Active Directory schema for System Center Configuration Manager
1.In Windows Explorer, go to \SMSSETUP\BIN\platform (where platform is the processor platform) on the installation media, and then double-click extadsch.exe.
2.In Windows Explorer, go to drive C, and then open the ExtADSch.log file.
3.Review the ExtADSch.log file to ensure that the schema was extended successfully.

After extending the Active Directory schema, install System Center Configuration Manager with SP2. To find more help in troubleshooting any installation-related problems, see Troubleshooting Configuration Manager 2007 at http://technet.microsoft.com/en-us/libr ... 32812.aspx

Step 1-13: Configure the Network Access Account
The System Center Configuration Manager client needs an account to provide credentials when accessing the System Center Configuration Manager distribution points, MDT 2010 deployment shares, and shared folders. This account is called the Network Access account.

To configure the Network Access account
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to Site Database/Site Management/"site-code"/Site Settings/Client Agents.
3.In the details pane, right-click Computer Client Agent, and then click Properties.
The attachment 1.png is no longer available

4.In the Computer Client Agent Properties dialog box, click the General tab. In Network Access Account, in Account (domain\user), click Set.
The attachment 2.png is no longer available

5.Complete the Windows User Account dialog box using the information in and then click OK.
6.Close any open windows.

Step 1-14: Configure the System Center Configuration Manager Site Boundaries
The System Center Configuration Manager client needs to know the boundaries for the site. Unless the site boundaries are specified, the client assumes that the computer running System Center Configuration Manager is in a remote site. Add a site boundary based on the IP subnet

To configure the System Center Configuration Manager site boundaries
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to Site Database/Site Management/"site-code"/Site Settings/Boundaries.
3.In the Actions pane, click New Boundary.
The attachment 3.png is no longer available

4.Complete the New Site Boundary dialog box using the information and then click OK.
5.Close any open windows.

Step 1-15: Configure the Publishing of Site Information in AD DS and DNS
The System Center Configuration Manager client needs to locate the various System Center Configuration Manager server roles. Modify the site properties to publish the site information in AD DS and in DNS.

To configure the publishing of site information in AD DS and in DNS
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to Site Database/Site Management/"site-code".
3.In the Actions pane, click Properties.
The attachment 3.png is no longer available

4.Complete the Advanced tab of the Site Properties dialog box by performing the following steps, and then click OK:
a.Select the
Publish this site in Active Directory Domain Services
check box.
b.Select the
Publish the default management point in DNS (intranet only)
check box.
5.Close any open windows.

Step 1-16: Configure the Drive to Be Used for Storing SCCM2007 Package Source Files
To configure the drive for storing System Center Configuration Manager package source files
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to Site Database/Site Management/"site-code"/Site Settings/Component Configuration.
3.In the details pane, right-click Software Distribution, and then click Properties.
The attachment 5.png is no longer available

4.In the Software Distribution Properties dialog box, in Drive on site server, type your drive name as "H:\", and then click OK.
5.Close any open windows.

Step 1-17: Configure the System Center Configuration Manager Distribution Point to Be BITS Enabled
To configure a distribution point to be BITS enabled
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to System Center Configuration Manager/Site Database/Site Management/"SITE-CODE"/Site Settings/Site Systems/"server name"
3.In the details pane, right-click ConfigMgr distribution point, and then click Properties.
The attachment 6.png is no longer available

4.In the ConfigMgr Distribution Point Properties dialog box, on the General tab, select the
Allow clients to transfer content from this distribution point using BITS, HTTP, and HTTPS (required for device clients and Internet-based clients)
check box, and then click OK.
5.Close any open windows.

Step 2: Prepare the MDT 2010 Environment
The first step in the deployment process is to prepare the MDT 2010 environment. When this step is complete, you can create the reference computer and deploy a captured image of the reference computer to the target computer using System Center Configuration Manager integration with MDT 2010.
Prepare the MDT 2010 environment by:
•Installing MDT 2010
•Enabling Configuration Manager Console integration by running the Configure ConfigMgr 2007 Integration script

Step 2-1: Install MDT 2010
Double-click MicrosoftDeploymentToolkit_x86.msi (for 32-bit operating systems) or MicrosoftDeploymentToolkit_x64.msi (for 64-bit operating systems), and then click Install.

Step 2-2: Enable Configuration Manager Console Integration
Before you can use the System Center Configuration Manager integration features of MDT 2010, run the Configure ConfigMgr 2007 Integration script. This script copies the appropriate integration files to the folder in which System Center Configuration Manager is installed. The script also adds Windows Management Instrumentation (WMI) classes for the new MDT 2010 custom actions. The classes are added by compiling a new Managed Object Format (.mof) file that contains the new class definitions.

To enable Configuration Manager console integration
Note Ensure that the Configuration Manager Console is closed while performing these steps.
1.Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Configure ConfigMgr Integration.
2.In the Configure ConfigMgr Integration dialog box, in Site server name, verify that the value is the "server name".
3.In Site code, verify that the value is "site-code", and then click Finish.
The attachment 7.png is no longer available


Step 3: Create and Configure a Task Sequence to Create a Reference Computer
When you have prepared the MDT 2010 environment, create the reference computer. The reference computer is the template for deploying new images to the target computers. Configure this computer exactly as you will configure the target computers. You will then capture an image of the reference computer and deploy the image to the target computers.

Create the reference computer by:
•Creating an MDT 2010 task sequence template to deploy Windows 7 to the reference computer
•Selecting the distribution points for the new packages and images that the Create Microsoft Deployment Task Sequence Wizard creates
•Adding the necessary device drivers to a new drive package and to the appropriate boot images
•Configuring the MDT 2010 configuration files for the reference computer
•Updating the SCCM2007 distribution points for the Custom Settings Files package
•Customizing the task sequence for the reference computer


Step 3-1: Create an MDT 2010 Task Sequence Template
MDT 2010 includes the Standard Client Task Sequence template, which you can use to deploy the target computer. The Create Microsoft Deployment 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.

To create a task sequence for deploying the reference computer
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to Site Database/Computer Management/Operating System Deployment/Task Sequences.
3.In the Actions pane, click Create Microsoft Deployment Task Sequence.
1.png
1.png (16.01 KiB) Viewed 32727 times

The Create Microsoft Deployment Task Sequence Wizard starts.
4.Complete the Create Microsoft Deployment Task Sequence Wizard as below:

Choose Template
Select Client Task Sequence and click Next
2.png
2.png (22.11 KiB) Viewed 32727 times


Choose Template: General
1.In Task sequence name, type Windows 7 Reference Deployment
2.In Task sequence comments, type Task sequence for deploying Windows 7 to the reference computer and then click Next.

Choose Template: Details
1.Click Join a workgroup.
2.In Workgroup, type WORKGROUP.
3.In User name, type "user-name".
4.In Organization name, type "Organization name".
5.In Product key, type product_key (where product_key is the product key for Windows 7).
Click Next.

Choose Template: Capture Settings
1.Click This task sequence may be used to capture and image.
2.In Capture destination, type \\"server-name"\Capture$\WIN7-REF.wim
3.In Capture account, click Set.
4.Complete the Windows User Account dialog box
3.png
3.png (18.12 KiB) Viewed 32727 times

5.Click OK.
6.Click Next.

Boot Image
1.Click Create a new boot image package.
2.In Package source folder to be created, type \\"server-name"\Packages$\WINPE_Ref, and then click Next.

Boot Image: General Settings
1.In Name, type Windows PE Custom.
2.In Version, type 1.00.
3.In Comments, type Customized version of Windows PE to be used in deployment of reference and target computers, and then click Next.

Boot Image: Image Options
Click Next.

MDT Package
1.Click Create a new Microsoft Deployment Toolkit Files package
2.In Package source folder to be created, type \\"server-name"\Packages$\MDT_2010, and then click Next.
5.png
5.png (26.47 KiB) Viewed 32727 times


MDT Package: MDT Details
1.In Name, type MDT 2010 Files.
2.In Version, type 1.00.
3.In Comments, type Provides access to MDT 2010 software during Configuration Manager deployment process, and then click Next.

OS Image
1.Click Create a new OS install package.
2.In OS installation folder location, type \\"server-name"\Source$\Windows_7.
3.In Package source folder to be created, type \\"server-name"\Packages$\Windows_7, and then click Next.
6.png
6.png (35.77 KiB) Viewed 32727 times


OS Image: Image Details
1.In Name, type Windows 7.
2.In Version, type 1.00.
3.In Comments, type Windows 7 package used to deploy to reference computer, and then click Next.

Client Package
Click Create a new ConfigMgr client package, and then click Next.

USMT Package
1.Click Create a new USMT package.
2.In Package source folder to be created, type \\"server-name"\Packages$\USMT, and then click Next.
7.png
7.png (23.8 KiB) Viewed 32724 times


USMT Package: USMT Details
1.In Name, type USMT.
2.In Version, type 1.00.
3.In Comments, type USMT files used to capture and restore user state migration information, and then click Next.

Settings Package
1.Click Create a new settings package.
2.In Package source folder to be created, type \\"server-name"\Packages$\CustomSettings_Reference, and then click Next.

Settings Package: Settings Details
1.In Name, type MDT 2010 Reference Computer Custom Settings.
2.In Version, type 1.00.
3.In Comments, type Configuration settings for MDT 2010 deployment process (such as CustomSettings.ini) for the reference computer, and then click Next.

Sysprep Package
Click Next.

Summary
Click Next.
8.png
8.png (33.25 KiB) Viewed 32724 times

The Summary wizard page displays a status bar that shows the progress of the tasks defined in the wizard. The Create Microsoft Deployment Task Sequence Wizard closes when the task sequence is created.

Step 3-2: Select the Distribution Points for the New Packages and Images
The Create Microsoft Deployment Task Sequence Wizard creates a number of packages and images.
10.png
10.png (26 KiB) Viewed 32724 times

After these packages and images are created, select the distribution points from which the packages and images will be copied and available to target computers.

To select the distribution points for software distribution packages
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console tree, go to System Center Configuration Manager/Site Database/Computer Management/Software Distribution/Packages.
3.In the details pane, click MDT 2010 Reference Computer Custom Settings
4.In the Actions pane, click Manage Distribution Points
The Manage Distribution Points Wizard starts.
5.In Distribution points, select "server-name"
6.Complete the Manage Distribution Points Wizard

7.Repeat steps 3–6 of this procedure, substituting each of the following packages for MDT 2010 Reference Computer Custom Settings:
•MDT 2010 Files
•USMT
•Configuration Manager Client Upgrade

To select the distribution points for boot images
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to System Center Configuration Manager/Site Database/Computer Management/Operating System Deployment/Boot Images.
3.In the details pane, click Windows PE Custom.
4.In the Actions pane, click Manage Distribution Points.
The Manage Distribution Points Wizard starts.
5.Complete the Manage Distribution Points Wizard. select "server-name"

To select the distribution shares for operating system installation packages
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to System Center Configuration Manager/Site Database/Computer Management/Operating System Deployment/Operating System Install Packages.
3. In the details pane, click Windows 7.
4. In the Actions pane, click Manage Distribution Points.
The Manage Distribution Points Wizard starts.
5.Complete the Manage Distribution Points Wizard
6.Close all open windows and dialog boxes.

Step 3-3: Add the Necessary Device Drivers
When the MDT 2010 task sequence has been created, add any device drivers required for the reference computer to the Windows PE boot image and to the Windows 7 image.
Add the device drivers in the Drivers node in the Configuration Manager Console.
Create a package that contains the device drivers, and inject the drivers into the custom Windows PE image created earlier in the process.
After creating the package that contains the device drivers, select the distribution point on which the package will be deployed.

To add the necessary device drivers
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to System Center Configuration Manager/Site Database/Computer Management/Operating System Deployment/Drivers.
3.In the console tree, right-click Drivers, and then click Import.
The Import New Driver Wizard starts.
4.Locate the driver files copied previously to Sources$ folder and click Next. Here I am trying to Import an HP Printer Driver
5. Click Next on driver details window
12.png
12.png (24.62 KiB) Viewed 32724 times

6. Locate Driver: Add to Driver Package
Click on 'New Package'. Fill the 'New Driver Wizard' window as shown and Click Ok button
13.png
13.png (24.02 KiB) Viewed 32724 times

7.Press Next.
8. Locate Driver: Add Driver to Boot Images
In the list of images, select the Windows PE Custom check box.
Select the Update distribution points when finished check box, and then click Next.
9. Finish the wizard

To select the distribution points for the driver package
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to System Center Configuration Manager/Site Database/Computer Management/Operating System Deployment/Driver Packages.
3.In the details pane, click device_driver_name Package (where device_driver_name is a descriptive name for the device drivers).
4.In the Actions pane, click Manage Distribution Points.
The Manage Distribution Points Wizard starts.
5.Complete the Manage Distribution Points Wizard

Step 3-4: Customize the MDT 2010 Configuration Files for the Reference Computer
When the MDT 2010 task sequence has been created, customize the MDT 2010 configuration files that provide the configuration settings for deploying Windows 7 to the target computer. Specifically, customize the CustomSettings.ini file.
When the CustomSettings.ini file customization is finished, save the updated files to the source Packages$\CustomSettings_Reference. Then, add the DoCapture property and value to the CustomSettings.ini file so that the MDT 2010 deployment process captures an image of the reference computer after deploying Windows 7.

To customize the MDT 2010 configuration files for the reference computer
1.In Windows Explorer, go to \Packages$\CustomSettings_Reference, and then double-click CustomSettings.ini.
2.Open Microsoft Notepad, and then add DoCapture=Yes to the end of the CustomSettings.ini file
3.In Notepad, save the file, and then exit Notepad.

Step 3-5: Update the Distribution Points for the Custom Settings Files Package
When the source folder has been updated for the MDT 2010 Reference Computer Custom Settings package in System Center Configuration Manager, update the distribution points for the MDT 2010 Reference Computer Custom Settings Files package. Updating the distribution points copies the updated version of the CustomSettings.ini file to the deployment shares specified in the package.

To update the distribution points for the Custom Settings package
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to Site Database/Computer Management/Software Distribution/Packages, and then click MDT 2010 Reference Computer Custom Settings 1.00
3.In the details pane, click Update Distribution Points.
4.In the Confirm Update Distribution Points dialog box, click Yes.
5.Close all open windows and dialog boxes.
System Center Configuration Manager starts updating the distribution points with the latest versions of the CustomSettings.ini file. This process could take several minutes. Check the status of the package until the State value of the package status is Installed.

Step 3-6: Customize the Task Sequence for the Reference Computer
In this sample, modify the task sequence to set the password for the local Administrator account to a known value. By default, the task sequence sets the password for the local Administrator account to a random value.

To customize the Windows 7 Reference Deployment task sequence
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to Site Database/Computer Management/Operating System Deployment/Task Sequences.
3.In the details pane, click Windows 7 Reference Deployment.
4.In the Actions pane, click Edit.
5.In the Windows 7 Reference Deployment Task Sequence Editor dialog box, go to PostInstall/Apply Windows Settings.
18.png
18.png (17.21 KiB) Viewed 32718 times

6.On the Properties tab, click Enable the account and specify the local administrator password.
7.On the Properties tab, in Password and Confirm Password, type your local administrator password, and then click Apply.
8.Make any additional modifications to the task sequence that the environment requires, like Time Zone etc. and then click OK.
9.Close all open windows and dialog boxes.

Step 4: Deploy Windows 7 and Capture an Image of the Reference Computer
When you have created the task sequence to deploy Windows 7 to the reference computer and captured an image of the reference computer, start the task sequence. Create the operating system capture by using the Task Sequence Media Wizard in the Configuration Manager Console.

Deploy Windows 7 and capture an image of the reference computer by:
•Adding the reference computer to the Configuration Manager site database
•Creating a collection that contains the reference computer you just added
•Creating an advertisement for the reference computer task sequence
•Using the Task Sequence Media Wizard to create a task sequence bootable media disk
•Starting the reference computer with the task sequence bootable media disk


Step 4-1: Add the Reference Computer to the Configuration Manager Site Database
To deploy an operating system without stand-alone media to a new computer that System Center Configuration Manager does not currently manage, add the new computer to the Configuration Manager site database prior to initiating the operating system deployment process. System Center Configuration Manager can automatically discover computers on the network that have a Windows operating system installed; however, if the computer has no operating system installed, use the Import Computer Information Wizard to import the new computer information.

To add the reference computer to the Configuration Manager site database
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to System Center Configuration Manager/Site Database/Computer Management/Operating System Deployment/Computer Associations.
3.In the details pane, click Import computer Information.
The Import Computer Information Wizard starts.
4. Select Source Click Import single computer, and then click Next.
Single Computer 1.In Computer Name, type "computer name".
2.In MAC address, type mac_address of the primary network adapter for the reference computer
3.Click Next in following screens and close the wizard

Step 4-2: Create a Collection That Contains the Reference Computer
This computer collection is used later when advertising the task sequence created earlier in the process.
To create a collection that includes the reference computer
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to System Center Configuration Manager/Site Database/Computer Management/Collections.
3.In the details pane, click New Collection.
The New Collection Wizard starts.
4.Complete the New Collection Wizard as follows

General
1.In Name, type Microsoft Deployment – Reference Computer.
2.In Comment, type Computer that is to be the reference computer for the target computers to be deployed.
3.Click Next.
Membership Rules
1.Click the Computer icon.
2.Complete the Create Direct Membership Rule Wizard by performing the following steps:
a.On the Welcome page, click Next.
b.On the Search for Resources page, in Resource class, select System Resource; in Attribute name, select Name; in Value, type "computer name"; and then click Next.
c.On the Collection Limiting page, click Next.
d.On the Select Resources page, select "Computer Name", and then click Next.
e.On the Finished page, click Finish.
3.Click Next.
Advertisements
Click Next.
Security
Click Next.
Confirmation
Click Close.

Step 4-3: Create an Advertisement for the Reference Computer Task Sequence
In the Configuration Manager Console, create an advertisement for the task sequence created earlier in the process. Advertise the task sequence to the collection that includes the reference computer created earlier in the process.

To create an advertisement for the task sequence
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to System Center Configuration Manager/Site Database/Computer Management/Operating System Deployment/Task Sequences.
3.In the details pane, click Windows 7 Reference Deployment.
4.In the Actions pane, click Advertise.
The New Advertisement Wizard starts.
5.Complete the New Advertisement Wizard as follows

General
1.In Comment, type Advertisement to deploy Windows 7 to the reference computer and then capture an image of the reference computer.
2.In Collection, click Browse.
3.In the Browse Collection dialog box, click Microsoft Deployment – Reference Computer, and then click OK.
4.Select the Make this task sequence available to boot media and PXE check box.
19.png
19.png (22.65 KiB) Viewed 32718 times

5.Click Next.
Schedule
Click Next.
Distribution Points
Click Next.
Interaction
Click Next.
Security
Click Next.
Summary
Click Next.
Confirmation
Click Close.

Step 4-4: Create the Task Sequence Bootable Media
To initiate the MDT 2010 process, provide a method for starting the computer with Windows PE and the necessary software by creating the task sequence bootable media disk. Use the Task Sequence Media Wizard in the Configuration Manager Console to create bootable media for storage on a USB flash drive (UFD), CD, or DVD.
To create a task sequence bootable media disk
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to System Center Configuration Manager/Site Database/Computer Management/Operating System Deployment/Task Sequences.
3.In the details pane, click Create Task Sequence Media.
21.png
21.png (25.82 KiB) Viewed 32717 times

The Task Sequence Media Wizard starts.
4.Complete the Task Sequence Media Wizard as described below

Select Media Type
Click Bootable media, and then click Next.
Media Type
In Media file, type \\WDG-MDT-01\Capture$\CM2007_TS_Boot_Media.iso, and then click Next.
Security
In Password and Confirm password, type "password", and then click Next.
Boot Image
1.In Boot image, click Browse.
2.In the Select a Boot Image dialog box, click Windows PE Custom, and then click OK.
23.png
23.png (22.64 KiB) Viewed 32717 times

3.Click Next.
Summary
Click Next.
Confirmation
24.png
24.png (23.43 KiB) Viewed 32711 times

Click Close.

If the reference computer is a physical computer, create a CD or DVD of the ISO file. If the reference computer is a VM, start the VM directly from the ISO file.

Step 4-5: Start the Reference Computer with the Task Sequence Bootable Media
Start the reference computer with the task sequence bootable media disk created earlier in the process. This CD starts Windows PE on the reference computer and initiates the MDT 2010 process.

At the end of the MDT 2010 process, Windows 7 is deployed on the reference computer, and an image of the reference computer is saved to \\"server-name"\Capture$\WIN7-REF.wim.

Step 5: Create and Configure a Task Sequence to Deploy the Target Computer
After the task sequence to deploy the reference computer finishes, a captured image of the reference computer is stored in \\"server-name"\Capture$\WIN7-REF.wim. Now, create a task sequence that will deploy the captured image of the reference computer to the target computer. When this step is complete, you can deploy the captured image of the reference computer to the target computer.

Create and configure a task sequence to deploy the target computer by:
•Using the Create Microsoft Deployment Task Sequence Wizard to create an MDT 2010 task sequence template to deploy the captured image of the reference computer to the target computer
•Selecting the distribution points for the new packages and images that the Create Microsoft Deployment Task Sequence Wizard creates
•Customizing the MDT 2010 configuration files for the target computer—specifically, the CustomSettings.ini file
•Updating the System Center Configuration Manager distribution points for the Custom Settings package
•Customizing the task sequence for the target computer

Step 5-1: Create an MDT 2010 Task Sequence Template to Deploy the Captured Image
After the image is captured, create a task sequence template to deploy the captured image of the reference computer to the target computer. Most of the packages needed for this task sequence were created earlier in the process. However, you must create a new MDT 2010 Custom Settings package that has the proper configuration settings for the target computer and creates an operating system image of the captured image of the reference computer.

To create a task sequence template to deploy the captured image to the target computer
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to Site Database/Computer Management/Task Sequences.
3.In the details pane, click Create Microsoft Deployment Task Sequence.
The Create Microsoft Deployment Task Sequence Wizard starts.
4.Complete the Create Microsoft Deployment Task Sequence Wizard as follows

Choose Template Select Client Task Sequence, and then click Next.
General
1.In Task sequence name, type Windows 7 Target Deployment.
2.In Task sequence comments, type Task sequence for deploying captured reference computer image to the target computer, and then click Next.
Details
1.Click Join a domain.
2.In Domain, type "domain-name"
3.In Account, click Set, and then complete the Windows User Account dialog box by performing the following steps:
a.In User name, type "domain-name"\Administrator.
b.In Password and Confirm password, type "password"
c.Click OK.
4.In User name, type "user-name"
5.In Organization name, type "organization-name".
6.In Product key, type product_key (where product_key is the product key for Windows 7).
7.Click Next.

Boot Image
1.In Specify an existing boot image package, click Browse.
2.In Select a Package dialog box, click Windows PE Custom, and then click OK.
3.Click Next.

MDT Package
1.In Specify an existing Microsoft Deployment Toolkit Files package, click Browse.
2.In the Select a Package dialog box, click MDT 2010 Files, and then click OK.
3.Click Next.

OS Image
1.Click Create a new OS image.
2.In OS image file (WIM) location, type \\"server-name"\Capture$\WIN7-REF.wim.
3.In Package source folder to be created, type \\"server-name"\Package$\WIN7-REF_Image.
4.Click Next.

OS Image: Image Details
1.In Name, type Windows 7 Reference Image.
2.In Version, type 1.00.
3.In Comments, type Windows 7 captured image of reference computer (WIN7-REF) used to deploy to target computers, and then click Next.

Client Package
1.In Specify an existing ConfigMgr client package, click Browse.
2.In the Select a Package dialog box, click Configuration Manager Client Upgrade, and then click OK.
3.Click Next.

USMT Package
1.In Specify an existing USMT package, click Browse.
2.In the Select a Package dialog box, click USMT, and then click OK.
3.Click Next.

Settings Package
1.Click Create a new settings package.
2.In Package source folder to be created, type \\"server-name"\Packages$\CustomSettings_Target, and then click Next.

Settings Package: Settings Details
1.In Name, type MDT 2010 Target Computer Custom Settings.
2.In Version, type 1.00.
3.In Comments, type Configuration settings for MDT 2010 deployment process (such as CustomSettings.ini) for the target computer, and then click Next.

Sysprep Package
Click Next.

Summary
Click Next.

Step 5-2: Select the Distribution Points for the New Packages and Images
To select the distribution points for the software-distribution package
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to System Center Configuration Manager/Site Database/Computer Management/Software Distribution/Packages.
3.In the details pane, click MDT 2010 Target Computer Custom Settings.
4.In the Actions pane, click Manage Distribution Points.
The Manage Distribution Points Wizard starts.
5.Complete the Manage Distribution Points Wizard as follows

Welcome
Click Next.
Select Destination Distribution Point
Click Next.
Package
In Distribution points, select "server-name", and then click Next.
Completion
Click Next.

To select the distribution points for the operating system image
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to System Center Configuration Manager/Site Database/Computer Management/Operating System Deployment/Operating System Images.
3.In the details pane, click Windows 7 Reference Image.
4.In the details pane, click Manage Distribution Points.
The Manage Distribution Points Wizard starts.
5.Complete the Manage Distribution Points Wizard as follows

Welcome
Click Next.
Select Destination Distribution Point
Click Next.
Package
In Distribution points, select "server-name", and then click Next.
Completion
Click Next.
Wizard Completed
Click Close.

Close all open windows and dialog boxes.

Step 5-3: Customize the MDT 2010 Configuration Files

When the CustomSettings.ini file has been customized, save the updated files to the source folder for the MDT 2010 Custom Settings package created earlier in the process (\Packages$\CustomSettings_Target).
To customize the MDT 2010 configuration files for the target computer
1.In Windows Explorer, go to \Packages$\CustomSettings_Target folder, and then double-click CustomSettings.ini.
2.Open Notepad, and then add any properties to the CustomSettings.ini file that the environment requires, as shown in below.

Code: Select all

 [Settings]
Priority=Default
Properties=MyCustomProperty

[Default]
OSInstall=Y


3.Save the file, and then close Notepad.

Step 5-4: Update the Distribution Points for the Custom Settings Package

To update the distribution points for the Custom Settings package
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to Site Database/Computer Management/Software Distribution/Packages, and then click MDT 2010 Target Computer Custom Settings 1.00.
3.In the details pane, click Update Distribution Points.
4.In the Confirm Update Distribution Points dialog box, click Yes.
5.Close all open windows and dialog boxes.
System Center Configuration Manager starts updating the distribution points with the latest versions of the CustomSettings.ini file. This process could take several minutes. Check the status of the package until the State value of the package status is Installed.

Step 5-5: Customize the Task Sequence for the Target Computer
For most deployments, the Windows 7 Target Deployment task sequence template created earlier in the process performs all the necessary steps without modification. In this sample, modify the task sequence template to set the password for the local Administrator account to a known value. (By default, the task sequence sets the password for the local Administrator account to a random value.) The task sequence may require further customization depending on the environment.

To customize the Windows 7 Target Deployment task sequence template
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to Site Database/Computer Management/Operating System Deployment/Task Sequences.
3.In the details pane, click Windows 7 Target Deployment.
4.In the details pane, click Edit.
5.In the Windows 7 Target Deployment Task Sequence Editor dialog box, go to PostInstall/Apply Windows Settings.
6.On the Properties tab, click Enable the account and specify the local administrator password.
7.On the Properties tab type Password and Confirm Password and then click Apply.
8.Make any additional modifications to the task sequence template that the environment requires, and then click OK.
9.Close all open windows and dialog boxes.

Step 6: Deploy the Captured Image of the Reference Computer to the Target Computer

Deploy the captured image by:
•Adding the target computer to the Configuration Manager site database
•Creating a computer collection that includes the target computer
•Creating a System Center Configuration Manager advertisement for the task sequence created earlier in the process
•Starting the target computer with the task sequence bootable media disk

Step 6-1: Add the Target Computer to the Configuration Manager Site Database

To add the target computer to the Configuration Manager site database
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to System Center Configuration Manager/Site Database/Computer Management/Operating System Deployment/Computer Associations.
3.In the details pane, click Import computer Information.
The Import Computer Information Wizard starts.
4.Complete the Import Computer Information Wizard as follows

Select Source
Click Import single computer, and then click Next.
Single Computer
1.In Computer Name, type "computer-name".
2.In MAC address, type mac_address
3.Click Next.
Data Preview
Click Next.
Choose Target Collection
Click Next.
Summary
Click Next.
Wizard Completed
Click Close.

Step 6-2: Create a Computer Collection That Includes the Target Computer
To create a computer collection that includes the target computer
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to System Center Configuration Manager/Site Database/Computer Management/Collections.
3.In the details pane, click New Collection.
The New Collection Wizard starts.
4.Complete the New Collection Wizard as follows

General
1.In Name, type Microsoft Deployment – Batch 01.
2.In Comment, type Computers that are to be included in the first batch of computers deployed.
3.Click Next.

Membership
1.Click the Computer icon.
2.Complete the Create Direct Membership Rule Wizard by performing the following steps:

a.On the Welcome page, click Next.
b.On the Search for Resources page, in Resource class, select System Resource; in Attribute name, select Name; in Value, type "computer-name"; and then click Next.
c.On the Collection Limiting page, click Next.
d.On the Select Resources page, select "computer-name", and then click Next.
e.On the Finished page, click Finish.
3.Click Next.

Advertisements
Click Next.

Security
Click Next.

Confirmation
Click Close.

Step 6-3: Create an Advertisement for the Task Sequence

To create an advertisement for the task sequence
1.Click Start, point to All Programs, and then point to Microsoft System Center. Point to Configuration Manager 2007, and then click ConfigMgr Console.
2.In the Configuration Manager Console console tree, go to System Center Configuration Manager/Site Database/Computer Management/Operating System Deployment/Task Sequences.
3.In the details pane, click Windows 7 Target Deployment.
4.In the details pane, click Advertise.
The New Advertisement Wizard starts.
5.Complete the New Advertisement Wizard as follows

General
1.In Comment, type Advertisement to deploy Windows 7 reference image.
2.In Collection, click Browse.
3.In the Browse Collection dialog box, click Microsoft Deployment – Batch 01, and then click OK.
4.Select the Make this task sequence available to boot media and PXE check box.
5.Click Next.

Schedule
Click Next.

Distribution Points
Click Next.

Interaction
Click Next.

Security
Click Next.

Summary
Click Next.

Confirmation
Click Close.

Step 6-4: Start the Target Computer with the Task Sequence Bootable Media
This disk starts Windows PE on the reference computer and initiates the MDT 2010 process. At the end of the MDT 2010 process, Windows 7 is deployed on the target computer.

To start the target computer with the task sequence bootable media disk
1.Start the computer with the task sequence bootable media disk created earlier in the process.
Windows PE starts, and then the Task Sequence Wizard starts.
2.Complete the Task Sequence Wizard as follows

Welcome to the Task Sequence Wizard
In Password, type "password", and then click Next.

Select a Task Sequence
In the list box, select Windows 7 Target Deployment, and then click Next.
Thanks
MANU PHILIP
Microsoft MVP(Exchange Server)
| MCITP | MCTS | MCSA | ITIL V3 |
TechNet Forums Profile: ManU

Users browsing this forum: No registered users and 1 guest

It is currently Tue Jun 27, 2017 7:32 pm