Preparing a master target device for imaging
A master target device is a device from which a hard disk image is built and stored on a virtual disk. Citrix Provisioning then streams the contents of the virtual disk created from the master target device to other target devices.
Citrix recommends that you install all Windows updates before installing a target device.
This article describes the procedure for preparing the master target device’s hard disk. See the following articles for information related to this process:
Preparing the master target device’s hard disk
The master target device is typically different from subsequent target devices because it initially contains a hard disk that is imaged to the virtual disk. If necessary, after imaging, the hard disk can be removed from the master target device.
To support a single virtual disk shared by multiple target devices, those devices must have certain similarities to ensure that the operating system has all required drivers. The three key components that must be consistent are the:
- Network card, which must support PXE
- Video card
Some platforms, physical or virtual, require a consistent hardware configuration for boot media. For example, if target devices use BDM, the master target matches the BDM configuration because end target devices use that configuration when booting.
However, the Citrix Provisioning Common Image Utility allows a single virtual disk to simultaneously support different motherboards, network cards, video cards, and other hardware devices.
If target devices share a virtual disk, the master target device serves as a template for all subsequent diskless target devices as they are added to the network. It is crucial to prepare the hard disk of the master target device correctly and to install all software on it in the correct order.
Use the following instructions after installing and configuring Citrix Provisioning and creating target devices.
Software must be installed on the master target device in the following order:
- Windows operating system
- Device drivers
- Service packs updates
- Target device software
Applications can be installed before or after the target device software is installed. If target devices are members of a domain, and shares a virtual disk, more configuration steps must be completed.
Dual boot virtual disk images are not supported.
Configuring a master target device’s BIOS
Use the following steps to configure the target device system’s BIOS and the BIOS extension, provided by the network adapter, to boot from the network. Different systems have different BIOS setup interfaces. If necessary, consult the documentation that came with your system for further information on configuring these options.
- If the target device BIOS has not yet been configured, reboot the target device and enter the system’s BIOS setup. To get to BIOS setup, press the F1, F2, F10 or the Delete key during the boot process. The key varies by manufacturer.
- Set the network adapter to On with PXE.
Depending on the system vendor, this setting appears differently.
- Configure the target device to boot from LAN or Network first. Optionally, select the Universal Network Driver Interface; UNDI first, if using a NIC with Managed Boot Agent (MBA) support.
On some older systems, the BIOS setup program included an option that permitted you to enable or disable disk-boot sector write protection. Ensure that the option is disabled before continuing.
- Save the changes, then exit the BIOS setup program.
- Boot the target device from its hard drive over the network to attach the virtual disk to the target device.
Configuring network adapter BIOS
This procedure is only necessary for older systems.
Reboot the master target device.
Configure the network adapter’s BIOS extension through setup.
During the system boot, the network adapter’s BIOS extension presents an initialization message similar to the following: Initializing Intel® Boot Agent Version 3.0.03 PXE 2.0 Build 078 (WfM 2.0) RPL v2.43
Enter the network adapter’s BIOS extension. The key combination for entering the network adapter’s BIOS extension varies by manufacturer. For example, to enter the Intel Boot Agent setup screen, type
Ctrl+S. Consult the network adapter’s documentation for more information.
A screen similar to the following appears:
Change the boot order to Network first, then local drives.
Save any changes, and exit the setup program. In the Intel Boot Agent, typing F4 saves the changes.
Alternatively, a device can be configured to provide IP and boot information (boot file) to target devices using the Manage Boot Devices utility.
Installing the master target device software
Before installing the software on a master target device, clear any BIOS-based-virus protection features. To include antivirus software on the virtual disk image, be sure to turn the antivirus software back on before running the Imaging Wizard.
Install and configure the Microsoft NIC teaming driver, introduced in Windows Server 2012, or OEM NIC teaming software before installing target device software.
On the provisioned target device, start the Windows Device Install service before installing Citrix Provisioning.
Citrix Provisioning target device software components comprise:
- Citrix Provisioning Virtual Disk: the virtual media used to store the disk components of the operating system and applications.
- Citrix Provisioning Network Stack: a proprietary filter driver that is loaded over the NIC driver, allowing communication between the target devices and the Provisioning Server.
- Citrix Provisioning SCSI Miniport Virtual Adapter: the driver that allows the virtual disk to be mounted to the operating system on the target device.
- Citrix Provisioning Imaging Wizard: used to create the virtual disk file and image the Master Target Device.
- Virtual Disk Status Tray Utility: used to provide general virtual disk status and statistical information. This utility includes a help system.
- Target Device Optimizer Utility: used to change target device setting to improve performance.
Citrix Provisioning target device software is available for 32-bit and 64-bit Windows operating systems.
When installing Citrix Provisioning target device software on NT6.x systems within a multi-NIC environment, all available NICs can be used. Therefore bindcfg.exe is no longer required and no longer installed with target device software.
Installing Citrix Provisioning target device software on a Windows device
- Boot the master target device from the local hard disk.
- Verify that all applications on the device are closed.
- Double-click on the appropriate installer. The product installation window appears.
- On the Welcome dialog that displays, click Next, scroll down to the end, then accept the terms of the license agreement.
- Click Next to continue. The Customer Information dialog appears.
- Type your user name and organization name in the appropriate text boxes.
- Select the appropriate install user option. The selected option depends on whether this application is shared by users on this computer, or whether only the user associated with this computer accesses it.
- Click Next. The Destination Folder dialog appears.
- Click Next to install the target device to the default folder,
C:\Program Files\Citrix\Citrix Provisioning. Optionally, click Change, enter the folder name or navigate to the appropriate folder, and then click Next, then click Install. The installation status information displays in the dialog.
The installation process takes several minutes. While the installation process is running, you can click Cancel to cancel the installation and roll-back any system modifications. Close any Windows Logo messages that appear.
- The Installation Wizard Completed message displays in the dialog when the components and options have successfully been installed. Close the Wizard window. If .NET 4.5 or newer is installed and Windows Automount is enabled, the Imaging Wizard starts automatically by default. For details, see Using the Image Wizard to Create a New Disk.
If a Windows reboot request message displays before the imaging process completes, ignore the request until imaging completes successfully.
- Reboot the device after successfully installing product software and building the virtual disk image.