1. Capturing a Disk Image for LTI
In BDD 2007, installing a
build and capturing an image is essentially an LTI deployment that ends
with the Windows Deployment Wizard capturing an image of the
destination computer. When you create a deployment point, Deployment
Workbench provides the option of prompting to capture an image (the Ask
If An Image Should Be Captured check box).
Then, when you install the build on the
destination lab computer, the Windows Deployment Wizard asks whether you
want to capture an image after installation is complete. The wizard
also allows you to specify a destination for the image. The default
destination is the Captures folder in the distribution share, and the
default file name is build.wim, where build is the name of the build you installed.
To capture an image, start a lab computer using
the Windows PE boot image generated by updating the deployment point.
Start the Windows PE boot image in either of two ways. One way is to
burn the .iso images to a DVD. This process is slow and tedious. These
ISO image files reside in the \Boot folder of the distribution share.
The other way is to add the LiteTouchPE_x86.wim or LiteTouchPE_x64.wim
image files to the Boot Images item of a Windows DS server. The .wim
image files are in the \Boot folder of the distribution share.
To capture an image using the Windows Deployment Wizard
1. | Start the lab computer using the Windows PE boot image . You can start this boot image by burning it to
a DVD or by adding it to Windows DS. For more information about Windows
DS.
| 2. | In the Welcome To Windows Deployment dialog box, click Run The Deployment Wizard, and then click Next.
| 3. | In
the User Credentials dialog box, type the credentials necessary to
connect to the distribution share (user name, domain, and password), and
then click OK. The Windows Deployment Wizard starts automatically. You
must use an account that has read and write access to the distribution
share, such as an account that is a member of the local Administrators
group on the computer that contains the distribution share.
| 4. | On
the Configure The Computer Name page, type a computer name or accept
the default and then click Next. The default, randomly generated
computer name is reasonable, since the computer name will change during
deployment to the production environment.
| 5. | On
the Join The Computer To A Domain Or Workgroup page, click Join A
Workgroup. In the Workgroup box, type a workgroup name or accept the
default, and then click Next. If you join the computer to a domain, the
Windows Deployment Wizard does not prompt you to capture an image.
| 6. | On the Specify Whether To Restore User Data page, select Do Not Restore User Data And Settings, and then click Next.
| 7. | On
the Select An Operating System Image To Install page, choose a build to
install from the list of available builds, and then click Next.
| 8. | On
the Local Selection page, choose your local and keyboard layout, and
then click Next. Your choice here is irrelevant, because the Windows
Deployment Wizard will configure the local and keyboard layouts during
deployment to the production environment.
| 9. | On
the Select The Time Zone page, select a time zone, and then click Next.
Your choice here is irrelevant, because the Windows Deployment Wizard
will configure the locale and keyboard layouts during deployment to the
production environment.
| 10. | On
the Select One Or More Applications To Install page, select the check
box next to each application that you want to install on the image, and
then click Next.
| 11. | In
the Specify Whether To Capture An Image page, select Capture An Image
Of This Reference Computer. In the Location box, type the UNC path of
the folder in which to store the image. In the File Name box, type the
file name of the image, and then click Next. The default UNC path is the
Captures folder of the distribution share; the default image file name
is the ID of the build being installed.
| 12. | On the Specify the BitLocker Configuration page, select Do Not Enable Bitlocker For This Computer, and then click Next.
| 13. | On the Ready To Begin page, click Begin.
|
After you click Begin,
the task sequencer begins running the build’s task sequence. By default,
it begins by partitioning and formatting the hard disk. Then it
installs and configures the build,
runs Sysprep to prepare the computer for imaging, and restarts the
computer in Windows PE to capture the image. The Windows Deployment
Wizard stores the captured image in the folder specified on the Specify
Whether To Capture An Image page, which is the distribution share’s
Captures folder by default. After capturing the image, you can add it to
the distribution share as a custom image . 2. Capturing a Disk Image for ZTI
Capturing a disk image for deployment by ZTI is
similar to the process of capturing an image for LTI with minor
differences. This section describes how to capture an image for ZTI by
using the SMS 2003 Image Capture Wizard. Before proceeding, you must
have a working SMS 2003 infrastructure and have OSD installed.
Creating an Image Capture CD
Rather than using the Windows Deployment Wizard to actually capture the image, you use the SMS 2003 Image Capture Wizard.
To create an Image Capture CD using OSD
1. | In
the SMS Administrator Console, right-click the Image Packages item,
click All Tasks, and then click Create Operating System Image Capture
CD.
| 2. | On the Operating System Image Capture CD Wizard welcome page, click Next.
| 3. | On the Windows PE Settings page, do the following, and then click Next:
- Select the Include Additional Network Drivers From This
Location check box, and then type the path to any additional network
drivers required in the environment.
- Select the Include Additional Storage Drivers From
This Location check box, and then type the path to any additional
storage drivers required in the environment.
| 4. | On the Create CD Image page, type the path and file name of the .iso file you want to create, and then click Next.
|
Preparing the Image for Capture
To prepare an image for the SMS 2003 Image
Capture Wizard, start a lab computer using the Windows PE boot image
generated by updating the lab deployment point. This process is the same . Then use the SMS 2003 Image Capture Wizard to
capture the image. The Windows Deployment Wizard must prepare the
computer for the SMS 2003 Image Capture Wizard; it provides an option
during the interview process for doing this.
1. | Start the lab computer using the Windows PE boot image . You can start this boot image by burning it to
a DVD or by adding it to Windows DS. For more information about Windows
DS.
| 2. | In the Welcome To Windows Deployment dialog box, click Run The Deployment Wizard, and then click Next.
| 3. | In
the User Credentials dialog box, type the credentials necessary to
connect to the distribution share (user name, domain, and password), and
then click OK. The Windows Deployment Wizard starts automatically.
| 4. | On
the Configure The Computer Name page, type a computer name or accept
the default and then click Next. The default, randomly generated
computer name is reasonable, since the computer name will change during
deployment to the production environment.
| 5. | On
the Join The Computer To A Domain Or Workgroup page, click Join A
Workgroup. In the Workgroup box, type a workgroup name or accept the
default, and then click Next. If you do not select Join A Workgroup, the
Windows Deployment Wizard does not prompt you to capture an image.
| 6. | On the Specify Whether To Restore User Data page, select Do Not Restore User Data And Settings, and then click Next.
| 7. | On
the Select An Operating System Image To Install page, choose a build to
install from the list of available builds, and then click Next.
| 8. | On
the Local Selection page, choose your local and keyboard layouts, and
then click Next. Your choice here is irrelevant, because the Windows
Deployment Wizard will configure the local and keyboard layouts during
deployment to the production environment.
| 9. | On
the Select The Time Zone page, select a time zone, and then click Next.
Your choice here is irrelevant, because the Windows Deployment Wizard
will configure the local and keyboard layouts during deployment to the
production environment.
| 10. | On
the Select One Or More Applications To Install page, select the check
box next to each application that you want to install on the image and
then click Next.
| 11. | In
the Specify Whether To Capture An Image page, select Prepare To Capture
The Machine, and then click Next. This causes the Windows Deployment
Wizard to copy Sysprep and its related files to the destination computer
without actually running Sysprep. The SMS 2003 Image Capture Wizard
will run Sysprep.
| 12. | On the Ready To Begin page, click Begin.
|
After clicking Begin, the task sequencer begins
running the build’s task sequence. By default, it begins by partitioning
and formatting the hard disk, and then it installs and configures the
build. The task sequence does not run Sysprep, however, and it does not
capture an image file.
Capturing the Image
Before you use the SMS
2003 Image Capture Wizard to prepare and capture an image of the lab
computer, be sure that the computer is configured to boot from the CD
drive.
To capture an image using the Image Capture CD
1. | On
the lab computer containing the installed build, insert the Image
Capture CD.
| 2. | On the Welcome page of the SMS 2003 Image Capture Wizard, click Next.
| 3. | On the Image Destination page, do the following, and then click Next:
In the Image File Name box, type the name of the .wim file you want to create. In the Network Location box, type the UNC path where you want to store the image file. For BDD 2007, type \\server\Distribution$\Captures, where server is the name of the server containing the distribution share. In
the Account Name box, type the name of an account that has write
permission to the network location. Specify the account using the format
Domain\User. In the Password box, type the password for the account.
| 4. | On the Sysprep information page, do the following, and then click Next:
In the Local Administrator’s Password box, type the password for the local Administrator account. In the Confirm Password box, confirm the password for the local Administrator account. In the Sysprep Parameters box, edit the Sysprep command-line options, if necessary.
| 5. | In
the Image Properties dialog box, provide any comments, version
information, and developer information necessary, and then click Next.
| 6. | Click Finish. The SMS 2003 Image Capture Wizard runs Sysprep and then shuts down the computer.
| 7. | Turn
the computer on, and start the computer using the Image Capture CD. If
prompted to press a key to boot from the CD, press any key. The SMS 2003
Image Capture Wizard captures an image of the lab computer with no
interaction.
|
|