The fifth step in the customization process is to deploy the cloned image to the target computer. The target computer is assumed to be the final production environment.
In This Section:
Command-Line Deployment
Windows Deployment Services Deployment
ConfigMgr Deployment
The same tools and utilities that you used in the cloning process are used for the final deployment. This section also covers deployment from a Windows System Center Configuration Manager (ConfigMgr) server environment. The deployment process for POSReady 2009 consists of three main steps:
-
Boot the target device from a Windows PE boot image.
-
Prepare the target device to accept the OS image.
Preparation includes steps such as partitioning and formatting the storage device.
-
Load the OS image onto the target device.
Loading can be accomplished by using one of three methods:
-
Command-line deployment using the ImageX utility.
-
Network deployment from a WDS server using the PXE boot feature.
-
Network deployment from a ConfigMgr server using PXE boot feature.
The method of distribution is largely determined by the environment in which the image will be distributed. For example, a device that is not connected to a network is not able to take advantage of PXE and deployment over Ethernet through WDS. Similarly, if the target device has no optical drive, distribution through CD or DVD is not possible. Multiple methods for image distribution are discussed in this section. Although a given method may not fit perfectly into your environment, a combination of the methods outlined below may be suitable.
Command-Line Deployment
The process for manually deploying the POSReady image that was previously captured is similar to the process to capture the image itself. The first step is to boot the target device to the Windows Preinstallation environment (Windows PE). You can do this by following the same steps above by using either a CD or DVD or over the network through the Windows Deployment Services PXE boot feature.
After the device has booted into Windows PE, the process to deploy the image consists of three main steps:
-
Preparing the target device to accept the POSReady image.
-
Confirming the POSReady image is visible (network, DVD, USB).
-
Deploying the POSReady image to the target device by using ImageX.
Preparing the target device:
To prepare the target device, you should partition and format the hard disk. This can be done in an automated fashion by scripting the process, or manually from the Windows PE command prompt. To partition the drive, enter the following commands at the Windows PE command prompt, assuming disk 0 is the location where POSReady will be deployed:
Diskpart
Select Disk 0
Clean
Create Partition Primary
Assign Letter C
Active
Exit
Format c: /fs:NTFS /q /y /v:POSReady\
Note: |
|---|
|
The command "list disk" will display all disks attached to the device. You can then confirm which disk you want to format.
|
The commands shown above will partition and format the disk with the NTFS file system. Next, copy the POSReady image to the disk using ImageX. If the POSReady .wim file is stored on a network share, you should ensure you have access to the share.
Accessing the image:
To access an image on a network, you must map a drive to the network share.
net use z: \\servername\share /user:username password
To access an image on any other media, that media must be visible.
Deploying POSReady to the target device:
Now that the device is prepared, you can use the ImageX utility with the /apply argument to deploy the POSReady image onto the target (c:\) drive:
ImageX /apply z:\POSReady.wim 1 c:
After the image has finished loading, type Exit from the Windows PE command prompt to restart the device.
Windows Deployment Services Deployment
The process for deploying POSReady from a Windows Deployment Services (WDS) server involves the following steps:
-
Boot the target device from the WDS server network (PXE) boot.
-
Connect to the WDS server with user credentials.
-
Select the image that you want to deploy to the target device.
-
Prepare the target device to accept the OS image. Preparation includes steps such as partitioning and formatting the storage device.
This section will cover the manual steps involved in deploying an image to a target device. Please note that steps 2 through 4 can be automated to reduce the involvement of the user in the production environment. Automation requires you to provide answers for the user to the WDS server in advance. For detailed reference information, see this Microsoft Web site.
Boot the target device:
You must configure the reference device for network boot. Refer to your OEM documentation on how to change the boot device order. This step generally requires you to press a function key (F12) to initiate a network (PXE) boot.
As a best practice, you should set the network (PXE) boot as the first option in the boot order. That allows an on-site user to press a key to boot to the server to recover a device.
Connect to the WDS server:
Before connecting to the WDS server, you will be prompted to select some basic options for information. This information includes:
-
System language
-
System keyboard type
-
Credentials
The user must enter his or her credentials before connecting to the WDS server. The default setting is to require only standard "User" credentials; however, your domain policy may differ. The user's credentials must have access to the share where the images are stored, which is by default "RemoteInstall".
Select the image to deploy:
An image selection menu will be presented to the user (see below). There should be specific instructions on which image to deploy to the device.
Prepare device for install:
The user will be presented with a screen to select the location to install the image (see the figure below). The action that the user takes will depend on whether the disk has already been partitioned. You will need to develop a procedure for how to respond to this portion of the installation. We recommend that you automate this step because of the level of instruction required to perform this step. For detailed information on providing an answer file to WDS, see this Microsoft Web site.
ConfigMgr Deployment
This guide does not cover how to deploy the POSReady operating system by using the System Center Configuration Manager (ConfigMgr). ConfigMgr is typically part of an enterprise strategy to manage many different types of devices.
The differences related to the POSReady operating system relate to the preparation of the Windows Imaging Format (.wim) file. Refer to your enterprise ConfigMgr strategy to incorporate deployment of the customized POSReady .wim file in a production environment.