Application Packaging Guide
Application Packaging Guide
5. Adjust the installation order of the dependencies by using the Up and Down buttons.
6. Click OK when finished.
Another way to install required applications regardless of whether they are listed in the
LTI Wizard is to modify the CS.ini file. In this file, modify the MandatoryApplications
property to include the globally unique identifier (GUID) of each mandatory application.
Each entry is numbered to maintain uniqueness—for example:
MandatoryApplications1=GUID of application1
MandatoryApplications2=GUID of application2
To obtain the GUIDs for the applications, examine the Applications.xml file, located in the
Distribution\Control folder.
To install multiple mandatory applications
1. In Deployment Workbench, expand Distribution Share, and then click Task
Sequences.
2. Select the task sequence to be modified, and then in the Actions pane, click
Properties.
3. Click the Task Sequence tab.
4. Expand State Restore, and then click Install Applications.
5. On the Properties tab, click Install multiple applications.
Doing so instructs the task sequence to install all mandatory applications as
configured in the CS.ini file and optional applications configured through rules or by
using the Windows Deployment Wizard.
6. Click OK.
To install a single application
1. In Deployment Workbench, expand the Distribution Share, and then click Task
Sequences.
2. Select the task sequence to be modified, and then in the Actions pane, click
Properties.
3. Click the Task Sequence tab.
4. Expand State Restore, and then click Install Applications.
5. On the Properties tab, click Install a single application.
6. In Application to install, select the application to install.
7. Click OK.
Custom Tasks
At times, it may be helpful to have tighter control over application installation. By using
custom tasks in an MDT 2008 task sequence, administrators can control how an
application is installed. Administrators can reorder the steps in a task sequence in any
way necessary, allowing for easy management of applications with strict installation
orders. In addition, if deploying software updates to Windows XP or Windows
Server 2003 during deployment, they must be installed as applications and will definitely
benefit from tight control of the installation sequence.
5. On the Properties tab for the new task, type a name, description, and commands for
the application. Type the application’s source directory for the value of Start in.
Abbreviate this value for applications already stored in the deployment point—for
example, ./Applications/Adobe Acrobat Reader.
6. On the Options tab, type any options associated with the application.
Examples include exit codes that signal a successful installation (called success
codes here) and criteria to control whether the application is selected for installation
(using If...then logic).
7. Click Apply to accept the new task settings.
When adding an application as an installation task within a deployment task, the
application is installed without having to select the application in the Windows
Deployment Wizard.
Legacy Installers
Some earlier versions of applications used several different installer technologies. Many
of these were not designed for silent installation. To determine whether these applications
can be automated for deployment using MDT 2008, research command options to use
with the application. Test any options that appear to offer the ability to install unattended.
If none exist, use the guidance in the section, “Repackaging Non-compliant Applications,”
in this guide.
2. Complete the New Application Wizard, using the path and setup command for the
2007 Office system.
Microsoft Office will be imported into the deployment point, preparing the correct
folder structure for Microsoft Office deployment using MDT 2008.
3. Right-click the resulting package, and then click Properties to display the
2007 Office system properties sheet.
4. Click the Office Products tab to configure additional Microsoft Office settings.
Note In addition to changing basic settings, administrators can edit the 2007 Office system
Config.xml file from this location.
Application-Packaging Fundamentals
Application repackaging is the process of collecting files and registry changes made by
an application installer and compiling them into a Windows Installer file that can be used
to silently deploy an application. Vendors such as Wise and Macrovision produce
excellent Windows Installer environments designed both to repackage applications and to
be used for initial application packaging.
Using an application packaging tool, administrators can run an installation, collect
information about file system and registry changes, and use the features of the
repackaging tool to manage these settings and create a Windows Installer deployment
file. This process takes some time to perfect. Each application has different requirements,
and some are more challenging to repackage than others. Most, however, can be
repackaged successfully using one of these tools.
Watch for the following during the repackaging process:
• Installers make decisions based on system configuration and user input. Be
sure to examine all variables during package capture to ensure that unintended
changes do not occur in the package output.
• Ensure that any additional files required by the application are included in the
package. Many tools allow administrators to include additional folders and files in the
application package.
• Each repackaging tool approaches the task in a different way. If unsuccessful
with one tool, consider trying another. Administrators may have success with a tool
that uses different repackaging methods.
Macrovision AdminStudio
Using Macrovision AdminStudio, administrators can manage repackaging projects
distributed among several systems administrators and keep track of multiple repackaging
projects simultaneously. Two related Macrovision products, InstallShield Professional and
InstallShield Express, have limited repackaging functionality and focus instead on the
packaging of new applications for developers.
SMS Installer
Originally distributed with Systems Management Server version 2.0, the SMS installer is
a simple repackaging tool that captures “before” and “after” snapshots of a system during
the deployment process. The differences are collected and compiled into a deployment
package. Customization features in Systems Management Server allow some
manipulation of the package but are not as sophisticated as the current versions
available from other software vendors. Because this is a free download from Microsoft
(see Installer with Installer Set-up Utility at
http://www.microsoft.com/technet/sms/20/downloads/tools/installer.mspx), it is definitely
worth a try before purchasing a more expensive tool.
Contents
Based on the existing environment, any combination of these scenarios can be selected
in the deployment. For example, if the organization is only upgrading existing computers,
only the Refresh Computer and Upgrade Computer scenarios may be used. If the
organization is deploying new computers for some users and upgrading the remaining
computers, the Upgrade Computer, Replace Computer, and Refresh Computer scenarios
may be used.
Thick Image
Thick images are monolithic images that contain core applications, language packs, and
other files. Part of the image development process is installing core applications and
language packs before capturing the disk image.
The advantage of thick images is simplicity. When the organization creates a disk image
that contains core applications and language packs, it performs only a single step to
deploy the disk image and core applications to the target computer, with language
support for all target locales. Also, thick images can be less costly to develop, because
they frequently do not require advanced scripting techniques to build. In fact, MDT 2008
can be used to build thick images with little or no scripting. Last, in thick images, core
applications and language packs are available on first start.
The disadvantages of thick images are maintenance, storage, and network costs. For
example, updating a thick image with a new version of an application or language pack
requires rebuilding, retesting, and redistributing the image. If thick images will be built that
include core applications and language packs, install the core applications and language
packs during the disk imaging process.
Thin Image
The more an image contains, the less common and larger that image becomes. By
including less in images, the number and size of images maintained are reduced, which
in turn reduces the cost to build, maintain, and test images as well as storage costs.
Ideally, a single, worldwide image would be maintained that is customized after
deployment.
Thin images contain few if any core applications or language packs. Applications and
language packs are installed separately from the disk image, which typically takes more
time at the computer and possibly more total bytes transferred over the network, but the
transfer is spread out over a longer period of time. To mitigate the network transfer time,
use trickle-down technology that many software distribution infrastructures provide, such
as Background Intelligent Transfer Service (BITS).
The primary disadvantage of thin images is that they can be more complex to develop
initially. Deploying applications and language packs outside the disk image often requires
scripting and a software distribution infrastructure. Another disadvantage of thin images is
that core applications and language packs are not available on first start, which may be
required in high-security scenarios.
If choosing to build thin images that do not include applications or language packs, the
organization should have a systems management infrastructure, such as Systems
Management Server or System Center Configuration Manager, in place to deploy
applications and language packs. Use this infrastructure to deploy applications and
language packs after installing the thin image.
Hybrid Image
Hybrid images mix thin and thick image strategies. In a hybrid image, the disk image is
configured to install applications and language packs on first run, giving the illusion of a
thick image but automatically installing the applications and language packs from a
network source. Hybrid images have most of the advantages of thin images. However,
they are not as complex to develop and do not require a software distribution
infrastructure. They do require longer installation times, however, which can raise initial
deployment costs.
An alternative is to build one-off thick images from a thin image. Begin by building a
reference thin image. Then, after the thin image is tested, add core applications and
language packs, capture them, test them, and distribute a thick image based on the thin
image. Testing the thick image is minimized, because the imaging process is essentially
the same as a regular deployment. Be wary of applications that are not compatible with
the disk imaging process, however.
Hybrid images store applications and language packs on the network but include the
commands to install them when deploying the disk image. This process is different from
Solution Accelerators microsoft.com/technet/SolutionAccelerators
8 Microsoft Deployment Toolkit 2008
installing the applications and language packs in the disk image, because the image
deployment process installations that would typically occur during the disk imaging
process are being deferred. Also, if a systems-management infrastructure is in place, it
will likely be used to install supplemental applications and language packs after
deployment.
Sysprep
Windows Automated Installation Kit (Windows AIK), which is available for download and
installation through MDT 2008, includes the latest System Preparation Tool (Sysprep) for
Windows Vista and Windows Server 2008. As a result, no other tools are needed to
create custom Windows Server 2008 images.
For Windows XP and Windows Server 2003, MDT 2008 copies the correct version of
Sysprep from Deploy.cab, which is in the distribution media’s Support\Tools folder.
MDT 2008 looks for Deploy.cab in Operating Systems\Destination\Support\Tools (where
Destination is the name of the operating system), in the distribution share.
If a custom $OEM$ folder structure, used only in LTI deployments, already includes
Sysprep, MDT 2008 uses the instance of Sysprep in the $OEM$ folder instead of the
instance of Sysprep that is in the Support\Tools folder. In this scenario, MDT 2008 copies
Factory.exe, Sysprep.exe, and Setupcl.exe from the custom $OEM$ folder that contains
Sysprep to the Operating Systems\Destination\$OEM$\$1\Sysprep folder.
Windows PE
Windows AIK includes the correct version of Windows Preinstallation Environment
(Windows PE) for deploying Windows Server 2008 and Windows Server 2003 for LTI
deployments and creating custom operating system images. ZTI deployments require
Windows PE version 2.0. For more information about installing the correct version of
Windows PE for ZTI deployments using System Center Configuration Manager, see the
MDT 2008 document, Getting Started Guide. Windows PE media are not needed to
create custom operating system images.
Add Updates
When developing an image, take care to ensure that all critical security updates are
included in the image so that computers deployed with the image are as up to date as
possible. Different approaches can be used to perform these updates, although the first
option is recommended:
• Adding updates offline. Use MDT 2008 to install updates offline using a task
sequence. In the Task Sequence Editor in MDT 2008, select the Install Updates
Offline task.
• Adding updates online. Use MDT 2008 to install updates online using a task
sequence. In the Task Sequence Editor in MDT 2008, select the Install Updates
Online task.
Note For information about using System Center Configuration Manager and the built-in
ConfigMgr Install Software Updates task sequence, see Install Software Updates at
http://technet.microsoft.com/en-us/library/bb632402.aspx.
• Adding updates to the master image. Download the security updates from the
Microsoft Web site, and then install them as part of the image build process. This is
relatively easy to perform, and additional updates can be added by placing the
downloaded updates in the distribution share. However, the image is vulnerable
before the updates are installed and the computer is restarted.
• Adding updates using Windows Software Update Services (WSUS). Use WSUS,
Systems Management Server, or System Center Configuration Manager to install the
security update after deployment. Like the previous method, the image is vulnerable
before the updates are installed and the computer is restarted. Depending on the
configuration, it might take an hour or more before all updates are applied. Including
the Systems Management Server or System Center Configuration Manager client in
the image and setting it to communicate with a specific Systems Management Server
or System Center Configuration Manager site might result in all computers built from
the image communicating with only that site.
• Slipstreaming updates to the installation source. Download the security updates
from the Microsoft Update Catalog at http://go.microsoft.com/fwlink/?LinkId=8973,
and then integrate them into the Windows installation source before beginning the
unattended build process. While this method protects the image from known security
exploits, integrating the security updates takes some effort.
The sections that follow provide details about how updates differ based on the target
operating system.
Add Applications
The first step in adding applications to a build is to add them to the distribution share.
Deployment Workbench can install the application from its original network location, or it
can copy the application source files to the distribution share. In either case, specify the
commands for installing the application when adding it to the distribution share.
Applications can also be installed as Systems Management Server packages or System
Center Configuration Manager packages for ZTI deployments.
Note For additional guidance on this process, see the MDT 2008 document, Microsoft System
Center Configuration Manager 2007 Imaging Guide.
After an application has been added to the distribution share, it can be installed in one of
two ways:
• Add it to the task sequence. Application installations added to the task sequence—
the sequence of tasks that occur during installation to prepare, install, and configure
the build on the target computer—occur when MDT 2008 executes the task
sequence on the target computer.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
12 Microsoft Deployment Toolkit 2008
• Groups. The task sequence can be organized into groups, folders that can contain
subgroups and tasks. Groups can be nested as necessary. For example, the default
task sequence puts tasks in groups by phase and deployment type.
Tasks and groups, including the groups and tasks they contain, can be filtered based on
specified conditions. Groups are especially useful for filtering, because an entire
collection of tasks can be run based upon a condition such as the deployment phase or
type of deployment. The MDT 2008 document, Image Customization Guide, provides
detailed instructions for editing a task sequence.
Customize Windows PE
Using MDT 2008, download Windows AIK (see the MDT 2008 document, Getting Started
Guide), which comes with Windows PE. No additional files are necessary to create
Windows PE images for MDT 2008. Deployment Workbench automatically customizes
Solution Accelerators microsoft.com/technet/SolutionAccelerators
14 Microsoft Deployment Toolkit 2008
Windows PE WIM files when a deployment point is updated. Optionally, configure the
deployment point to generate the following Windows PE images:
• LTI CD-bootable ISO image
• LTI bootable RAM disk ISO image
• Generic CD-bootable ISO image
• Generic bootable RAM disk ISO image
When a deployment point is updated, Deployment Workbench generates the
Windows PE WIM image and other optional ISO images. It stores these images in the
distribution share’s Boot folder.
Windows PE need not be manually customized to add network adapter device drivers to
it. Deployment Workbench automatically adds network adapter device drivers to the
Windows PE images that are added to the distribution share. An additional option is to
automatically add video and system device drivers from the distribution share to the
Windows PE images.
After updating the deployment point and generated Windows PE images, the WIM image
file can be added to Windows Deployment Services. Optionally, burn the Windows PE
ISO images to DVDs using any commercial CD-burning software.
Note The same platform edition of Windows PE must be used to start computers for installing
each platform edition of Windows. In other words, start target computers using the x86 edition of
Windows PE to install the x86 edition of Windows Server 2008. Likewise, use the x64 edition of
Windows PE to install the x64 edition of Windows Server 2008. If mismatched editions are used,
an error might occur, indicating that the image is for a different type of computer.
To learn more about customizing Windows PE, see the Windows Preinstallation
Environment User’s Guide in Windows AIK.
Capture an Image
Capturing an image based on a build is fundamentally an LTI deployment that ends with
the Windows Deployment Wizard capturing an image of the target computer. When
creating a deployment point, Deployment Workbench provides the option of prompting to
capture an image. Select this option.
When installing the build on a target computer, the Windows Deployment Wizard prompts
to capture an image after installation is complete. The wizard also allows specification of
a destination for the image. The default destination is the Captures folder in the
distribution share, and the default file name is the name of the build. Capturing an image
for deployment using ZTI methods is similar to capturing an image for deployment using
LTI methods. However, use the Systems Management Server or System Center
Configuration Manager Image Capture Wizard to capture the image instead of allowing
Windows Deployment Wizard to capture the image.
Note Disable antivirus programs on the lab computer before capturing an image of the lab
computer’s disk. Antivirus programs can interfere with the configuration of the image and
installation of applications during deployment. After deployment, reactivate the antivirus
program. Test the interaction of antivirus programs with MDT 2008.
Repackaging Applications
To distribute supplemental applications without requiring administrators to manually install
software on each client computer, identify a way to automate the installation. Most
applications provide native support for automation. Recently published applications
typically provide Windows Installer packages. Applications released before Windows
Installer became a popular technology might instead use InstallShield response files for
automation. If an application’s setup procedure does not support these automation
technologies, automatic installation may be possible by using scripting to simulate
keystrokes.
If there is an application that is not designed for Windows Installer and does not support
another native installation automation technique, consider repackaging it into a Windows
Installer package. However, repackaged applications lack the flexibility to efficiently
customize the application installation, which is a feature of applications designed to be
deployed with Windows Installer.
Repackaging is not a function or feature of Windows Installer. However, non-Microsoft
vendors provide tools to facilitate repackaging applications in a variety of formats.
Organizations have repackaged applications for years, largely for the purpose of
customization. Transforms, however, eliminate the need to repackage applications based
on Windows Installer for customization. In fact, repackaging an application that already
uses Windows Installer for installation and maintenance would be difficult and is not
supported.
Some organizations prefer to repackage existing applications to gain the benefits of
Windows Installer and the software deployment technology based on Group Policy in
Windows Server 2003 and Windows 2000 Server. Repackaging also requires a thorough
knowledge of the application’s installation. The cost of repackaging in labor, time, and
reliability is often underestimated.
Repackaging a Windows Installer package typically involves taking a snapshot of a clean
computer (including the registry settings, files, and system settings), installing the
software, taking a post-installation snapshot of the computer, and cleaning the package.
The repackaging software detects the difference between the two snapshots and creates
the necessary installation instructions to reproduce the installation. Any changes to the
registry settings, files, or system settings that occur during the capture process are
included in the installation. Typically, 30 to 40 processes run on a Windows XP
Professional or Windows Vista computer at any given time. Thus, any one of those
processes can modify a system during the installation, and the modification appears in
the repackaged application.
Third, staging areas might contain credentials (user names and passwords) used to
automatically authenticate computers during the setup process. Protect these credentials
to reduce the risk of an attacker’s abusing them. For more information about protecting
servers that host images and other infrastructure components in the staging area, refer to
the Windows Server 2003 Security Guide at
http://www.microsoft.com/downloads/details.aspx?FamilyID=8A2643C1-0685-4D89-
B655-521EA6C7B4DB and the Windows Server 2008 Security Guide at
http://www.microsoft.com/downloads/details.aspx?FamilyID=fb8b981f-227c-4af6-a44b-
b115696a80ac.
The risk of a security compromise cannot be completely eliminated. Therefore, plan to
identify and track attacks. Security auditing, built into all recent versions of the Windows
operating system, is a useful tool for recording user actions. For more information, see
Auditing Security Events Best Practices at
http://technet2.microsoft.com/WindowsServer/en/library/5658fae8-985f-48cc-b1bf-
bd47dc2109161033.mspx.
required only for the most critical computers on the network, such as staging and
production deployment servers.
At a minimum, use the Microsoft Baseline Security Analyzer (MBSA) to audit the security
configuration of deployment servers. The MBSA is available for download from the
Microsoft Security TechCenter at
http://www.microsoft.com/technet/security/tools/mbsahome.mspx. The Microsoft Office
Visio® 2007 Connector for MBSA 2.1, available at
http://www.microsoft.com/technet/security/tools/mbsavisio.mspx, can help visualize the
results of the audit.
Windows Firewall with Advanced Security will automatically create exceptions for
required services on deployment servers. If a network firewall is added between
deployment client computers and servers, the network firewall must, at a minimum, allow
the following communications to the appropriate servers in the deployment environment:
• Domain Name System (DNS). User Datagram Protocol (UDP) port 53.
• Dynamic Host Configuration Protocol (DHCP). UDP port 67.
• Key Management Service (KMS). TCP port 1688. KMS provides activation services
for Windows Vista and Windows Server 2008 volume-licensed versions.
• Windows Deployment Services. UDP port 69 (for Trivial File Transfer Protocol
[TFTP]) and UDP port 4011 (for Pre-Boot Execution Environment [PXE]).
• File sharing (required for the distribution share). TCP ports 139 and 445 and
UDP ports 137 and 138.
• Active Directory® Domain Services (AD DS) domain controller. For detailed
information about AD DS firewall requirements, see the Microsoft Help and Support
article, “How to configure Windows Server 2003 SP1 firewall for a domain controller,”
at http://support.microsoft.com/kb/555381.
• Systems Management Server. For detailed information about firewall requirements
for Systems Management Server, see the Microsoft Help and Support article, “Ports
that Systems Management Server 2003 uses to communicate through a firewall or
through a proxy server,” at http://support.microsoft.com/kb/826852. For general
security information, see Scenarios and Procedures for Microsoft Systems
Management Server 2003: Security at
http://www.microsoft.com/technet/prodtechnol/sms/smssp2/spsecurity/cbaf0e37-
5aa9-415f-a3a5-1baf014faf14.mspx.
• System Center Configuration Manager. For detailed information about firewall
requirements for System Center Configuration Manager, see Firewall Settings for
Configuration Manager Clients at http://technet.microsoft.com/en-
us/library/bb694088.aspx. For general security information, see Security and
Privacy for Configuration Manager 2007 at http://technet.microsoft.com/en-
us/library/bb680768.aspx.
• Microsoft SQL Server®. Systems Management Server or System Center
Configuration Manager may require SQL Server. For detailed information about
firewall requirements for SQL Server, see the Microsoft Help and Support article,
“INF: TCP Ports Needed for Communication to SQL Server Through a Firewall,” at
http://support.microsoft.com/kb/287932. For general security information, see the
SQL Server security site at http://www.microsoft.com/sql/technologies/security.
Gather Inventories
Gather an inventory for the organization before beginning deployment, including the
following details:
• Structural description of the business. The structure of the business, including a
geographical map with the location of each office (if there is more than one) and the
number of users in each office. In addition, this information should include an
organization chart of the business that outlines each functional area and the number
of users it contains. It is also useful to include other organizational information, such
as the vision and mission of the business. The latter is useful for bringing outside
consultants rapidly up to date on the nature of the business.
• Hardware and software inventories. A geographic map outlining the number and
function of computers by site, including specific information about each computer:
• Processor architecture
• Basic input/output system (BIOS) or complementary metal-oxide semiconductor
(CMOS) chip type and version, including whether the computer can start from a
UFD or from the network
• Number and capacity of hard disks
• Removable media drives available, including CD or DVD drivers
• System memory
• Details of and drivers required for individual hardware components, including
video cards, network adapters, modems, and other accessories
• Current operating system and updates installed
• Applications and any relevant updates that are installed.
• Network infrastructure diagram. A network diagram outlining LAN and wide area
network (WAN) links in addition to speeds and available bandwidth. This diagram
should also include remote access connections and the number of remote users and
their location. If common traffic patterns, such as peak loads, are identifiable, they
should also be included. Finally, this diagram should include the network’s
addressing scheme.
• Service infrastructure documentation. A server diagram including a description of
each server located in any site and the server’s function and role in the overall
network, including:
• Authentication and other security services.
• Collaboration services, such as e-mail, team workspaces, and instant
messaging.
• File and print services, including server size and available disk space.
• Replication services currently in use as much for authentication as for file
services.
• Management infrastructure documentation. A diagram outlining how network
systems are managed within the organization, including:
• Client computer management, including portable and remote computers.
• Management toolkit outlining application names, the number of servers involved
in this management toolkit, and their role and capacity for growth.
• Technical support structure outlining the roles and responsibilities of the staff
involved in computer management and computer support.
• Standards and procedures currently in use for the management of computers,
ideally including information such as existing current system builds and build
methodology as well as the application portfolio management and use practices.
• ACT database. A database that includes not only application-specific data but also
basic information concerning the computer hardware. In addition, it provides useful
information about the compatibility of applications with both Windows XP with SP2
and Windows Vista. This database can double as an inventory tool if no other
automated tool is in place.
• Windows Vista Hardware Assessment (WVHA) tool information. Information
gathered using the WVHA tool, including the current state of hardware in the
organization as well as readiness for Windows Vista.
• Help desk issues list. A list of issues related to operating systems and computer
builds so as many as possible can be repaired during the preparation of the new
operating system build. Involving the help desk early in the process helps both the
help desk and users during the deployment.
6. Run the upgrade process in the test lab to determine the size of the deployment logs.
7. Determine how long the deployment logs must be retained.
8. Multiply the size of the deployment logs for one computer by the number of
computers being deployed simultaneously.
disadvantage is that sufficient storage is needed for the source files on each server
hosting the distribution points.
To estimate for planning purposes the application and operating system source-file
requirements for a single deployment point (or common shared folder)
12. Create a copy of each application and operating system source file on a shared
folder.
13. Determine how much disk storage all the application and operating system source
files require.
If using one common network shared folder to be accessed by all distribution points,
select a server with sufficient available disk storage for the source files. If providing a
local copy to each distribution point, ensure that each server hosting one or more
distribution points has sufficient available disk storage for the source files.
• 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 2003 or Windows
Server 2008 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.
• 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 the target computer.
• 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 points. (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 point after restarting in Windows PE, causing the
deployment process to fail.
Although the minimum requirements for the Windows Vista operating system are
highlighted in the Windows Vista TechCenter, hardware performance must be validated
with the intended applications and user expectations before determining the
organization’s standard hardware specifications.
For example, when deploying Windows Vista with the Windows Aero® theme settings,
the following computer resources may be required:
• At least 2 GB of RAM
• At least a 2 gigahertz (GHz) processor
• A compatible graphics adapter that provides improved performance
If deploying Windows Vista with the Windows Basic theme settings, these
recommendations can be considerably reduced. Customize the hardware specifications
and operating system configurations based on the user roles and operational needs in
the organization.
For more information about customizing the hardware specifications and operating
system configuration, see:
• Windows Vista Enterprise Hardware Planning Guidance at
http://technet.microsoft.com/en-us/windowsvista/aa905075.aspx.
• Windows Aero at
http://www.microsoft.com/windows/products/windowsvista/features/details/aero.mspx.
Most functions and features found in 32-bit versions of Windows are the same in 64-bit
versions of Windows. However, take the following differences into consideration when
deploying 64-bit versions of Windows:
• The version of Windows PE must match the version of Windows being deployed. If
deploying a 64-bit version of Windows Vista, use a 64-bit version of Windows PE.
Similarly, if deploying a 32-bit version of Windows Vista, use a 32-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 2008 may not properly detect that the processor is a 64-bit
processor. Force Windows Deployment Services to deploy 64-bit versions by using
the following command:
WDSUTIL /set-server /architecturediscovery:yes
For more information, see the Windows Deployment Services Help files.
• 64-bit versions of Windows PE 2.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. 32-bit device drivers cannot
be used in 64-bit versions of Windows.
• Servers hosting shared folders used to store deployment images (that is, deployment
points).
• Servers hosting shared folders used to store user state migration data.
• Servers hosting shared folders used to store deployment logs.
These servers need to be on adjacent subnets to the target computers to ensure high-
speed connectivity to the computers. 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 Windows Deployment Services server) 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 by using a combination of a Windows Vista
or Windows PE image CD.
• In addition, when deploying computers through a firewall, ensure that the appropriate
TCP and UDP ports are open on firewalls. If deploying images with ZTI deployment,
see the Microsoft Help and Support article, “Ports that SMS 2003 uses to
communicate through a firewall or through a proxy server,” at
http://support.microsoft.com/kb/826852.
• Application Installation Server Role. This role is used to store the prepackaged
installation files for the applications to be redeployed after the operating system has
been replaced.
• Activation Server Role. To support Volume Activation 2.0, a KMS host may be
required to automatically activate newly configured Windows Vista or Windows
Server 2008 computers. For more information about Volume Activation 2.0 and KMS,
see Volume Activation 2.0 Technical Guidance in the Microsoft Download Center
at http://go.microsoft.com/fwlink/?LinkID=75674. If using a Multiple Activation Key
(MAK) to activate computers, a separate server may not be required. However, the
Volume Activation Management Tool (VAMT) can enable MAK activation without
connecting hosts directly to the Internet. For more information about VAMT, see
Solution Accelerators microsoft.com/technet/SolutionAccelerators
xxviii Microsoft Deployment Toolkit 2008
Contents
This guide describes how to customize reference images by customizing the task
sequence; how to create custom scripts and customize existing scripts; how to configure
and customize variables, location, role, and make and model; and how to configure and
customize the imaging databases and custom images.
The guidance presented here extends the guidance found in the MDT 2008 documents,
Workbench Imaging Guide and Microsoft System Center Configuration Manager 2007
Imaging Guide.
Table 1 provides additional information on the reference guides that are available to
assist in configuring and setting up Deployment Workbench, Systems Management
Server, and System Center Configuration Manager.
Table 1. Related Guidance in MDT 2008
Guide This guide offers assistance to help
Preparing for LTI Tools Install LTI in the environment. The guide includes
information about how LTI works.
Preparing for Microsoft Systems Install ZTI in the environment and perform
Management Server 2003 deployments using Systems Management Server.
The guide includes information about how ZTI and
Systems Management Server work together.
Preparing for Microsoft System Create a default installation of MDT 2008 for ZTI
Center Configuration using System Center Configuration Manager.
Manager 2007
Image Customization Guide Guide the process of using MDT 2008, Systems
Management Server, and System Center
Configuration Manager during the imaging process.
Task Sequences
A task sequence is a combined series of steps that complete an action. Task sequences
can operate across a computer restart, and task sequence steps can be organized into
groups for more control over run-time behavior. A custom task sequence can be created
that will automate and perform tasks on a computer without user interaction.
Custom task sequence steps can be organized into groups so that multiple task
sequence steps will run on a computer. By using task sequence steps in groups, error
control can be organized and configured for each individual task sequence step and
group.
Scripts
Scripts are used to automate the deployment process. Scripts scan the configuration
files, the configuration database, and environment variables to determine the rules to be
used when deploying images to target computers.
Scripts create log files while they automate the deployment process. The log files record
the status of the deployment process and can be used to assist in troubleshooting the
deployment process.
For more information about each script used in the MDT 2008 deployment process, see
the section, “Deployment Process Flowcharts,” in the MDT 2008 document,
Troubleshooting Reference.
Configuration Files
Scripts interpret the configuration files to ensure that the appropriate steps occur to
deploy the correct operating system to the correct target computer. Various MDT 2008
wizards assist in creating and maintaining the configuration files.
MDT 2008 can create and manage:
• Templates configuration files. After MDT 2008 creates the template file, the file is
manually customized to include the appropriate processing rules. The
CustomSettings.ini file is an example of this type of configuration file. After these
template files are initially created, they should be maintained manually.
• Completed configuration files. These files require no further customization. The
Applications.xml file is an example of this type of configuration file. Maintain these
files using MDT 2008. Although these files can be maintained manually, using
MDT 2008 is recommended to avoid introducing human-caused errors.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
4 Microsoft Deployment Toolkit 2008
The MDT 2008 configuration files and a brief description of each are listed in Table 2.
Table 2. Configuration Files in MDT 2008
Configuration file Description
CustomSettings.ini The primary configuration file for the MDT 2008 processing
rules used in all scenarios.
BootStrap.ini The configuration file used when the target computer is not
able to connect to the appropriate deployment point. This
situation occurs in the New Computer scenario and in the
Replace Computer scenario.
For more information about additional configuration files, see the section, “Deployment
Process Flowcharts,” in the MDT 2008 document, Troubleshooting Reference.
Configuration Database
The configuration database is a logical extension of configuration settings that would
typically exist in CustomSettings.ini. Create and manage the configuration database on
the Database node in MDT 2008.
The configuration settings can be centrally stored in a relational database using a
configuration database. The configuration database is referenced in the
CustomSettings.ini file. The MDT 2008 scripts query the database to retrieve values for
properties. Using the configuration database is appropriate when the target computers
have a high-speed, persistent connection to the server running Microsoft SQL Server®
on which the configuration database is stored. Otherwise, make all configuration settings
in CustomSettings.ini.
Environment Variables
MDT 2008 scripts automatically retrieve appropriate environment variables. The variables
are referenced like properties in the deployment processing rules. The environment
variables can be referenced like any property in the configuration files or configuration
database.
Log Files
Because MDT 2008 scripts automatically create log files, no configuration settings are
necessary. Each script creates a log file that matches the name of the script. For
example, ZTIGather.wsf creates a log file named ZTIGather.log. Each script also updates
a common log file (Deployment.log) that aggregates the contents of all the logs.
For more information about each log file, see the section, “Deployment Process Flow
Charts,” in the MDT 2008 document, Troubleshooting Reference.
Deployment Workbench
Using Deployment Workbench, packages, languages, updates, and additional items can
be added to task sequences.
Task Sequences
Edit a task sequence to customize it for the deployment process. The following section
describes the settings available in the Task Sequence Editor:
• Task sequence ID: An un-editable field assigned to the task sequence.
• Task sequence name: The name assigned to the task sequence.
• Task sequence version: The version assigned to the task sequence.
• Comments: An area in which to identify the task sequence settings or add individual
task sequence comments.
• This can run on any platform: Defines the task sequence as able to run on any
Windows platform.
• This can run only on the specified client platforms: Defines the compatible
platforms on which this sequence will run.
Use the Task Sequence tab in the Task Sequence Editor to customize the individual
tasks and change the order of their application to the target computer. The following
section describes the task sequences that are available:
• New Group: Creates a new group listing using the name specified.
• General: Contains the Run Command Line, Set Task Sequence Variable, Run
Command Line As, Restart Computer, Gather, Install Updates Offline, Validate, and
Install Application task sequence steps.
• Disks: Contains the Format and Partition Disk; and Enable BitLocker task sequence
steps.
• Images: Contains the Install Operating System task sequence step type.
• Settings: Contains the Apply Network Settings, Capture Network Settings task
sequence steps.
• Roles: Contains the Install Roles task sequence step type.
Each task sequence group and step has configurable properties on the Properties and
Options tabs that are common to all task sequence groups and steps. For detailed
information about these properties and options, see the MDT 2008 document, Toolkit
Reference.
For detailed information about task sequences in Deployment Workbench, see the
MDT 2008 document, Workbench Imaging Guide.
For detailed information about task sequences in System Center Configuration Manager,
see About Task Sequences at http://technet.microsoft.com/en-
us/library/bb693631.aspx.
For detailed information about task sequences in Systems Management Server, see
Operating System Deployment Task Sequence Variables at
http://technet.microsoft.com/en-us/library/bb632442.aspx.
OS Packages
Before deploying operating system images to target computers, add any packages that
must be installed after the operating system is installed. Add the packages to be installed
using the New Package Wizard on the OS Packages node in Deployment Workbench.
Following are examples of packages that are installed after the operating system is
installed:
• Security updates
• Service packs
• Language packs
Note These packages are different from Systems Management Server packages and SMS 2003
OSD Feature Pack packages. The Deployment Workbench user interface (UI) refers to these
packages as OS Packages to differentiate them from packages in Systems Management Server
and the SMS 2003 OSD Feature Pack.
The New Package Wizard finishes, and the new package name appears in the
details pane.
Note Repeat this procedure for each package to be added except the packages located beneath
source_directory_name.
Package groups can also be created to logically group packages together for ease of
deployment. For example, if multiple operating systems will be deployed, create a
package group for each operating system that includes the service packs or language
packs for that operating system.
Also, configure package groups by customizing the PackageGroup and
LanguagePacks properties or by selecting a package group for a task sequence. If:
• A package group is specified in CustomSettings.ini or in the task sequence
properties, only the packages (including language packs) that are in that package
group as configured in Deployment Workbench are installed.
• No package group is specified in CustomSettings.ini or in the task sequence
properties:
• All packages (including language packs) defined in the OS Packages node in
Deployment Workbench are installed.
• All language packs specified in the LanguagePacks property are installed.
For more information on:
• Creating package groups, see the section, “Add a Package Group,” in the MDT 2008
document, Workbench Imaging Guide.
• The PackageGroup property, see the section, “PackageGroup,” in the MDT 2008
document, Toolkit Reference.
• The LanguagePacks property, see the section, “LanguagePacks,” in the MDT 2008
document, Toolkit Reference.
Languages
Language packs enable a multilingual Windows environment. Windows Vista is
language-neutral, and all language and locale resources are added to Windows Vista
through language packs (Lp.cab files). By adding one or more language packs to
Windows Vista, those languages can be enabled when installing the operating system. As
a result, the same Windows Vista image can be deployed to regions with different
language and locale settings, reducing development and deployment time.
See the following references for additional information about language packs in Windows
Vista:
• For instructions on installing language packs during deployment, see the section,
“Running the Windows Deployment Wizard,” in the MDT 2008 document, Preparing
for LTI Tools.
• For the configuration properties for installing language packs automatically, see the
MDT 2008 document, Toolkit Reference.
• For more information about Windows Vista language packs, see “Manage Language
Packs for Windows” in Windows AIK.
If installing Windows XP Multi-user Interface (MUI) language packs, add each language
pack as an application to the distribution share. Then, install the language pack as part of
the task sequence or allow the user to choose a language pack during deployment. For
language packs, create a subgroup called Language Packs in the State Restore group,
and then add language packs to it.
Doing so installs language packs automatically, keeps them organized, and provides
control over the installation order. To prevent users from seeing language packs in the list
of applications during deployment, in the Application Properties dialog box (where
Application is the name of the language pack added to the distribution share), clear the
Enable this application check box.
Patches
Apply patches to task sequences to keep the images up-to-date for security and
additional software updates. Add the patches during the initial creation of the task
sequence, or add them as a secondary process after the task sequence is created.
To add patches to a task sequence
26. Start Deployment Workbench.
27. Click Task Sequences, right-click task_sequence (where task_sequence is the
name of the task sequence to edit), and then click Edit.
28. In the Task Sequence Properties dialog box, click the Task Sequence tab. Click the
location to insert the patches, and then click Add.
29. Click General, and then click Run Command Line.
30. In the Properties dialog box, in the right pane of the Task Sequence tab, in the
Name box, type Apply Patches.
31. In the Command line box, type cscript.exe “%SCRIPTROOT%ZTIPatches.wsf”
(including the quotation marks).
32. Click OK.
Drivers
Before deploying operating system images to target computers, add any device drivers
that must be installed with the operating system. Add the drivers to be installed using the:
• New Driver Wizard in Deployment Workbench.
• $OEM$ folder structure for original equipment manufacturer (OEM)–supplied drivers.
Note Repeat this procedure for each set of drivers to be added except the drivers that are
located beneath source_directory_name.
Applications
During the Developing Phase, the applications were repackaged or their installation
automated. Core applications are common to most computers in the organization;
supplemental applications are not.
The first step in adding applications to an image is to add them to the distribution share.
Deployment Workbench can install the application from its original network location, or it
can copy the application source files to the distribution share. In either case, specify the
commands for installing the application when it is added to the distribution share.
Custom Images
Custom images contain the minimum amount of information required. It is common to use
custom images for applications that serve a specific purpose. In addition, a custom image
might contain specific regional information; for example, language packs or specific
security settings.
Packages
Systems Management Server packages contain the files and commands used to run the
programs in the package in addition to other important information, such as which
distribution points provide the package source files for target computers, and so on.
To modify an existing package
40. In SMS Administrator Console, expand Site Database, and then expand site_code
(where site_code is the name of the Systems Management Server site).
41. Expand Packages, right-click the package to edit, and then click Properties.
42. Use the Package Properties dialog box to change the settings.
For additional information about packages, see the Systems Management Server 2003
Operations Guide at
http://www.microsoft.com/technet/prodtechnol/sms/sms2003/opsguide/default.mspx?mfr=
true.
Languages
System Management Server distributes language packs as System Management Server
packages. Create System Management Server packages that include the language
packs, and then distribute the packages to the System Management Server distribution
points.
To modify an existing language for System Management Server
43. In SMS Administrator Console, expand Site Database, and then expand site_code
(where site_code is the name of the Systems Management Server site).
44. Expand Packages, right-click the language to edit, and then click Properties.
45. Use the Package Properties dialog box to change the settings.
For additional about modifying languages, see the section, “Distributing Device Drivers,
Updates, and Language Packs Using Systems Management Server Packages,” in the
MDT 2008 document, Microsoft Deployment Toolkit Samples Guide.
Advertisements
After creating and distributing the package, advertise a program associated with that
package to a target collection in the Systems Management Server site. For more
information about advertising packages, see the Systems Management Server 2003
Operations Guide at
http://www.microsoft.com/technet/prodtechnol/sms/sms2003/opsguide/default.mspx?mfr=
true.
Drivers
During the ZTI deployment process, device drivers for target computers may have to be
installed at the time the operating system is being deployed. Typically, device drivers are
configured in Deployment Workbench and are available through the distribution point.
However, multiple copies of device drivers might be created so that not all target
computers are required to connect to the distribution point—for example, if packages will
be deployed to branch offices and a local copy of the device drivers will be provided for
each branch office.
For ZTI deployments, create a Systems Management Server package that contains the
device drivers, and then distribute the package to the distribution points. This way, the
target computers can access the device drivers from a local Systems Management
Server distribution point.
Device drivers created in Deployment Workbench can also be distributed by using
System Management Server. For more information, see “Distributing Device Drivers,
Updates, and Language Packs Using Systems Management Server Packages” in the
Microsoft Deployment Toolkit Samples Guide.
For additional information about packages, see the Systems Management Server 2003
Operations Guide at
http://www.microsoft.com/technet/prodtechnol/sms/sms2003/opsguide/default.mspx?mfr=
true.
Custom Images
Custom images contain the minimum amount of information required. It is common to use
custom images for applications that serve a specific purpose. In addition, custom image
might contain specific regional information; for example, language packs or specific
security settings.
SMS Installer
Systems Management Server includes SMS Installer, a tool that creates software
executable files. These packages are self-extracting files that contain everything
necessary to install the software, including a script to control the installation.
Although SMS Installer–generated executable files are created specifically to use on
Systems Management Server client computers, they can also be posted to the Internet or
packaged on a CD or on floppy disks. SMS Installer creates installation packages that
can gather information about the current system, install and delete files, search for files,
prompt users for information, and update system files and the Windows registry. The
package can be customized to prompt the user for information, or it can run unattended.
SMS Installer includes the Windows Installer Step-up Utility (ISU). ISU is a command-line
tool that migrates setup packages from the SMS Installer format to the Windows Installer
format. The resulting setup package is a Windows Installer setup package with an .msi
file name extension.
The new setup package can be run on any computer that supports Windows Installer. For
more information about how to use SMS Installer, see SMS Installer Help. SMS Installer
also creates Windows Installer packages and can open SMS Installer–generated
executable files.
For additional information about SMS Installer, see Installer Step-up Utility for MS
Systems Management Server at
http://www.microsoft.com/technet/sms/20/instlset.mspx.
Packages
System Center Configuration Manager uses packages to distribute software to client
computers. A package generally represents a software application to be installed on a
target computer, but it might also contain individual files, updates, or even an individual
command.
Note Although System Center Configuration Manager can be used to easily install software on
multiple computers, IT personnel must still agree to and follow the software license terms for any
software installed using System Center Configuration Manager. Software metering can be used to
help track license use. For more information about software metering, see Software Metering
in Configuration Manager at http://technet.microsoft.com/en-us/library/bb694169.aspx.
Using packages, software can be delivered, installed, and configured to meet the
individual needs of the organization’s users. This is done using programs, which identify
the actions that must occur on the client computer, after the package is received. Each
program defines for System Center Configuration Manager the client platform and
environment within which the package can run and includes any and all appropriate
references to script files or command switches. Each package must contain at least one
program. For more information about programs, see About Programs at
http://technet.microsoft.com/en-us/library/bb632775.aspx.
Packages and programs are created and displayed in the Packages node in
Configuration Manager console. They are then stored in the database for the site being
administered.
Packages often contain files in addition to the programs, particularly when installing a
software application or update. If the package requires such files, also specify the
following information:
• The source folder containing all the files needed for the package. If the package
supports more than one platform, all files for all platforms are included in the source
folder.
• The distribution points for the package, on which the package files, programs, and
scripts necessary for the package to run successfully will be stored. For more
information about distribution points, see About Distribution Points at
http://technet.microsoft.com/en-us/library/bb680614.aspx.
After creating a package with a source folder, System Center Configuration Manager
sends the package source files to the distribution points specified. After programs have
been defined for a package and the package data has been sent to one or more
distribution points, create advertisements that make those programs available to the
client computers in the specified collection.
Advertisements
After a software distribution package has been created, along with programs to tell client
computers what to do with the package, advertise the program that the client computers
are to run. Advertising the program makes a program available to a specified collection of
client computers.
System Center Configuration Manager evaluates advertisements to determine which
client computers will receive a specific program to run. An advertisement specifies the
following information:
• The program to run. (For more information, see About Programs at
http://technet.microsoft.com/en-us/library/bb632775.aspx.)
• The target collection of computers, users, or user groups to receive the program. (For
more information, see About Collections at http://technet.microsoft.com/en-
us/library/bb694134.aspx.)
• The schedule that specifies when the program is available. In the case of assigned—
that is, mandatory—advertisements, additional options, such as Wake-on-LAN and
ignoring maintenance windows can be used in conjunction with this schedule. (For
more information, see How to Assign a Mandatory Advertisement at
http://technet.microsoft.com/en-us/library/bb694124.aspx.)
The site’s client computers will not be able to receive advertised programs until the
software distribution client agent on the site’s client computers is enabled. The Advertised
Programs Client Agent performs the necessary software distribution–related tasks on
these clients, primarily allowing the clients to receive and run the programs advertised.
For additional information about advertisements, see About Advertisements at
http://technet.microsoft.com/en-us/library/bb694110.aspx.
Languages
System Center Configuration Manager distributes language packs as System Center
Configuration Manager software distribution packages. Create software distribution
packages that include the language packs, and then distribute the packages to the
System Center Configuration Manager distribution points.
Language packs created in Deployment Workbench can also be distributed by using
System Center Configuration Manager. This process is similar to distributing language
packs in System Management Server. For more information, see the section “Distributing
Device Drivers, Updates, and Language Packs Using Systems Management Server
Packages” in the MDT 2008 document Microsoft Deployment Toolkit Samples Guide.
Deploy language packs to Windows Vista and Windows Server 2008 using one of the
following methods:
• Online. Installs the language pack after the target operating system is deployed. This
method is commonly used to add language packs to operating system editions that
support multiple languages (such as Windows Vista Enterprise or Windows Vista
Ultimate). This allows users to interactively select different operating systems. For
this method, add the Install Language Packs Online action during the State
Restore phase to deploy the language packs.
Note When deploying a language pack to an operating system edition that does not
support multiple languages when using the online method, the newly deployed language
becomes the new default language and the existing default language is removed
automatically within 24 hours.
• Offline. Installs the language pack before the target operating system starts for the
first time. This allows the language to be automatically selected by the MDT 2008
deployment process or by allowing the user to select the default language the first
time the target operating system starts. For this method, add the Install Language
Packs Offline action during the Postinstall phase to deploy the language packs.
When using either method, the language pack package must be created in System
Center Configuration Manager prior to configuring the task sequence action. The only
required configuration parameter for either action is to specify the language pack
package to be deployed.
To install a language pack using the online method
46. Create a System Center Configuration Manager package that contains the language
pack(s) to be deployed to the target computers.
47. On the Task Sequences node, in the details pane, right-click task_sequence, and
then click Edit (where task_sequence is the name of the task sequence to modify).
48. In the task sequence editor dialog box, in the State Restore task sequence group,
click Add, click MDT, and then click Install Language Packs Online.
This adds the Install Language Packs Online action to the task sequence.
49. On the Properties tab of the Install Language Packs Online action, click Browse.
50. In the Select a Package dialog box, click package (where package is the package
created in step 1), and then click OK.
51. Click OK.
To install a language pack using the offline method
52. Create a System Center Configuration Manager package that contains the language
pack(s) to be deployed to the target computers.
53. On the Task Sequences node, in the details pane, right-click task_sequence, and
then click Edit (where task_sequence is the name of the task sequence to modify).
54. In the task sequence editor dialog box, in the Postinstall task sequence group, click
Add, click MDT, and then click Install Language Packs Offline.
This adds the Install Language Packs Online action to the task sequence.
55. On the Properties tab of the Install Language Packs Online action, click Browse.
56. In the Select a Package dialog box, click package (where package is the package
created in step 1), and then click OK.
57. Click OK.
Drivers
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. The
driver catalog consists of two nodes in the Configuration Manager console: Drivers and
Driver Packages.
Storing device drivers in the driver catalog and not with each individual operating system
image greatly reduces the number of operating system images that are required. When
deploying an operating system image, each operating system image can install enabled
device drivers that have been imported are available on a distribution point.
Also multiple versions of Windows device drivers can be stored in the driver catalog.
Maintaining multiple versions of device drivers provides an easy way to upgrade existing
device drivers when hardware device requirements change on the network.
For more information about the driver catalog, see How to Manage the Driver Catalog
at http://technet.microsoft.com/en-us/library/bb693985.aspx.
Custom Images
Custom images contain the minimum amount of information required. It is common to use
custom images for applications that serve a specific purpose. A custom image might
contain specific regional information—for example, language packs or specific security
settings.
[Default]
OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
UserDataLocation=NONE
CustomProperty=TRUE
OSDINSTALLSILENT=1
[00:0F:20:35:DE:AC]
OSDNEWMACHINENAME=HPD530-1
OSDINSTALLPACKAGE=DAL00342
OSDINSTALLPROGRAM=CustomVista
[00:03:FF:FE:FF:FF]
OSDNEWMACHINENAME=BVMXP
OSDINSTALLPACKAGE=NYC00002
OSDINSTALLPROGRAM=SpecialVista
Required Sections
Only the [Settings] section is required. All other sections are optional. The MDT 2008
scripts require the [Settings] section in CustomSettings.ini to locate the reserved
properties (Priority and Properties).
Optional Sections
The optional sections in the CustomSettings.ini file are used 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 the section
“Applying the 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 the section “Applying the
Properties to Individual Computers” later in this guide.
• Declared in the ZTIGather.xml file. These predefined properties are listed in the
ZTIGather.xml file and are documented in the MDT 2008 document, Toolkit
Reference. The ZTIGather.wsf file retrieves these properties by scanning the
ZTIGather.xml file. Divide the properties in this file into properties that:
• ZTIGather.wsf automatically assigns values. ZTIGather.wsf automatically sets
the values for these properties, which must be treated as read-only.
• Must be assigned values in CustomSettings.ini. Ensure that the value for any
property to be used is set in CustomSettings.ini and is considered modifiable.
• Declared in the Properties property. These are custom properties that can be
declared, and they are in addition to the properties automatically declared in
ZTIGather.wsf and in ZTIGather.xml.
The way properties are used for ZTI and LTI are identical. However, some properties are
unique to ZTI or LTI deployment. Because ZTI deployments (in this Systems
Management Server example) use Systems Management Server with the SMS 2003
OSD Feature Pack to deploy target operating system images, ZTI has properties that
refer to SMS 2003 OSD Feature Pack values (such as OSDInstallPackage,
OSDInstallProgram, and OSDNewMachineName).
Like ZTI deployments, LTI deployments also have unique properties. Most of the LTI-
specific properties relate to the Windows Deployment Wizard (such as
SkipAdministratorPassword, SkipCapture, or SkipUserData). Although these
properties use the same syntax as other properties, the reserved properties perform
specific functions in the deployment processing rules.
Table 3 lists the types of property value that can be assigned to the Priority property.
[Default]
OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
The New Deployment Point Wizard in Deployment Workbench will modify 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
Point Wizard.
Listing 3. Customized CustomSettings.ini File Modified by Deployment Workbench
[Settings]
Priority=Default
Properties=MyCustomProperty
[Default]
OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
DeployRoot=\\NYC-AM-FIL-01\Distribution$
UserDataLocation=NONE
SkipAppsOnUpgrade=NO
SkipCapture=NO
SkipAdminPassword=YES
SkipProductKey=YES
The CustomSettings.ini file in Listing 3 contains the property values for all of the target
computers to be migrated using this version of the file. This version of the file contains no
values that are unique to a specific target computer. For LTI, the target computer–specific
configuration values are manually provided during the installation process.
Table 4 explains the properties and corresponding values used in Listing 3.
For more information on the individual properties, see the corresponding reference
section in the MDT 2008 document, Toolkit Reference.
[Default]
OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
The New Deployment Point Wizard in 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 Point Wizard.
Listing 5. Customized CustomSettings.ini File Modified by Deployment Workbench
[Settings]
Priority=Default
Properties=MyCustomProperty
[Default]
OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
UserDataLocation=NONE
OSDINSTALLSILENT=1
OSDINSTALLPACKAGE=NYC00002
OSDINSTALLPROGRAM=SpecialVista
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, the target computer–specific configuration values are manually added after
running the New Deployment Point Wizard before the installation process begins.
Listing 6 shows the version of the CustomSettings.ini file after further customization to
include target computer–specific settings.
Listing 6. Customized CustomSettings.ini File Customized for Target Computer
Settings
[Settings]
Priority=Default, MACAddress
Properties=MyCustomProperty
[Default]
OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
UserDataLocation=NONE
OSDINSTALLSILENT=1
[00:0F:20:35:DE:AC]
OSDNEWMACHINENAME=HPD530-1
OSDINSTALLPACKAGE=DAL00342
OSDINSTALLPROGRAM=CustomVista
[00:03:FF:FE:FF:FF]
OSDNEWMACHINENAME=BVMXP
OSDINSTALLPACKAGE=NYC00002
OSDINSTALLPROGRAM=SpecialVista
Table 5 explains the properties and corresponding values used in Listing 6.
Table 5. Explanation of CustomSettings.ini Properties in Listing 6
Line in CustomSettings.ini Purpose
[Settings] Indicates the start of the [Settings] section.
Priority=Default, MACAddress 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).
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.
[Default] Indicates the start of the [Default] section.
OSInstall=Y Indicates whether the target computer is
authorized to have the operating system
installed.
For more information on the individual properties, see the corresponding reference
section in the MDT 2008 document, Toolkit Reference.
[Default]
DeployRoot=\\NYC-BDD-01\Distribution$
Solution Accelerators microsoft.com/technet/SolutionAccelerators
28 Microsoft Deployment Toolkit 2008
[Default]
OSDINSTALLSILENT=1
OSDINSTALLPACKAGE=XXX00000
OSDINSTALLPROGRAM=Install
proceed, including whether there is enough space to do a local USMT state backup.
The scripts also invoke the USMT Scanstate.exe command as appropriate.
• Preinstall Phase. Confirms that the necessary information has been gathered in the
State Capture Phase for the Refresh Computer and Upgrade Computer scenarios. In
the New Computer and Replace Computer scenarios, the script gathers the
necessary information in this phase because these scenarios do not perform the
State Capture Phase. Also, a backup of the computer can be optionally performed for
the Refresh Computer and Upgrade Computer scenarios.
• Install Phase. Installs the target operating system on the target computers.
• 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 (Upgrade Computer, Refresh Computer, Replace Computer, and
New Computer). In addition, the TS.xml file identifies the steps that are run only for
deployments based on the SMS 2003 OSD Feature Pack (used in ZTI only). 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 2008 document, Toolkit Reference.
In most instances, computer groupings can be nested. For example, the DefaultGateway
property can be used 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 9.
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 a Priority=Make is
specified, 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].
[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
Note The complete source for the CustomSettings.ini file used in these examples can be found
in the section, “Basic CustomSettings.ini File for ZTI,” earlier in this guide.
Target computer Identify the target computer using Product (in conjunction
software attributes the software or firmware with Make and Model)
configuration.
UUID
Target computer user- Identify the target computer using AssetTag
defined attributes attributes that are assigned to the
SerialNumber
computer but are not a part of the
hardware or software
configuration.
[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
Note Create the items on the Roles node before creating items beneath the other nodes
(Computers, Locations, and Make and Model), because items on the other nodes can be
associated with roles.
71. Click the Applications tab, and then configure the applications to install and the
order of the application installation.
72. Click the Packages tab, and then configure the packages to install and the order of
the package installation.
73. Click the Administrators tab, configure the accounts to be made members of the
local Administrators group on the target computers, and then click OK.
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 2008 document, Toolkit Reference.
78. Click the Details tab, and then configure the appropriate property values identified
earlier in the process.
79. Click the Applications tab, and then configure the applications to install and the
order of the application installation.
80. Click the Packages tab, and then configure the packages to install and the order of
the package installation.
81. Click the Roles tab, and then configure the roles to associate with the computer.
82. Click the Administrators tab, configure the accounts to be made members of the
local Administrators group on the target computers, and then click OK.
107.Complete the Select role query options page using the information in Table 13, and
then click Next.
Table 13. Information to Complete the Select Role Query Options Wizard Page
Select this check box To
Query for role-specific settings Query the settings configured on the Details tab
of the Properties dialog box of the role item.
Query for applications to be Query the applications to be installed on
installed for this role computers that perform this role, as configured
on the Applications tab of the Properties dialog
box of the role item.
Query for Systems Query the packages to be installed on
Management Server packages computers that perform this role as configured
to be installed for this role on the Packages tab of the Properties dialog
box of the role item.
Query for administrators to be Query the accounts that are to be made
assigned for this role members of the local Administrators group on
computers that perform this role as configured
on the Administrators tab of the Properties
dialog box of the role item.
108.Complete the Select location query options page using the information in Table 14,
and then click Next.
Table 14. Information to Complete the Select Location Query Options
Wizard Page
Select this check box To do this
Query for location names Query for location names based on the IP
based on default gateways addresses of the default gateways configured on
the Identity tab of the Properties dialog box of
the location item.
Query for location-specific Query the settings configured on the Details tab
settings of the Properties dialog box of the location item.
Query for roles assigned for Query the roles associated with the location on
this location the Roles tab of the Properties dialog box of the
location item.
Query for applications to be Query the applications to be installed on the
installed for this location target computers within the location configured
on the Applications tab of the Properties dialog
box of the location item.
Query for Systems Query the packages to be installed on the target
Management Server packages computers within the location as configured on
to be installed for this location the Packages tab of the Properties dialog box
of the location item.
Query for administrators to be Query the accounts that are to be made
assigned for this location members of the local Administrators group on
the target computers within the location as
configured on the Administrators tab the
Properties dialog box of the location item.
109.Complete the Select make and model query options page using the information in
Table 15, and then click Finish.
Table 15. Information to Complete the Select Make and Model Query Options
Wizard Page
Select this check box To
Query for model-specific Query the settings configured on the Details tab
settings on the Properties dialog box of the make and
model item.
Query for roles assigned to Query the roles associated with the make and
computers with this make and model on the Roles tab of the Properties dialog
model box of the make and model item.
Query for applications to be Query the applications to be installed on the
installed on computers with target computers with the make and model as
this make and model configured on the Applications tab of the
Properties dialog box of the make and model
item.
Query for Systems Query the packages to be installed on the target
Management Server packages computers with the make and model as
to be installed on computers configured on the Packages tab of the
with this make and model Properties dialog box of the make and model
item.
Query for administrators to be Query the accounts that are to be made
assigned to machines with this members of the local Administrators group on
make and model the target computer with the make and model as
configured on the Administrators tab of the
Properties dialog box of the make and model
item.
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
UserDataLocation=NETWORK
SkipAppsOnUpgrade=YES
SkipCapture=NO
SkipAdminPassword=YES
SkipProductKey=YES
[CSettings]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=ComputerSettings
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR
[CPackages]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=ComputerPackages
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR
Order=Sequence
[CApps]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=ComputerApplications
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR
Order=Sequence
[CAdmins]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=ComputerAdministrators
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR
[CRoles]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=ComputerRoles
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR
[Locations]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=Locations
Parameters=DefaultGateway
[LSettings]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=LocationSettings
Parameters=DefaultGateway
[LPackages]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=LocationPackages
Parameters=DefaultGateway
Order=Sequence
[LApps]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
Solution Accelerators microsoft.com/technet/SolutionAccelerators
48 Microsoft Deployment Toolkit 2008
SQLShare=SMSClient
Table=LocationApplications
Parameters=DefaultGateway
Order=Sequence
[LAdmins]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=LocationAdministrators
Parameters=DefaultGateway
[LRoles]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=LocationRoles
Parameters=DefaultGateway
[MMSettings]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=MakeModelSettings
Parameters=Make, Model
[MMPackages]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=MakeModelPackages
Parameters=Make, Model
Order=Sequence
[MMApps]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=MakeModelApplications
Parameters=Make, Model
Order=Sequence
[MMAdmins]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=MakeModelAdministrators
Parameters=Make, Model
[MMRoles]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=MakeModelRoles
Parameters=Make, Model
[RSettings]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=RoleSettings
Parameters=Role
[RPackages]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=RolePackages
Solution Accelerators microsoft.com/technet/SolutionAccelerators
50 Microsoft Deployment Toolkit 2008
Parameters=Role
Order=Sequence
[RApps]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=RoleApplications
Parameters=Role
Order=Sequence
[RAdmins]
SQLServer=R33-dep-01
Instance=R33instance
Database=AdminDB
Netlib=DBNMPNTW
SQLShare=SMSClient
Table=RoleAdministrators
Parameters=Role
For more information about:
• Customizing the configuration database, see:
• “Automating Deployment to a Specific Computer” in the MDT 2008 document,
Microsoft Deployment Toolkit Samples Guide
• “Automating Deployment by Location” in the MDT 2008 document, Microsoft
Deployment Toolkit Samples Guide
• “Automating Deployment by Computer Make and Model” in the MDT 2008
document, Microsoft Deployment Toolkit Samples Guide
• “Automating Deployment by Role” in the MDT 2008 document, Microsoft
Deployment Toolkit Samples Guide
• Each property, see the corresponding section for each property in the section,
“Properties,” in the MDT 2008 document, Toolkit Reference.
• The tables and views in the configuration database, see the section, “Tables and
Views in the Deployment Workbench Database,” in the MDT 2008 document, Toolkit
Reference.
Remove a reboot step Click reboot (where reboot is the reboot step to remove),
and then click Remove.
Remove an application Click application (where application is the application to
to be installed remove), and then click Remove.
Action Step
Change the sequence Click item (where item is the task, group, reboot step, or
application to move to earlier or later in the sequence),
and then click direction (where direction is Up or Down,
with Up causes the item to occur earlier in the sequence,
and Down causes the item to occur later in the
sequence).
Modify the properties Click group (where group is the name of the group to
of a group modify), click the Properties tab, and then modify the
following boxes as appropriate:
• Name. User-friendly name to be associated with the
group.
• Description. Text that describes the purpose of the
group.
Modify the properties Click task (where task is the name of the task to modify),
of a task click the Properties tab, and then select the following
check boxes as appropriate:
• Name. User-friendly name to be associated with the
group.
• Description. Text to describe the purpose of the task.
• Command line. The program to be run by the task,
including any parameters.
• Start in. The default folder in which to run the
program specified in the Command line box.
Modify the options of Click group (where group is the name of the group to
a group modify), click the Options tab, and then select the
following check boxes as appropriate:
• Disable this step. Select this check box to disable all
the tasks within the group.
• Continue on error. Select this check box to enable
all tasks within the group to continue to run if a task
encounters an error.
• Conditions. Add criteria for determining when the
group of tasks should (or should not) be run. Use the
Add, Remove, and Edit buttons to modify the
conditions under which the group of tasks is run. The
criteria can be based on:
• An IF statement.
• A task sequence variable.
• The version of the target operating system.
• A WMI Query Language (WQL) within a WMI
namespace.
Note Any conditions configured for a group affect all of the
tasks within a group.
Action Step
Modify the options of Click task (where task is the name of the task to modify),
a task click the Options tab, and then select the following check
boxes as appropriate:
• Disable this step. Select this check box to disable all
tasks within the group.
• Success codes. List of the return codes from the
program (specified in the Command line box) that
indicate the program completed successfully.
• Continue on error. Select this check box to enable
all tasks within the group to continue to run if a task
encounters an error.
• Conditions. Add criteria for determining when the
group of tasks should (or should not) be run. Use the
Add, Remove, and Edit buttons to modify the
conditions under which the group of tasks is run. The
criteria can be based on:
• An IF statement.
• A task sequence variable.
• The version of the target operating system.
• A WQL within a WMI namespace.
Volume mount points have been supported since the introduction of NTFS file system
version 5.0 in the Microsoft Windows 2000 operating system. They are specialized NTFS
file system objects, which are used to mount and provide an entry point to other
partitions. Mount points can be created in any folder and are surfaced as normal folders;
accessing them provides a reference to the root folder of the mounted partition. Any
empty folder can be converted to a mount point. The mounted partition is not limited to
the NTFS file system but can be formatted with any file system that the Windows
operating system supports.
• In the Windows Deployment Wizard, configure the BitLocker page. This requires
that the Enable BitLocker task be enabled in the task sequence being used for
deployment.
• Windows BitLocker Drive Encryption can also be enabled within the
CustomSettings.ini file by setting these properties:
• BDEInstall=TPM
• BdeInstallSuppress=NO
• BDeWaitForEncryption=False
• BDEDriveSize=2000
• BDEDriveLetter=S:
• BDEKeyLocation=C:
For more information about enabling Windows BitLocker Drive Encryption, see the
MDT 2008 document, Microsoft System Center Configuration Manager 2007 Imaging
Guide. Also see BitLocker Drive Encryption Frequently Asked Questions at
http://technet2.microsoft.com/WindowsVista/en/library/58358421-a7f5-4c97-ab41-
2bcc61a58a701033.mspx?mfr=true.
Option Purpose
Add Condition In this box, add the following optional conditions to this task:
• IF Statement
• Task Sequence Variable
• Operating System Version
• File Properties
• Folder Properties
• Registry Setting
• Query WMI
• Installed Software
For each option, a dialog box prompts for specific option details.
Remove Condition To remove a condition, click the specific condition, and then click
Remove Condition.
Remove All Click to clear the list and remove all conditions from the Capture
Network Settings task.
IF Statements in Conditions
All task sequence conditions include one or more IF statements. IF statements are the
foundation for creating conditional task sequence steps. A task sequence step condition
can include only one IF statement, but multiple IF statements can be nested beneath the
top-level IF statement to create more complex conditions.
An IF statement can be based on the conditions listed in Table 31, which are configured
in the IF Statement Properties dialog box.
Table 31. Conditions Available in IF Statements
Condition Select this option to run the task sequence if
All conditions All the conditions beneath this IF statement must be true.
Any conditions Any the conditions beneath this IF statement are true.
None None the conditions beneath this IF statement are true.
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
124.On the step Option tab (where step is the name of the task sequence step to
configure), click Add, and then click If statement.
125.In the If Statement Properties dialog box, click condition (where condition is one of
the conditions listed in Table 31), and then click OK.
• Value. This is the value of the task sequence variable to use in the condition.
To add an Task Sequence Variable condition to a task sequence step
126.On the step Options tab (where step is the name of the task sequence step to
configure), click Add, and then click Task Sequence Variable.
127.In the Task Sequence Variable Condition dialog box, in the Variable box, type
variable (where variable is the name of the task sequence variable).
128.In the Task Sequence Variable Condition dialog box, in the Condition box, click
condition (where condition is the logical operation to use in the condition as listed in
Table 32).
129.In the Task Sequence Variable Condition dialog box, in the Value box, type value
(where value is the value of the task sequence variable), and then click OK.
• Operating System. This can be one of the operating systems listed in Table 34.
• Condition. This can be one of the logical operators listed in Table 32.
To add an Operating System Version condition to a task sequence step
130.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.
131.In the Task Sequence OS Condition dialog box, in the Architecture box, click
architecture (where architecture is the name of the operating system architecture).
132.In the Task Sequence OS Condition dialog box, in the Operating system box, click
the operating system to use.
133.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 as listed in
Table 32), and then click OK.
Requirements
AD DS requires DNS services, such as those provided by the DNS Server server role,
which can reside on the AD DS server or another server. This information will be provided
in a subsequent release.
Automate Deployment
This information will be provided in a subsequent release.
171.In the Properties dialog box, 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).
172.In the Create box, click New domain controller replica.
173.In the Existing domain DNS name box, type the fully qualified domain name of an
existing domain controller.
174.In the Replication source domain controller box, type the name of a domain
controller the new server will replicate within the existing environment. The directory
services database will replicate this domain controller.
175.In the Account box, type the name of an account that has permissions to add a
domain controller to the existing network. Typically this is a domain Administrator
account. Click Set.
176.In the Recovery (safe mode) password box, type a password to use for safe mode
recovery. This password is used to recover from a failed AD DS service. Make note of
this password in case AD DS must be recovered.
177.In the Advanced Properties section, complete the task configuration (to complete
this section, see the section, “Configure AD DS Advanced Properties,” later in this
guide), and then click OK.
The following listing is an example of an answer file that is provided as a parameter
to Dcpromo, which is run during the deployment phase of this task sequence. The
following assumptions are made in this example:
• DNS is installed using the advanced settings (listed in the section, “Configure AD DS
Advanced Properties,” later in this guide).
• The name of the domain used for deployment is Woodgrove.com.
• The recovery password is R3c0v3ry.
• The computer contains drives E and G.
• The forest functional level is 3 (Windows Server 2008).
• The computer is restarted when the following task sequence is complete:
[DCINSTALL]
InstallDns=yes
ParentDomainDNSName=woodgrove.com
ReplicaOrNewDomain=replica
NewDomainDnsName=child.woodgrove.com
DomainNetbiosName=woodgrove
DatabasePath="e:/ntds"
LogPath="e:/ntdslogs"
Sysvolpath="g:/sysvol"
SafeModeAdminPassword=R3cov3ry
SiteName=”Default_First_Site”
ForestLevel=3
DomainLevel=3
RebootOnCompletion=yes
198.In the NetBIOS name box, type the NetBIOS name of an existing domain in the
network. This is usually the domain name without.com or other type of extension; for
example, the domain Woodgrove.com might have the NetBIOS name woodgrove.
199.In the New domain (child) DNS name box, type a name for the child domain being
created; for example, Child.Woodgrove.com (where Child is the name of the child
domain).
200.In the Replication source domain controller box, type the name of the domain
controller to which the new child domain will replicate.
201.In the Account box, type the name of an account with permissions to add a domain
controller to the existing network. Typically this is a domain Administrator account.
Click Set.
202.In the Recovery (safe mode) password box, type a password to use for safe mode
recovery. This password is used to recover from a failed AD DS service. Make note of
this password in case AD DS must be recovered.
203.In the Advanced Properties section, complete the task configuration (to complete
this section, see the section, “Configure AD DS Advanced Properties,” later in this
guide), and then click OK.
The following listing is an answer file that is provided as a parameter to Dcpromo, which
is run during the deployment phase of this task sequence. The following assumptions are
made in this example:
• DNS is installed using the advanced settings (listed in the section, “Configure AD DS
Advanced Properties,” later in this guide).
• The name of the domain used for deployment is Woodgrove.com.
• The recovery password is R3c0v3ry.
• The computer contains drives E and G.
• The forest functional level is 3 (Windows Server 2008).
• The computer is restarted when the following task sequence is complete:
[DCINSTALL]
InstallDns=yes
ParentDomainDNSName=woodgrove.com
ReplicaOrNewDomain=domain
NewDomain=child
NewDomainDnsName=child.woodgrove.com
ChildName=child
DomainNetbiosName=child
DatabasePath="e:/ntds"
LogPath="e:/ntdslogs"
Sysvolpath="g:/sysvol"
SafeModeAdminPassword=R3cov3ry
SiteName=”Default_First_Site”
ForestLevel=3
Domainlevel=3
RebootOnCompletion=yes
217.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 is not entered in the Site name box by default—it must be typed. 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.
221.In the AD DS Advanced Properties dialog box, in the Options, Functional Levels,
and Folders sections, select the following options as required for the environment
and AD DS scenario:
Options:
• Make this domain controller a global catalog (GC) server. This is the default
option, and should be selected for new domains or forests, and for domains
without a GC. (This option is highlighted in bold in the following Dcpromo answer
file example.)
[DCINSTALL]
InstallDns=yes
ParentDomainDNSName=woodgrove.com
ReplicaOrNewDomain=domain
NewDomain=child
NewDomainDnsName=east.woodgrove.com
ChildName=east
DomainNetbiosName=east
ConfirmGc=Yes
DatabasePath="e:\ntds"
LogPath="e:\ntdslogs"
Sysvolpath="g:\sysvol"
SafeModeAdminPassword=FH#3573.cK
SiteName=”Default_First_Site”
ForestLevel=2
DomainLevel=2
RebootOnCompletion=yes
NewDomainDnsName=east.woodgrove.com
ChildName=east
DomainNetbiosName=east
CriticalReplicationOnly=Yes
DatabasePath="e:\ntds"
LogPath="e:\ntdslogs"
Sysvolpath="g:\sysvol"
SafeModeAdminPassword=FH#3573.cK
SiteName=”Default_First_Site”
ForestLevel=2
DomainLevel=2
RebootOnCompletion=yes
ForestLevel=2
DomainLevel=2
RebootOnCompletion=yes
229.In the AD DS Advanced Properties dialog box in the Options, Functional Levels,
and Folders sections, select the following options as required for the environment
and AD DS scenario:
Site name:
• 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 is not entered in the Site name box by default—it must be
typed. Then, click OK to complete the configuration of the AD DS Advanced
Properties dialog box, and click OK in the <Task Name> Properties dialog box
to complete configuration of the task.
[DCINSTALL]
InstallDns=yes
ParentDomainDNSName=woodgrove.com
TeplicaOrNewDomain=domain
NewDomain=child
NewDomainDnsName=east.woodgrove.com
ChildName=east
DomainNetbiosName=east
DatabasePath="e:\ntds"
LogPath="e:\ntdslogs"
Sysvolpath="g:\sysvol"
SafeModeAdminPasswordFH#3573.cK
SiteName=”Default_First_Site”
ForestLevel=2
DomainLevel=2
RebootOnCompletion=yes
Requirements
• An advanced understanding of DNS zones and the DNS hierarchy is required. For
more information about DNS configuration, go to http://technet.microsoft.com/en-
us/library/bb726935.aspx.
• A local DNS service must be configured to look at the DNS service on the local
computer or an IP address of another DNS server.
Automate Deployment
This information will be provided in a subsequent release.
245.In the Server Properties dialog box, in Name checking, select the appropriate
name checking options to enforce, and then click OK.
246.In the task_sequence Properties dialog box (where task_sequence is the name of
the task sequence being edited), click OK.
247.Close Deployment Workbench.
Requirements
• An IP subnet to use in the DHCP scope
• Credentials for authorizing the DHCP service in AD DS (Typically, this is a domain
Administrator or DHCP Administrator account, activated in AD DS.)
• AD DS
• An understanding of BOOTP, DHCP, DHCP scopes, DHCP superscopes, broadcast
protocols, and IP subnetting
For additional information about using and configuring DHCP, go to
http://technet.microsoft.com/en-us/network/bb643151.aspx.
Automate Deployment
This information will be provided in a subsequent release.
252.In the Properties dialog box, type the relevant information in the following boxes:
• Name. The name by which the task will be identified in the task sequence list.
• Description. A description of the task; for example, DHCP scope information,
scope names.
• Scope details. Details about the IP address the DHCP scopes configured.
• Server options. The options passed to DHCP clients; for example, default
gateway, DNS server, and WINS server addresses.
253.Click OK.
Requirements
• Account credentials with permissions to authorize DHCP services in AD DS
(Typically, this is either a domain Administrator account or a DHCP Administrator
account.)
To authorize the DHCP server role in AD DS
266.Start Deployment Workbench.
267.In the tree pane, expand Distribution Share.
268.In the details pane, click Task Sequences, and then click the task sequence to edit.
269.On the Task Sequence tab, click Add, click Roles, and then click Authorize DHCP.
270.In the Properties dialog box, type the relevant information in the following boxes:
• Name. The name by which the task will be referred in the task sequence list.
• Description. A description of the task.
271.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 of domain\user.
• Password. The password for the account.
• Confirm Password. Retype the password.
272.Click OK, then click OK again.
Contents
In tr oduct ion
Microsoft® Deployment Toolkit (MDT) 2008 delivers end-to-end guidance for the efficient
planning, building, testing, and deployment of Windows® operating systems, the
2007 Microsoft Office system, and Microsoft Office 2003. MDT 2008 provides proven
tools and practices with which information technology (IT) personnel can:
• Create a software and hardware inventory to assist in deployment planning.
• Test applications for compatibility with Windows operating systems and mitigate
compatibility issues discovered during the process.
• Set up an initial lab environment with imaging and deployment servers.
• Customize, package, and deploy applications.
• Automate image creation and deployment.
• Manage processes and technologies to produce comprehensive and integrated Lite
Touch Installation (LTI) and Zero Touch Installation (ZTI) deployments.
• During deployment, migrate users’ documents and settings to their new computer
configurations.
• During deployment, support the installation of all roles, such as Active Directory®
Domain Services (AD DS), Domain Name System (DNS) server, Dynamic Host
Configuration Protocol (DHCP) server, Microsoft Internet Information Services (IIS),
Windows Deployment Services, Windows SharePoint® Services, Windows Internet
Naming Service (WINS) server, and Windows Server® 2003 Terminal Services.
• Additionally, MDT 2008 supports the configuration of the AD DS, DNS, and
DHCP roles.
• Ensure that computers are hardened to improve security within the environment.
MDT 2008 brings together time-honored and proven practices in addition to the following
Microsoft technologies:
• Application Compatibility Toolkit (ACT) version 5.0 for gathering application inventory
and for testing and mitigating application-compatibility issues.
• Windows User State Migration Tool (USMT) for migrating user settings and data.
• Windows Automated Installation Kit (Windows AIK) for configuring unattended Setup
answer files (Unattend.xml) and capturing images.
• Windows Deployment Services for starting Windows Preinstallation Environment
(Windows PE) on target computers across the network.
• Windows PE version 2.0 for starting computers.
MDT 2008 contains guidance, sample templates, and technology files (such as scripts
and configuration files). MDT 2008 documentation discusses in detail required software
that must be downloaded from the Internet. The documentation also discusses media
that must be provided. The focus of MDT 2008 is computer deployment versus the
integration that organizations can achieve on the platform by combining computers and
domains. MDT 2008 supports deployment in Windows Server 2008 and Windows
Server 2003 domains.
Note For the latest information regarding MDT 2008, see Release Notes.doc in the
documentation subfolder of the MDT 2008 installation folder.
Note MDT 2008 combines abstract concepts that are sometimes difficult to follow without citing
specific examples. To make these concepts easier to understand, this deployment project
references a sample project at a fictional company named Woodgrove Bank. This deployment
project also provides sample job aids for Woodgrove Bank. The content in each planning template
is specific to Woodgrove Bank; replace it with information specific to the organization.
Note In this document, Windows applies to the Windows Vista®, Windows XP Professional,
Windows XP Tablet PC Edition, Windows Server 2008, and Windows Server 2003 operating
systems unless otherwise noted.
Term Description
Foundation, and Feature Pack packages.
reference computer The computer that contains the reference installation image.
reference image A configured Windows image that contains a single reference
installation that can be deployed onto many target computers.
reference installation A configured Windows computer that includes additional
software and updated drivers.
target computer The computer on which the team preinstalls Windows to be
distributed to customers. Team members can either run
Windows Setup on the target computer or copy a master
installation onto a target computer.
task sequence A series of steps that perform a deployment. During LTI
deployments, the task sequence is associated with an
Unattend.xml (or Unattend.txt and Sysprep.inf) file.
Task Sequencer Software used to execute a task sequence on the target
computer.
technician computer The computer on which MDT 2008 is installed. Typically, the
configuration sets and the distribution share are also located
on this computer.
Unattend.xml The generic name for the Windows Vista Setup answer file.
Unattend.xml replaces all of the answer files in earlier
versions of Windows, including Unattend.txt and Winbom.ini.
Windows Imaging A file format that contains one or more compressed Windows
Format (.wim) file images.
Windows feature An optional feature of Windows that can be enabled or
disabled.
Software
The following software requirements might need to be met on the deployment server.
• Windows AIK
The version of Ximage.exe that is included in the Windows AIK versions 1.0 and 1.1
can be used to capture and deploy any Windows operating system (Windows XP
SP2 through Windows Server 2008). However, MDT 2008 also uses Windows AIK to
generate catalogs for creating Unattend.xml files and for offline servicing. For these
operations, Windows AIK version 1.0 only supports Windows Vista release to
manufacturing (RTM). LTI deployments of Windows XP or Windows Server 2003 are
unaffected.
Note Windows AIK version 1.1 must be installed on the deployment server if Windows Vista
SP1 or Windows Server 2008 will be deployed to target computers.
To install the Windows AIK, use Deployment Workbench to perform the download
and installation before or after installing MDT 2008.
Note Windows AIK is automatically installed on computers running Microsoft System Center
Configuration Manager 2007.
Note Windows AIK helps in the installation, customization, and deployment of Windows.
Windows AIK version 1.0 does not support Windows Vista with SP1 or Windows Server 2008
RTM deployments. Use Windows AIK version 1.1 when deploying Windows Vista with SP1 and
Windows Server 2008 RTM.
Windows Vista and Windows Server 2008 include the most recent version of WUA,
so no update is necessary for these operating systems. In Windows XP and Windows
Server 2003, one of the following will occur:
• If the WUA version 3.0 stand-alone installer files are in the TOOLS\architecture
folder (where architecture is either x86 or x64) on the deployment point,
MDT 2008 will automatically install WUA on the target computer.
When downloading the WUA 3.0 stand-alone installer files, save them in the
distribution\TOOLS\architecture folder (where distribution is the folder where the
distribution point is created).
• If the WUA version 3.0 stand-alone installer files are not in the
TOOLS\architecture folder on the deployment point and if the existing version of
WUA is configured for a WSUS server, then WUA will attempt to update itself
from a WSUS server. If the existing version of WUA is not configured for a WSUS
server, then MDT 2008 will attempt to download and install WUA version 3.0 from
the Microsoft Update site. In this case, Internet access is required for the target
computer.
Note MDT 2008 does not support authentication with proxy servers.
Platform-Specific Requirements
The following platform-specific requirements must be met when using MDT 2008 on one
of the following platforms:
• Windows Server 2008:
• No additional software requirements
• Windows Vista:
• No additional software requirements
• Windows Server 2003 with SP2:
• Microsoft .NET Framework version 2.0
• Windows Server 2003 with SP1:
• Microsoft Management Console (MMC) version 3.0
• Microsoft .NET Framework version 2.0
• Offline servicing kernel update
• Windows XP Professional with SP3:
• Microsoft .NET Framework version 2.0
• Offline servicing kernel update
• Windows XP Professional with SP2:
• MMC version 3.0
• Microsoft .NET Framework version 2.0
• Offline servicing kernel update
• Windows Installer version 3.1
Note See the section, “Appendix A: Software Download Locations,” later in this guide for
software download locations.
Note If the MDT 2008 documentation will only be installed and viewed using Deployment
Workbench, the only software requirements are Microsoft .NET Framework version 2.0, Windows
Installer version 3.1, and MMC version 3.0. The remaining software in the previous list is not
required to view the documentation.
• Windows PE 2004, supplied with the SMS 2003 OSD Feature Pack for Windows XP
deployments, or Windows PE 2005, provided with Windows Server 2003 with SP1.
MDT 2008
MDT 2008 provides efficient upgrade and migration paths from BDD 2007 and the
SMS 2003 OSD Feature Pack when based on the following scenarios:
• Upgrading from Business Desktop Deployment (BDD) 2007 LTI deployment to
MDT 2008 LTI deployment.
• Upgrading from BDD 2007 ZTI deployment to MDT 2008 ZTI deployment.
• Migrating from BDD 2007 LTI deployment to ZTI deployment with System Center
Configuration Manager.
• Migrating, with limited support, from the SMS 2003 OSD Feature Pack to ZTI
deployment with System Center Configuration Manager.
Operating Systems
Table 2 describes the operating system upgrade and migration paths. As shown in the
table, performing an in-place upgrade from Windows XP with SP2 or later to Windows
Vista is supported, as is upgrading Windows Server 2003 to Windows Server 2008.
Table 2. MDT 2008 Upgrade and Migration Paths
From Migrate to Upgrade to Migrate to Upgrade to Upgrade to
Windows Windows Windows Windows Windows
XP with Vista Vista using Server 2003 Server 2008
SP2 or later USMT
using
USMT
Windows 2000
with SP4
Windows XP
with SP2 or
later
Windows Vista
(to more
feature-rich
edition)
= supported
Note The x64-based version of Windows XP cannot be upgraded to x64-based Windows Vista.
Note If deploying Windows XP SP3, be sure to obtain the updated Windows XP SP3 Deployment
Tools, which can be downloaded from the Web page listed in “Appendix A: Software Download
Locations,” later in this guide.
Scenarios
Table 3 describes the supported deployment scenarios for each supported operating
system. As shown in the table, deployment of Windows Vista with SP1 and Windows
Server 2008 is fully supported for LTI deployments. Support for deployments based on
Systems Management Server and System Center Configuration Manager will be
supported when support is available from the respective product teams.
Table 3. MDT 2008 Upgrade and Migration Paths
Operating MDT 2008 LTI SMS 2003 OSD System Center
system deployment Feature Pack Configuration
Manager
Windows 2000
with SP4
(upgrade only)
Windows XP
with SP2 or
later
Windows Vista
Windows Vista
with SP1
= supported
286.Configure the network access account for the System Center Configuration Manager
client (if not already configured).
287.Configure the System Center Configuration Manager site boundaries (if not already
configured).
288.Configure the publishing of site information in AD DS and DNS (if not already
configured).
289.Configure the drive for storing package source files (if not already configured).
290.Configure the distribution points to be BITS enabled (if not already configured).
New Installation
After all prerequisite software has been installed, complete the following steps to install
MDT 2008 (MicrosoftDeploymentToolkit_platform.msi, where platform is either x86 or
x64):
308.Right-click MicrosoftDeploymentToolkit_platform.msi, and then click Install.
309.Click Next to skip the welcome page.
310.On the End-User License Agreement page, review the license agreement. If the
terms are agreeable, click I accept the terms in the License Agreement, and then
click Next.
311.On the Custom Setup page, choose the features to install and the destination folder
for the installation, and then click Next. To change a feature’s state, click the feature,
and then choose a state.
To change the destination folder, click Microsoft Deployment Toolkit, and then click
Browse. In the Change current destination folder dialog box, specify the desired
folder name, and then click OK.
The following list describes each feature:
• Documents. This feature installs the guidance and job aids. By default, this
feature is installed in C:\Program Files\Microsoft Deployment
Toolkit\Documentation. The prerequisites for installing this feature and using
Deployment Workbench to view the documentation are Microsoft .NET
Framework version 2.0 and MMC version 3.0.
• Tools and templates. This feature installs the wizards and template deployment
files, such as Unattend.xml. By default, this feature is installed in C:\Program
Files\Microsoft Deployment Toolkit.
312.Click Install to install MDT 2008; then, click Finish when the installation is complete.
manually deleted and then recreated using Deployment Workbench. When upgraded,
the BDD 2007 distribution share directory is no longer valid for use with BDD 2007.
• BDD 2007 builds are converted to MDT 2008 task sequences.
• MDT 2008 task sequences replace tasks associated with BDD 2007 builds.
• Settings from BDD 2007 builds are carried forward to the new task sequence.
• Customizations from the BDD 2007 task sequence are identified and moved to the
new MDT 2008 task sequence using one of the following scenarios:
• If a custom task sequence step specifies an application that is matched to an
application defined in the distribution share and if there is also a match between
the Command Prompt window of the step and the Command Prompt window of
the distribution share application, that task sequence step is added to the
Custom Task group.
• If a custom task sequence step specifies an application that cannot be matched
to an application defined in the distribution share, that task sequence step is
added to the Unknown Tasks group, which is disabled. Administrative intervention
is required to edit the task sequence and move the step to an appropriate
location within the new task sequence.
• If MDT 2008 is installed on a computer on which BDD 2007 is already installed and
MDT 2008 upgrades the original BDD 2007 distribution share directory, uninstalling
BDD 2007 may remove files that are common to MDT 2008 and BDD 2007. For this
reason, if BDD 2007 is uninstalled, it must be uninstalled before MDT 2008 is
installed by backing up the distribution share directory, uninstalling BDD 2007,
restoring the distribution share directory, and then installing MDT 2008.
c. Click Finish.
d. Click Finish.
319.When the distribution share has been created, use Deployment Workbench to re-
specify the deployment points and database connections.
c. Select Upgrade an existing distribution share, provide the full path to the
existing distribution share directory, and then click Finish.
The existing scripts and tools in the distribution share directory will be upgraded
to MDT 2008. After the wizard finishes, a console refresh may be required to
refresh the nodes under the Distribution Share node.
Server 2008. Without these files, MDT 2008 will be unable to inject drivers, updates,
and language packs.
MDT 2008 does not require Windows AIK 1.1 if only Windows Vista RTM, Windows XP,
or Windows Server 2003 will be deployed. But if Windows Vista SP1 or Windows
Server 2008 will be deployed, upgrade to Windows AIK 1.1.
To upgrade to Windows AIK 1.1
332.Uninstall Windows AIK 1.0.
333.Restart the computer.
334.Install Windows AIK 1.1.
Note The steps above are similar to those used for LTI deployment, because these two
deployment methods share most of the MDT 2008 scripts and tools.
Note The System Center Configuration Manager team is working on instructions for installing
Windows AIK 1.1 for use with System Center Configuration Manager. The basic steps above
(uninstall, restart, install) should not cause any issues, but some additional steps are needed to
replace the existing default boot images that System Center Configuration Manager created when
it was first installed. (To move to System Center Configuration Manager SP1, Windows AIK 1.1—
or more specifically, Windows PE 2.1—is required.)
• Deploy. Expand this item to see the Deployment Points and Database items. Click
Deployment Points to see a list of deployment points in the details pane. To create a
deployment point, right-click Deployment Points, and then click New. To configure a
deployment point, right-click a deployment point in the details pane, and then click
Properties. Click Database to edit the database. For more information about the
database, see the MDT 2008 documents, Deployment Customization Guide and
Microsoft Deployment Toolkit 2008 Samples Guide.
CAUTION Open only a single instance of Deployment Workbench. Opening two or more
instances of Deployment Workbench can result in unpredictable behavior.
Note When using Deployment Workbench on an operating system other than Windows Vista for
tasks other than reviewing the documentation, log on to the computer using an account that is a
member of the local Administrator group.
Note When using Deployment Workbench on a computer that is running Windows Vista, always
log on to the computer using an account that is a member of the local Administrator group.
Tip The default Deployment Workbench view includes the Actions pane. Remove the Actions
pane by opening MMC in Author mode. To open MMC in Author mode, open a Command Prompt
window, and then run C:\Program Files\Microsoft Deployment
Toolkit\Bin\DeploymentWorkbench.msc /a. Click View, and then click Customize. Clear
the Actions pane check box, and then click OK. To save changes, from the File menu, click
Save. When prompted to choose whether to display a single window interface, click Yes.
Program Folders
Table 6 describes the subfolders in the MDT 2008 program folder (C:\Program
Files\Microsoft Deployment Toolkit\) when installation is complete.
Table 6. MDT 2008 Program Folders
Subfolder Description
Bin Contains the Deployment Workbench MMC snap-in and
supporting files.
Control Contains configuration data for Deployment Workbench.
Documentation Contains the documentation and job aids.
Downloads Provides storage for components that Deployment
Workbench downloads.
Management Pack Contains the management pack files.
Samples Contains sample task sequence scripts and Windows PE
desktop background graphics.
SCCM Contains task sequence templates and automation objects
used during System Center Configuration Manager
integration.
Scripts Contains scripts that Deployment Workbench uses.
Templates Contains template files that Deployment Workbench uses.
Distribution Share
After the Distribution Share has been created, it contains the subfolders listed in Table 7.
Table 7. MDT 2008 Distribution Folders
Subfolder Description
%OEM% Provides storage for files to copy to the target computer
during Windows installation.
Applications Provides storage for application source files.
Boot Provides storage for Windows PE boot images (.wim and .iso
files); this folder does not appear until after updating a
deployment point.
Captures Provides storage for captured images.
Control Contains configuration data for Deployment Workbench. The
subfolders contain configuration data for each task sequence
created in the workbench. Each subfolder is given a name
that corresponds to the ID that was assigned to the task
sequence when it was created in Deployment Workbench.
Additionally, it contains folders for each deployment point.
Each deployment point folder has a name based on a globally
unique identifier (GUID).
Operating Systems Contains source files for each operating system added to the
distribution share using Deployment Workbench.
Out-of-Box Drivers Provides storage for device drivers that do not ship with
Windows.
Packages Provides storage for packages to include in Windows.
Scripts Contains deployment scripts.
Tools Contains tools that MDT 2008 uses, including the Task
Sequencer, for each supported platform (x86 and x64).
Technical Guides
MDT 2008 includes several technical guides:
• Application Packaging Guide. Provides guidance for repackaging applications.
• Deployment Customization Guide. Describes how to customize LTI and ZTI
deployments.
• Microsoft Deployment Toolkit 2008 Samples Guide. Identifies deployment
scenarios and corresponding configuration settings when deploying target computers
using ZTI and LTI deployment. The sample configuration files in this guide can be
used as a starting point.
• Microsoft Deployment Toolkit 2008 Management Pack. Describes the installation
and configuration of the management pack. The MDT 2008 Management Pack can
provide detailed information about the MDT 2008 deployment process to IT Pros
involved in the deployment and operations processes.
• Image Customization Guide. Describes how to customize reference images by
customizing the task sequence, developing custom scripts, customizing existing
MDT 2008 scripts, working with SMS 2003 OSD Feature Pack variables, and so on.
Includes information about customizing actions, such as disk, network, and role
configuration.
• Preparing for LTI Tools. Describes how to create a default installation of MDT 2008
for LTI deployment.
• Preparing for Microsoft System Center Configuration Manager 2007. Describes
how to create a default installation of MDT 2008 for ZTI deployment by using System
Center Configuration Manager.
• Preparing for Microsoft Systems Management Server 2003. Describes how to
create a default installation of MDT 2008 for ZTI deployment by using Systems
Management Server and the SMS 2003 OSD Feature Pack.
• Microsoft System Center Configuration Manager 2007 Imaging Guide. Describes
how to use System Center Configuration Manager to prepare for image creation and
deployment.
• User State Migration Guide. Describes key concepts and decisions regarding the
use of USMT to migrate user state data from old configurations to the new
configuration.
Reference Guides
MDT 2008 also includes two reference guides:
• Toolkit Reference. Describes all customizable task sequence steps, properties that
the customer can configure or use in scripts or in the Task Sequencer, and each
script contained in the task sequence and customization points.
• Troubleshooting Reference. Describes common error codes and failures. Where
available, resolutions to certain issues are provided.
Other Documents
MDT 2008 includes several templates that help teams manage the project.
• Quick Start Guide for Lite Touch Installation. This quick-start guide helps
personnel quickly evaluate MDT 2008 by providing condensed, step-by-step
instructions for using MDT 2008 to install Windows operating systems by using LTI
deployment.
• Quick Start Guide for Microsoft System Center Configuration Manager 2007.
This quick-start guide helps personnel quickly evaluate MDT 2008 by providing
condensed, step-by-step instructions for using MDT 2008 to install Windows
operating systems by using System Center Configuration Manager.
• Quick Start Guide for Microsoft Systems Management Server 2003. This quick-
start guide helps personnel quickly evaluate MDT 2008 by providing condensed,
step-by-step instructions for using MDT 2008 to install Windows operating systems
by using Systems Management Server.
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/by-nc/2.5 or
send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
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, BitLocker, PowerShell, Visual Basic, Windows, 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.
This guidance extends the Microsoft® Deployment Toolkit (MDT) 2008 documents
Workbench Imaging Guide and Microsoft System Center Configuration Manager 2007
Imaging Guide. Table 1 lists the reference guides that will assist in finding the correct
information to configure and set up Deployment Workbench, Microsoft Systems
Management Server (SMS) 2003, and Microsoft System Center Configuration
Manager 2007.
Table 1. Related Imaging Guide References
Deployment Workbench
Deployment Workbench uses task sequences to order tasks during the operating system
deployment process. Task sequences can be customized for the needs of the imaging
environment using Deployment Workbench. LTI is used to build master images for
deployment with the Lite Touch Deployment Wizard and to capture them for use with the
SMS 2003 OSD Feature Pack. System Center Configuration Manager has its own built-in
image-build procedure that uses a task sequence in a similar fashion.
By default, packages added to the distribution share are included as part of the LTI
image-build process. But each package can be individually enabled or disabled and—in
the case of language packs—hidden from the Lite Touch Deployment Wizard. Enabling a
specific operating system package amounts to approving the installation as part of an
image build.
Note For silent installation of Windows Vista operating system updates that are natively
delivered as .msu files, install the update available with the Microsoft Help and Support article,
“When you run Wusa.exe together with the /quiet option to try to install certain software
packages on a Windows Vista-based computer, the installation fails,” at
http://support.microsoft.com/kb/929761 in all Windows Vista images. This update to the
Windows Update Standalone installer fixes an issue in which updates with an embedded End User
License Agreement (EULA) fail to install silently with the /quiet option.
Languages
Operating system language packs are added in the same way as updates using the New
Package Wizard in Deployment Workbench. Because each language pack can be hidden
or disabled, it is easy to create images that have only a subset of the supported
languages for delivery within a specific geographic region. Some language packs are
large; therefore, it may not be the best practice to add all languages to a master image.
At deployment time, the MDT 2008 database can be queried with location information to
install needed language resources.
Updates
Updates can be applied to task sequences to keep the images up to date for security and
additional software fixes. Updates can be added during the initial creation of the task
sequence or as a secondary process after the task sequence is created. The default
Deployment Workbench task sequences will automatically install the needed updates
when the image is deployed. This will normally be done while the system is booted into
Windows Preinstallation Environment (Windows PE) by updating an Unattend.xml file
with appropriate settings to allow Windows Vista or Windows Server 2008 Setup to inject
the updates offline.
Out-of-Box Drivers
Out-of-box drivers contain drivers that either were not delivered as part of the Windows
operating system itself or are later versions released since the original operating system
release. It is also common for original equipment manufacturers (OEMs) to release
specific versions of otherwise-generic drivers that enable particular features of their
hardware implementation. The Out-of-Box Drivers listing can be edited to contain groups
that help identify which drivers are associated with different platforms and computer
types. Using the driver groups feature of Deployment Workbench can assist in building
hardware-specific images as well as offer additional, deployment-time dynamic driver
injection.
In addition, the drivers will be available for use with Windows PE as well as operating
system images. For Windows PE use, network drivers and storage controller drivers are
needed most.
To add a group classification to an Out-of-Box Drivers listing
346.Open Deployment Workbench, and then expand Distribution Share. Click Out-of-
Box Drivers, select driver (where driver is the name of the driver to add to a group),
and then click Properties.
347.In the Driver Properties dialog box, click the Groups tab.
348.Click Add to open the New Driver Group dialog box. Type the desired name of the
driver group, click OK, and then click OK again to close the Driver Properties dialog
box.
Note Groups can also be created during the addition of drivers using the Add Group button on
the Specify Directory page of the New Driver Wizard. For additional information about the New
Driver Wizard, refer to the MDT 2008 document, Workbench Imaging Guide.
Good practice is to create a Windows PE group and add any storage controller or
network adapter to this driver group to enable these drivers when customizing
Windows PE.
349.Download the most recent Windows Hardware Qualified drivers from the OEM.
350.Extract these drivers to the distribution share in an $OEM$ structure, such as
\\Servername\Distribution$\Control\<Task
Sequence>\$OEM$\$1\Drivers\StorageDriverName
where <Task Sequence> is the name of the task sequence for Windows XP with
Service Pack 2 (SP2) or Windows Server 2003 image deployment and
StorageDriverName is a generic name for the driver, such as IASTOR for the Intel
Matrix Storage Manager.
351.Open the .inf files included with the drivers to discover the Plug and Play IDs for the
drivers. These IDs will appear in lines such as
ExcludeFromSelect=PCI\VEN_8086&DEV_282A&CC_0104
and typically have multiple lines in a single storage-controller driver file.
Each ExcludeFromSelect line must be translated into the format used for
Sysprep.inf so that there is a single line for each Plug and Play ID that points to the
location of the driver .inf file associated with the ID. For example:
PCI\VEN_8086&DEV_2652&CC_0106="C:\DRIVERS\IASTOR\IAAHCI.INF"
Good practice is to collect each individual line into a single text file in a text editor
such as Microsoft Notepad, and then copy it into the Sysprep.inf file located in the
\\Servername\Distribution$\Control\Task_Sequence folder.
352.Set the BuildMassStorage value to YES, and copy all the lines into the Sysprep.inf
file under the [SysprepMassStorage] section, as follows:
[Sysprep]
BuildMassStorageSection = YES
[SysprepMassStorage]
PCI\VEN_8086&DEV_2652&CC_0106="C:\DRIVERS\IASTOR\IAAHCI.INF"
PCI\VEN_8086&DEV_2653&CC_0106="C:\DRIVERS\IASTOR\IAAHCI.INF"
PCI\VEN_8086&DEV_27C1&CC_0106="C:\DRIVERS\IASTOR\IAAHCI.INF"
When the command sysprep –reseal –shutdown is run on the Windows XP or
Windows Server 2003 computer, Sysprep locates the needed drivers and injects
them into the prepared image.
Note There is a known issue with deploying Windows XP and Windows Server 2003 images
with Windows PE version 2.0. See the Microsoft Help and Support articles, “You cannot install
Windows XP successfully after you use Windows Vista or Windows PE 2.0 to create partitions
on a hard disk,” at http://support.microsoft.com/?id=931760, and “You cannot install
Windows Server 2003 successfully after you use Windows Vista or Windows PE 2.0 to create
partitions on a hard disk,” at http://support.microsoft.com/?id=931761, for available fixes
and workarounds.
Applications
The first step in adding applications to an image is to add them to the distribution share.
Deployment Workbench can install the application from its original network location, or it
can copy the application source files to the distribution share. In either case, the
commands for installing the application are specified when the application is added to the
distribution share.
In addition, individual applications can be added as needed to an individual task
sequence for more granular image builds. As mentioned earlier, an application such as
Windows PowerShell, which is released as a Windows Vista update, could be added as
an application by first adding it as a new application with the command WUSA.EXE
/quiet to install the Windows6.0-KB928439-x86.msu file (or the Windows6.0-KB928439-
x64.msu file).
To add Windows PowerShell
353.In Deployment Workbench, expand the Distribution share.
354.Right-click the Applications node, and then click New.
355.In the New Application Wizard, select Application with source files, and then click
Next.
356.Complete the Details page appropriately with the Windows PowerShell name. (The
other fields are optional.)
357.On the Source page, browse to the folder in which the Windows6.0-KB928439-
x86.msu file resides, and then click OK. Click Next.
358.On the Destination page, leave the default name of Windows PowerShell, and then
click Next.
359.On the Command Details page, type
wusa.exe /quiet Windows6.0-KB928439-x86.msu
360.Leave the Working directory field as is, and then click Finish.
To hide the application in the wizard, right-click the new application, and then click
Properties. In the Properties dialog box, select the Hide this application in the
Deployment Wizard check box, and then click OK.
To create a new task to install Windows PowerShell individually
361.In Deployment Workbench, right-click the task sequence to modify, and then click
Properties.
362.On the General tab, select the Hide this task sequence in the Deployment
Wizard check box to prevent the task sequence from appearing.
363.On the Task Sequence tab (which serves at the editor in Deployment Workbench),
go to the State Restore phase.
364.If the task sequence has a Restore User State task, select this task, and then click
Add. Beneath the general tasks, select Install Application.
Note Use the Up and Down buttons to order the added task as needed.
If the newly added application was selected, note that on the Properties tab, a single
application can be installed and Windows PowerShell can be selected from the list.
Note Use this method to install individual applications to give more granularity to the
image customization.
369.When all necessary changes have been made, click Apply to save changes.
Environment Class
This class is referenced in scripts through the oEnvironment object. For example,
change the computer name to Example by using the following command:
oEnvironment.Item("ComputerName") = "Example"
Or, to determine whether this is a 32-bit or 64-bit architecture, query the architecture by
using the following command:
oEnvironment.Item("Architecture")
Logging Class
This class is referenced in scripts through the oLogging object. When creating an
informational log entry, use the following command:
oLogging.CreateEntry "Informational message", LogTypeInfo
When creating an error log entry, use the following command:
oLogging.CreateEntry "An error occurred",LogTypeError
Utility Class
This class is referenced in scripts through the oUtility object. To determine the name of
the current script, use the following command:
oUtility.ScriptName
To find the location of a file, use the following command:
iRetVal = oUtility.FindFile("CustomSettings.ini", sIniFile)
Database Class
This class is referenced in scripts through the oDatabase object. There is generally no
need to use the database class directly; instead, use rule processing to perform database
lookups.
'
//***************************************************************
************
' // ***** Script Header *****
' //
' // Solution: Solution Accelerator for Microsoft Deployment
'//--------------------------------------------------------------
--------------
'//
'// Global constant and variable declarations
'//
'//--------------------------------------------------------------
--------------
Option Explicit
Dim iRetVal
'//--------------------------------------------------------------
--------------
'// End declarations
'//--------------------------------------------------------------
--------------
'//--------------------------------------------------------------
--------------
'// Main routine
'//--------------------------------------------------------------
--------------
'//--------------------------------------------------------------
-------------
'//
'// 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:
370.Create the script based on the template.
371.Place the script in the \Distribution\Scripts folder.
372.Create an application in Deployment Workbench that references this script.
373.Add the application to the build-task sequence.
Follow these guidelines when creating a script:
• Always declare variables.
• Only create objects where required, because MDT 2008 includes most objects that
are needed.
• Verify that the ZTIUtility provides the functionality required before writing a function.
• Script names should always start with a Z, because MDT 2008 replicates only those
scripts beginning with Z to other deployment points.
Listing 2 shows an example of a script that checks for an Encrypting File System (EFS)
key and beta 2007 Microsoft Office system code on the target computer.
Listing 2. Script to Check for EFS Keys or Beta Versions of the 2007 Office System
<job id="LTIGetFolder">
<script language="VBScript" src="ZTIUtility.vbs"/>
<script language="VBScript" src="WizUtility.vbs"/>
<script language="VBScript">
'
//***************************************************************
************
' //
' // Microsoft IT Verify
' //
' // Verify that the local machine is ready for installation....
' //
' // Checks to see if you have any EFS Keys, or a beta version
of Office 2007
' //
'
//***************************************************************
************
Option Explicit
'//--------------------------------------------------------------
--------------
'// Main routine
'//--------------------------------------------------------------
--------------
Dim iRetVal
'//--------------------------------------------------------------
-------------
'//
'// Function: ZTIProcess()
'//
ZTIProcess = Success
' --------------------------------------------------------
' Check for EFS keys in the registry.
On Error Resume Next
CheckForEFS = empty
CheckForEFS =
oShell.RegRead("HKCU\Software\Microsoft\Windows
NT\CurrentVersion\EFS\CurrentKeys\CertificateHash")
On Error goto 0
end if
' --------------------------------------------------------
' Ensure there are no old versions of Microsoft Office
2007 on the local machine.
if HasOldOffice then
end if
end if
ZTIProcess = Success
End Function
Function HasOldOffice
end if
next
end function
</script>
</job>
To add a custom script to a task sequence
374.Open Deployment Workbench, and then expand Distribution Share.
375.Right-click task_sequence (where task_sequence is the name of the task sequence
to edit), and then click Properties.
376.Click the Task Sequence tab.
377.Click Add, click General, and then click Run Command Line. Select the script to
run in the task sequence by adding it to the Command Line box. Leave Start in
blank, and then click OK to complete the procedure.
Note To avoid excessive use of the Up and Down buttons to move the application
installation task, select the appropriate section in the task sequence, and then add the task.
After completing this process, Deployment Workbench updates the TS.xml file with the
changes.
Disk Customization
The primary interest in disk customization is expressed by the need for multiple partitions,
typically to create secondary partitions for storing data. Custom disk partitions are only
supported in New Computer scenarios, and MDT 2008 still installs the operating system
to Disk 0 Partition 1 for all Windows operating systems.
Automated imaging that expects to have free reign over the drive configuration is either
unable to deal with such a partition in an automated fashion or fails its deployment
because of this type of configuration. In addition, having coherent drive assignments
when using Windows PE versus under the operating system proper has presented
problems.
As an example of these capabilities, this section shows how to modify the existing Format
and Partition Disk action, which is part of the default LAB task sequence:
381.In Deployment Workbench, go to the Task Sequences node.
382.Right-click an operating system task sequence (such as the default LAB task
sequence), and then click Properties.
383.Click the Task Sequence tab. Then, select Preinstall\New Computer Only\Format
and Partition Disk.
The Properties tab shows that the disk is laid out as a single primary partition with
the label OSDisk. In addition, the drive is formatted as an NTFS file system.
20 MSDN 2.0
384.Click the description in the Volume box, and then click the Edit icon (the icon that
shows a hand with a picture of a notepad).
The Partition Properties dialog box appears.
385.To illustrate the possibilities, change the Use a percentage of remaining free
space setting from the default 100% to 50%, and then click OK.
386.Click New settings (the star icon), complete the dialog box as follows, and then click
OK:
• Partition name: Data
• Partition type: Primary
• Use a percentage of remaining free space: 50%
• File system: NTFS
387.Select the Quick format check box.
388.Click Apply to save the changes to this task sequence.
With this kind of control over the partitioning of the disk, imaging with MDT 2008 can be
easily configured as needed.
Network Customization
In a similar fashion to additional settings for disk configuration, the network-customization
features offer increased capabilities.
To modify network settings in Windows PE
389.In Deployment Workbench, go to Task Sequences.
390.Right-click an operating system task sequence, and then click Properties.
391.Click the Task Sequence tab. Then, select Preinstall\Gather Local Only.
392.Click Add, click Settings, and then click Apply Network Settings.
393.On the Properties tab in the right pane, click the yellow star to add new network
settings.
394.In the Network Settings dialog box, on the General tab, type the name of the
network adapter type. (This name should be one of the known network adapters on
the computer—for example, Broadcom.)
395.Select Use the following IP address. Then, click the yellow star in the Network
Settings group, complete the dialog box as follows, and click Add:
• IP Address: 10.10.10.100
• Subnet mask: 255.255.248.0
396.Click the yellow star in the Gateway Settings group, type the IP address 10.10.10.1,
and then click OK.
397.Click the DNS tab, and then select Use the following DNS Servers. Click the yellow
star, type 10.10.10.200, and then click Add. In the DNS Suffix field, type
woodgrove.com, and then click OK to save these settings.
398.Click Apply to save these task sequence settings.
These are just a few of the configuration capabilities available for both disk and network
configurations as part of the image-customization features.
Disk Customization
Add and remove customized disk actions within a task sequence to meet specific
organizational requirements for images.
To add disk customizations in System Center Configuration Manager
399.In the Configuration Manager console console tree, go to Computer
Management/Operating System Install Packages.
400.Right-click the task sequence from the details pane, and then click Edit.
401.On the Sequence Editor tab, click Add, click Disks, select from the following
options, and then click OK:
Format and Partition Disk:
• In the Name box, type a name for this task.
• In the Description box, type an optional description.
• In the Disk number box, type the disk to be formatted. The first disk number is 0.
• From the Disk Type list, select MBR (Master Boot Record) or GPT (globally
unique identifier [GUID] Partition Table) according to the type of partitioning
system to be used. (For more information on MBR and GPT, see “Partition styles”
at http://technet2.microsoft.com/windowsserver/en/library/4b35160a-4e27-4258-
9e8b-e2088f8a757a1033.mspx).
• Click New to create a new partition in the disk. Follow the directions in the
Partition Properties dialog box.
Convert Disk to Dynamic:
• In the Name box, type a name for this task.
• In the Description box, type an optional description.
• In the Disk number box, type the disk to be converted. The first disk number is
0. (For more information, see “Basic and Dynamic Disks” at
http://msdn2.microsoft.com/en-us/library/aa363785.aspx.)
Enable BitLocker:
• In the Name box, type a name for this task.
• In the Description box, type an optional description.
• Select Current operating system drive to encrypt the operating system drive,
or select Specific drive to encrypt any other drive. (For more information on
Windows BitLocker™ Drive Encryption, see the Windows Vista Products page at
http://www.microsoft.com/windows/products/windowsvista/features/details/bitlock
er.mspx.)
Disable BitLocker:
• In the Name box, type a name for this task.
• In the Description box, type an optional description.
• Select Current operating system drive to encrypt the operating system drive,
or select Specific drive to encrypt any other drive.
To remove disk customizations from a System Center Configuration Manager task
sequence
402.In the Configuration Manager console console tree, go to Computer
Management/Operating System Install Packages.
403.Right-click the task sequence from the details pane, and then click Edit.
404.On the Sequence Editor tab, click one of the following options in the left pane, click
Remove, and then click Yes when prompted:
• Format and Partition Disk
• Convert Disk to Dynamic
• Enable BitLocker
• Disable BitLocker
Network Customization
Add and remove customized network actions in a task sequence to meet specific
organizational requirements for images.
To add network customizations in System Center Configuration Manager
405.In the Configuration Manager console console tree, go to Computer
Management/Operating System Install Packages.
406.Right-click the task sequence from the details pane, and then click Edit.
407.On the Sequence Editor tab, click Add, and then click Settings. Select from the
following options, and then click OK:
Capture Network Settings:
• Select Migrate domain and workgroup membership to maintain the current
domain and workgroup settings of the target computer in the new operating
system installation.
• Select Migrate network adapter configuration to maintain the current network
adapter settings of the target computer in the new operating system installation.
Capture Windows Settings:
• Select Migrate computer name to maintain the current computer name of the
target computer after the new operating system installation.
• Select Migrate registered user and organization names to maintain the
current user and organization names used in the target computer in the new
operating system installation.
• Select Migrate Timezone to maintain the current time zone used in the target
computer in the new operating system installation.
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 user’s
particular environment. RELIANCE UPON THIS DOCUMENT AND ANY DOCUMENT REFERENCED HEREIN IS AT
THE USER’S OWN RISK.
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/by-nc/2.5 or
send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
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, Active Directory, SQL Server, Visual Basic, Windows, and Windows Server 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.
Document Version
This documentation was released in July 2008.
What’s New
The Management Pack has been significantly updated and improved. Key improvements
include:
• Full support of the System Center Operations Manager health model and other
features.
Note The Management Pack is not compatible with Microsoft Operations Manager 2005.
Files to Download
To monitor MDT 2008, download the Microsoft Deployment Toolkit Management Pack,
which is a part of the MDT 2008 download. The Management Pack is contained in the
MDT 2008 .msi file; it is installed in the Management Pack folder, which resides in the
same folder in which MDT 2008 was installed.
Other Requirements
The Management Pack has dependencies on the Management Packs that are installed
by default with a System Center Operations Manager Management Server.
Important Most optional Management Packs have dependencies on some of the default
Management Packs. Therefore, do not remove the default Management Packs from a System
Center Operations Manager Management Group. In case of removal, import the default
Management Packs from the System Center Operations Manager installation directory.
To provide end-to-end monitoring of the MDT 2008 infrastructure, also consider deploying
the Management Packs for the following elements (based on the environment):
• System Center Configuration Manager
• Systems Management Server
• Windows Server 2003
• Windows Server 2008
• IIS
• Microsoft SQL Server® 2005
• Active Directory® Domain Services (AD DS) management
• Network hardware, such as routers
Note Management Packs for hardware devices are provided by the manufacturer or third
parties or can be created within the organization. For information about creating
Management Packs, see the Microsoft System Center Operations Manager 2007 Management
Pack Authoring Guide at http://go.microsoft.com/fwlink/?LinkId=82637.
To create the service account for the Microsoft Deployment Management Pack
Service
411.Create a user account in AD DS by using Active Directory Users and Computers.
For more information on how to create user account in AD DS in:
• Windows Server 2003, see “Create a new user account” in the Windows
Server 2003 Help.
• Windows Server 2008, see “Create a New User Account” in Windows
Server 2008 Help.
412.Grant the user account created in the previous step the Log on as a service user
right on the computer on which the Microsoft Deployment Management Pack Service
will be installed by using the Local Security Policy Microsoft Management Console
(MMC) snap-in.
To configure the Log on as a service user right in:
• Windows Server 2003, edit the user right in Local Computer Policy\Computer
Configuration\Windows Settings\Security Settings\Local Policies\User Rights
Assignment by using the Group Policy Object Editor. For more information, see
“To edit the local Group Policy object” in Windows Server 2003 Help.
• Windows Server 2008, edit the user right in Security Settings\Local Policies\User
Rights Assignment by using the Local Security Policy MMC snap-in. For more
information, see “Edit a Local Group Policy Object” in Windows Server 2003
Help.
425.On the Permission Entry for EventsFolder dialog box (where EventsFolder is the
name of the folder created earlier in the process and in which the log files reside), in
the Permissions list, select Allow for the Create Files/Write Data permission, and
then click OK.
426.Repeat steps 5–8, substituting Domain Users for Domain Computers.
427.On the Permissions tab, click Add.
428.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.
429.On the Permission Entry for EventsFolder dialog box (where EventsFolder is the
name of the folder created earlier in the process and in which the log files reside), in
the Apply onto list, select Subfolders and files only.
430.On the Permission Entry for EventsFolder dialog box (where EventsFolder is the
name of the folder created earlier in the process, in which the log files are stored), in
the Permissions list, select Allow for the Full Control permission, and then click
OK.
431.Repeat steps 10–13 for the user account created as the identity for the Microsoft
Deployment Management Pack Service, created earlier in the process.
432.Repeat steps 10–13 for each group to which administrative privileges will be granted.
Note Examples of these groups include the credentials provided in the Systems
Management Server or System Center Configuration Manager network access account and
the credentials provided in the Windows Deployment Wizard.
The permissions set in these steps allow a computer to connect to the appropriate share
and create a new folder in which to store user state information or logs, respectively. The
folder permissions prevent other users or computers from accessing the data stored in
the folder.
Note The default permissions on the Systems Management Server or System Center
Configuration Manager distribution point shares should provide the appropriate resource access
by default.
To grant the service access to the System Center Configuration Manager database
433.Start Configuration Manager console.
434.In the console tree, go to Site Database/Security Rights, and then click Users.
435.In the Actions pane, click Manage ConfigMgr Users.
436.Complete the ConfigMgr User Wizard by using the information in Table 1.
Table 1. Information for Completing the ConfigMgr User Wizard
On this wizard page Do this
Welcome to the ConfigMgr Click Next.
User Wizard
User Name Click Add a new user.
In Add a new user, type user_name (where
user_name is the user name of the account created
earlier in the process in the format domain\username)
or click Browse to browse for a user account, and
then click Next.
User Rights Click Add another right or modify an existing one,
and then click Next.
Add a Right In Class, select Advertisement.
In Instance, select (All Instances).
In Permissions, select the Read check box.
Click Next.
User Rights (second time) Complete the previous two wizard pages for each of
the following classes, substituting the classes for
Advertisement:
• Collection
• Package
• Site
• Status Message
When all rights are assigned, click The listed rights
are sufficient, and then click Next.
Summary Click Finish.
Wizard Completed Click Close.
The Windows User Account dialog box opens. Complete the dialog box by
performing the following steps:
d. In the Windows User Account dialog box, in User name, type user_name
(where user_name is the user name of the user account created earlier in the
process to be used as the identity for the service).
e. In the Windows User Account dialog box, in Password and Confirm
password, type password (where password is the password for the user
account), and then click OK.
A dialog box opens. Complete the dialog box by performing the following steps:
a. In SQL Server name, type server_name (where server_name is the name of the
computer on which the System Center Configuration Manager or Systems
Management Server database resides).
b. In Database, type database (where database is the name of the System Center
Configuration Manager or Systems Management Server database), and then
click OK.
459.Repeat step 9 for each System Center Configuration Manager or Systems
Management Server database to be added.
460.On the SMS/ConfgMgr Database page, click Next.
The Summary wizard page is displayed. The status of the installation and the
configuration of the Microsoft Deployment Management Pack Service is displayed.
This process can take a few minutes.
If an error occurs:
• During the configuration process, view the contents of the
Microsoft.BDD.MPService.InstallLog and Microsoft.BDD.MPService.InstallState
files in the %Program Files%\Microsoft Deployment Toolkit\ManagementPack
folder.
• Starting the Microsoft Deployment Management Pack Service, view the contents
of the Microsoft.BDD.MPService.log.txt file in the %Program Files%\Microsoft
Deployment Toolkit\ManagementPack folder.
461.On the Summary wizard page, click Finish.
465.Click Next.
The Summary page appears and the status bar indicates the progress of the
uninstall process.
466.On the Summary page, click Finish.
To configure the Management Server that the service uses by directly modifying
the Microsoft.BDD.MPService.exe.config file
472.On the computer on which the service is installed, browse to
install_folder\Management Pack (where install_folder is the fully qualified path to the
folder in which MDT 2008 is installed), and then open the
Microsoft.BDD.MPService.exe.config file.
473.Modify the ManagementServerName attribute as follows:
<add key="ManagementServerName" value="localhost" />
474.Save the Microsoft.BDD.MPService.exe.config file.
475.Restart the Microsoft.BDD.MPService Service.
To configure the duration for detecting hung computers by using the Configure
Management Pack Wizard
485.On the computer on which the service is installed, click Start, point to All Programs,
point to Microsoft Deployment Toolkit, and then click Configure Management
Pack.
The Configure Management Pack Wizard starts.
486.On the General Settings page, in Hang Time, type hang_time (where hang_time is
the length of time in minutes to wait before determining that the deployment process
is halted; the default value is 60 minutes), and then click Next.
487.On the SMS/ConfgMgr Database page, click Next.
488.On the Summary page, click Finish.
489.Restart the Microsoft.BDD.MPService Service.
To configure the duration for detecting hung computers by using directly
modifying the Microsoft.BDD.MPService.exe.config file
490.On the computer on which the service is installed, browse to
install_folder\Management Pack (where install_folder is the fully qualified path to the
folder in which MDT 2008 is installed), and open the
Microsoft.BDD.MPService.exe.config file.
491.Modify the HungComputersThreshold attribute as follows:
<add key="HungComputersThreshold" value="60" />
492.Save the Microsoft.BDD.MPService.exe.config file.
493.Restart the Microsoft.BDD.MPService Service.
To configure the duration for collecting new monitoring information by using the
Configure Management Pack Wizard
503.On the computer on which the service is installed, click Start, point to All Programs,
point to Microsoft Deployment Toolkit, and then click Configure Management
Pack.
The Configure Management Pack Wizard starts.
504.On the General Settings page, in Idle Time, type idle_time (where idle_time is the
length of minutes in days to wait before collecting monitoring information; the default
value is 5 minutes), and then click Next.
505.On the SMS/ConfgMgr Database page, click Next.
506.On the Summary page, click Finish.
507.Restart the Microsoft.BDD.MPService Service.
To configure the duration for collecting new monitoring information by directly
modifying the Microsoft.BDD.MPService.exe.config file
508.On the computer on which the service is installed, browse to
install_folder\Management Pack (where install_folder is the fully qualified path to the
folder in which MDT 2008 is installed), and open the
Microsoft.BDD.MPService.exe.config file.
509.Modify the IdleTime attribute as follows:
<add key="IdleTime" value="5" />
510.Save the Microsoft.BDD.MPService.exe.config file.
511.Restart the Microsoft.BDD.MPService Service.
To configure the identity that the Microsoft Deployment Management Pack Service
uses by using the Services MMC snap-in
526.On the computer on which the service is installed, click Start, point to
Administrative Tools, and then click Services.
527.In the Services console, in the details pane, right-click Microsoft.BDD.MPService,
and then click Properties.
528.In the Microsoft.BDD.MPService Properties dialog box, on the Log On tab, click
This account.
529.In This account, type user_name (where user_name is the user name of the user
account created earlier in the process to be used as the identity for the service) or
click Browse to locate the user.
530.Restart the Microsoft.BDD.MPService Service.
In Figure 1, the MDT 2008 process writes MDT 2008–related events in shared folders on
the event collection servers. The System Center Configuration Manager or Systems
Management Server client stores operating system and package deployment status in
the System Center Configuration Manager or Systems Management Server database.
The Microsoft Deployment Management Pack Service, which is installed and configured
on the System Center Operations Manager Root Management Server, collects the
MDT 2008–related events from the event collection servers as well as the operating
system and the package deployment status from the System Center Configuration
Manager or Systems Management Server database. Then, the Microsoft Deployment
Management Pack Service stores the collected information in the Operations Manager
database and Data Warehouse database.
Reports
Table 5 lists the reports included in this Management Pack. For each report, the date
range for information displayed in the report can be specified.
Note The Management Pack regularly purges information from the Operations Manager
database as a normal part of Management Pack operation. For more information, see the section,
“Modify the Duration for Removing Monitored Computers After Deployment Is Complete,” in this
document.
Rules
Table 7 lists the rules included in this Management Pack.
Table 7. Management Pack Rules
Rule Description
Percent Complete This performance counter rule determines the
percentage of completion for a computer being
deployed using MDT 2008.
Is Active This performance counter rule reflects a computer
that is actively in the process of being deployed
using MDT 2008.
Has Failed This performance counter rule reflects a computer
that has failed during the process of being deployed
using MDT 2008.
Generate alerts for Events with This event rule generates an alert for any events that
Severity = Warning have an event type of Warning.
Generate alerts for Events with This event rule generates an alert for any events that
Severity = Error have an event type of Error.
Events
The Microsoft Deployment Management Pack Service processes only events for
MDT 2008, status messages from System Center Configuration Manager, and status
messages from Systems Management Server. Events for other software packages or
advertisements in the event logs will be ignored.
Event Description
ID: 41002 An error occurred while running the
Component: ZTIUtility.vbs scripts. This situation is not normal;
Type: Error further investigation is required to
Text: ZTI ERROR - Unhanded error identify the cause of the error.
returned by %1: %2 (%3)
- or -
ZTI ERROR - Non-zero return
code by %1, rc = &2
ID: 41003 The scripts run some commands that
Component: ZTIUtility.vbs may take a long time to finish (for
Type: Informational example, the USMT state capture). The
Text: ZTI Heartbeat: command has Zero Touch Installation (ZTI) script
been running for %1 minutes generates this event to indicate that it is
(process ID %2) still alive and monitoring the specified
process.
ID: 41004 The scripts are going to start the USMT
Component: ZTIUserState.wsf state capture process; waiting for it to
Type: Informational finish.
Text: ZTI Beginning user state
estimate/capture
ID: 41005 The USMT state capture process was
Component: ZTIUserState.wsf successful.
Type: Informational
Text: ZTI Scanstate estimate was
successful.
ID: 41006 The scripts encountered an error while
Component: ZTIUserState.wsf running the USMT Scanstate
Type: Warning/Error command. See the usmtcapt.log file for
Text: ZTI ERROR - Unable to run more information.
Scanstate, Error = %1 (%2)
- or -
ZTI ERROR - Non-zero return
code from Scanstate, RC = %1
ID: 41007 The scripts are going to start the USMT
Component: ZTIUserState.wsfInformational state restore process.
Type: / Error
Text: ZTI Beginning user state
restore
- or -
ZTI ERROR - Unable to run
Loadstate, Error = %1 (%2)
- or -
ZTI ERROR - Non-zero return
code from Loadstate, RC = %1
Event Description
ID: 41008 The USMT state restore process
Component: ZTIUserState.wsf finished successfully.
Type: Informational
Text: ZTI User state restored
successfully
ID: 41011 The scripts successfully installed the
Component: ZTIPackages.wsf specified Systems Management Server
Type: Informational package and program combination.
Text: ZTI Successfully installed
%1:%2.
ID: 41012 The scripts were unable to install the
Component: ZTIPackages.wsf specified Systems Management Server
Type: Error/Warning package and program combination
Text: ZTI ERROR - Unable to because of an error executing the
execute command: %1 (%2) command.
- or -
ZTI WARNING - Non-zero
return code from command, rc
= %1
ID: 41013 The scripts were unable to connect to
Component: ZTIUtility.vbs the specified SQL Server database.
Type: Error
Text: ZTI error opening SQL
connection: %1
ID: 41014 An LTI-based deployment failed.
Component: LiteTouch.wsfError
Type: LTI deployment failed, rc = %1
Text:
ID: 41015 An LTI-based deployment finished
Component: LiteTouch.wsf successfully.
Type: Informational
Text: LTI deployment completed
successfully
ID: 41016 An LTI-based deployment began.
Component: LiteTouch.wsf
Type: Informational
Text: LTI beginning deployment
ID: 41017 An LTI-based deployment initiated a
Component: LiteTouch.wsf task sequence–requested restart of the
Type: Informational target commuter.
Text: LTI initiating task sequence-
requested reboot.
ID: 41018 An LTI-based deployment initiated the
Component: LTIApply.wsf startup of Windows PE on the target
Type: Informational computer.
Text: LTI applying Windows PE
Event Description
ID: 41019 An LTI-based deployment successfully
Component: LTIApply.wsf started Windows PE on the target
Type: Informational computer.
Text: LTI Windows PE applied
successfully
ID: 41020 An LTI-based deployment initiated an
Component: LTIApply.wsf image installation by running setup.exe.
Type: Informational
Text: LTI applying image %1 using
SETUP.EXE
ID: 41021 An LTI-based deployment successfully
Component: LTIApply.wsf completed image installation by running
Type: Informational setup.exe.
Text: Setup completed successfully.
ID: 41022 An LTI-based deployment failed to
Component: LTIApply.wsf complete image installation by running
Type: Error setup.exe with the return code specified
Text: Setup failed applying image in the text of the event.
%1, rc = %2
ID: 41023 An LTI-based deployment initiated an
Component: LTIApply.wsf image installation by using ImageX.
Type: Informational
Text: LTI applying image %1 using
ImageX
ID: 41024 An LTI-based deployment failed to
Component: LTIApply.wsf complete image installation by using
Type: Error ImageX with the return code specified
Text: The image %1 was not applied in the text of the event.
successfully by ImageX, rc =
%2
ID: 41025 An LTI-based deployment successfully
Component: LTIApply.wsf completed image installation by using
Type: Informational ImageX.
Text: The image %1 was applied
successfully.
ID: 41026 An LTI-based deployment initiated an
Component: LTIApply.wsf image installation by using unattended
Type: Informational installation.
Text: Performing unattend install
from %1
ID: 41027 An LTI-based deployment successfully
Component: LTIApply.wsf completed image installation by using
Type: Informational unattended installation.
Text: Unattended install completed
successfully.
Event Description
ID: 41028 An LTI-based deployment failed to
Component: LTIApply.wsf complete image installation by using
Type: Error unattended installation with the return
Text: Unattended install failed, rc = code specified in the text of the event.
%1
ID: 41029 A ZTI-based deployment completed
Component: ZeroTouchInstallation.wsf successfully.
Type: Informational
Text: ZTI deployment
completed successfully
ID: 41030 A ZTI-based deployment failed to
Component: ZeroTouchInstallation.wsf complete image installation with the
Type: Error return code specified in the text of the
Text: ZTI deployment failed, rc = %1 event.
(%2)
ID: 41031 Installation of application initiated.
Component: ZTIApplications.wsf
Type: Informational
Text: ZTI installing application %1
ID: 41032 Installation of application failed.
Component: ZTIApplications.wsf
Type: Error
Text: Error installing application %1:
%2
ID: 41033 Installation of application completed
Component: ZTIApplications.wsf successfully.
Type: Informational
Text: Application %1 installed
successfully
ID: 41034 Installation of application failed with the
Component: ZTIApplications.wsf error return code specified in the text of
Type: Error the event.
Text: Application %1 returned an
unexpected return code: %2
ID: 41035 Back up of drive specified in the text of
Component: ZTIBackup.wsf the event is initiated.
Type: Informational
Text: Beginning backup of drive %1
ID: 41036 Backup of the disk specified in the text
Component: ZTIBackup.wsf of the event failed with the error return
Type: Error code specified in the text of the event.
Text: Error creating an image of drive
%1, rc = %2
ID: 41037 Backup of the disk specified in the text
Component: ZTIBackup.wsf of the event finished successfully.
Type: Informational
Text: Successfully created image of
drive %1
Event Description
ID: 41038 The MDT 2008 script ZTIGather.wsf
Component: ZTIGather.wsf was unable to establish a connection to
Type: Error the database referenced in the text of
Text: Unable to establish database the event.
connection using [%1]
properties.
ID: 41039 The MDT 2008 script ZTIGather.wsf
Component: ZTIGather.wsf was unable to run a database query.
Type: Warning
Text: Unable to execute database
query.
ID: 41040 The MDT 2008 script ZTIPackages.wsf
Component: ZTIPackages.wsf was unable to find the file
Type: Error osdswdexec.exe, which is required to
Text: Unable to find install packages created in Systems
OSDSWDEXEC.EXE, so SMS Management Server.
packages cannot be installed.
ID: 41041 The MDT 2008 script ZTIPackages.wsf
Component: ZTIPackages.wsf is unable to locate the Systems
Type: Error Management Server program
Text: Unable to establish database Command Prompt window for the
connection to look up SMS package and program specified in the
program command lines, install text of the event.
of '%1:%2’ cannot be
completed.
ID: 41042 The MDT 2008 script ZTIPackages.wsf
Component: ZTIPackages.wsf is unable to locate the package and
Type: Error program specified in the text of the
Text: Unable to install %1:%2 event.
because it was not found in the
SMS database.
ID: 41043 The MDT 2008 script ZTIPackages.wsf
Component: ZTIPackages.wsf is initiating the installation of the
Type: Informational package and program specified in the
Text: About to install %1:%2. text of the event.
ID: 41044 The MDT 2008 script ZTIValidate.wsf
Component: ZTIValidate.wsf identified that the target computer is
Type: Error running a server operating system, and
Text: ERROR - Attempting to deploy the process is attempting to deploy a
a client operating system to a client operating system to the target
machine running a server computer, which is not supported.
operating system.
ID: 41045 The MDT 2008 script ZTIValidate.wsf
Component: ZTIValidate.wsf identified that the target computer is
Type: Error running a client operating system, and
Text: ERROR - Attempting to deploy the process is attempting to deploy a
a server operating system to a server operating system to the target
machine running a client computer, which is not supported.
operating system.
Event Description
ID: 41046 The MDT 2008 script ZTIValidate.wsf
Component: ZTIValidate.wsf identified that the target computer is not
Type: Error authorized for upgrade.
Text: ERROR - Machine is not
authorized for upgrading
(OSInstall=%1), aborting.
ID: 41047 The MDT 2008script ZTIValidate.wsf
Component: ZTIValidate.wsf identified that the target computer has
Type: Error insufficient physical memory resources
Text: ERROR - %1 MB of memory is to deploy the target operating system
insufficient. At least %2 MB of as specified in the text of the event.
memory is required.
ID: 41048 The MDT 2008 script ZTIValidate.wsf
Component: ZTIValidate.wsf identified that the target computer has
Type: Error insufficient processor resources to
Text: ERROR - Processor speed of deploy the target operating system as
%1 MHz is insufficient. At least specified in the text of the event.
a %2 MHz processor is
required.
ID: 41049 The MDT 2008 script ZTIValidate.wsf
Component: ZTIValidate.wsf identified that the target computer has
Type: Error insufficient available disk space to
Text: ERROR - insufficient space is deploy the target operating system as
available on %1. An additional specified in the text of the event.
%2 MB is required.
ID: 41050 The MDT 2008 script ZTIValidate.wsf
Component: ZTIValidate.wsf identified that the operating system on
Type: Error the target computer is running on a
Text: ERROR - the current OS is not drive volume other than the drive C
running from the C: drive. This volume, which is not supported.
is not currently supported.
Event Description
ID: 10018 A computer received the Systems
Component: SMS 2003 Client Management Server advertisement, but that
Type: Warning computer rejected it because it was not
Text: Advertisement rejected running the correct operating system
due to platform platform. This event typically occurs only on
restrictions computers running the Microsoft Windows 98
operating system, because Systems
Management Server advertisements support
Microsoft Windows 2000 Professional and
later operating systems.
ID: 10019 The computer received the Systems
Component: SMS 2003 Client Management Server advertisement, but it will
Type: Warning not run because the expiration date
Text: Advertisement rejected configured on that advertisement has already
because it is expired passed.
ID: 10020 The Systems Management Server
Component: SMS 2003 Client advertisement is configured not to run the
Type: Informational program over a slow network connection, but
Text: Program will not be run a slow network connection was detected.
due to a slow network
connection
ID: 10023 The Systems Management Server
Component: SMS 2003 Client advertisement has been configured to use
Type: Informational “Download and execute” and has started
Text: Content download has downloading the package content. The
started package cannot begin executing until the
download is complete.
ID: 10024 The contents of the Systems Management
Component: SMS 2003 Client Server package have been completely
Type: Informational downloaded so that program can run as soon
Text: Content download has as the advertisement start time arrives.
completed
ID: 10030 The contents of the Systems Management
Component: SMS 2003 Client Server package were downloaded, but the
Type: Error content hash (checksum) of the local content
Text: Content hash mismatch did not match the server content. This means
that the local content is corrupt and unusable.
ID: 10031 The Systems Management Server client
Component: SMS 2003 Client cancelled the Systems Management Server
Type: Informational package download.
Text: Content download
cancelled
ID: 10034 The Systems Management Server client
Component: SMS 2003 Client cancelled the Systems Management Server
Type: Informational package download at the user’s request.
Text: Program cancelled by
user request
Event Description
ID: 10035 The Systems Management Server package
Component: SMS 2003 Client cannot run, because the Systems
Type: Informational Management Server client has not yet located
Text: Waiting for package or obtained the package content. If the
content package is configured for “Download and
execute,” it will take some time for this
download to finish. If the package is
configured to run from a distribution point, this
status message is still generated to indicate
that it is looking for a distribution point, but
one should be found quickly, enabling the
package execution to continue.
ID: 10037 The Systems Management Server package
Component: SMS 2003 Client cannot run, because the Systems
Type: Informational Management Server client is busy running
Text: Waiting for another something else. As soon as that
program to complete advertisement is complete, the Systems
Management Server package should run.
ID: 10040 The Systems Management Server client will
Component: SMS 2003 Client not re-run the Systems Management Server
Type: Warning advertisement, because the same package-
Text: Program will not be re- program combination has already
run due to program successfully run on the computer.
settings
ID: 10041 The Systems Management Server client will
Component: SMS 2003 Client not re-run the Systems Management Server
Type: Warning advertisement, because the same package-
Text: Program will not be re- program combination has already
run due to program successfully run on the computer.
settings
ID: 10042 The Systems Management Server client will
Component: SMS 2003 Client not re-run the Systems Management Server
Type: Warning advertisement, because the same package-
Text: Program will not be re- program combination has already
run due to program successfully run on the computer.
settings
ID: 10043 The Systems Management Server client will
Component: SMS 2003 Client not re-run the Systems Management Server
Type: Warning advertisement, because the same package-
Text: Program will not be re- program combination has already
run due to program successfully run on the computer.
settings
ID: 10045 The Systems Management Server
Component: SMS 2003 Client advertisement has been configured for
Type: Warning “Download and Execute,” but there is not
Text: Not enough space in enough space in the Systems Management
cache Server client’s local disk cache to hold the
package contents. The cache size must be
increased before the package can download
and run.
Event Description
ID: 10050 The Systems Management Server
Component: SMS 2003 Client advertisement has been configured for
Type: Error “Download and Execute,” but there is not
Text: Not enough space in enough space in the Systems Management
cache Server client’s local disk cache to hold the
package contents. The cache size must be
increased before the package can download
and run.
ID: 10051 The Systems Management Server client
Component: SMS 2003 Client attempted to locate a distribution point
Type: Error containing the Systems Management Server
Text: Content cannot be package files but was unable to do so after
located, SMS 2003 client several tries, so it gave up.
is giving up
ID: 10053 The Systems Management Server client
Component: SMS 2003 Client experienced a problem while downloading the
Type: Error Systems Management Server package files
Text: Content download failed from a Systems Management Server
distribution point. No more attempts will be
made.
ID: 10054 The Systems Management Server
Component: SMS 2003 Client advertisement has been configured for
Type: Error “Download and Execute,” but there is not
Text: Not enough space in enough space in the Systems Management
cache Server client’s local disk cache to hold the
package contents. The cache size must be
increased before the package can download
and run.
ID: 10057 The Systems Management Server
Component: SMS 2003 Client advertisement has been configured for
Type: Error “Download and Execute,” but there is not
Text: Not enough space in enough space in the Systems Management
cache Server client’s local disk cache to hold the
package contents. The cache size must be
increased before the package can download
and run.
ID: 10058 The Systems Management Server
Component: SMS 2003 Client advertisement has been configured for
Type: Error “Download and Execute,” but there is not
Text: Not enough space in enough space in the Systems Management
cache Server client’s local disk cache to hold the
package contents. The cache size must be
increased before the package can download
and run.
ID: 10060 The Systems Management Server client
Component: SMS 2003 Client experienced a problem while downloading the
Type: Warning Systems Management Server package files
Text: Content download failed, from a Systems Management Server
will retry distribution point. More attempts will be made
to complete the download.
Event Description
ID: 10061 The Systems Management Server client
Component: SMS 2003 Client experienced a problem while downloading the
Type: Warning Systems Management Server package files
Text: Content download failed, from a Systems Management Server
will retry distribution point. More attempts will be made
to complete the download.
ID: 10062 The Systems Management Server client
Component: SMS 2003 Client experienced a problem while downloading the
Type: Warning Systems Management Server package files
Text: Content download failed, from a Systems Management Server
will retry distribution point. More attempts will be made
to complete the download.
Table 11 lists the SMS 2003 Operating System Deployment (OSD) Feature Pack Agent
(OSD Agent) component events that the Management Pack processes.
Table 11. SMS 2003 OSD Feature Pack Agent Component Events Processed by the
Management Pack
Event Description
ID: 11100 The OSD Agent generates this event for each
Component: OSD Agent action started during the operating system
Type: Informational deployment process.
Text: OSD action '%1' started
ID: 11101 The OSD Agent detected that an action failed
Component: OSD Agent with a non-zero return code. This is a terminal
Type: Error error prior to the installation phase; after the
Text: OSD action '%1' failed installation phase, execution will continue.
with rc = %1 (The Management Pack will raise an alert for
each action failure, regardless of the phase.)
ID: 11102 The OSD Agent successfully completed the
Component: OSD Agent SMS 2008 OSD Feature Pack image-
Type: Informational deployment process. The new operating
Text: OSD deployment system is fully installed and ready to use.
successfully completed
ID: 11103 The OSD Agent attempted to contact a
Component: OSD Agent Systems Management Server management
Type: Error point to locate the closest Systems
Text: OSD did not receive a Management Server distribution point
response from the containing the specified package, but the
management point management point did not respond, causing
the operating system deployment process to
fail.
Event Description
ID: 11104 The OSD Agent successfully contacted a
Component: OSD Agent Systems Management Server management
Type: Error point, but that management point reported
Text: OSD found no that there were no suitable Systems
distribution points Management Server distribution points
available at the site available given the computer’s current
network location. This causes the operating
system deployment process to fail. (This may
mean that the site is configured to use AD DS
site boundaries and that the update
associated with Microsoft Help and Support
article, “Deploying an operating system by
using the Operating System Deployment
Feature Pack fails when Active Directory sites
are used as site boundaries in SMS 2003,” at
http://support.microsoft.com/kb/888311 has
not been installed.)
ID: 11105 The OSD Agent successfully obtained the
Component: OSD Agent name of a Systems Management Server
Type: Error distribution point from the Systems
Text: OSD was unable to Management Server management point but
connect to a distribution was unable to connect to that distribution
point point. This causes the operating system
deployment process to fail. (This may mean
that the server is down, that there are
firewalls or Internet Protocol Security [IPsec]
configurations interfering, and so on.)
ID: 11106 The OSD Agent successfully started the
Component: OSD Agent validation phase, the first phase in the
Type: Informational operating system deployment process.
Text: OSD Validation phase
started
ID: 11107 The OSD Agent successfully started the state
Component: OSD Agent capture phase (running in the original, or
Type: Informational “old,” operating system), the second phase in
Text: OSD State Capture the operating system deployment process.
phase started This phase typically runs the USMT to
capture user settings and files.
ID: 11108 The OSD Agent successfully started the
Component: OSD Agent preinstall phase. For an operating system
Type: Informational refresh, Windows PE is placed on the hard
Text: OSD Preinstall phase disk, and the computer is restarted to
started continue the process. For a new computer,
the pre-installation phase is initiated from the
Windows PE image installation CD.
Event Description
ID: 11109 The OSD Agent successfully started the
Component: OSD Agent installation phase (running in Windows PE).
Type: Informational This phase cleans the old operating system
Text: OSD Install phase from drive C (if there is an existing operating
started system) and extracts the contents of the new
operating system Windows Image Format
(WIM) image, placing it on the drive.
ID: 11110 The OSD Agent successfully started the post-
Component: OSD Agent installation phase (running in Windows PE).
Type: Informational During this phase, the new operating system
Text: OSD Postinstall phase can be adjusted or modified before it runs for
started the first time (for example, editing the
sysprep.inf configuration file or adding
drivers).
ID: 11111 The OSD Agent successfully started the state
Component: OSD Agent restore phase (running in the “new” operating
Type: Informational system). During this phase, the user state
Text: OSD State Restore information captured previously is restored,
phase started and any needed applications are installed.
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/by-nc/2.5 or
send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
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, Active Directory, BitLocker, SQL Server, Visual Basic, Windows, Windows NT, 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.
557.Click Next.
558.On the Database page, click one of three options:
• Create a new database.
• Create (or recreate) the tables and views in an existing database.
• Use an existing database that already contains the required tables and
views.
559.In the Database box beside the selected database option, type the name of the new
database or click the name of an existing database.
560.Click Next.
561.On the SQL Share page, type the SQL Share name (required when using the
Named Pipes option).
562.Click Finish.
After identifying the computers, identify the configuration settings to associate with them.
Use Deployment Workbench to associate the following properties with a computer, based
on the tabs in the user interface (UI):
• Details. Configure specific properties for the target computer.
• Applications. Configure the applications (defined in Deployment Workbench) to be
deployed to the target computer.
• Packages. Configure the packages (defined in Deployment Workbench) to be
deployed to the target computer.
• Roles. Configure the roles (defined in Deployment Workbench) to be associated with
the target computer.
• Administrators. Configure the user accounts to be made members of the local
Administrator group on the target computer.
The Asset tag, UUID, Serial number, and MAC address boxes correspond to the
AssetTag, UUID, SerialNumber, and MACAddress properties. For more
information about the values for the asset tag, UUID, serial number, and MAC
address, see the AssetTag, UUID, SerialNumber, and MACAddress properties in
the MDT 2008 document, Toolkit Reference.
4. Click the Details tab, and then configure the appropriate property values identified
earlier in the process.
5. Click the Applications tab, and then configure the applications to install and the
order of application installation.
6. Click the Packages tab, and then configure the packages to install and the order of
package installation.
7. Click the Roles tab, and then configure the roles to associate with the computer.
8. Click the Administrators tab, configure the accounts to be made members of the
local Administrator group on the target computers, and then click OK.
Configure CustomSettings.ini
Next, configure CustomSettings.ini to perform the appropriate database queries and set
the properties configured for each role. Perform the following steps for each deployment
point to be configured.
To configure CustomSettings.ini
1. Start Deployment Workbench.
2. In the console tree, expand Deploy, and then click Deployment Points.
3. In the details pane, right-click deployment_point (where deployment_point is the
name of the deployment point to configure), and then click Configure DB.
The Configure DB Wizard will start.
4. Complete the Configure DB Wizard using the information listed in Table 4.
Note For System Center Configuration Manager, also copy CustomSettings.ini to the Setting
Source Package directory.
Note For each query check box selected, ZTIGather.wsf will perform a corresponding
database query and logging. Selecting unnecessary check boxes can increase the time
required to deploy to a target computer.
Listing 1 illustrates the CustomSettings.ini file after completing the Configure DB Wizard
and selecting only the options specified in Table 4.
Listing 1. CustomSettings.ini File After Completing the Configure DB Wizard
[Settings]
Priority=CSettings,CPackages, CApps, CAdmins, CRoles, Default
Properties=MyCustomProperty
[Default]
OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
[CSettings]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=ComputerSettings
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR
[CPackages]
SQLServer=W2K3-SP1
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=ComputerPackages
[CApps]
SQLServer=W2K3-SP1
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=ComputerApplications
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR
Order=Sequence
[CAdmins]
SQLServer=W2K3-SP1
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=ComputerAdministrators
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR
[CRoles]
SQLServer=W2K3-SP1
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=ComputerRoles
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR
Note The [Default] section typically is at the end of the list of sections in the Priority
property.
Note If using named pipes, the SQLShare property should show the SQL share name.
The Configure DB Wizard configures the Priority property and creates the corresponding
section in CustomSettings.ini. Table 5 lists the sections created and a brief description of
the purpose of each section.
For more information about the database views and tables managed by Deployment
Workbench, see the section “Tables and Views in the Deployment Workbench Database”
in the MDT 2008 document, Toolkit Reference.
After identifying the locations, also identify the configuration settings to associate with
each location. Using Deployment Workbench, the following items can be associated with
a location:
• Details. Configure specific properties for target computers within the location.
• Applications. Configure the applications (defined in Deployment Workbench) to be
deployed to the target computers within the location.
• Packages. Configure the packages (defined in Deployment Workbench) to be
deployed to the target computers within the location.
• Roles. Configure the roles (defined in Deployment Workbench) to be associated with
the target computers within the location.
• Administrators. Configure the user accounts to be made members of the local
Administrator group on the target computers within the location.
Configure CustomSettings.ini
Next, configure CustomSettings.ini to perform the appropriate database queries and set
the properties configured for each location. Perform the following steps for each
deployment point to configure.
To configure CustomSettings.ini
1. Start Deployment Workbench.
2. In the console tree, expand Deploy, and then click Deployment Points.
3. In the details pane, right-click deployment_point (where deployment_point is the
name of the deployment point to configure), and then click Configure DB.
The Configure DB Wizard will start.
4. Complete the Configure DB Wizard using the information listed in Table 6.
Table 6. Completing the Configure DB Wizard for Locations Only
Wizard page Purpose
Location Options • Query for location names based on default gateways.
• Query for location-specific settings.
• Query for roles assigned for this location.
• Query for applications to be installed for this location.
• Query for Systems Management Server packages to
be installed for this location.
• Query for members of the local Administrator group to
be assigned for this location.
Note For each query check box selected, ZTIGather.wsf will perform a corresponding
database query and logging. Selecting unnecessary check boxes can increase the time
required to deploy to a target computer.
Listing 2 illustrates the CustomSettings.ini file after completing the Configure DB Wizard
and selecting only the options specified in Table 6.
Listing 2. CustomSettings.ini File After Completing the Configure DB Wizard
[Settings]
Priority=Locations, LSettings, LPackages, LApplications, LAdmins,
LRoles, CSettings, Default
Properties=MyCustomProperty
[Default]
OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
[Locations]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=Locations
Parameters=DefaultGateway
[LSettings]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=LocationSettings
Parameters=DefaultGateway
[LPackages]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=LocationPackages
Parameters=DefaultGateway
Order=Sequence
[LApps]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=LocationApplications
Parameters=DefaultGateway
Order=Sequence
[LAdmins]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=LocationAdministrators
Parameters=DefaultGateway
[LRoles]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=LocationRoles
Parameters=DefaultGateway
Note The [Default] section typically is at the end of the list of sections in the Priority
property.
The Configure DB Wizard configures the Priority property and creates the corresponding
section in CustomSettings.ini. Table 7 lists the sections created and a brief description of
purpose for each section.
Table 7. Sections in Listing 2 and Their Purpose
Section Purpose
Locations Queries the Locations view to identify the locations
that are associated with the IP address of a default
gateway.
LSettings Queries the LocationSettings view to return all the
property values associated with a location.
LPackages Queries the LocationPackages view to return all the
packages associated with a location.
LApps Queries the LocationApplications view to return all the
applications associated with a location.
LAdmins Queries the LocationAdministrators view to return all
the user accounts to be made members of the local
Administrator group on the target computers within a
location.
LRoles Queries the LocationRoles view to return all the roles
associated with a location.
CSettings Queries the ComputerSettings view to return all the
property values associated with a specific computer.
For more information about the database views and tables managed by Deployment
Workbench, see the section “Tables and Views in the Deployment Workbench Database”
in the MDT 2008 document, Toolkit Reference.
After identifying items on the Make and Model node, identify the configuration settings to
associate with each item. Using Deployment Workbench, the following items can be
associated with a make and model item, based on the tabs in the UI:
• Details. Configure specific properties to target computers that match the make and
model.
• Applications. Configure the applications (defined in Deployment Workbench) to be
deployed to the target computers that match the make and model.
• Packages. Configure the packages (defined in Deployment Workbench) to be
deployed to the target computers that match the make and model.
• Roles. Configure the roles (defined in Deployment Workbench) to be associated with
the target computers that match the make and model.
• Administrators. Configure the user accounts to be made members of the local
Administrator group on the target computers that match the make and model.
Configure CustomSettings.ini
Next, configure CustomSettings.ini to perform the appropriate database queries and set
the properties configured for each make and model combination. Perform the following
steps for each deployment point to be configured.
To configure CustomSettings.ini
1. Start Deployment Workbench.
2. In the console tree, expand Deploy, and then click Deployment Points.
3. In the details pane, right-click deployment_point (where deployment_point is the
name of the deployment point to configure), and then click Configure DB.
The Configure DB Wizard will start.
4. Complete the Configure DB Wizard using the information listed in Table 8.
Table 8. Completing the Configure DB Wizard for Make and Model Only
Wizard page Purpose
Make/Model Options • Query for model-specific settings.
• Query for roles assigned to computers with this make
and model.
• Query for applications to be installed on computers
with this make and model.
• Query for Systems Management Server packages to
be installed on computers with this make and model.
• Query for administrators to be assigned to machines
with this make and model.
Note For each query check box selected, ZTIGather.wsf will perform a corresponding
database query and logging. Selecting unnecessary check boxes can increase the time
required to deploy to a target computer.
Listing 3 illustrates the CustomSettings.ini file after completing the Configure DB Wizard
and selecting only the options specified in Table 8.
Listing 3. CustomSettings.ini file After Completing the Configure DB Wizard
[Settings]
Priority=MMSettings, MMPackages, MMAppls, MMAdmins, MMRoles,
Default
Properties=MyCustomProperty
[Default]
OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
[MMSettings]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=MakeModelSettings
Parameters=Make, Model
[MMPackages]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=MakeModelPackages
Parameters=Make, Model
Order=Sequence
[MMApps]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=MakeModelApplications
Parameters=Make, Model
Order=Sequence
[MMAdmins]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=MakeModelAdministrators
Parameters=Make, Model
[MMRoles]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=MakeModelRoles
Parameters=Make, Model
Note The [Default] section typically is at the end of the list of sections in the Priority
property.
The Configure DB Wizard configures the Priority property and creates the corresponding
section in CustomSettings.ini. Table 9 lists the sections created and a brief description of
purpose for each section.
Table 9. Sections in Listing 3 and Their Purpose
Section Purpose
MMSettings Queries the MakeModelSettings view to return all the
property values associated with a make and model
combination.
MMPackages Queries the MakeModelPackages view to return all the
packages associated with a make and model
combination.
MMApps Queries the MakeModelApplications view to return all the
applications associated with a make and model
combination.
MMAdmins Queries the MakeModelAdministrators view to return all
the user accounts to be made members of the local
Administrator group on the target computers that match a
make and model combination.
MMRoles Queries the MakeModelRoles view to return all the roles
associated with a make and model combination.
For more information about the database views and tables managed by Deployment
Workbench, see the section “Tables and Views in the Deployment Workbench Database”
in the MDT 2008 document, Toolkit Reference.
After identifying the roles, identify the configuration settings to associate with them. Use
Deployment Workbench to associate the following properties with a role:
• Details. Configure specific properties to target computers that perform the role.
• Applications. Configure the applications (defined in Deployment Workbench) to be
deployed to the target computers that perform the role.
• Packages. Configure the packages (defined in Deployment Workbench) to be
deployed to the target computers that perform the role.
• Administrators. Configure the user accounts to be made members of the local
Administrator group on the target computers that perform the role.
Configure CustomSettings.ini
Next, configure CustomSettings.ini to perform the appropriate database queries and set
the properties configured for each role. Perform the following steps for each deployment
point to be configured.
To configure CustomSettings.ini
1. Start Deployment Workbench.
2. In the console tree, expand Deploy, and then click Deployment Points.
3. In the details pane, right-click deployment_point (where deployment_point is the
name of the deployment point to configure), and then click Configure DB.
The Configure DB Wizard will start.
4. Complete the Configure DB Wizard using the information listed in Table 10.
Table 10. Completing the Configure DB Wizard for Roles Only
Wizard page Purpose
Role Options • Query for role-specific settings.
• Query for applications to be installed for this
role.
• Query for Systems Management
Server packages to be installed for this role.
• Query for members of the local Administrator
to be assigned for this role.
Note For each query check box selected, ZTIGather.wsf will perform a corresponding
database query and logging. Selecting unnecessary check boxes can increase the time
required to deploy to a target computer.
Listing 4 illustrates the CustomSettings.ini file after completing the Configure DB Wizard
and selecting only the options specified in Table 10.
Listing 4. CustomSettings.ini File After Completing the Configure DB Wizard
[Settings]
Priority=CRoles, RSettings, RPackages, RApps, RAdmins, LRoles,
MMRoles, Default
Properties=MyCustomProperty
[Default]
SkipCapture=NO
SkipAppsOnUpgrade=NO
UserDataLocation=AUTO
DeployRoot=\\W2K3-SP1\Distribution11$
OSInstall=Y
ScanStateArgs=/v:15 /o /c
LoadStateArgs=/v:7 /c
[CRoles]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=ComputerRoles
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR
[RSettings]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=RoleSettings
Parameters=Role
[RPackages]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=RolePackages
Parameters=Role
Order=Sequence
[RApplications]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=RoleApplications
Parameters=Role
Order=Sequence
[RAdmins]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=RoleAdministrators
Parameters=Role
[LRoles]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=LocationRoles
Parameters=DefaultGateway
[MMRoles]
SQLServer=W2K3-SP1
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=MakeModelRoles
Parameters=Make, Model
Note The [Default] section typically is at the end of the list of sections in the Priority
property.
The Configure DB Wizard configures the Priority property and creates the corresponding
section in CustomSettings.ini. Table 11 lists the sections created and a brief description of
purpose for each section.
For more information about the database view and tables managed by Deployment
Workbench, see the section “Tables and Views in the Deployment Workbench Database”
in the MDT 2008 document, Toolkit Reference.
Priority=...,ByLaptopType,ByDesktopType,ByServerType
[ByLaptopType]
Subsection=Laptop-%IsLaptop%
[ByDesktopType]
Subsection=Desktop-%IsDesktop%
[ByServerType]
Subsection=Server-%IsServer%
.
.
[Laptop-True]
.
.
.
[Laptop-False]
.
.
.
[Desktop-True]
.
.
.
[Desktop-False]
.
.
.
[Server-True]
.
.
.
[Server-False]
.
.
.
SET NOCOUNT ON
When ZTIGather.wsf runs, a SQL SELECT statement is automatically generated, and the
value of the MakeModelQuery custom key is passed as a parameter to the query
(shown in Listing 13).
Listing 13. Sample SQL Query Created Automatically Based on the Database
Section
EXECUTE RetrievePackages ?
The actual value of the MACAddress custom key will be substituted for the
corresponding ? in Listing 13. This query returns a record set with the rows entered in
step 2.
A variable number of arguments cannot be passed to a stored procedure. As a result,
when a computer has more than one MAC address, not all MAC addresses can be
passed to the stored procedure. As an alternative, replace the stored procedure with a
view that allows querying the view with a SELECT statement with an IN clause to pass all
the MAC address values.
Based on the scenario presented here, if the current computer has the value Office8.0
inserted into the table (step 2), the one row is returned (XXX0000F:Install
Office 2003 Profession). This indicates that package XXX0000F:Install Office 2003
Professional will be installed by the ZTI process during the State Restore Phase.
• The impact on the network must still be considered. All Advanced Client computers
will begin downloading the content as soon as the advertisement start time is
reached. If too many computers are specified in the collection or an advertisement
start time is specified that occurs at an inappropriate time (for example, in the middle
of the work day), the network and servers could be overloaded. Although this would
not cause any problems with the operating system deployment package, it would
likely cause other operational problems (for example, slow e-mail access, slow
Internet access, or slow delivery of other packages).
Note Proper testing and impact analysis are required. These activities are beyond the scope of
this guide.
To use download and execute with operating system packages and advertisements, first
make modifications to the operating system programs and advertisements directly using
the Systems Management Server or System Center Configuration Manager application
programming interfaces (APIs), because the applications’ administrative consoles
specifically prohibit these modifications. The remainder of this section describes how to
make those modifications.
Configuration Process
Perform the following configuration activities before using download and execute:
• Define collections that contain only the computers that meet the requirements. For
example, it might be appropriate to select only the computers running Windows 2000
or later with at least 2 GB of free disk space (assuming all of those computers meet
the requirements for the operating system package being deployed, such as
processor speed and memory).
• Configure the Advanced Client cache size so that there is enough capacity to store
the operating system package.
• Configure the operating system program and advertisement being used to deploy the
operating system package to the collection of computers defined in the previous
activity.
Define Collections
Because not all computers will have enough disk space to cache the complete operating
system package, create a computer collection that contains only those that can. This can
be done using the following steps within Systems Management Server or System Center
Configuration Manager.
To define a collection
1. Create a new collection called Deploy Windows XP with Download and Execute (or
some other suitable name).
2. On the Membership tab of the collection properties, click the cylinder icon to create a
new query rule named Windows 2000 with sufficient disk space (or some other
suitable name).
3. Edit the query statement to select only the computers running Windows 2000 and
that have more than 2 GB of free disk space.
Note Assuming that the operating system package is at most 1.5 GB, allow about 500
megabytes (MB) for scratch space and day-to-day functionality.
After the ZTICache.vbs script has been added, the operating system program and
advertisement objects can be modified using the ZTICacheUtil.vbs script. Listing 15
shows how to use the script to enable download and execute on advertisement
XXX20001; this also causes the associated operating system program to be modified to
run ZTICache.vbs.
Listing 15. Command to Run ZTICacheUtil.vbs
cscript.exe ZTICacheUtil.vbs /server:SERVER1
/advertisement:XXX20001 /enable:true
Output similar to Listing 16 is produced.
Listing 16. Example Output from Running ZTICacheUtil.vbs
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights
reserved.
Connecting to SMS provider server SERVER1 and site MTN.
Retrieving advertisement object for advertisement XXX20001.
Enabled download and execute on advertisement XXX20001.
Retrieving program object for package XXX00001 and program
Install XP.
Enabled ZTICache.vbs on package XXX00001 program Install XP.
Be sure to include ZTICache.vbs in the OS package by including it
as a required file on at least one custom action.
For more information about ZTICacheUtil.vbs, run the script with no parameters. It will
display a usage statement, in addition to information about every operating system
package, program, and advertisement currently defined on the specified Systems
Management Server or System Center Configuration Manager server.
When download and execute has been enabled on an operating system program and
advertisement, it must be tested. This can be done by adding one or more computers
(preferably test computers) to the empty collection previously created.
When satisfied with the results, create an advertisement for the main query-based
collection. Be careful to specify an appropriate future time for the advertisement start
date; ideally, this is a time when clients would not notice the network impact (for example,
Friday at midnight). Also, remember that clients do not begin downloading the content
until the advertisement is mandatory, so add an appropriate mandatory assignment date.
'//
'// 2. By modifying the OSD program to run the ZTICache.vbs
'// script which ensures that the locally-cached OSD package
'// files are kept in a safe location,
'// C:\MININT\PackageSource. (This can be done even without
'// enabling "download and execute" on the OSD
'// advertisement; in this case, the ZTICache.vbs script
'// will copy the OSD package files from the distribution
'// point directly to C:\MININT\PackageSource. See the
'// ZTICache.vbs script for more details.)
'//
'// This script is driven by command-line parameters. It
'// assumes that the script is being run by someone with the
'// necessary permissions to modify package, program, and
'// advertisement objects. It also assumes that the user
'// knows the package ID, program name, and advertisement ID
'// of the objects that they want to modify, as well as the
'// server name of the site owning those objects.
'//
'// This script also requires Windows Scripting Host 5.6.
'//
'//--------------------------------------------------------------
' Initialization
Set sh = CreateObject("WScript.Shell")
Set argsNamed = WScript.Arguments.Named
Set oLocator = CreateObject("WbemScripting.SWbemLocator")
sServer = UCase(argsNamed("server"))
sPackage = UCase(argsNamed("package"))
sProgram = argsnamed("program")
sAdvertisement = UCase(argsNamed("advertisement"))
sEnable = UCase(argsNamed("enable"))
If argsNamed.Count = 0 then
WScript.Echo ""
WScript.Echo "USAGE:"
WScript.Echo ""
WScript.Echo ""
WScript.Echo "Options:"
WScript.Echo VBTAB & "/server: SMS/SCCM server name
(Default=This server)."
WScript.Echo VBTAB & "/package: OS package ID
(Default=Null)."
WScript.Echo VBTAB & "/program: OS program name
(Default=null)."
WScript.Echo VBTAB & "/advertisement: OS advertisement ID
(Default=null)."
WScript.Echo ""
WScript.Echo "Examples:"
WScript.Echo ""
WScript.Echo WScript.ScriptName & " /advertisement:XXX20001
/enable:true"
WScript.Echo WScript.ScriptName & " /package:XXX00001
/program:""Install XP"" /enable:true"
WScript.Echo ""
End if
sProviderSite)
End Select
End if
End if
bDownloadEnabled
Next
Next
Next
' Cleanup
' Initialization
' Find the directory we are running from - that's the source.
sCacheDir = fso.GetParentFolderName(WScript.ScriptFullName)
' If we are running from a local path, move the contents to the
PackageSource directory.
' Otherwise, just copy it. (When running from a local path, SMS
must have already copied
' the files locally using BITS.)
' Run OSDLaunch.exe from the new directory. It will try to clean
up C:\MININT, but the
' open files will keep that from causing problems. OSDLaunch
will then install OSDAgent
' as a service and that will drive the rest of the process.
' Quit with the return code from OSDLaunch. The files will
automatically be closed.
WScript.Quit rc
[Default]
OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac /lae
SkipAppsOnUpgrade=Yes
SkipCapture=Yes
SkipAdminPassword=YES
SkipProductKey=YES
SkipDeploymentType=Yes
DeploymentType=REFRESH
SkipDomainMembership=Yes
JoinDomain=DomainName
DomainAdmin=Administrator
DomainAdminDomain=DomainName
DomainAdminPassword=
SkipUserData=yes
UserDataLocation=AUTO
UDShare=\\Servername\Sharename\Directory
UDDir=%ComputerName%
SkipComputerBackup=yes
ComputerBackuplocation=AUTO
BackupShare=\\Servername\Backupsharename
BackupDir=%ComputerName%
SkipTaskSequence=Yes
TaskSequenceID=Enterprise
SkipComputerName=Yes
ComputerName=%ComputerName%
SkipPackageDisplay=Yes
LanguagePacks1={3af4e3ce-8122-41a2-9cf9-892145521660}
LanguagePacks2={84fc70d4-db4b-40dc-a660-d546a50bf226}
SkipLocaleSelection=Yes
UILanguage=en-US
UserLocale=en-CA
KeyboardLocale=0409:00000409
SkipTimeZone=Yes
TimeZoneName=China Standard Time
SkipApplications=Yes
Applications1={a26c6358-8db9-4615-90ff-d4511dc2feff}
Applications2={7e9d10a0-42ef-4a0a-9ee2-90eb2f4e4b98}
UserID=Administrator
UserDomain=DomainName
UserPassword=P@ssw0rd
SkipBitLocker=Yes
SkipSummary=Yes
Powerusers1=DomainName\Username
[Default]
OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac /lae
SkipWizard=Yes
DeploymentType=UPGRADE
TaskSequenceID=Enterprise
ComputerName=%ComputerName%
LanguagePacks1={3af4e3ce-8122-41a2-9cf9-892145521660}
LanguagePacks2={84fc70d4-db4b-40dc-a660-d546a50bf226}
UILanguage=en-US
UserLocale=en-CA
KeyboardLocale=0409:00000409
TimeZoneName=Canada Central Standard Time
Applications1={a26c6358-8db9-4615-90ff-d4511dc2feff}
Applications2={7e9d10a0-42ef-4a0a-9ee2-90eb2f4e4b98}
UserID=Administrator
UserDomain=DomainName
UserPassword=P@ssw0rd
Powerusers1=DomainName\Username
[Default]
OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac /lae
SkipAppsOnUpgrade=Yes
SkipCapture=YES
ComputerBackupLocation=\\ServerName\Backup$\
BackupFile=MyCustomImage.wim
SkipAdminPassword=YES
SkipProductKey=YES
SkipDeploymentType=Yes
SkipDomainMembership=Yes
JoinDomain=DomainName
DomainAdmin=Administrator
DomainAdminDomain=DomainName
DomainAdminPassword=P@ssw0rd
SkipUserData=Yes
UserDataLocation=\\ServerName\Sharename\Directory\usmtdata
SkipTaskSequence=Yes
TaskSequenceID=Enterprise
SkipComputerName=Yes
ComputerName=%SerialNumber%
SkipPackageDisplay=Yes
LanguagePacks1={3af4e3ce-8122-41a2-9cf9-892145521660}
LanguagePacks2={84fc70d4-db4b-40dc-a660-d546a50bf226}
SkipLocaleSelection=Yes
UILanguage=en-US
UserLocale=en-CA
KeyboardLocale=0409:00000409
SkipTimeZone=Yes
TimeZoneName=China Standard Time
SkipApplications=Yes
Applications1={a26c6358-8db9-4615-90ff-d4511dc2feff}
Applications2={7e9d10a0-42ef-4a0a-9ee2-90eb2f4e4b98}
SkipBitLocker=Yes
SkipSummary=Yes
Powerusers1=DomainName\Username
CaptureGroups=Yes
SLShare=\\ServerName\Sharename\Logs
Home_page=http://www.microsoft.com/NewComputer
Using the ZTIConnect.wsf script, connect to other servers and access resources on
them. The syntax for the ZTIConnect.wsf script is as follows (where unc_path is a UNC
path to connect to the server):
Cscript.exe “%SCRIPTROOT%\ZTIConnect.wsf” /uncpath:unc_path
In most instances, the ZTIConnect.wsf script is run as a Task Sequencer task. Run the
ZTIConnect.wsf script prior to tasks requiring access to a server other than the server
hosting the deployment point.
To add the ZTIConnect.wsf script as a task to the task sequence of a build
1. Start Deployment Workbench.
2. In the console tree, browse to and then click Task Sequence.
3. In the details pane, right-click task_sequence (where task_sequence is the task
sequence to modify), and then click Properties.
4. Click the Task Sequence tab, browse to group (where group is the group in which
to run the ZTIConnec.wsf script), click Add, and then click Task.
Note Add the task before adding any tasks that require access to the target server.
5. Complete the Properties tab of the new task using the information listed in Table 12
(accept default values if none are specified), and then click Apply.
Table 12. Completing the Properties Tab of the New Task
In this box Do this
Name Type Connect to server (where server is the name of
the server to which to connect).
Description Type text that explains why the connection needs to be
made.
Command Type Cscript.exe “%SCRIPTROOT%\ZTIConnect.wsf”
/uncpath:unc_path (where unc_path is the UNC path to
a shared folder on the server).
6. Complete the Options tab of the new task using the information listed in Table 13
(accept default values if none are specified), and then click OK.
Table 13. Completing the Options Tab of the New Task
In this box Do this
Success codes Type 0 3010. (The ZTIConnect.wsf script returns these
codes upon successful completion.)
Conditions list box Add any conditions that might be necessary. (In most
instances this task requires no conditions.)
After adding the task that will run the ZTIConnect.wsf script, subsequent tasks can
access network resources on the server specified in the /uncpath option of the
ZTIConnect.wsf script.
When the target computer is installed, the MDT 2008 scripts use the Systems
Management Server package on the distribution point to install device drivers on the
target computer.
ModelAlias=Model
Order=Sequence
Listing 26. User Exit Script
Function UserExit(sType, sWhen, sDetail, bSkip)
UserExit = Success
End Function
Function SetModelAlias()
if Instr(oEnvironment.Item("Model"), "(")
<> 0 then
SetModelAlias =
Left(oEnvironment.Item("Model"),
Instr(oEnvironment.Item("Model"), "(") - 1)
oLogging.CreateEntry "USEREXIT –
ModelAlias has been set to " & SetModelAlias,
LogTypeInfo
else
SetModelAlias =
oEnvironment.Item("Model")
oLogging.CreateEntry " USEREXIT
- ModelAlias has not been changed." , LogTypeInfo
End if
End Function
4. Type the path that contains the files to be added to the distribution share, and then
click Next.
5. Type a description of the operating system image; for example, Windows-Server-
2003.
6. Click Finish.
To create the R2comp.inf file and add the Windows Server 2003 R2 installation files
(Disc 2) to the image
1. Go to the image created in the previous section. The image will be located in
drive:\Distribution\Operating Systems\ImageName; for example,
E:\Distribution\Operating Systems\Windows-Server-2003 Standard Edition.
2. In this folder, create two sub folders: $OEM$ and Cmpnents. For example, the
following folders should exist:
• E:\Distribution\Operating Systems\Windows-Server-2003 Standard Edition\i386
• E:\Distribution\Operating Systems\Windows-Server-2003 Standard Edition
\$OEM$
• E:\Distribution\Operating Systems\Windows-Server-2003 Standard Edition
\Cmpnents
3. In the $OEM$ folder, create the folder $OEM$\$1\R2.
4. In the $OEM$\$1\R2 folder, create a file named R2comp.inf.
5. In R2comp.inf, create a [Version] section, and then create a [Components] section
that lists the components to install.
For example, the code in Listing 27 installs Active Directory Application Mode (ADAM)
and Common Log File System (CLFS).
Listing 27. R2comp.inf Script Sample
[Version]
Signature = "$Windows NT$"
[Components]
ADAM=on
CLFS=on
Note For a complete list of the components that can be installed, see Deploy.chm, located
in the \Docs folder of Windows Server 2003 R2 Disc 2.
6. Copy the contents of the Cmpnents folder from Disc 2 to the folder created in step 2.
For example, E:\Distribution\Operating Systems\Windows-Server-2003 Standard
Edition \Cmpnents.
7. Create a task sequence that includes this operating system image.
568.Type the path that contains the files to be added to the distribution share, and then
click Next.
569.Type a description of the operating system image; for example, Windows-Server-
2003.
570.Click Finish.
To add the Windows Server 2003 R2 installation files (Disc 2) to the image
1. Go to the image created in the previous section. The image will be located in
drive:\Distribution\Operating Systems\ImageName; for example,
E:\Distribution\Operating Systems\Windows-Server-2003 Standard Edition.
571.In this folder, create two sub folders: $OEM$ and Cmpnents. For example, the
following folders should exist:
• E:\Distribution\Operating Systems\Windows-Server-2003 Standard Edition\i386
• E:\Distribution\Operating Systems\Windows-Server-2003 Standard Edition
\$OEM$
• E:\Distribution\Operating Systems\Windows-Server-2003 Standard Edition
\Cmpnents
572.In the $OEM$ folder, create the folder $OEM$\$1\R2.
573.Copy the contents of the Cmpnents folder from Disc 2 to the Cmpnents folder
created in step 2—for example, E:\Distribution\Operating Systems\Windows-Server-
2003 Standard Edition\Cmpnents.
To create a batch file that runs the R2 component installation the first time the
operating system starts
1. In the $OEM$\$1\R2 folder, create a file named InstallR2.cmd that includes the
following text:
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup
/v SourcePath /t REG_SZ /d C:\Windows\Source\i386 /f
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup
/v ServicePackSourcePath /t REG_SZ /d C:\R2\CMPNENTS\R2 /f
C:\R2\CMPNENTS\R2\setup2.exe /q /a /sr
When completed, the InstallR2.cmd file should contain three lines. The first two lines
begin with reg, and the last line begins with C:\R2.
574.Create a task sequence to deploy the operating system and modify the
[GUIRunOnce] section in the Unattend.txt file for the task sequence as follows:
GUIRunOnce]
"C:\R2\InstallR2.cmd"
"cscript.exe C:\MININT\Scripts\LiteTouch.wsf /start"
"cscript.exe D:\MININT\Scripts\LiteTouch.wsf /start"
"cscript.exe E:\MININT\Scripts\LiteTouch.wsf /start"
"cscript.exe F:\MININT\Scripts\LiteTouch.wsf /start".
When the MDT 2008 deployment process finishes and the operating system starts for the
first time, the R2 Component Installation Wizard starts.
To provide customers with the ability to increase the lifespan for both Windows XP and
Windows Server 2003, the following deployment scenarios are provided.
q Import the driver into MDT 2008 using the existing Deployment Workbench.
Note Many drivers cannot be accurately inventoried by existing MDT 2008 routines. If
importing an x86 driver, remove references to x64 in the ..\control\drivers.xml file; if
importing an x64 driver, remove references to x86 in this file.
When installing Windows XP or Windows Server 2003 on a computer with this driver
package, the ZTIStorageDrivers.wsf script will perform all the necessary steps to prepare
the operating system to load the appropriate driver during text-mode Setup. These steps
are:
1. Enumerate through all devices on the local computer, searching for a match with
available drivers in the driver store.
2. Copy any drivers that match the storage devices to the local computer.
3. Copy the TxtSetup.oem file associated with the drivers to the correct location on the
local disk, merging them if there are more than one.
4. Prepare the local Unattend.txt file to load the storage drivers during text-mode Setup.
Additional Considerations
• Only Windows XP Professional, Windows XP Tablet Edition, and Windows
Server 2003 are supported for this process.
• For a full explanation of the steps that ZTIStorageDrivers.wsf performs, see the
Microsoft Help and Support article “HOW TO: Create an Unattended Installation of
Third-Party Mass Storage Drivers in Windows Server 2003” at
http://support.microsoft.com/kb/816299.
• Files referenced in the TxtSetup.oem file that do not have the extensions .sys, .cat, or
.inf are automatically copied to \$OEM$\$$\OEMDIR\ before calling Windows Setup
(Winnt.exe), and then they are placed in the %WinDir%\System32 directory when the
process is complete.
• By default, ZTIStorageDrivers.wsf will skip installation of any integrated development
environment (IDE) storage drivers (devices with a PCI\CC_0101 Plug and Play ID),
because these devices are covered by in-box drivers.
• ZTIStorageDrivers.wsf will only import drivers that have been imported by MDT 2008.
• ZTIStorageDrivers.wsf will import only drivers that have matching devices on the
local computer.
• If there is more than one matching driver for a computer, ZTIStorageDrivers.wsf will
install both drivers on the local system. Unless identical, the *.sys, *.inf, and *.cat files
must have globally unique filenames (no other file with the same name can exist in
any other package installed on the computer). The display name listed in the [scsi]
section of TxtSetup.oem must be globally unique across each TxtSetup.oem file. A
warning dialog box will be displayed if duplicates are found.
• If driver packages conflict with other driver packages, typically the best thing to do is
to identify the primary driver package, add it to a driver group, and add the group
name to the StorageDriverGroup list item. Other storage drivers, not represented by
groups defined in StorageDriverGroup, will not be installed.
• If the property list StorageDriverGroup is defined, it will install only drivers associated
with groups that are explicitly listed in this property. For example:
• StorageDriverGroup001 = AccountingStorageDriverGroup
• StorageDriverGroup002 = SalesStorageDriverGroup
Note To add additional mass storage driver support, the image must be rebuilt using a
Sysprep.inf that contains the new, larger mass storage driver list, prepared using Sysprep, and
captured again.
The basic steps required to enable image deployment to hardware requiring additional
mass storage drivers are outlined in Table 15.
Table 15. Deployment to Other Hardware
Steps required for deployment to other hardware
q Copy all the required mass storage drivers to the reference computer so that they
are included in the image.
q Update Sysprep.inf to contain entries for each Plug and Play ID listed in the .inf file
for each driver to be added.
q Run Sysprep to process all the drivers, which places them in the critical device
database.
q Capture the image.
Additional Considerations
• A driver package could have more Plug and Play IDs enumerated by the system than
are actually needed by Sysprep for driver preparation. This process will use only the
subset of Plug and Play IDs present in the TxtSetup.oem file to populate the
necessary Sysprep.inf sections. This ensures that only the Sysprep.inf file for devices
that are actually supported by their respective manufacturers is populated.
• Any MDT 2008 task sequence that deploys an operating systems includes the task
sequence steps to run the ZTIStorageDrivers.wsf and ZTIStorageDriversSysPrep.wsf
scripts.
3. In the New Computer Association dialog box, on the Computer Association tab,
in the Source Computer box, type COMPUTER1 as the name of the source
computer that contains the user state data to be migrated to the new computer. Or,
click Search to open the Search Computer dialog box, and then search for the
source computer.
4. In the Destination Computer box, type COMPUTER2 as the name of the destination
computer that will receive the user state data. Or, click Search to open the Search
Computer dialog box, and then search for the destination computer.
5. Click the User Accounts tab.
6. To specify the user accounts that should be migrated from the source computer to the
destination computer, click the yellow star icon to open the Add User Account
dialog box, and then type the account name, or click Browse to search for accounts.
For this sample, leave this box empty.
Note If no user accounts are specified, all user accounts on the source computer will be
migrated.
To create a task sequence that collects the user state information from the existing
computer
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 console tree, go to System Center Configuration Manager/Site
Database/Computer Management/Operating System Deployment, and then click
Task Sequences.
3. In the actions pane, click Import Microsoft Deployment Task Sequence.
The Import Microsoft Deployment Task Sequence Wizard will start.
4. Complete the Import Microsoft Deployment Task Sequence Wizard using the
information listed in Table 17; accept default values unless otherwise specified.
Table 17. Information for Completing Import Microsoft Deployment Task
Sequence Wizard
On this wizard page Do the following
Choose Template Click Client Replace Task Sequence, and then click Next.
General In the Task sequence name box, type task_sequence
(where task_sequence is the name of the task sequence).
In the Task sequence comments box, type Task
sequence for replacing the target computer, and then
click Next.
Boot Image In the Specify an existing boot image package box, click
Browse.
In the Select a Package dialog box, click BOOTIMAGE,
and then click OK.
Click Next.
MDT Package In the Specify an existing Microsoft Deployment Toolkit
Files package box, click Browse.
In the Select a Package dialog box, click MDT2008, and
then click OK.
Click Next.
USMT Package In the Specify an existing USMT package box, click
Browse.
In the Select a Package dialog box, click USMT, and then
click OK.
Click Next.
Settings Package In the Specify an existing settings package box, click
Browse.
In the Select a Package dialog box, click
CUSTOMSETTINGS_EXISTING, and then click OK.
Click Next.
The Summary wizard page displays a status bar that shows the progress of the tasks
defined in the wizard. The Import Microsoft Deployment Task Sequence Wizard closes
when the task sequence is imported.
The Summary wizard page displays a status bar that shows the progress of the tasks
defined in the wizard. The Import Microsoft Deployment Task Sequence Wizard closes
when the task sequence is imported.
4. In the Internet Information Services Manager dialog box, click Your Server (where
Your Server is the MDT 2008 server), click Web Sites, and then click Default Web
Site.
5. Right-click Default Web Site, click New, and then click Virtual Directory.
6. In the Virtual Directory Creation Wizard, click Next.
7. In the Alias box, type a name for the virtual directory. This name will be used later to
hook into the Web service. For example, use MicrosoftDeployment.
8. Click Next.
9. Click the Browse button, and then click the path for the folder that contains the Web
service. By default, this path is %Program Files%\Microsoft Deployment Toolkit.
10. Click Next.
11. Select the Run scripts (such as ASP) check box to allow .NET pages and Web
services to be used in this virtual directory.
12. Click Next, and then click Finish.
When the server is set up to allow access to the Web service, configure the System
Center Configuration Manager root computer name, the SLP computer name, and the
identity used to access these services in the Web.config file.
To configure the Web.config file for the Web service
1. Open the Web.config file located at %Program Files%\Microsoft Deployment.
2. Locate the appSettings element, and then add the System Center Configuration
Manager root server name and the SLP server name to the corresponding entries; for
example:
<appSettings>
<add key=”rootServer” value=”ROOTSERVERNAME” />
<add key=”SLPServer” value=”SLPSERVERNAME” />
</appSettings>
3. Locate the system.web element, and then add an identity element that impersonates
a user account with rights to access the System Center Configuration Manager
database. This account will be used by the Web service whenever it needs to access
resources outside the Web service process; for example:
<web.config>
...
<identity impersonate=”true” userName=”domain\account”
password=”password” />
...
</web.config>
4. Open Internet Explorer.
5. In the Address box, type
http://deployment_server/MicrosoftDeployment/unknowncomputer.asmx (where
deployment_server is the name of the deployment server on which the Web service
is installed), and then press ENTER.
This step verifies that the Web service is responding properly.
6. Close all open windows and dialog boxes.
IF Statements in Conditions
All task sequence conditions include one or more IF statements. IF statements are the
foundation for creating conditional task sequence steps. A task sequence step condition
can include only one IF statement, but multiple IF statements can be nested beneath the
top-level IF statement to create more complex conditions.
An IF statement can be based on the conditions listed in Table 19, which are configured
in the IF Statement Properties dialog box.
Table 19. Conditions Available in IF Statements
Condition Select this option to run the task sequence if
All conditions All the conditions beneath this IF statement must be true.
Any conditions Any the conditions beneath this IF statement are true.
None None the conditions beneath this IF statement are true.
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
578.On the step Option tab (where step is the name of the task sequence step to
configure), click Add, and then click If statement.
579.In the If Statement Properties dialog box, click condition (where condition is one
of the conditions listed in Table 19), and then click OK.
6. Click not exists for the condition. In this case, the task will run, and the sequence
continue, only if the key does not exist.
7. Optionally, the condition could check for the nonexistence of a value if the value
name is typed in the Value name box.
8. If a condition other than exists/not exists was used, a value and value type could be
specified.
9. Click OK.
Complex Conditions
Multiple conditions can be grouped using IF statements to create complex conditions. For
instance, imagine that a particular step should only be executed for Dell 1950 computers
running Windows 2000 Server or Windows Server 2003. Written as a programmatic IF
statement, it would look similar to the following:
IF ((Computer Model IS “Dell 1950”) AND (OS=2000 OR OS=2003))
To add a complex condition
1. Click the task sequence step to which to add the condition, and then click the
Options tab.
2. Click Add condition, click If Statement, and then click All conditions. Click OK.
3. Click the condition statement, then click Add condition, and then click WMI Query.
4. Ensure root\cimv2 is specified as the WMI namespace, and then, in the WQL Query
box, type SELECT * FROM Win32_ComputerSystem WHERE ComputerModel
LIKE “%Dell%1950%”. Click OK.
5. Click the If statement. Click Add condition, click If statement, and then click Any
condition. Click OK.
6. Click the second If statement. Click Add condition, and then click Operating
System Version.
7. In the Architecture box, click the architecture for the servers. For this example, click
x86.
8. In the Operating system box, click the operating system and version. For this
example, click x86 Windows 2000 original release. Click OK.
9. Click the second If statement. Click Add condition, and then click Operating
System Version.
10. In the Architecture box, click the architecture for the servers. For this example, click
x86.
11. In the Operating system box, click the operating system and version. For this
example, click x86 Windows 2003 original release. Click OK.
When the master deployment server has been selected, provision additional servers at
each site to support LTI deployments. Table 21 lists the required components for the child
deployment server.
Table 21. Child Deployment Servers
Required Component Purpose/Comment
Windows Server 2003 R2 Required to support DFS-R.
SQL Server 2005 Express Edition Receives replicated copies of the Deployment
Workbench database.
DFS-R components Required components for replication of
distribution share.
Windows Deployment Services Required to allow network PXE-based
installations to be initiated.
Note Windows Deployment Services must be set up and configured on each child server, but it
is not necessary to add boot or installation images.
19. On the Folders to Replicate page, click Add, and then type the following
information:
a. In the Local Path of the folder to replicate box, click Browse to go to the
X:\Distribution folder.
b. Click Use name based on path.
c. Click OK.
d. Click Add.
e. In the Add Folder to Replicate dialog box, click Browse to go to the
X:\RemoteInstall\Boot folder.
f. Click Use name based on path.
20. Click Next.
21. On the Local Path of Distribution on Other Members page:
a. Click all the members in the distribution group, and then click Edit.
b. In the Edit Local Path dialog box, click Enabled.
c. Type the path where the Distribution folder should be stored on the child
deployment server; for example, X:\Distribution, where X is the drive letter on
the deployment server.
d. Click OK.
22. Click Next.
23. On the Local Path of Boot on Other Members page:
a. Click all the members in the distribution group, and then click Edit.
b. In the Edit Local Path dialog box, click Enabled.
c. Type the path where the Boot folder should be stored on the child deployment
server; for example, X:\RemoteInstall\Boot, where X is the drive letter on the
deployment server.
d. Click OK.
24. Click Next.
25. On the Remote Settings and Create Replication Group page, click Create to
complete the New Replication Group Wizard.
26. On the Confirmation page, click Close to close the wizard.
Note Ensure that the new replication group is now listed beneath the Replication node.
2. Ensure that the SQL Server Browser service is not disabled, and is set to automatic.
3. In the SQL Server Surface Area Configuration box, click Local and Remote
connections.
To prepare for SQL Server replication on the child deployment server
1. In the SQL Server Surface Area Configuration box, click Local and Remote
connections.
2. Optionally, create an empty database to host the replicated Deployment Workbench
database.
Note This database must be given the same name as the Deployment Workbench database on
the master deployment server. For example, if the Deployment Workbench database on the
master deployment server is called DWDB, create an empty database called DWDB on the child
deployment server.
SQL Server 2005 uses a replication model that is similar to a magazine distribution
model:
1. A magazine is made available (published) by a publisher.
2. Distributors are used to distribute the publication.
3. Readers can subscribe to a publication so that that publication is delivered to the
subscriber periodically (a push subscription).
This terminology is used through the SQL Server replication setup and configuration
wizards.
16. On the Complete the Wizard page, in the publication name box, type a descriptive
publication name.
17. Click Finish to complete the wizard, and then click Close when the wizard has
created the publication.
Note The publication will now be visible beneath the Local Publications node in SQL Server
Management Studio.
8. Click Next.
9. On the Distribution Agent Security page, click the … button to launch the
Distribution Agent Security dialog box.
10. Type the details of the account to use for the distribution agent.
11. Click Next.
Configure CustomSettings.ini
The LTI deployment infrastructure has now been successfully created, and each location
will contain an LTI deployment server, with a replicated copy of:
1. The deployment point.
2. The Deployment Workbench database.
3. The LiteTouchPE_x86 Windows PE environment that has been added to Windows
Deployment Services.
Now, the CustomSettings.ini file can be configured for the deployment point to use the
deployment content (deployment point and database) from its local deployment server,
the server that delivers the LiteTouchPE_x86.wim environment through Windows
Deployment Services.
When the LiteTouchPE_x86.wim file is delivered from Windows Deployment Services, a
registry key is configured with the name of the Windows Deployment Services server
being used. This server name is captured by MDT 2008 in a variable (%WDSServer%)
that can be used to configure CustomSettings.ini.
To always use the local LTI deployment server
Note The following procedure assumes that the deployment point has been created and set as
the Distribution$ share.
7. Click File, and then click Save to save the changes to the BootStrap.ini file.
8. Click OK.
9. To update the deployment point and LiteTouchPE_x86.wim Windows PE
environment, right-click deployment_point, and then click Update.
Listing 28 illustrates CustomSettings.ini after performing the steps outlined in this section:
Listing 28. Sample CustomSettings.ini Configured for Scalable LTI Deployment
Infrastructure
[Settings]
Priority=CSettings,CPackages, CApps, CAdmins, CRoles, Default
Properties=MyCustomProperty
[Default]
OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
[CSettings]
SQLServer=%WDSServer%
Instance=
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=ComputerSettings
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR
[CPackages]
SQLServer=%WDSServer%
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=ComputerPackages
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR
Order=Sequence
[CApps]
SQLServer=%WDSServer%
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=ComputerApplications
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR
Order=Sequence
[CAdmins]
SQLServer=%WDSServer%
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=ComputerAdministrators
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR
[CRoles]
SQLServer=%WDSServer%
Database=DWDB
Netlib=DBNMPNTW
SQLShare=
Table=ComputerRoles
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR
Understand LocationServer.xml
Understand How Microsoft Deployment
Toolkit Uses LocationServer.xml
During LTI, MDT 2008 scripts will read and process the BootStrap.ini file to gather initial
information about the deployment. This happens before a connection has been made to
the deployment server. Therefore, the DeployRoot property is commonly used to specify
in the BootStrap.ini file the deployment server to which it should make a connection.
If the BootStrap.ini file does not contain a DeployRoot property, MDT 2008 scripts load a
wizard page to prompt the user for a path to the deployment server. While initializing the
HTML Application (HTA) wizard page, MDT 2008 scripts check for the existence of the
LocationServer.xml file, and if it exists, use LocationServer.xml to display available
deployment servers.
MDT 2008 provides several methods for automatically discovering and using the most
appropriate deployment server. These methods are listed in Table 22.
Table 22. Methods for Automatically Determining the Deployment Server
Method Details
%WDSServer% Used when the MDT 2008 server is co-hosted on the
Windows Deployment Services server.
When an LTI is initiated from a Windows Deployment
Services server, an environmental variable,
%WDSServer%, is created and populated with the
name of the Windows Deployment Services server.
The DeployRoot variable can use this variable to
automatically connect to a deployment share on the
Windows Deployment Services server; for example:
DeployRoot=\\%WDSServer%\Distribution$
Location-based automation MDT 2008 can use location-based automation in the
BootStrap.ini file to determine the server to which it
should deploy.
The Default Gateway property is used to distinguish
between different locations, and for each Default
Gateway, a different MDT 2008 server is specified.
For more information about using location-based
automation, refer to the section ”Automating
Deployment by Location” in this guide.
Each of the approaches listed in Table 22 offer one way to automate the selection of the
deployment server at a given location for certain scenarios. These approaches are
targeted to specific scenarios—for example, when the MDT 2008 server is co-hosted with
the Windows Deployment Services server.
There are other scenarios in which these approaches are not suitable; for example, if
there are multiple deployment servers at a given location, or if automation logic is not
possible (for example, the network is not segmented enough to allow location
determination, or the MDT 2008 server is separated from the Windows Deployment
Services server).
In these scenarios, the LocationServer.xml file provides a flexible way to present this
information at deployment time without requiring knowledge of server names and
deployment share names.
<UNCPath>\\STLDS02\Distribution$</UNCPath>
</server>
</servers>
To create a task sequence to capture the user state in the Replace Computer
deployment scenario
610.Click Start, and then point to All Programs. Point to Microsoft Deployment
Toolkit, and then click Deployment Workbench.
611.In the Deployment Workbench console tree, go to Deployment Workbench/Task
Sequences.
612.In the details pane, click New.
The New Task Sequence Wizard starts.
613.Complete the New Task Sequence Wizard by using the information in Table 23.
Accept the default values unless otherwise specified.
Table 23. Information for Completing the New Task Sequence Wizard
On this wizard page Do this
General Settings In Task sequence ID, type VISTA_EXIST.
In Task sequence name, type Perform Replace
Computer Scenario on Existing Computer.
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 Standard Client Replace Task Sequence, and then
click Finish.
The New Task Sequence Wizard finishes, and the VISTA_EXIST task sequence is
added to the list of task sequences.
Table 24. Information for Completing the New Task Sequence Wizard
On this wizard page Do this
General Settings In Task sequence ID, type VISTA_NEW.
In Task sequence name, type Perform Replace
Computer Scenario on New Computer.
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 Standard Client Task Sequence, and then click
Next.
Select OS In The following operating system images are available
to be deployed with this task sequence. Select one to
use, select captured_vista_image (where
captured_vista_image is the captured image the reference
computer added to the Operating Systems node in
Deployment Workbench).
Click Next.
Specify Product Key Click Do not specify a product key at this time, and then
click Next.
OS Settings In Full Name, type Woodgrove Employee.
In Organization, type Woodgrove Bank.
In Internet Explorer Home Page, type
http://www.woodgrovebank.com.
Click Next.
Admin Password In Administrator Password and Please confirm
Administrator Password, type P@ssw0rd.
Click Finish.
The New Task Sequence Wizard finishes, and the VISTA_NEW task sequence is
added to the list of task sequences.
The New Deployment Wizard finishes, and the LAB deployment point is added to the
list of deployment points. The C:\Distribution folder (distribution share) is shared as
Distribution$.
[Default]
OSInstall=Y
UDShare=\\WDG-MDT-01\UserStateCapture$
UDDir=%OSDCOMPUTERNAME%
UserDataLocation=NETWORK
SkipAppsOnUpgrade=YES
SkipCapture=NO
SkipAdminPassword=YES
SkipProductKey=YES
The wizard starts, and the operating system deployment starts. At the end of the
MDT 2008 deployment process, the Deployment Summary dialog box appears.
Typically, no errors or warnings should occur in the MDT 2008 deployment process.
However, if any errors or warnings should occur, consult the MDT 2008 document,
Troubleshooting Reference.
The wizard starts, and the operating system deployment starts. At the end of the
MDT 2008 deployment process, the Deployment Summary dialog box appears.
Typically, no errors or warnings should occur in the MDT 2008 deployment process.
However, if any errors or warnings should occur, consult the MDT 2008 document,
Troubleshooting Reference.
646.In the Deployment Summary dialog box, click Details.
If any errors or warnings occurred, review the errors or warnings and record any
diagnostic information.
647.In the Deployment Summary dialog box, click Finish.
Windows Vista is now installed on the new computer and the captured user state
migration information is also restored.
• Utility. This class provides general utilities that are used throughout ZTI and LTI
scripts. Microsoft recommends that any time custom code is developed this class
should be examined to see if any code can simply be reused. Additional information
about some of the functionality provided in this class is included later in this section.
• Database. This class performs functions like connecting to databases and reading
information from databases. In general, accessing the database class directly is not
recommended; instead, rule processing should be used to perform database lookups.
' //*************************************************************
' // ***** Script Header *****
' //
' // Solution: Solution Accelerator for Business Desktop
Deployment
' // File: Z-RAMTest.wsf
' //
' // Purpose: Check the amount of RAM prior to upgrading a
workstation
' //
' // Usage: cscript Z-RAMTest.wsf [/debug:true]
' //
' // Customer Build Version: 1.0
' // Customer Script Version: 1.0
' //
' // Customer History:
' //
' // ***** End Header *****
' //*************************************************************
'//--------------------------------------------------------------
'//
'// Global constant and variable declarations
'//
'//--------------------------------------------------------------
Option Explicit
Dim iRetVal
'//--------------------------------------------------------------
'// End declarations
'//--------------------------------------------------------------
'//--------------------------------------------------------------
'// Main routine
'//--------------------------------------------------------------
'//--------------------------------------------------------------
'//
'// Function: ZTIProcess()
'//
'// Input: None
'//
'// Return: Success - 0
'// Failure - non-zero
'//
'// Purpose: Perform main ZTI processing
'//
'//--------------------------------------------------------------
Function ZTIProcess()
ZTIProcess = Failure
Dim varAvailableRAM
varAvailableRAM = oEnvironment.Item("Memory")
oLogging.CreateEntry "Available RAM on target workation is: "
& varAvailableRAM, LogTypeInfo
</script>
</job>
Function Output
used during the deployment; for example,
C:\MININT\SMSOSD\OSDLOGS.
oUtility.StatePath Returns the path of the currently
configured state store; for example,
C:\MININT\StateStore.
oUtility.ScriptName Returns the name of the script calling the
function; for example, Z-RAMTest.
oUtility.ScriptDir Returns the path to the script that is calling
the function; for example,
\\<ServerName>\Distribution$\Scripts.
oUtility.ComputerName Determines the computer name that will be
used during the build process; for example,
<ComputerName>.
oUtility.ReadIni(file,section,item) Allows the specified item to be read from
an .ini file.
oUtility.WriteIni(file,section,item,myvalue) Allows the specified item to be written to
an .ini file.
oUtility.Sections(file) Reads the sections of an .ini file and stores
them in an object for reference.
oUtility.SectionContents(file,section) Reads the contents of the specified .ini file
and stores them in an object.
oUtility.RunWithHeartbeat(sCmd) When the command is run, heartbeat
information is written to the logs every 0.5
seconds.
oUtility.FindFiles(sFilename,sFoundPath) Searches for the specified file in the
DeployRoot folder and standard subfolders
including Servicing, Tools, USMT,
Templates, Scripts, and Control.
oUtility.findMappedDrive(sServerUNC) Checks to see if a drive is mapped to the
specified UNC path, and returns the drive
letter.
oUtility.ValidateConnection(sServerUNC) Checks to see if there is an existing
connection to the server specified, and if
there is not, will attempt to create one.
MapNetworkDrive(sShare,SDomID, Maps a drive letter to the UNC path
sDomPwd) specified as the share, and returns the
drive letter used; returns an error if
unsuccessful.
VerifyPathExists(strPath) Verifies that the specified path exists.
651.The custom deployment code script name should always begin with the letter Z.
MDT 2008 replicates files only beginning with a Z; for example, Z-RAMTest.
652.The custom deployment code should be placed in the Scripts folder on the
deployment share; for example, D:\Distribution\Scripts.
The most frequently used methods for integrating custom code that also ensure
consistent logging are:
653.Deploy the code as an MDT 2008 application.
654.Launch the code as an MDT 2008 task sequence command.
655.Launch the code as a user exit script.
671.On the Properties tab, in the Command line box, type command_line (where
command_line is the command to run the custom code; for example, cscript.exe
%SCRIPTROOT%\CustomCode.vbs).
672.In the Start in box, type path (where path is the fully qualified path to the working
folder of the custom code; typically this is the same path specified in the Command
line box), and then click OK.
The newly created task sequence step will appear in the list of task sequences.
Function SetTaskSequence(vMemory)
Another common use for the user exit script is to dynamically set the computer name
from known MDT 2008 properties such as SerialNumber, Model, or Product.
Listing 35. Example CustomSettings.ini for Calling the User Exit Script
[Settings]
Priority=Default
[Default]
OSInstall=Y
TaskSequenceID=#SetTaskSequence("%MEMORY%")#
UserExit=Z-RAMTest.vbs
UserDataLocation=NONE
SkipAppsOnUpgrade=NO
SkipCapture=YES
SkipAdminPassword=NO
SkipProductKey=YES
695.In the These drivers can be assigned to one or more groups as they are being
imported section, click or add the relevant driver groups.
Note The driver groups can be used during a deployment to limit the number of drivers
that will be searched by MDT 2008 scripts.
For example, if all drivers for a Dell Latitude D600 were imported and assigned to a driver
group called Dell Latitude D600 Drivers, CustomSettings.ini or the Deployment Workbench
database could be used to specify that for any Dell Latitude D600 computer, use only drivers
from that driver group. To do this, add DriverGroups1=Dell Latitude D600 Drivers to a
Dell-specific section of the file or database.
For more information about creating computer-specific entries in CustomSettings.ini or in the
Deployment Workbench database, see the section “Install Device Drivers As an Application”
in this document.
After the applications are imported into Deployment Workbench, each application must
be added to the deployment process using the appropriate logic to ensure that the
application installs only when running on the correct hardware. There are different
methods for achieving this:
710.Specify the device driver application as part of a deployment task sequence.
711.Specify the device driver application in CustomSettings.ini.
712.Specify the device driver application in the Deployment Workbench database.
Each approach is discussed in more detail in the following sections.
723.In the Task Sequence WMI Condition dialog box, type the following details:
• In the WMI namespace box, type root\cimv2.
• In the WQL query box, type a WMI Query Language (WQL) query using the
Win32_ComputerSystem class to ensure that the application is installed only for
a specific application type.
For example:
Select * FROM Win32_ComputerSystem WHERE Model LIKE
%hardware_model% AND Manufacturer LIKE %hardware_manufacturer%
In this example, hardware_model is the name of the computer model (such as
Latitude D620) and hardware_manufacturer is the name of the computer make
(such as Dell Corporation).
The % symbol is a wildcard character that is included in the names to allow
administrators to return any computer models or manufactures that contains the
value specified for hardware_model or hardware_manufacturer.
For more information about WMI and WQL queries, see the MDT 2008 document,
Image Customization Guide, and see Querying with WQL at
http://msdn.microsoft.com/en-us/library/aa392902.aspx.
724.Click OK to submit the query, and then click OK to submit changes to the task
sequence.
Note This process must be repeated for each hardware type of each device driver application to
be installed.
After the hardware-specific task sequence groups have been created, device driver
applications can be added to each group.
To add device driver applications to hardware-specific task sequence groups
725.Start Deployment Workbench.
726.In the console tree, click Task Sequences.
727.Right-click task_sequence (where task_sequence is the deployment task
sequence that will be required to install the device driver application), and then click
Properties.
728.In the task_sequence Properties dialog box, click the Task Sequence tab.
729.In the details pane, go to State Restore/Hardware_Specific_Group (where
Hardware_Specific_Group is the name of the hardware-specific group where the task
sequence step will be added to install the device driver application ).
730.On the Task Sequence tab, click Add, click General, and then click Install
Application
The Install Application task sequence step appears in the details pane.
731.In the details pane, click Install Application.
732.On the Properties tab, click Install a single application, and in the Application to
install list,, select hardware_application (where hardware_application is the
application for installing the hardware-specific application).
Note This process must be repeated for each device driver application that needs to be used
during a deployment
[Default]
OSInstall=Y
[Dell-Latitude D620]
MandatoryApplications1={1D7DF331-47B7-472C-87B3-442597EC2F7D}
[Dell-Latitude D610]
MandatoryApplications1={c303fa6e-3a4d-425e-8102-77db9310e4d0}
The Windows PE boot image is generated as both an .iso image file, which can be
written to a CD or DVD, and as a bootable WIM file. The WIM file can be imported to a
Windows Deployment Services server so that computers that can boot in PXE can
download and run the LTI Windows PE boot image across a network used to initialize an
installation.
To create a bootable Windows PE image in Deployment Workbench
761.Start Deployment Workbench.
762.In the console tree, click Deployment Points.
763.In the details pane, right-click deployment_point (where deployment_point is the
name of the Lab or Network deployment point to configure), and then click
Properties.
764.In the deployment_point Properties dialog box, click the Windows PE tab.
765.In the Images to Generate area, select the Generate a Lite Touch bootable RAM
disk ISO image check box.
766.In the Driver Injection section, click the appropriate driver types to include.
Note This step is not necessary if Windows PE already includes the necessary device
drivers.
767.In the Driver Injection section, in the Driver group list, select the appropriate driver
group.
768.In the deployment_point Properties dialog box, click OK.
Note This step is not necessary if Windows PE already includes the necessary device
drivers.
774.The import process will automatically read the metadata from the boot image, but the
Image Name and Image Description values can also be edited; the Image Name
affects the boot option information displayed by Windows Boot Manager when the
client boots in PXE.
775.When the boot image has been imported, any computer that boots in PXE and
receives a reply from the Windows Deployment Services server will be able to
download the LTI boot image and initiate an LTI installation.
Installing and configuring Windows Deployment Services is not covered in this guide. For
additional information about Windows Deployment Services, visit
http://technet.microsoft.com/en-us/library/cc265612.aspx.
To deploy an operating system to an unknown computer using the PXE service point in
System Center Configuration Manager, the computer’s details are first pre-staged in the
System Center Configuration Manager database. MDT 2008 provides a Windows
Deployment Services PXE filter provider that allows operating system deployments to
unknown computers in System Center Configuration Manager. The MDT 2008 Windows
Deployment Services PXE filter provider performs the following actions:
• Checks the System Center Configuration Manager site database for records of the
computer performing the PXE request.
• If the computer account is not found, creates a computer account in the site
database.
• If the computer account is not found, adds the new computer account to a specific
System Center Configuration Manager collection.
• Checks for up to 30 seconds for an advertisement to become available.
813.On the File menu, click Save to save the changes to the PXEFilter.vbs script.
814.Click Finish to complete the installation.
When making modifications to the configuration files, ensure that changes to the
configuration file are made that corresponds to the appropriate task sequence in each
OEM preload process phase.
822.Create a new task sequence based on the Litetouch OEM Task Sequence task
sequence template in Deployment Workbench.
For more information about performing this step, see “Task Sequences” in the
MDT 2008 document Workbench Imaging Guide.
823.Create one or more task sequences that will be used to deploy the target operating
system on the target computer after deployment in the production environment.
For more information about performing this step, see “Task Sequences” in the
MDT 2008 document Workbench Imaging Guide.
824.Create a Removable media (Media) deployment point in Deployment Workbench.
For more information about performing this step, see “Deployment Points” in the
MDT 2008 document Workbench Imaging Guide.
825.On the deployment_point Properties dialog box, on the Task Sequences tab,
select the task sequences created in step 2 and step 3 (where deployment_point is
the deployment point created in step 4).
For more information on performing this step, see “Deployment Points” in the
Workbench Imaging Guide.
826.Update the Removable media (Media) deployment point created in Deployment
Workbench in the previous step.
When the deployment point is updated, Deployment Workbench creates the
LiteTouchPE_x86.iso file or LiteTouchPE_x64.iso file (based on the target computer’s
processor platform). For more information about performing this step, see “Update
the Deployment Point” in the MDT 2008 document Workbench Imaging Guide.
827.Burn a DVD of the LiteTouchPE_x86.iso file or LiteTouchPE_x64.iso file created in
the previous step.
Note If delivering the .iso file to the OEM or to the organization’s staging environment, this
step is not necessary.
In addition, the media could be a bootable USB flash drive. For more information
about creating a bootable USB flash drive, see “Creating Bootable USB Flash Drive”
in the MDT 2008 document Workbench Imaging Guide.
828.Deliver the .iso file or the DVD to the OEM or to the organization’s staging
environment.
For more information about completing this step, see “Import MDT 2008 Task
Sequences” in the MDT 2008 document Microsoft System Center Configuration
Manager 2007 Imaging Guide or “Step 3-1: Create an MDT 2008 Task Sequence for
the Reference Computer” in the MDT 2008 document Quick Start Guide for System
Center Configuration Manager 2007.
837.Add the reference computer to the System Center Configuration Manager site
database using the Import Computer Information Wizard.
Note In the OEM preload process, the reference computer and all target computers are
categorized as unknown computers. Unknown computers are computers that do not currently
exist in the System Center Configuration Manager site database.
Manually add the reference computer to the System Center Configuration Manager
site database using the Import Computer Information Wizard. For target computers,
configure the MDT 2008 Web service to import computer information into the System
Center Configuration Manager site database; this is discussed in the section
“Configuration Manager OEM Preload Process - Phase 3: Completing the
Deployment of the Target Computer” later in this guide.
For more information about completing this step, see “Step 4-1: Add the Reference
Computer to the Configuration Manager Site Database” in the MDT 2008 document
Quick Start Guide for System Center Configuration Manager 2007.
838.Deploy the target operating system to the reference computer.
When this step is completed, the reference computer is ready to be captured. The
reference computer was configured to boot into an instance of Windows PE for the
new computer (also known as a “New Computer” Windows PE configuration). The
“New Computer” Windows PE boot image is used in the third and final phase to
automatically find the correct distribution point and to complete the deployment
process.
For more information about completing this step, see “Step 4: Deploy Windows Vista
and Capture an Image of the Reference Computer” in the MDT 2008 document
Quick Start Guide for System Center Configuration Manager 2007.
839.Capture an image of the reference computer.
Capture the image by using any imaging software, for example ImageX. Send the
captured image to the OEM or your staging environment to be applied to the target
computers.
840.Select the method for starting the “New Computer” Windows PE image based on the
information in Table 31.
Table 31. Methods to Automatically Determine the Deployment Server
Start Windows PE image from Description
Windows Deployment The image is started using PXE.
Services
Advantages:
• The System Center Configuration Manager
distribution point can be dynamically selected
based on the computer running Windows
Deployment Services.
Disadvantages:
• Makes assumptions about the BIOS start
order (a PXE boot is higher in the boot order
than other boot methods).
• Requires the PXE boot environment to be
deployed and configured to support this
method.
Local hard disk The image is stored on the local hard disk and is
configured to boot the “New Computer”
Windows PE image.
Advantages:
• Makes few assumptions about the target
computer configuration and production
network environment.
Disadvantages:
• The System Center Configuration Manager
distribution point is statically configured as
part of the image in the staging environment.
841.Deliver the .wim file to the OEM or staging environment within the organization.
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/by-nc/2.5 or
send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
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, Active Directory, Excel, Groove, InfoPath, Microsoft Press, Outlook, PowerPoint, SharePoint, Visual
Basic, Visual Studio, Windows, 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.
Planning Phase
The primary focus in this phase is to determine how to install 2007 Office system
programs on client computers. Project team members along with customer subject matter
experts (SMEs) will determine the mix of applications and settings to be deployed.
Table 1 shows the high-level steps in the Planning Phase.
Table 1. Planning Checklist
High-level steps in the Planning Phase
q Determine Microsoft Office application installation requirements.
Working with the organization’s SMEs, develop a plan that specifies which
2007 Office system programs will be deployed and which settings will be configured
as part of 2007 Office system deployment.
q Create a data migration plan.
The Microsoft Office deployment team will also inventory existing Microsoft Office
System data, developing a plan to migrate data to the new applications.
q Choose a thick or thin image deployment plan.
Decide whether Microsoft Office will be deployed as part of the desktop image
(thick image) or after operating system image deployment (thin image).
2 Microsoft Deployment Toolkit 2008
Developing Phase
Table 2 shows the high-level steps in the Developing Phase.
Table 2. Developing Checklist
High-level steps in the Developing Phase
q Configure Microsoft Office deployment and customization.
Using the Office Customization Tool, create a customized Microsoft Office
deployment.
q Integrate the Microsoft Office deployment with Microsoft Deployment Toolkit
2008.
Integrate Microsoft Office into the desktop image (thick image) or to integrate it as a
follow-on installation step (thin image).
Stabilizing Phase
Table 3 shows the major steps required to accomplish during the Stabilizing Phase.
Table 3. Stabilizing Checklist
High-level steps in the Stabilizing Phase
q Test the Microsoft Office deployment.
Test Microsoft Office installation as part of the overall desktop deployment process,
resolving any issues that arise during this phase.
Deploying Phase
Monitor installation progress during this phase and respond to any issues. The team may
also manage data-migration issues during this phase. Table 4 shows the high-level steps
in the Deploying Phase.
Table 4. Deploying Checklist
High-level steps in the Deploying Phase
q Monitor 2007 Office system deployment.
Monitor 2007 Office system deployment during this phase, resolving any issues that
may arise with undiscovered hardware configurations.
q Manage Microsoft Office data conversions.
During this phase, users will begin using the new 2007 Office system programs.
Prerequisites
To create a custom 2007 Office system installation, the lab must contain the following
items:
• Microsoft Office 2007 Resource Kit
• A network share to store the 2007 Office release source files
• A computer on which to install, configure, and customize the 2007 Office system
• The 2007 Office system volume-licensed media
Ov er vi ew of 2007 Of fice Sys tem
Dep lo yment
Figure 1 provides an overview of the 2007 Office system upgrade process.
Settings Migration
By default, if an earlier version of Microsoft Office is installed on a user’s computer,
Windows Installer copies the earlier application settings for that version to the 2007 Office
system. Migrated settings are applied the first time each user starts a 2007 Office release
program, and the user's migrated settings overwrite any duplicate settings added to the
setup update.
On the Modify user settings page of the OCT, team members can change this behavior.
When users install the 2007 Office system with the update, Setup migrates relevant
settings from an earlier version. If team members specify their settings on the Modify
user settings page and clear the Migrate user settings check box, the migrated
settings will not be used.
Note The 2007 Office system does not use .ops files for transformations as Microsoft
Office 2003 did. Instead, it uses the same setup update file to specify Microsoft Office features
and user settings.
File-Conversion Issues
The 2007 Office system uses a new, XML-based file format—Office Open XML Formats.
This format is currently used in the 2007 Office system programs Excel® 2007,
Word 2007, and PowerPoint 2007 files. The new XML-based file formats in these
programs enable broader integration and interoperability between Microsoft Office
documents and enterprise applications. In addition, 2007 Office system files are all
wrapped by using extraction technologies, which allows for easy access to the content
parts as well as standard compression, reducing file sizes and improving reliability and
data recovery.
Users can migrate files created in earlier versions of Microsoft Office programs to Office
Open XML Formats by using the Office File Conversion Tool. Because of the new file
format, conversion issues may surface during deployment and should be dealt with early
in the deployment project life cycle.
When identifying file-conversion issues, consider the following:
• Word, Excel, and PowerPoint in Microsoft Office 97, Microsoft Office 2000, Microsoft
Office 2003, and Microsoft Office XP share the same file format. Documents created
with these versions of Microsoft Office require conversion to edit them with the
corresponding 2007 Office release programs.
• The 2007 Office release programs can convert individual files created with earlier
versions of the corresponding Microsoft Office programs, and the 2007 Office release
includes the Office File Conversion Tool for converting multiple documents at a time.
• For backward compatibility, the 2007 Office system can be configured in compatibility
mode so that files saved in Word, Excel, and PowerPoint can use the same binary
format used by earlier versions of those Microsoft Office programs.
• For interoperability, apply updates to computers running Microsoft Office XP and
Microsoft Office 2003 to allow those versions to save files in Office Open XML
Formats.
• Office Access 2007 uses a new file format, .accdb. For interoperability, save Office
Access 2007 files in the Microsoft Office Access 2003 or Office Access 2000 format
(.mdb). Office Access 2007 can also open .mdb files for editing.
Note For more information about Office Open XML Formats, see “Microsoft Office Open XML
Formats Overview” at http://office.microsoft.com/en-us/products/HA102058151033.aspx.
Coexistence Issues
Although an organization may have the goal of migrating everyone to the 2007 Office
system, the complete migration of the organization is not likely to occur instantly. A plan
must be devised and implemented that permits users of the 2007 Office system to
collaborate on documents with teammates who are using earlier versions of the Microsoft
Office System. The Migration feature team must understand these issues and identify the
effect of each issue on the organization. For example, a company that is migrating from
Microsoft Office XP to the 2007 Office system is likely to experience more issues than a
company migrating from Microsoft Office 2003.
Consider the following questions:
• Which versions of the Microsoft Office System are users running?
• Which groups of users share documents with which other groups of users? Do they
need to share documents in one direction, or will users of the earlier Microsoft Office
release be using 2007 Office release documents?
During a 2007 Office system deployment, a variety of solutions is available to enable
users to share documents among various Microsoft Office System versions. If the
organization is migrating from Microsoft Office 97 to the 2007 Office system, for example,
these solutions ensure that users who have not yet migrated can still exchange
information with users who have.
The solutions that the Application Management feature team uses depend on whether
users share documents with other groups. The solutions also depend on whether users
share documents one way or two ways and whether they need to change the documents
they share. The Application Management feature team can migrate groups of users who
do not share documents with other groups to the 2007 Office system at any time without
reducing their productivity.
If a group of users shares documents with other groups, however, the Application
Management feature team must decide whether document recipients require read-only
access to those documents or whether they must be able to edit and return those
documents. If they require read-only access, a larger variety of solutions is available,
including file viewers, saving documents as Web pages, and so on. If users must edit and
return documents to the sending group, consider restricting both groups to a common file
format until both groups have fully migrated to the 2007 Office system. Also, to ensure
continuity, plan to migrate dependent groups at the same time.
Identify SMEs
In those areas or departments in which 2007 Office system developers have reason to
believe that significant issues might arise with the 2007 Office system, ask the
department to provide an SME to act as a liaison with the developers. For example,
having an SME from the accounting department available to the developers is generally
helpful to ensure that all 2007 Office system issues related to the use of Office
Excel 2007 are identified and addressed, because accounting departments often use
complex Excel workbooks.
Additional Considerations
The following list describes additional development work that most organizations perform
and where to find detailed information in the 2007 Office Resource Kit for each:
• Messaging. A close review of the organization’s messaging needs helps plan the
optimal Office Outlook 2007 deployment. Among the configuration and installation
choices made are deciding which e-mail messaging server to use with Office
Outlook 2007 and timing the Office Outlook 2007 deployment to suit the
organization’s needs. Look for ORKMessaging.doc in the 2007 Office Resource Kit
documentation folder.
Update the 2007 Office system distribution points with current service packs before
deploying them. To integrate a service release into a Setup share, copy the .msp files to
the Updates folder in the share. (Microsoft Office applications will automatically install any
updates found in this folder.)
Note Many organizations use Microsoft Update or Windows Server Update Services (WSUS) to
download and distribute updates and security fixes to Microsoft operating systems and Microsoft
Office. Bear in mind, however, that the amount of time a system remains vulnerable after
installation increases proportionally to the amount of time it takes to be fully updated. For this
reason, it is helpful to maintain a fully updated 2007 Office system distribution point.
Team members can iterate through creating and testing the transforms until they meet
the organization’s requirements. After these requirements have been met with manual
installation, team members can proceed to integrate the package into the MDT 2008
imaging and deployment processes.
862.Complete the New Application Wizard, using the path and setup commands for the
2007 Office system.
863.Right-click the resulting package, and then click Properties to display the properties
sheet for the 2007 Office system (see Figure 4).
Transition to IT Operations
After the initial deployment is complete and the Application Management feature team
has verified that the computers are operating properly, the project is transitioned from the
Deployment feature team to IT Operations. The IT Operations group is then responsible
for ongoing computer maintenance and support. This process is typically well structured
and formal, and documentation, knowledge, and other materials are formally transferred
from one group to another.
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/by-nc/2.5 or
send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
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, Active Directory, Visual Basic, SQL Server, Windows, 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.
• Install an operating system image that includes enterprise applications such as the
various editions of Microsoft Office 2003 or the 2007 Microsoft Office system.
• Dynamically install applications that are specific to the target computer model, such
as DVD software.
• Optionally, restore the user data and preferences that were previously stored on the
network deployment server.
Note In this document, Windows applies to the Windows Vista, Windows XP Professional,
Windows XP Tablet PC Edition, Windows Server 2008, and Windows Server 2003 operating
systems unless otherwise noted.
• Enable MDT 2008 integration with Configuration Manager console in System Center
Configuration Manager.
Note When configuring the state migration point, refer to the shared folders that will be used
for user state storage.
882.Import the target computer information, and assign the computer to a System Center
Configuration Manager collection.
For more information about importing the target computer information, see “How to
Add a New Computer to the Configuration Manager 2007 Database” in the
Configuration Manager Documentation Library included with System Center
Configuration Manager and the section “Define Computers to the System Center
Configuration Manager” later in this document.
883.Create and advertise the PXE operating system deployment task sequence to the
target collection or device (imported in the previous step).
For additional information about:
• Creating task sequences, see “How to Manage Task Sequences” in the
Configuration Manager Documentation Library included with System Center
Configuration Manager.
• Advertising task sequences, see “How to Advertise Task Sequences” in the
Configuration Manager Documentation Library included with System Center
Configuration Manager.
Note The task sequence must be advertised by selecting the Make this task sequence
available to boot media and PXE check box. If this box is not selected, the task sequence will
not be available for PXE deployments.
Boot Media
MDT 2008 provides an operating system media pre-execution hook. This hook is
executed before System Center Configuration Manager checks to determine whether the
computer is defined in the Configuration Manager site database. The hook allows the
executed command to take steps to add the computer to the Configuration Manager site
database. It also adds the computer to a collection so that the computer receives at least
one task sequence.
To add the script files needed to run a new wizard as part of the pre-execution hook to
the boot image being created, in the New Boot Image pane of the Import Microsoft
Deployment Task Sequence Wizard, select the Add media hook files for unknown
computer support with boot media check box. A URL for a Web service can verify
whether the computer is defined to System Center Configuration Manager. The Web
service must be deployed to a Web server, and the computer must be added to
Configuration Manager console and to a collection.
Note For more information about the operating system media pre-execution hook, see
Operating System Media Pre-Execution Hook at http://technet.microsoft.com/en-
us/library/bb694075.aspx.
To set up a Web service to use with the operating system media pre-execution
hook
884.Verify that a System Center Configuration Manager server configured with the
Service Location Protocol (SLP) exists in the environment.
Note This would normally be the central site server, because it needs to know the
boundaries of all System Center Configuration Manager sites in the hierarchy. The MDT 2008
Web service will contact the SLP to determine the System Center Configuration Manager site
code in which a computer is assigned.
885.Verify that MDT 2008 is installed on a server running Microsoft Internet Information
Services (IIS). This does not have to be the same computer used for other MDT 2008
functions, although it typically would exist on that server. The server must have
Microsoft .NET Framework version 2.0 installed.
Note If Microsoft .NET Framework 2.0 was installed after IIS was installed, run
Aspnet_regiis.exe to add Microsoft ASP.NET support to IIS. For more information, see
ASP.NET IIS Registration Tool (Aspnet_regiis.exe) at http://msdn2.microsoft.com/en-
us/library/k6h9cz8h(VS.80).aspx.
886.In the IIS Manager Microsoft Management Console (MMC) snap-in, right-click the
default Web site (or any other appropriate Web site), and then click Add Application.
887.Type an alias—for example, MicrosoftDeployment—and then the path; for
example, %programfiles%\Microsoft Deployment Toolkit.
Note Step 3 works as described for Windows Server 2008. For Windows Server 2003, right-
click the default Web site, click New, and then click Virtual Directory. Type the alias and
path, and then click both Read and Execute permissions.
889.Test the Web service using a Web browser. Specify a URL using the server name
and the application created in the previous step. For example,
http://servername/MicrosoftDeployment/UnknownComputer.asmx. A Web page will
be displayed that indicates the following operations are supported:
• AddComputer
• GetADSite
• GetAssignedSite
• IsComputerKnown
890.Click the GetADSite link, and then click Invoke on the resulting page to test the
GetADSite Web service. This Web service returns the AD DS site name for the
TCP/IP address the client used to connect to the Web service.
Note This might not return a valid name if the Web service is executed from a Web browser
on the same host, because the loopback address 127.0.0.1 is not a member of an AD DS
site.
891.On the original Web page that lists the supported operations, click the
GetAssignedSite link. Specify the IP address and subnet address of a client that is
within the boundaries of one of the System Center Configuration Manager sites in the
hierarchy, and then click Invoke. The subnet address is the IP address with the mask
applied.
Note If the client's IP address is 10.1.1.1 with a subnet mask of 255.255.255.0, the subnet
address would be 10.1.1.0. Verify that the returned site code is correct. If no site code is
returned, verify the SLP server name configured earlier, and make sure the site boundaries
are configured correctly.
892.On the original Web page that lists the supported operations, click the
IsComputerKnown link. Specify either a media access control (MAC) address or a
system management basic input/output system (SMBIOS) globally unique identifier
(GUID), or both, for a computer already known to a System Center Configuration
Manager site, and the site code for that site, and then click Invoke. Verify the results.
893.On the original Web page that lists the supported operations, click the
AddComputer link. Specify a site code to which the computer should be added, the
computer name to be assigned (this can be a temporary name, because it will be
overridden when the computer becomes a System Center Configuration Manager
client), at least one of the MAC address and SMBIOS GUID properties, and,
optionally, a collection to which the computer should be added.
Note This collection must be owned by the specified site. Typically this would be a
collection associated with an operating system deployment task sequence.
894.When all of the Web services have been validated, use the Import Microsoft
Deployment Task Sequence Wizard to create a new boot image. As part of that boot
image creation process, specify that a media hook should be included, and specify
the Web service URL that was used in step 6.
PXE Boot
System Center Configuration Manager integrates with Windows Deployment Services to
support PXE boot known computers. If the computer is not known to the local System
Center Configuration Manager site, it will not respond to the PXE request. To work around
this problem, MDT 2008 offers a PXE filter, which hooks into Windows Deployment
Services and adds new computers to the Configuration Manager site database before
Configuration Manager console sees the request. This way, System Center Configuration
Manager can respond to the request.
A wizard is used to install the new PXE filter. To execute the wizard, click Start, and then
click Configure WDS PXE Filter. This action requires that MDT 2008 exist on the
Windows Deployment Services server and that Windows Deployment Services be
running the Systems Management Server PXE role.
The PXE filter calls PXEFilter.vbs, a Microsoft Visual Basic® Scripting Edition (VBScript)
file located in the %ProgramFiles%\Microsoft Deployment Toolkit\scripts folder, which
determines whether to add the computer to the Configuration Manager site database.
Edit the script for each installation to specify the name of the System Center
Configuration Manager server, the site code of the server, the collection ID to which new
computers are added, and the credentials required for a remote connection to the System
Center Configuration Manager provider.
Note Credentials are required only when the PXE server is not on the same computer as
System Center Configuration Manager, because the PXEFilter.vbs script runs in the security
context of Local System. If credentials are provided in this scenario, PXEFilter.vbs will not run
correctly.
Making these changes to the scripts will result in System Center Configuration Manager
responding to PXE requests from all unknown computers. Ensure that operating systems
are not deployed to computers for which they were not intended. It might be necessary to
edit the scripts to filter the requests using the IP address of the request, or handle only
requests received from computers on dedicated staging subnets, and ignore requests
without adding the computers to the Configuration Manager site database.
Enable logging in Windows Deployment Services to provide additional help with
troubleshooting problems related to configuring the PXE filter. For more information on
how to enable logging in Windows Deployment Services, see the Microsoft Help and
Support article, “How to enable logging in Windows Deployment Services (WDS) in
Windows Server 2003,” at http://support.microsoft.com/kb/936625.
Note This process is currently only tested and supported for Windows Deployment Services
running on Windows Server 2003.
Note Do not use Lite Touch Windows Imaging Format (WIM)–generated boot images from
Deployment Workbench (LiteTouchPE_x86.wim) in System Center Configuration Manager.
Instead, use the generic WIM image generated from Deployment Workbench in conjunction with
System Center Configuration Manager, if needed.
In addition to the packages and images required by the task sequence templates,
consider creating and including the following elements in the task sequences to provide
similar functionality in Deployment Workbench:
• Application packages. This package includes any applications that will be installed
as part of the operating system deployment (similar to the Applications node in
Deployment Workbench). These packages are created as packages and programs in
System Center Configuration Manager. For more information on how to create these
packages, see “Tasks for Software Distribution” in the Configuration Manager
Documentation Library included with System Center Configuration Manager.
• Windows package file packages. These packages include any Windows package
files (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 Deployment Workbench). These packages are created as packages in
System Center Configuration Manager. For more information on how to create these
packages, see “Tasks for Software Distribution” in the Configuration Manager
Documentation Library included with System Center Configuration Manager.
Note For more information about creating a package that contains language packs, see the
MDT 2008 document, Microsoft System Center Configuration Manager 2007 Imaging Guide.
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/by-nc/2.5 or
send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
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, Active Directory, SQL Server, Windows, 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.
• Optionally, copy existing user data and preferences from the target computer to a
network deployment server.
• Optionally, create a backup image of the user computer to a network deployment
server.
• Optionally, repartition and format the existing primary hard disk (in New Computer
and Replace Computer scenarios).
• Install a Windows operating system image that includes application suites such as
Microsoft Office 2003 or the 2007 Microsoft Office system.
• Dynamically install applications that are specific to the target computer model, such
as DVD software.
• Automatically install previously packaged software specific to the user of the target
computer.
• Optionally, restore the user data and preferences that were previously stored on the
network deployment server.
2 Microsoft Deployment Toolkit 2008
In addition, this document provides guidance on where to place deployment servers and
other planning information.
Note An upgrade feature is available for upgrading to MDT 2008 from Business Desktop
Deployment (BDD) 2007. For more information about upgrading to MDT 2008, see the MDT 2008
document, Getting Started Guide.
Note In this document, Windows applies to the Windows Vista®, Windows XP Professional,
Windows XP Tablet PC Edition, Windows Server® 2003, and Windows Server 2008 operating
systems unless otherwise noted.
904.On the Specify where to obtain SMS 2003 OSD files page, in the SMS 2003 OSD
path box, type path (where path is the path to the SMS 2003 OSD installation
directory), or browse to the file by clicking Browse, and then click Finish.
905.Review the information displayed in the More configuration required dialog box,
and then click OK.
The Deployment Point Wizard finishes, and the new deployment point name appears in
the details pane. The ZTI$ shared folder is created as the deployment point for
SMS 2003 OSD Feature Pack deployment point types.
Note The files in Table 6 are recommended shared folder names. Any names can be used for
these shared folders. However, the remainder of the deployment process will refer to these
shared folders by these names.
To configure the shared folder permissions for each folder listed in Table 6
915.In Windows Explorer, right-click SharedFolder (where SharedFolder is one of the
shared folders listed in Table 6), and then click Properties.
916.On the Security tab, click Advanced.
917.On the Permissions tab, clear the Allow inheritable permissions from the parent
to propagate to this object and all child objects check box.
918.When the Remove when prompted to either Copy or Remove the permission
entries that were previously applied from the parent dialog box appears, click
Remove.
919.On the Permissions tab, click Add.
920.In the Enter the object name to select box, type Domain Computers, and then
click OK.
This action allows domain computers to create subfolders.
921.In the Permission Entry for SharedFolder dialog box, in the Apply onto list, click
This folder only.
922.In the Permission Entry for SharedFolder dialog box, in the Permissions list, click
Allow for the Create Folders/Append Data permission, and then click OK.
923.Repeat steps 5–8, substituting the account specified for the Systems Management
Server Advanced Client Network Access account in the “Configure Client Access
Accounts” section.
924.On the Permissions tab, click Add.
925.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.
926.In the Permission Entry for SharedFolder dialog box, in the Apply onto list, click
Subfolders and files only.
927.In the Permission Entry for SharedFolder dialog box, in the Permissions list, click
Allow for the Full Control permission, and then click OK.
928.Repeat steps 10–13 for each group or user account to which these required
privileges will be granted.
The permissions set in these steps allow a target computer to connect to the appropriate
share and create a new folder in which to store user state information or deployment
logs, respectively. The folder permissions prevent other users or computers from
accessing the data stored in the folder.
Note The default permissions on the Systems Management Server distribution point shares
should provide the appropriate resource access by default.
The account defined when the Image Installation CD image was created is used to make
a connection to the share that contains the package automation script
(ZeroTouchInstallation.vbs). The Systems Management Server Advanced Client Network
Access account is used to access the package source directory, log directories, user data
directories, and databases unless the package selection automation script is located on
the same server.
State Restore Zero Touch Invokes USMT Loadstate to restore the user
Installation—State state that was previously backed up and also
Restore installs any packages specified.
12 Microsoft Deployment Toolkit 2008
Before continuing, create an SMS 2003 OSD Feature Pack package and program for the
target operating system. For more information on performing these tasks, see the
Microsoft Systems Management Server 2003 Operating System Deployment Feature
Pack Users Guide, which is included on the SMS 2003 OSD Feature Pack CD-ROM.
Note For troubleshooting purposes in the lab environment, consider including the /debug:true
option at the end of the command in each phase. This causes the SMS 2003 OSD Feature Pack to
preserve the full contents of the C:\Minint folder so that the logs can be reviewed when errors
occur.
Start the computer using the Image Capture CD. If prompted to press a key to boot from
the CD, press any key. The Systems Management Server 2003 Image Capture Wizard
captures an image of the lab computer with no interaction. For more information, see the
SMS 2003 OSD Image Capture CD topics in Systems Management Server Help.
962.In the Phase list, click State Restore, and then click Add.
The State Restore dialog box appears.
963.In the list of action types, click Custom, and then click OK.
964.Complete the custom actions using the information listed in Table 13 (where
servername is the name of the server hosting the distribution point shared folder).
Table 13. Configuration Information for the State Restore Phase Actions
Field Value
Name Zero Touch Installation—State Restore
Command line ZeroTouchInstallation.vbs
Files \\servername\ZTI$\TaskSequenceFolder\*.*
To create the Systems Management Server package and program to perform user
state capture
965.On a computer that has Systems Management Server administration tools installed,
open SMS Administrator Console.
966.In the console tree, right-click Packages, point to New, and then click Package.
967.Complete the Package Properties dialog box using the information listed in
Table 14, and then click OK.
Note Table 14 contains the steps and information required to complete the Package
Properties dialog box. Configure other information as appropriate for the environment.
18 Microsoft Deployment Toolkit 2008
970.In the console tree, right-click Advertisements, point to All Tasks, and then click
Distribute Software.
971.Complete the Distribute Software Wizard using the information listed in Table 16;
accept defaults unless otherwise instructed.
Create a Windows PE boot image file using the SMS 2003 OSD Feature Pack. Note that
the image file that the SMS 2003 OSD Feature Pack creates cannot be customized and
does not include Windows Management Instrumentation (WMI). To create a customized
Windows PE boot image, use Deployment Workbench or a custom process. Deployment
Workbench adds WMI and makes other necessary changes to the Windows PE boot
image.
Note If the image being created will not be used on a Windows Deployment Services server,
skip any instructions in this section that refer to Windows Deployment Services or Remote
Installation Service (RIS).
Customize Windows PE
Customize the version of Windows PE used in ZTI-based deployment manually or using
Deployment Workbench. For ZTI-based deployments, use Windows PE 2004 or
Windows PE 2005. When customizing Windows PE, operating system source files are
required to provide the files needed to build a bootable version of Windows PE. Table 17
lists the versions of Windows PE and the operating system source files required to build
the corresponding version of Windows PE.
Table 17. Windows PE Versions and Required Operating System Source Files
Windows PE version Required operating system source files
Windows PE 2004 Windows XP with SP2
Windows PE 2005 Windows Server 2003 with SP1
To prepare the Windows PE CDs and legacy images using Deployment Workbench
976.Add the appropriate operating systems to Deployment Workbench.
977.Configure the Windows PE 2004/2005 tab.
978.Update the deployment point.
Note Updating the deployment point creates both an ISO file and a “flat” source folder that
can be used to update Systems Management Server without actually burning the created ISO
file to CD media.
982.Based on the option selected in Table 18, complete the steps listed in Table 19.
Table 19. Tasks to Perform for the Operating System Type Options
Option Perform these steps
Full set of source files On the Source page, in the Source directory box, type
source_directory_name (where source_directory_name
is the fully qualified path to the operating system source
files), and then click Next.
Custom Image File On the Image page, in the Source file box, type
source_file_name (where source_file_name is the fully
qualified path to the WMI file), and then click Next.
Windows Deployment On the WDS Server page, in the Server name box, type
Services images server_name (where server_name is the name of the
Windows Deployment Services server on which the image
to add resides), and then click Next.
983.On the Specify the destination page, in the Destination directory name box, type
destination_directory_name (where destination_directory_name is the fully
qualified path to the folder into which the operating system will be copied), and then
click Finish.
The New OS Wizard finishes, and the new operating system appears in the details
pane.
Note Repeat this procedure for each operating system to be added.
Modify Winbom.ini
To make the appropriate modifications to Winbom.ini, perform the following steps:
1007.Open the Winbom.ini file in Microsoft Notepad.
1008.In the WinPE section, on a new line type Quiet=Yes.
1009.Save the file, and then close Notepad.
1010.Copy the Winbom.ini file to the I386\System32 folder in the Windows PE image.
To replace the default Windows PE splash screen with a custom splash screen
1011.On the Windows Deployment Services server, open Windows Explorer.
1012.Go to RISSourcePath (where RISSourcePath is the path to the WinPE folder in the
Windows PE image to modify—for example, D:\WinPE15\Winpe).
1013.Rename the existing Winpe.bmp file as Winpe_Original.bmp.
1014.Copy PersonalizedBMP (where PersonalizedBMP is the file name of the
customized splash screen to be displayed) to Winpe.bmp, and then close Windows
Explorer.
An additional step must be performed if creating the Windows PE image manually:
• Create the directory structure \Documents and Settings\All Users\Application Data.
These directories will be empty, but they are required for the Rsaenh.dll file the task
sequencer uses. If these directories are not present, the task sequencer cannot
execute.
Create the ISO File for the SMS 2003 OSD Feature Pack
Wizards
To create the ISO file for the SMS 2003 OSD Feature Pack wizards, perform the following
steps:
1015.In a Command Prompt window, go to WindowsPEFiles (where WindowsPEFiles is
the folder where the Windows PE files are located).
1016.Type oscdimg -betfsboot.com -n -h sourcefolder isofile (where sourcefolder is
the folder where the Windows PE source files are located and isofile is the fully
qualified path and file name of the ISO file to create), and then press ENTER.
For example:
oscdimg -betfsboot.com -n -h “e:\WindowsPE_2005_Source”
d:\Distribution\Boot\Generic_OSD_x86.iso
This example creates a no-emulation bootable (-betfsboot.com) ISO image with
long file name support (-n). When the image is built, any hidden files are included
(-h). The source directory is E:\WindowsPE_2005_Source. The output file is
Generic_OSD_x86.iso and placed in the D:\Distribution\Boot folder.
3. Store the ISO file created in step 2 in the Boot folder of the distribution point to be
used. Name the ISO file Generic_OSD_x86.iso for 32-bit versions of Windows PE.
Note The remaining steps in the process assume that the ISO naming convention indicated
in the preceding steps is used and that the ISO file resides in the Boot folder of the target
distribution point. If using a different naming convention or storing the ISO file in a different
folder, substitute the custom ISO file name and folder in the remaining steps.
• For servers without local CD-ROM drives, load the ISO file on the computer
running Systems Management Server (with a site server role) using the
Microsoft Virtual CD-ROM Control Panel item or another, similar software tool.
Install Virtual CD-ROM Control Panel on the computer with the Systems
Management Server site server role that has the SMS 2003 OSD Feature Pack
installed.
• Use the contents of the source directory E:\WindowsPE_2005_Source.
For more information about these methods, see the Microsoft Help and Support article,
“How to customize Windows PE by using the source files that are included with the
Microsoft SMS 2003 Operating System Deployment (OSD) Feature Pack,” at
http://support.microsoft.com/kb/916902.
Note The source folder location cannot be a network UNC path. It must be a locally
accessible folder, because the SMS 2003 OSD Feature Pack will skip empty folders when
accessed over a network path. This causes WMI not to function correctly in the resulting
Windows PE image.
Click Next.
Note The account credentials are stored on the installation
CD in an encrypted format.
The SMS 2003 OSD Feature Pack Operating System Installation image contains the
Ripinfo.ini file, which in turn contains:
• The commands for the script used to automate the installation.
• The list of available packages in the image.
• Encrypted credentials used to access required network shares.
• The management point name and port.
Update the images when any of the listed items change. Although the Ripinfo.ini file can
be edited directly, a new image should be created using the Operating System Image
Installation CD Wizard. The wizard will automatically update Ripinfo.ini to reflect any
changes in the commands or available packages.
Note If the image just created will be used on a Windows Deployment Services server, skip to
the section, “Preparing the Windows Deployment Services Server.” Otherwise, continue the
process in the section “Running the Deployment Wizard.”
Note The SMS 2003 OSD Feature Pack only supports RIS compatibility. In Mixed mode, only the
functionality that Legacy mode provides for ZTI deployments can be used. However, other
Windows Deployment Services features can be used for LTI deployments.
In ZTI deployments that use the SMS 2003 OSD Feature Pack, using Windows
Deployment Services is identical to using RIS. To configure Windows Deployment
Services for ZTI and the SMS 2003 OSD Feature Pack, follow any RIS-related guidance
in this document.
For more information on configuring Windows Deployment Services to run in Legacy or
Mixed modes, see:
• Windows Deployment Services Update Step-by-Step Guide, included in Windows
Deployment Services.
• Windows Deployment Services Help files.
1027.Add support to the Windows Deployment Services legacy (RIS) image for additional
network adapters.
1028.Transfer the Windows PE CD images to the Windows Deployment Services
servers.
1029.Restart the Windows Deployment Services service on the Windows Deployment
Services servers on which the Windows Deployment Services legacy images were
installed.
Note In addition to completing these steps, select only Tools in the Choice Option dialog
box. For more information, see the section, “Enable Tools Only in the Choice Options Dialog
Box,” later in this document.
1043.In the Tools section of the Choice Options Properties dialog box, click Enabled.
1044.In the Automatic Setup section, click Disabled.
1045.In the Custom Setup section, click Disabled.
1046.In the Restart Setup section, click Disabled, and then click OK.
1047.Close the Group Policy Object Editor.
1048.Close Active Directory Users and Computers.
To modify the Tools.osc file (or the Tlchoice.osc file for Windows Server 2003
with SP1)
1049.On the server running Windows Deployment Services, open Notepad.
1050.In Notepad, open ToolsPath\Tools.osc (or Tlchoice.osc for SP1) (where ToolsPath is
the path to the Template folder of the Windows PE image to modify—for example,
\RemoteInstall\Setup\English\Images\RIS\I386\Templates).
1051.In the Tools.osc file (or the Tlchoice.osc file for SP1), locate the entry <SELECT
NAME="SIF" NOAUTO SIZE=12>, shown in Listing 3.
Listing 3. Original Version of Tools.osc (or Tlchoice.osc for SP1)
<OSCML>
<META KEY=F3 ACTION="REBOOT">
<META KEY=F1 HREF="TOOLSHLP">
<META KEY=ESC HREF="CHOICE">
<META SERVER ACTION="ENUM TOOLS CMDCONS">
<TITLE> Client Installation Wizard Tools</TITLE>
<FOOTER> [ENTER] continue [ESC] go back [F1] help
[F3] restart computer</FOOTER>
<BODY left=5 right=75>
<BR>
<BR>
Use the arrow keys to select one of the following options:
<BR>
<P left=8>
<FORM ACTION="LAUNCH">
<SELECT NAME="SIF" NOAUTO SIZE=12>
%OPTIONS%
</SELECT>
</FORM>
</P>
<BOLD>Description:</BOLD>  
<TIPAREA>
</BODY>
</OSCML>
1052.Remove NOAUTO from the entry, as illustrated in Listing 4.
Listing 4. Modified Version of Tools.osc (or Tlchoice.osc for SP1)
<OSCML>
<META KEY=F3 ACTION="REBOOT">
<META KEY=F1 HREF="TOOLSHLP">
<META KEY=ESC HREF="CHOICE">
<META SERVER ACTION="ENUM TOOLS CMDCONS">
<TITLE> Client Installation Wizard Tools</TITLE>
<FOOTER> [ENTER] continue [ESC] go back [F1] help
[F3] restart computer</FOOTER>
<BODY left=5 right=75>
<BR>
<BR>
Use the arrow keys to select one of the following options:
<BR>
<P left=8>
<FORM ACTION="LAUNCH">
<SELECT NAME="SIF" SIZE=12>
%OPTIONS%
</SELECT>
</FORM>
</P>
<BOLD>Description:</BOLD>  
<TIPAREA>
</BODY>
</OSCML>
1053.Save the file, and then close Notepad.
Note If the organization is running Windows Server 2003 without SP1 (or later versions),
no further modifications are necessary.
To modify the Tools.osc file for Windows Server 2003 with SP1 or later
1054.On the Windows Deployment Services server, open Notepad.
1055.In Notepad, open ToolsPath\Tools.osc (where ToolsPath is the path to the Template
folder of the Windows PE image to modify—for example,
\RemoteInstall\Setup\English\Images\RIS\I386\Templates).
1056.In the Tools.osc file, search for <TITLE>.
1057.Insert a new line immediately above <TITLE>.
1058.On the new line, type <META ACTION=AUTOENTER>.
1059.Save the file, and then close Notepad.
Customize Login.osc
To customize Login.osc to provide credentials for authentication, perform the following
steps:
1060.On the Windows Deployment Services server, open Notepad.
1061.In Notepad, open the file \RemoteInstall\OSChooser\English\login.osc.
1062.Replace the string "*****" with the user name and password values appropriate
for the environment, as shown in Listing 5.
Listing 5. Original Version of Login.osc
<INPUT NAME="USERNAME" MAXLENGTH=255 TYPE=TEXT VALUE=*****>
<INPUT NAME="*PASSWORD" TYPE=PASSWORD MAXLENGTH=20 VALUE=*****>
For example, if the USERNAME value used is OSDUser and the PASSWORD value
is Deploy101, the edited lines are illustrated in Listing 6.
Listing 6. Modified Version of Login.osc
<INPUT NAME="USERNAME" MAXLENGTH=255 TYPE=TEXT VALUE=OSDUser>
<INPUT NAME="*PASSWORD" TYPE=PASSWORD MAXLENGTH=20
VALUE=Deploy101>
To add support to the Windows Deployment Services legacy image for additional network
adapters, copy the files shown in Table 23.
Table 23. Source Network Driver Files and Where to Copy Them in a Windows
Deployment Services Legacy Image
Copy these files To
*.sys Copy from RIS Image Path\i386\system32\drivers to RIS
Image Path\i386 (where RISImagePath is the path to the root
of the Windows Deployment Services legacy image—for
example, D:\RemoteInstall\Setup\English\Images\WinPE15).
*.inf Copy from RIS Image Path\i386\inf to RIS Image Path\i386.
*.din, *.bin, *.exe, or RISImagePath\I386 and RISImagePath\I386\system32.
other files
For more information about adding additional network adapters to Windows Deployment
Services in Legacy or Mixed mode, see the following resources:
• Microsoft Help and Support article, “How to deploy Microsoft Windows Preinstallation
Environment from an RIS server by using PXE-enabled clients,” at
http://support.microsoft.com/kb/304992.
• Microsoft Help and Support article, “‘The operating system image you selected does
not contain the necessary drivers for your network adapter’ error message during the
text-mode part of Setup when you deploy an operating system image by using RIS,”
at http://support.microsoft.com/?id=823658. This error message occurs during the
text-mode part of Setup when using Windows Deployment Services to deploy an
operating system image.
• Microsoft Help and Support article, “How to Add Third-Party OEM Network Adapters
to RIS Installations,” at http://support.microsoft.com/default.aspx?scid=kb%3Ben-
us%3B246184.
[ SMS_Report (True),
SMS_Group_Name ("Microsoft BDD Info"),
SMS_Class_ID ("MICROSOFT|MicrosoftBDDInfo|1.0") ]
string OSDProgramName;
[SMS_Report (TRUE) ]
string OSDAdvertisementID;
};
1077.To check the syntax of the file, open a Command Prompt window, and then type
mofcomp.exe sms_def.mof -check.
1078.To compile the .mof file with the new entries on the server, open a Command
Prompt window, and then type mofcomp.exe sms_def.mof.
1079.Use the command mofcomp.exe sms_def.mof to create a Systems Management
Server package to push the updated .mof file to the Systems Management Server
Advanced Client computers in the organization.
The Systems Management Server Advanced Client computers will need updated
machine policies to know that they must inventory the new entries. Following policy
updates, the next hardware inventories for the computers will be uploaded to the server
for reporting.
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/by-nc/2.5 or
send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
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, Active Directory, FrontPage, SQL Server, Windows, Windows Server, 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.
After using this guide to evaluate MDT 2008, review the rest of the MDT 2008 guidance
to learn more about the technology’s advanced features.
Note The infrastructure setup described here is for evaluation purposes and not intended for a
production system.
Required Software
To complete this guide, the following software is required:
• Windows Server 2003 Release 2 (R2) with Service Pack 2 (SP2)
• Windows Vista
• System Center Configuration Manager
• Windows Automated Installation Kit (Windows AIK) to help install, customize, and
deploy Windows operating systems
Note Windows AIK version 1.0 does not support Windows Vista with SP1 or Windows
Server 2008 release to manufacturing (RTM) deployments. However, Windows AIK
version 1.1 is compatible with all currently supported operating system releases.
Computer Configuration
To complete this guide, set up the computers listed in Table 1. These computers can be
either physical computers or virtual machines (VMs) with the system resources
designated.
Table 1. Computers Used in This Guide
Computer Description and system resources
WDG-MDT-01 This computer runs the MDT 2008 infrastructure and
System Center Configuration Manager. The computer
runs Windows Server 2003 with SP2 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
• 512 megabytes (MB) or greater physical memory
• One disk partition that has 16 gigabytes (GB) or more
available disk space and that 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 available
disk space and that will become partition E.
WDG-REF-01 This is 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
• 512 MB or more physical memory
• 15 GB or more available disk space
WDG-CLI-01 This is 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
• 512 MB or more physical memory
• 15 GB or more available disk space
The resources listed in Table 1 reflect the system resources recommended to perform the
steps in this guide. For information on the minimum system resource requirements for:
• Windows Server 2003, see System Requirements at
http://technet.microsoft.com/en-us/windowsserver/bb430827.aspx.
• Windows Vista, see Windows Vista recommended system requirements at
http://www.microsoft.com/windows/products/windowsvista/editions/systemrequiremen
ts.mspx.
• System Center Configuration Manager, see Configuration Manager Supported
Configurations at http://technet.microsoft.com/en-
us/library/bb680717.aspx#SiteServerSystemRequirements.
• Microsoft SQL Server® 2005, see SQL Server 2005 System Requirements at
http://www.microsoft.com/sql/prodinfo/sysreqs/default.mspx.
Note This guide assumes that MDT 2008 is being evaluated on 32-bit (x86) physical or virtual
computers. If evaluating MDT 2008 on 64-bit (x64) platforms, download and install the x64
editions of MDT 2008 and the components that this guide describes.
The steps for preparing the prerequisite infrastructure before installing the MDT 2008 are:
1080.Install Windows Server 2003 with SP2.
1081.Create the required folders and network shares.
1082.Obtain the software required to perform the steps in this guide.
1083.Install AD DS.
1084.Install the DHCP Server.
1085.Install Microsoft Internet Information Services (IIS) version 6.0.
1086.Enable the Web-based Distributed Authoring and Versioning (WebDAV) Internet
Services Application Programming Interface (ISAPI) extensions in IIS 6.0.
1087.Install the additional software.
1088.Create the user and service accounts required to perform the steps in this guide.
1089.Install the Windows User State Migration Toolkit (USMT) source files.
1090.Install SQL Server 2005 with SP2 to be used by System Center Configuration
Manager.
1091.Add the site server to the Administrators security group.
1092.Install System Center Configuration Manager.
1093.Configure the network access account that System Center Configuration Manager
clients use to access System Center Configuration Manager distribution points.
1094.Configure the System Center Configuration Manager site boundaries.
1095.Configure the publishing of site information in AD DS and DNS.
1096.Configure the drive to be used for storing System Center Configuration Manager
package source files.
1097.Configure the System Center Configuration Manager distribution point to be
Background Intelligent Transfer Service (BITS) enabled.
1109.Install SQL Server 2005 with SP2 by accepting all defaults for installing the Service
Pack Installation Wizard.
Tip This service pack was downloaded earlier in the process and saved in
E:\Source$\SQL2005SP2.
At the end of this step, System Center Configuration Manager is installed. To find more
help in troubleshooting any installation-related problems, see Troubleshooting
Configuration Manager 2007 at http://technet.microsoft.com/en-
us/library/bb632812.aspx.
1125.In the Computer Client Agent Properties dialog box, click the General tab. In
Network Access Account, in Account (domain\user), click Set.
1126.Complete the Windows User Account dialog box using the information in Table 10,
and then click OK.
Table 10. Information Required to Complete the Windows User Account
Dialog Box
For this Do this
User name Type CORP\CMNetAccess.
Password Type P@ssw0rd.
Confirm password Type P@ssw0rd.
Table 11. Information Required to Complete the New Site Boundary Dialog Box
For this Do this
Description Type IP Subnet Boundary.
Network Type network_address (where network_address is the
network address of the subnet where the computers are
installed).
Subnet mask Type subnet_mask (where subnet_mask is the subnet mask
of the subnet where the computers are installed).
1157.Click Start, and then point to All Programs. Point to Microsoft Deployment
Toolkit, and then click Configure ConfigMgr 2007 Integration.
The Configure ConfigMgr 2007 Integration script starts.
1158.In the Configure ConfigMgr Integration dialog box, in Site server name, verify
the value is WDG-MDT-01.
1159.In Site code, verify that the value is NYC, and then click Finish.
Import the Standard Client Task Sequence template to deploy Windows Vista to the
reference computer (WDG-REF-01). The Import 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 imported task sequence
references the appropriate packages and images.
Note Always use the Import Microsoft Deployment Task Sequence Wizard to import the task
sequence templates. Although the task sequence templates can be manually imported, this
process is not recommended.
Table 13. Information for Completing the Import Microsoft Deployment Task
Sequence Wizard
On this wizard page Do this
Choose Template Select Client Task Sequence, and then click Next.
General In Task sequence name, type Windows Vista Reference
Deployment.
In Task sequence comments, type Task sequence for
deploying Windows Vista to the reference computer
(WDG-REF-01), and then click Next.
Details Click Join a workgroup.
In Workgroup, type WORKGROUP.
In User name, type Woodgrove Bank Employee.
In Organization name, type Woodgrove Bank.
In Product key, type product_key (where product_key is
the product key for Windows Vista).
In Capture destination, type \\WDG-MDT-
01\Capture$\WDG-REF-01.wim.
In Capture Account, click Set, and then complete the
Windows User Account dialog box by performing the
following steps:
1170.In User name, type CORP\Administrator.
1171.In Password and Confirm password, type
P@ssw0rd.
1172.Click OK.
Click Next.
Boot Image Click Create a new boot image package.
In Package source folder to be created, type \\WDG-
MDT-01\Packages$\WINPE_Custom, and then click Next.
Boot Image: General In Name, type Windows PE Custom.
Settings
In Version, type 1.00.
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 Click Next.
Options
MDT Package Click Create a new Microsoft Deployment Toolkit Files
package.
In Package source folder to be created, type \\WDG-
MDT-01\Packages$\MDT_2008_Files, and then click Next.
The Summary wizard page displays a status bar that shows the progress of the
tasks defined in the wizard. The Import Microsoft Deployment Task Sequence Wizard
closes when the task sequence is imported.
Note This process can take several minutes to finish.
Select the distribution points for software distribution packages, boot images, and
operating system install packages.
To select the distribution points for software distribution packages
1173.In the Configuration Manager console tree, go to System Center Configuration
Manager/Site Database/Computer Management/Software Distribution/Packages.
1174.In the details pane, click MDT 2008 Reference Computer Custom Settings.
1175.In the details pane, click Manage Distribution Points.
The Manage Distribution Points Wizard starts.
1176.Complete the Manage Distribution Points Wizard by using the information in
Table 14. Accept default values unless otherwise specified.
Table 14. Information for Completing the Manage Distribution Points Wizard
On this wizard page Do this
Welcome Click Next.
Select Destination Click Next.
Distribution Point
Package In Distribution points, select WDG-MDT-01, and then click
Next.
Completion Click Next.
Wizard Completed Click Close.
1177.Repeat steps 2–4 of this procedure, substituting each of the following packages for
MDT 2008 Reference Computer Custom Settings:
• MDT 2008 Files
• USMT
• Configuration Manager Client Upgrade
To customize the MDT 2008 configuration files for the reference computer
1199.In Windows Explorer, go to E:\Packages$\CustomSettings_Reference, and then
double-click CustomSettings.ini.
1200.In Microsoft Notepad, add DoCapture=Yes to the end of the CustomSettings.ini file,
as shown in Listing 1.
Listing 1. CustomSettings.ini File After Adding the DoCapture Property
[Settings]
Priority=Default
Properties=MyCustomProperty
[Default]
OSInstall=Y
DoCapture=Yes
1201.In Notepad, save the file, and then exit Notepad.
For more information on adding a new computer to the Configuration Manager site
database, see “How to Add a New Computer to the Configuration Manager Database” in
Configuration Manager Documentation Library, which is installed with System Center
Configuration Manager.
For more information, see the section, “How to Create a Collection,” in Configuration
Manager Documentation Library, which is installed with System Center Configuration
Manager.
For more information, see the section, “How to Advertise Task Sequences,” in
Configuration Manager Documentation Library, which is installed with System Center
Configuration Manager.
To start the reference computer with the task sequence bootable media
1244.Start WDG-REF-01 with the task sequence bootable media created earlier in the
process.
Windows PE starts, and then the Task Sequence Wizard starts
1245.Complete the Task Sequence Wizard by using the information in Table 23. Accept
the default values unless otherwise specified.
Table 23. Information for Completing the Task Sequence Wizard
On this wizard page Do this
Welcome to the Task In Password, type P@ssw0rd, and then click Next.
Sequence Wizard
Select a Task Sequence In the list box, select Windows Vista Reference
Deployment, and then click Next.
The wizard starts, and the operating system deployment starts. If any problems occur
during the deployment, consult the MDT 2008 document, Troubleshooting Reference.
When completed, a captured image of the reference computer should exist in \\WDG-
MDT-01\Capture$\WDG-REF-01.wim.
The Summary wizard page displays a status bar that shows the progress of the
tasks defined in the wizard. The Import Microsoft Deployment Task Sequence Wizard
closes when the task sequence is imported.
Select the distribution points for the software distribution package (for the new target
computer custom settings package MDT 2008 Target Computer Custom Settings) and
the operating system image package (for the new captured .wim of the reference
computer Windows Vista Reference Image).
To select the distribution points for software distribution package
1261.In the Configuration Manager console console tree, go to System Center
Configuration Manager/Site Database/Computer Management/Software
Distribution/Packages.
1262.In the details pane, click MDT 2008 Target Computer Custom Settings.
1263.In the details pane, click Manage Distribution Points.
The Manage Distribution Points Wizard starts.
1264.Complete the Manage Distribution Points Wizard by using the information in
Table 25. Accept the default values unless otherwise specified.
Table 25. Information for Completing the Manage Distribution Points Wizard
On this wizard page Do this
Welcome Click Next.
Select Destination Click Next.
Distribution Point
Package In Distribution points, select WDG-MDT-01, and then click
Next.
Completion Click Next.
Wizard Completed Click Close.
Table 26. Information for Completing the Manage Distribution Points Wizard
On this wizard page Do this
Welcome Click Next.
Select Destination Click Next.
Distribution Point
Package In Distribution points, select WDG-MDT-01, and then click
Next.
Completion Click Next.
Wizard Completed Click Close.
[Default]
OSInstall=Y
1272.In Notepad, save the file and then exit Notepad.
For more information on adding a new computer to the Configuration Manager site
database, see the section, “How to Add a New Computer to the Configuration Manager
Database,” in Configuration Manager Documentation Library, which is installed with
System Center Configuration Manager.
For more information, see the section, “How to Create a Collection,” in Configuration
Manager Documentation Library, which is installed with System Center Configuration
Manager.
1308.Complete the New Advertisement Wizard by using the information in Table 29.
Accept the default values unless otherwise specified.
Table 29. Information for Completing the New Advertisement Wizard
On this wizard page Do this
General In Comment, type Advertisement to deploy Windows
Vista reference image.
In Collection, click Browse.
In the Browse Collection dialog box, click Microsoft
Deployment – Batch 01, and then click OK.
Select the Make this task sequence available to boot
media and PXE check box.
Click Next.
Schedule Click Next.
Distribution Points Click Next.
Interaction Click Next.
Security Click Next.
Summary Click Next.
Confirmation Click Close.
For more information, see the section, “How to Advertise Task Sequences,” in
Configuration Manager Documentation Library, which is installed with System Center
Configuration Manager.
To start the target computer with the task sequence bootable media
1309.Start WDG-CLI-01 with the task sequence bootable media created earlier in the
process.
Windows PE starts, and then the Task Sequence Wizard starts
1310.Complete the Task Sequence Wizard by using the information in Table 30. Accept
the default values unless otherwise specified.
The wizard starts and the operating system deployment starts. If any problems occur
during the deployment, consult the MDT 2008 document, Troubleshooting Reference.
When successfully completed, the target computer is running a Windows Vista
operating system configured like the reference computer.
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 user’s
particular environment. RELIANCE UPON THIS DOCUMENT AND ANY DOCUMENT REFERENCED HEREIN IS AT
THE USER’S OWN RISK.
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/by-nc/2.5 or
send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
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, Active Directory, Hyper-V, Windows, 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.
After using this guide to evaluate MDT 2008, review the rest of the MDT 2008 guidance
to learn more about the technology’s advanced features.
Note The infrastructure setup described here is for evaluation purposes and not intended for a
production system.
Required Software
To complete this guide, the following software is required:
• Windows Server 2003 Release 2 (R2) with Service Pack 2 (SP2)
• Windows Vista
• Windows Automated Installation Kit (Windows AIK) to help install, customize, and
deploy Windows operating systems
Note Windows AIK version 1.0 does not support Windows Vista with SP1 or Windows
Server 2008 release to manufacturing (RTM) deployments. However, Windows AIK
version 1.1 is compatible with all currently supported operating system releases.
Computer Configuration
To complete this guide, set up the computers listed in Table 1. These computers can be
either physical computers or virtual machines (VMs) with the system resources
designated.
Table 1. Computers Used in This Guide
Computer Description and system resources
WDG-MDT-01 This computer runs the MDT 2008 infrastructure and
Windows Vista.
The system resources of the computer are as follows:
• Processor running at 1.4 gigahertz (GHz) or faster
• 512 megabytes (MB) or greater physical memory
• One disk partition that has 15 gigabytes (GB) or more
available disk space and that will become the drive C
partition
• One CD-ROM or DVD-ROM drive that will be
assigned the drive letter D
WDG-REF-01 This is the target computer and runs no current operating
system.
The system resources of the computer are as follows:
• Processor running at 1.4 GHz or faster
• 512 MB or more physical memory
• 16 GB or more available disk space
WDG-CLI-01 This is the target computer and runs no current operating
system.
The system resources of the computer are as follows:
• Processor running at 1.4 GHz or faster
• 512 MB or more physical memory
• 15 GB or more available disk space
Note This guide assumes that MDT 2008 is being evaluated on 32-bit (x86) physical or virtual
computers. If evaluating MDT 2008 on 64-bit (x64) platforms, download and install the x64
editions of MDT 2008 and the components that this guide describes.
The step for preparing the prerequisite infrastructure before installing the MDT 2008 is:
• Obtain the software required to perform the steps in this guide.
1325.In the details pane, in the Installed section, notice that Windows Automated
Installation Kit (x86) 1.1 (for 32-bit operating systems) or Windows Automated
Installation Kit (x64) 1.1 (for 64-bit operating systems) is installed
1326.Close all open windows.
The Create Distribution Share Wizard finishes, and the distribution share is created.
The New OS Wizard finishes. The Windows Vista operating system is added to the
list of operating systems in the details pane and is copied to the
distribution\Operating Systems\subfolder folder (where distribution is the distribution
folder created earlier in the process).
To add the device drivers for the reference and target computers to the distribution
share
1342.Click Start, and then point to All Programs. Point to Microsoft Deployment
Toolkit, and then click Deployment Workbench.
1343.In the Deployment Workbench console tree, go to Deployment
Workbench/Distribution Share/Out-of-Box Drivers.
1344.In the details pane, click New.
The New Driver Wizard starts.
1345.Complete the New Driver Wizard by using the information in Table 5.
Table 5. Information for Completing the New Driver Wizard
On this wizard page Do this
Specify Directory In Driver source directory, type
C:\Source$\Drivers.
Click Add Group.
In the New Driver Group dialog box, type
device_driver_name, and then click OK
(where device_driver_name is a descriptive
name for the device drivers).
Select the device_driver_name check box
(where device_driver_name is a descriptive
name for the device driver group created).
Click Finish.
The New Driver Wizard finishes. The device drivers are added to the list of operating
systems in the details pane and are copied to the distribution\Out-of-box Drivers
folder (where distribution is the distribution folder created earlier in the process).
Select the Standard Client Task Sequence template to deploy Windows Vista to the
reference computer (WDG-REF-01).
To create a task sequence for deploying the reference computer
1346.Click Start, and then point to All Programs. Point to Microsoft Deployment
Toolkit, and then click Deployment Workbench.
1347.In the Deployment Workbench console tree, go to Deployment Workbench/Task
Sequences.
1348.In the details pane, click New.
The New Task Sequence Wizard starts.
1349.Complete the New Task Sequence Wizard by using the information in Table 7.
Accept the default values unless otherwise specified.
The New Task Sequence Wizard finishes, and the VISTA_REFERENCE task
sequence is added to the list of task sequences.
The New Deployment Wizard finishes, and the LAB deployment point is added to the
list of deployment points. The C:\Distribution folder (distribution share) is shared as
Distribution$.
The wizard starts, and the operating system deployment starts. At the end of the
MDT 2008 deployment process, the Deployment Summary dialog box appears.
Typically, no errors or warnings should occur in the MDT 2008 deployment process.
However, if any errors or warnings should occur, consult the MDT 2008 document,
Troubleshooting Reference.
1369.In the Deployment Summary dialog box, click Details.
If any errors or warnings occurred, review the errors or warnings and record any
diagnostic information.
1370.In the Deployment Summary dialog box, click Finish.
Windows Vista is now installed on the reference computer, and the captured Windows
Imaging Format (WIM) file of the reference computer (VISTA_REFERENCE.wim) is
stored in the deployment_point_share\Captures folder (where deployment_point_share is
the shared folder used as the deployment point share).
The New OS Wizard finishes. The captured image of the reference computer (WDG-
REF-01) operating system is added to the list of operating systems in the information
pane and is copied to the distribution\Operating Systems\subfolder folder (where
distribution is the distribution folder created earlier in the process).
1377.Close all open windows and dialog boxes.
Table 11. Information for Completing the New Task Sequence Wizard
On this wizard page Do this
General Settings In Task sequence ID, type VISTA_TARGET.
In Task sequence name, type Deploy Captured Image to
Target Computer, and then 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 Standard Client Task Sequence, and then click
Next.
Select OS In The following operating system images are available
to be deployed with this task sequence. Select one to
use, select VISTA_REFERENCECDrive in
“VISTA_REFERENCE\VISTA_REFERENCE.wim”, and
then click Next.
Specify Product Key Click Do not specify a product key at this time, and then
click Next.
OS Settings In Full Name, type Woodgrove Employee.
In Organization, type Woodgrove Bank.
In Internet Explorer Home Page, type
http://www.woodgrovebank.com.
Click Next.
Admin Password In Administrator Password and Please confirm
Administrator Password, type P@ssw0rd, and then click
Finish.
The New Task Sequence Wizard finishes, and the VISTA_TARGET task sequence is
added to the list of task sequences.
1382.Close all open windows and dialog boxes.
The wizard starts, and the operating system deployment starts. At the end of the
MDT 2008 deployment process, the Deployment Summary dialog box appears.
Typically, no errors or warnings should occur in the MDT 2008 deployment process.
However, if any errors or warnings should occur, consult the MDT 2008 document,
Troubleshooting Reference.
1385.In the Deployment Summary dialog box, click Details.
If any errors or warnings occurred, review the errors or warnings and record any
diagnostic information.
1386.In the Deployment Summary dialog box, click Finish.
The image of Windows Vista captured from the reference computer is now installed on
the target computer.
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/by-nc/2.5 or
send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
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, Active Directory, FrontPage, SQL Server, Windows, 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.
After using this guide to evaluate MDT 2008, review the rest of the MDT 2008 guidance
to learn more about the technology’s advanced features.
Note The infrastructure setup described here is for evaluation purposes and not intended for a
production system.
Required Software
To complete this guide, the following software is required:
• Windows Server 2003 Release 2 (R2) with Service Pack 2 (SP2)
• Windows Vista
• Systems Management Server with SP3
• Windows Automated Installation Kit (Windows AIK) to help install, customize, and
deploy Windows operating systems
Note Windows AIK version 1.0 does not support Windows Vista with SP1 or Windows
Server 2008 release to manufacturing (RTM) deployments. However, Windows AIK
version 1.1 is compatible with all currently supported operating system releases.
Computer Configuration
To complete this guide, set up the computers listed in Table 1. These computers can be
either physical computers or virtual machines (VMs) with the system resources
designated.
Table 1. Computers Used in This Guide
Computer Description and system resources
WDG-MDT-01 This computer runs the MDT 2008 infrastructure and
Systems Management Server. The computer runs
Windows Server 2003 with SP2 with the following
networking services installed:
• AD DS
• DNS Server
• DHCP Server
The system resources of the computer are as follows:
• Processor running at 1.4 gigahertz (GHz) or faster
• 512 megabytes (MB) or greater physical memory
• One disk partition that has 16 gigabytes (GB) or more
available disk space and that 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 available
disk space and that will become partition E.
WDG-REF-01 This is the target computer and runs no current operating
system.
The system resources of the computer are as follows:
• Processor running at 1.4 GHz or faster
• 512 MB or more physical memory
• 15 GB or more available disk space
WDG-CLI-01 This is the target computer and runs no current operating
system.
The system resources of the computer are as follows:
• Processor running at 1.4 GHz or faster
• 512 MB or more physical memory
• 15 GB or more available disk space
Note This guide assumes that MDT 2008 is being evaluated on 32-bit (x86) physical or virtual
computers. If evaluating MDT 2008 on 64-bit (x64) platforms, download and install the x64
editions of MDT 2008 and the components that this guide describes.
The steps for preparing the prerequisite infrastructure before installing the MDT 2008 are:
1387.Install Windows Server 2003 with SP2.
1388.Create the required folders and network shares.
1389.Obtain the software required to perform the steps in this guide.
1390.Install AD DS.
1391.Install the DHCP Server.
1392.Install Microsoft Internet Information Services (IIS) version 6.0.
1393.Enable the Web-based Distributed Authoring and Versioning (WebDAV) Internet
Services Application Programming Interface (ISAPI) extensions in IIS 6.0.
1394.Install the additional software.
1395.Create the user and service accounts required to perform the steps in this guide.
1396.Install Microsoft SQL Server® 2005 with SP2 to be used by Systems Management
Server.
1397.Install Systems Management Server.
1398.Install the SMS 2003 Operating System Deployment (OSD) Feature Pack.
1399.Install Systems Management Server SP3.
1400.Configure the network access account that Systems Management Server Advanced
Clients use to access Systems Management Server distribution points.
1401.Configure the drive to be used for storing Systems Management Server package
source files.
1402.Configure the default management point in Systems Management Server.
1403.Configure the Systems Management Server distribution point to be Background
Intelligent Transfer Service (BITS) enabled.
Note If the site has multiple site servers, add all the site servers to the Site System and Site
Server Connection local security groups on all the site servers. In this sample, there is only one
site server (WDG-MDT-01), so this step is not necessary.
1413.Install SQL Server 2005 with SP2 by accepting all defaults for installing the Service
Pack Installation Wizard.
Tip This service pack was downloaded earlier in the process and saved in the
E:\Source$\SQL2005SP2 folder.
1426.Complete the Windows User Account dialog box by using the information in
Table 12, and then click OK
Table 12. Information Required to Complete the Windows User Account
Dialog Box
For this Do this
User name Type CORP\SMSNetAccess.
Password Type P@ssw0rd.
Confirm password Type P@ssw0rd.
1466.In the details pane, in the Installed section, notice that Windows Automated
Installation Kit (x86) 1.1 (for 32-bit operating systems) or Windows Automated
Installation Kit (x64) 1.1 (for 64-bit operating systems) is installed.
1467.Close all open windows.
The Create Distribution Share Wizard finishes, and the distribution share is created.
To add the Windows Vista operating system files to the distribution share
1488.Click Start, and then point to All Programs. Point to Microsoft Deployment
Toolkit, and then click Deployment Workbench.
1489.In the Deployment Workbench console tree, go to Deployment
Workbench/Distribution Share/Operating Systems.
1490.In the details pane, click New.
The New OS Wizard starts.
1491.Complete the New OS Wizard by using the information in Table 15.
Table 15. Information for Completing the New OS Wizard
On this wizard page Do this
OS Type Click Full set of source files, and then click
Next.
Source In Source directory, type E:\Source$\Vista,
and then click Next.
Destination Click Finish.
The New OS Wizard finishes. The Windows Vista operating system is added to the
list of operating systems in the details pane and is copied to the
distribution\Operating Systems\subfolder folder (where distribution is the distribution
folder created earlier in the process).
To add the device drivers for the reference and target computers to the distribution
share
1492.Click Start, and then point to All Programs. Point to Microsoft Deployment
Toolkit, and then click Deployment Workbench.
1493.In the Deployment Workbench console tree, go to Deployment
Workbench/Distribution Share/Out-of-Box Drivers.
1494.In the details pane, click New.
The New Driver Wizard starts.
1495.Complete the New Driver Wizard by using the information in Table 16.
Table 16. Information for Completing the New Driver Wizard
On this wizard page Do this
Specify Directory In Driver source directory, type
E:\Source$\Drivers.
Click Add Group.
In the New Driver Group dialog box, type
device_driver_name, and then click OK
(where device_driver_name is a descriptive
name for the device drivers).
Select the device_driver_name check box
(where device_driver_name is a descriptive
name for the device driver group created).
Click Finish.
The New Driver Wizard finishes. The device drivers are added to the list of operating
systems in the information pane and are copied to the distribution\Out-of-box Drivers
folder (where distribution is the distribution folder created earlier in the process).
The New OS Wizard finishes. The Windows PE 2005 operating system is added to
the list of operating systems in the information pane and is copied to the
distribution\Operating Systems\subfolder folder (where distribution is the distribution
folder created earlier in the process).
The New OS Wizard finishes. The Windows Server 2003 with SP1 operating system
is added to the list of operating systems in the information pane and is copied to the
distribution\Operating Systems\subfolder folder (where distribution is the distribution
folder created earlier in the process).
The New Application Wizard finishes, and the Systems Management Server
Advanced Client is added to the list of applications.
Select the Standard Client Task Sequence template to deploy Windows Vista to the
reference computer (WDG-REF-01). The Import 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 imported task sequence
references the appropriate packages and images.
Note Always use the Import Microsoft Deployment Task Sequence Wizard to import the task
sequence templates. Although the task sequence templates can be manually imported, this
process is not recommended.
The New Task Sequence Wizard finishes, and the VISTA_REFERENCE task
sequence is added to the list of task sequences.
The New Deployment Wizard finishes, and the LAB deployment point is added to the
list of deployment points. The E:\Distribution folder (distribution share) is shared as
Distribution$.
The New Deployment Wizard finishes, and the SMS 2003 OSD deployment point is
added to the list of deployment points. However, the E:\ZTI folder is not created until
the deployment point is updated later in the deployment process.
To configure the Windows PE options for the SMS 2003 OSD deployment point in
Deployment Workbench
1529.Click Start, and then point to All Programs. Point to Microsoft Deployment
Toolkit, and then click Deployment Workbench.
1530.In the Deployment Workbench console tree, go to Deployment
Workbench/Deploy/Deployment Point.
1531.In the details pane, click OSD.
1532.In the details pane, click Properties.
The OSD Properties dialog box appears.
1533.In the OSD Properties dialog box, click the Windows PE 2004/2005 tab.
1534.Complete the Windows PE 2004/2005 tab by completing the following steps:
r. In Windows PE source, select Windows PE 2005.
s. In Windows source, select Windows Server 2003 edition (where edition is the
edition of Windows Server 2003 installed earlier in the deployment process).
t. In Driver group, select device_drivers (where device_drivers is the name of the
device driver group created earlier in the deployment process).
u. Click OK.
The Windows PE configuration options for the SMS 2003 OSD deployment point are
updated.
Note Always use the Import Microsoft Deployment Task Sequence Wizard to import the task
sequence templates. Although the task sequence templates can be manually imported, this
process is not recommended.
Note The source folder location cannot be a network Universal Naming Convention (UNC)
path. It must be a locally accessible folder, because the SMS 2003 OSD Feature Pack will skip
empty folders when accessed over a network path. This causes Windows Management
Instrumentation (WMI) not to function correctly in the resulting Windows PE image.
The wizard starts, and the operating system deployment starts. At the end of the
MDT 2008 deployment process, the Deployment Summary dialog box is displayed.
Typically, no errors or warnings should occur in the MDT 2008 deployment process.
However, if any errors or warnings should occur, consult the MDT 2008 document,
Troubleshooting Reference.
1558.In the Deployment Summary dialog box, click Details.
If any errors or warnings occurred, review the errors or warnings, and record any
diagnostic information.
1559.In the Deployment Summary dialog box, click Finish.
Windows Vista is now installed on the reference computer.
The reference computer shuts down after the SMS 2003 Image Capture Wizard
finishes.
Note When restarting the reference computer, do so from the SMS 2003 OSD Operating
System Image Capture CD.
1563.Start reference computer with the OSD Operating System Image Capture CD
bootable media.
The customized version of Windows PE on the SMS 2003 OSD Operating System
Image Capture CD bootable media starts, and the SMS 2003 Image Capture Wizard
starts automatically. In a virtualized environment, this process can take more than an
hour to finish. When the SMS 2003 Image Capture Wizard finishes, the SMS 2003
Image Capture dialog box appears.
1564.In the SMS 2003 Image Capture dialog box, click OK.
The reference computer restarts in Windows Vista.
1565.Shutdown the reference computer.
A captured image of the reference computer should exist in \\WDG-MDT-
01\Capture$\WDG-REF-01.wim.
The New OS Wizard finishes. The captured image of the reference computer (WDG-
REF-01) operating system is added to the list of operating systems in the information
pane and is copied to the distribution\Operating Systems\subfolder folder (where
distribution is the distribution folder created earlier in the process).
1580.Close all open windows and dialog boxes.
The New Task Sequence Wizard finishes, and the VISTA_TARGET task sequence is
added to the list of task sequences.
1585.Close all open windows and dialog boxes.
[Default]
OSInstall=Y
[SMS]
SQLServer=WDG-MDT-01
Database=SMS_NYC
Table=v_Program
Parameters=PackageID,ProgramName
SQLShare=SMSClient
[Default]
OSDINSTALLSILENT=1
OSDINSTALLPACKAGE=NYC00001
OSDINSTALLPROGRAM=Windows Vista Target Program
Note NYC00001 is the Package ID of the Windows Vista Target Image operating system
image package created earlier in the process by using the test environment configured for
this sample. If these steps are performed in the existing test environment, ensure that the
OSDINSTALLPACKAGE value is set to the Package ID in the environment.
This process can take a few minutes to finish, and then the New Operating System
Package Wizard dialog box appears.
1621.In the New Operating System Package Wizard dialog box, click OK.
The New Operating System Package Wizard finishes, and the Windows Vista Target
Image operating system package is added to the list of image packages.
1622.Close all open windows and dialog boxes.
This process can take a few minutes to finish. The New Operating System Program
Wizard dialog box appears.
1627.In the New Operating System Program Wizard dialog box, click OK.
The New Operating System Program Wizard finishes, and the Windows Vista Target
Program operating system program is added to the list of programs.
1628.Close all open windows and dialog boxes.
1637.Repeat steps 5–8, substituting the values for Phase and Name as listed in
Table 32.
Table 32. Information for Configuring the Operating System Program Advanced
Properties
Phase Name
State Capture Microsoft Deployment – State Capture
Preinstall Microsoft Deployment – Preinstall
Postinstall Microsoft Deployment – Postinstall
State Restore Microsoft Deployment – State Restore
1638.In the Windows Vista Target Program Properties dialog box, click OK.
This process can take a few minutes to finish while the wizard copies the file listed in
each phase. Eventually, the Windows Vista Target Program Properties dialog box
appears.
1639.In the Windows Vista Target Program Properties dialog box, click OK.
1640.Close all open windows and dialog boxes.
Table 33. Information for Completing the Manage Distribution Points Wizard
On this wizard page Do this
Welcome to the Click Next.
Manage Distribution
Points Wizard
Manage Distribution Click Next.
Points
Copy Package In Distribution points, select WDG-MDT-01, and then click
Next.
Completing the Click Finish.
Manage Distribution
Points Wizard
Wizard Completed Click Close.
Table 34. Information for Completing the Operating System Image Installation
CD Wizard
On this wizard page Do this
Welcome to the Click Next.
Operating System
Image Installation
Wizard
Installation settings Select the Automatically choose the Operating System
Package to install by running a custom program or
script check box, and then click Next.
Install from SMS In Operating System packages, select Windows Vista
distribution points Target Image, and then click Next.
Automatically select In File name, type \\WDG-MDT-
Operating System 01\ZTI$\ZeroTouchInstallation.vbs.
Package
In User name, type CORP\Administrator.
In Password and Confirm password, type P@ssw0rd.
Click Next.
Windows PE Click Next.
settings
Create CD image In Name, type MDT_2008_Install_CD.
In File name, type \\WDG-MDT-
01\Images$\OSD_Image_Install.iso.
Click Next.
CD Creation Click Finish.
Complete
To start the target computer with the operating system image capture CD bootable
media
1656.Start WDG-CLI-01 with the operating system image bootable media created earlier
in the process.
Windows PE starts, and then the MDT 2008 deployment process starts. If problems
occur during the deployment, consult the MDT 2008 document, Troubleshooting
Reference. When successfully finished, the target computer is running Windows
Vista and configured like the reference computer.
1657.Close all open windows and dialog boxes.
Release Notes
Microsoft® Deployment Toolkit 2008 Update 1
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 user’s
particular environment. RELIANCE UPON THIS DOCUMENT AND ANY DOCUMENT REFERENCED HEREIN IS AT
THE USER’S OWN RISK.
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/by-nc/2.5 or
send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
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, Active Directory, BitLocker, Internet Explorer, SQL Server, Windows, 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.
Contents
Using This Guide
Application Installation Overview
How MDT 2008 Installs Applications
Application Deployment with MDT 2008
Lite Touch Deployment
The System Center Configuration Manager Task Sequencer
The Applications List
Custom Tasks
The MDT 2008 Database
Zero Touch Deployment
Systems Management Server/System Center Configuration Manager
Packages and Programs
Reference Applications by Program ID
Deploy Applications Based on Existing Application Inventories
Systems Management Server Add or Remove Programs Database
System Center Configuration Manager Add or Remove Programs Database
Maintain the Approved Applications List
Preparing Applications for Silent Deployment
Windows Installer Options
Setup.exe Command Options
Legacy Installers
2007 Office System/Microsoft Office 2003 Deployment
Thick Image Installations
Repackaging Applications
Deployment Infrastructure Security
Protect Deployment Staging Areas
Protect Production Deployment Servers
Analyzing Deployment Targets
Perform a Situation Analysis
Gather Inventories
Identify the Storage Requirements for Deployment Images
Reduce Storage Requirements for Deployment Images
Provide Sufficient Storage for User State Migration Data
Provide Sufficient Storage for Computer Backup
Provide Sufficient Storage for Application and Operating System Source
Files
Verify an Adequate Target Computer Configuration
Verify Correct Target Computer Software Versions
Verify Adequate Target Computer Resources
Identify Differences in 64-bit and 32-bit Deployment
Provide Adequate Network Capacity
Determine the Required Infrastructure
Introduction
Reviewing the Deployment Processing Rules
Identify the Deployment Components
Task Sequences
Scripts
Configuration Files
Configuration Database
Environment Variables
Log Files
Customizing Task Sequences
Deployment Workbench
Task Sequences
OS Packages
Select the Packages Group for a Task Sequence
Languages
Patches
Drivers
Applications
Custom Images
WMI Queries
Customizing Actions
Deployment Workbench Customizations
Disk Customization
Network Customization
System Center Configuration Manager Customizations
Disk Customization
Network Customization
Microsoft Deployment Toolkit Management Pack
Document Version
Get the Latest Management Pack and Management Pack
Documentation
What’s New
Microsoft Deployment Toolkit Management Pack: Getting Started
Before Importing the Management Pack
Files to Download
Other Requirements
Optional Management Packs
Support for Agentless Monitoring
Create the Service Account
Prepare the Event Collection Servers
Create the Events Shared Folder
Configure the Events Shared Folder Permissions
Configure the CustomSettings.ini File
Configure the OSDNewMachine Property
Grant the Service Read Access to the System Center Configuration
Manager and Systems Management Server Databases
Grant the Service Access to the System Center Operations Manager
SDK Service
Import the Microsoft Deployment Toolkit Management Pack
Install the Microsoft Deployment Management Pack Service
Uninstall the Microsoft Deployment Management Pack Service
Microsoft Deployment Toolkit Management Pack: Optional
Configuration
Configure the Management Server That the Service Uses
Manage the List of Event Collection Server Folders
Modify the Duration for Detecting Hung Computers
Modify the Duration for Removing Monitored Computers After
Deployment Is Complete
Modify the Duration for Collecting New Monitoring Information
Change the Management Pack Service Log File Location and Name
Change the Identity That the Microsoft Deployment Management Pack
Service Uses
Manage the List of System Center Configuration Manager or Systems
Management Server Databases
Configure Retention of the .tmp Files After Processing
Configure Filtering of Events Recorded in the Operations Manager
Database
Understanding the Microsoft Deployment Toolkit 2003 Management
Pack
Objects That the Microsoft Deployment Toolkit Management Pack
Discovers
How Health Rolls Up
Viewing Information in the System Center Operations Manager
Operations Console
Reports
Technical Reference
MDTComputer Class Attributes
Rules
Events
MDT 2008–Related Events
System Center Configuration Manager–Related Events
Systems Management Server–Related Events
Introduction
Automating Deployment to a Specific Computer
Configure a Database for Deployment Workbench
Select the Method for Identifying Computers
Create the Computer Settings
Create Other Items
Configure CustomSettings.ini
Automating Deployment by Location
Identify the Locations
Create the Location and Location Settings
Configure CustomSettings.ini
Automating Deployment by Computer Make and Model
Identify Make and Model Combinations
Create Make and Model Combinations and Settings
Configure CustomSettings.ini
Automating Deployment by Role
Identify the Roles
Step 6-1: Add the Target Computer to the Configuration Manager Site
Database
Step 6-2: Create a Collection for the Target Computer
Step 6-3: Create an Advertisement for the Task Sequence
Step 6-4: Start the Target Computer with the Task Sequence Bootable
Media
Introduction
Prerequisites
Required Software
Computer Configuration
Step 1: Prepare the Prerequisite Infrastructure
Step 1-1: Obtain the Required Software
Step 2: Prepare the MDT 2008 Environment
Step 2-1: Install MDT 2008
Step 2-2: Install Windows AIK
Step 3: Configure MDT 2008 to Create the Reference Computer
Step 3-1: Create the Distribution Share
Step 3-2: Add Operating System Files to the Distribution Share
Step 3-3: Add the Device Drivers
Step 3-4: Create a Task Sequence for the Reference Computer
Step 3-5: Create a LAB Deployment Point
Step 3-6: Configure the Windows PE Options for the LAB Deployment
Point
Step 3-7: Update the LAB Deployment Point
Step 4: Deploy Windows Vista and Capture an Image of the Reference
Computer
Step 4-1: Create the LTI Bootable Media
Step 4-2: Start the Reference Computer with the LTI Bootable Media
Step 5: Configure MDT 2008 to Deploy Windows Vista to the Target
Computer
Step 5-1: Add the Captured Image of Reference Computer to
Deployment Workbench
Step 5-2: Create a Task Sequence for the Target Computer
Step 6: Deploy the Captured Image of the Reference Computer to the
Target Computer
Step 6-1: Start the Target Computer with the LTI Bootable Media
Introduction
Prerequisites
Required Software
Computer Configuration
Step 1: Prepare the Prerequisite Infrastructure
Configure DNS
Enable BitLocker
Format and Partition Disk
Gather
Install Application
Install Operating System
Install Roles and Features
Install Language Packs Offline
Install Language Packs Online
Install Updates Offline
Restart Computer
Run Command Line
Run Command Line As
Set Task Sequence Variable
Validate
Out-of-Box Task Sequence Steps
Add Mass Storage Drivers to Sysprep.inf for XP and 2003
Apply Network Settings
Apply Patches
Apply Windows PE
Backup
Capture Groups
Capture User State
Check BIOS
Configure
Copy Media CD to Local Hard Disk for OEM Pre-installation
Copy Scripts
Copy Sysprep Files
Create BitLocker Partition
Enable BitLocker
Enable OEM Disk Configuration
End Phase
Execute Sysprep
Format and Partition Disk
Gather Local Only
Generate Application Migration File
Inject Drivers
Inject Storage Drivers for XP and 2003
Install Applications
Install Operating System
Install Packages
Next Phase
Post Apply Cleanup
Prepare Computer for OEM Capture
Restart Computer
Restore Computer from OEM Capture
Restore Groups
Restore User State
Set Diskpart BIOS Compatibility Mode
Tatoo
Validate
Windows Update (Pre-Application Installation)
Wipe Disk
Properties
Property Definition
_SMSTSOrgName
Administrators
AdminPassword
Applications
Architecture
AreaCode
AssetTag
BackupDir
BackupDrive
BackupShare
BDEDriveLetter
BDEDriveSize
BDEInstall
BDEInstallSuppress
BDEKeyLocation
BDEPin
BDERecoveryKey
BDEWaitForEncryption
BitsPerPel
BuildID
CapableArchitecture
CaptureGroups
ComputerBackupLocation
ComputerName
CountryCode
Database
DBID
DBPwd
DefaultGateway
DeployDrive
DeploymentMethod
DeploymentType
DeployRoot
Dialing
DoCapture
DomainAdmin
DomainAdminDomain
DomainAdminPassword
DomainOUs
DriverGroup
DriverPaths
EventShare
FullName
Groups
HALName
Home_Page
HostName
InputLocale
Instance
IPAddress
IsDesktop
IsLaptop
IsServer
IsServerCoreOS
IsServerOS
JoinDomain
JoinWorkgroup
KeyboardLocale
LanguagePacks
LoadStateArgs
Location
LongDistanceAccess
MACAddress
MachineObjectOU
Make
MandatoryApplications
Memory
Model
NetLib
Order
OrgName
OSDBitLockerCreateRecoveryPassword
OSDBitLockerMode
OSDBitLockerRecoveryPassword
OSDBitLockerStartupKey
OSDBitLockerStartupKeyDrive
OSDBitLockerTargetDrive
OSDBitLockerWaitForEncryption
OSDComputerName
OSCurrentBuild
OSCurrentVersion
OSDInstallPackage
OSDInstallProgram
OSDInstallSilent
OSDMP
OSDNewMachineName
OSDSiteCode
OSFeatures
OSInstall
OSRoles
OSRoleService
OSVersion
OverrideProductKey
PackageGroup
Packages
Parameters
ParameterCondition
Phase
Port
PowerUsers
Priority
ProcessorSpeed
Product
ProductKey
Properties
ResourceDrive
ResourceRoot
Role
ScanStateArgs
SerialNumber
SkipAdminPassword
SkipApplications
SkipAppsOnUpgrade
SkipBDDWelcome
SkipBitLocker
SkipBuild
SkipCapture
SkipComputerBackup
SkipComputerName
SkipDeploymentType
SkipDomainMembership
SkipFinalSummary
SkipLocaleSelection
SkipPackageDisplay
SkipProductKey
SkipSummary
SkipTaskSequence
SkipTimeZone
SkipUserData
SkipWizard
SLShare
SQLServer
SQLShare
StorageDriverGroup
StorageDriverSysprepGroup
StoredProcedure
Table
TaskSequenceID
TimeZone
TimeZoneName
TPMOwnerPassword
UDDir
UDProfiles
UDShare
UILanguage
UserDataLocation
UserDomain
UserID
UserLocale
UserPassword
USMTConfigFile
USMTMigFiles
UUID
VRefresh
WDSServer
WipeDisk
WUMU_ExcludeKB
WUMU_ExcludeID
WSUSServer
XResolution
YResolution
Providing Properties for Skipped Windows Deployment Wizard Pages
Scripts
BDD_Autorun.wsf
Arguments
Properties
BDD_Welcome_ENU.xml
Arguments
Properties
Credentials_ENU.xml
Arguments
Properties
Credentials_scripts.vbs
Arguments
Properties
DeployWiz_Definition_ENU.xml
Arguments
Properties
DeployWiz_Initialization.vbs
Arguments
Properties
DeployWiz_Validation.vbs
Arguments
Properties
LiteTouch.vbs
Arguments
Properties
LiteTouch.wsf
Arguments
Properties
LTIApply.wsf
Arguments
Properties
LTICleanup.wsf
Arguments
Properties
LTICopyScripts.wsf
Arguments
Properties
LTIGetFolder.wsf
Arguments
Properties
LTIOEM.wsf
Arguments
Properties
LTISysprep.wsf
Arguments
Properties
NICSettings_Definition_ENU.xml
Arguments
Properties
Summary_Definition_ENU.xml
Arguments
Properties
Summary_scripts.vbs
Arguments
Properties
Wizard.hta
Arguments
Properties
WizUtility.vbs
Arguments
Properties
ZeroTouchInstallation.vbs
Arguments
Properties
ZeroTouchInstallation.wsf
Arguments
Properties
ZTIApplications.wsf
Arguments
Properties
ZTIAppXmlGen.wsf
Arguments
Properties
ZTIAuthorizeDHCP.wsf
Arguments
Properties
ZTIBackup.wsf
Arguments
Properties
ZTIBCDUtility.vbs
Arguments
Properties
ZTIBde.wsf
Arguments
Properties
ZTIBIOSCheck.wsf
Arguments
Properties
ZTICoalesce.wsf
Arguments
Properties
ZTIConfigure.wsf
Arguments
Properties
ZTIConfigureADDS.wsf
Arguments
Properties
ZTIConfigureDHCP.wsf
Arguments
Properties
ZTIConfigureDNS.wsf
Arguments
Properties
ZTIConnect.wsf
Arguments
Properties
ZTICopyLogs.wsf
Arguments
Properties
ZTIDeterminePartition.wsf
Arguments
Properties
ZTIDiskpart.wsf
Arguments
Properties
ZTIDiskUtility.vbs
Arguments
Properties
ZTIDrivers.wsf
Arguments
Properties
ZTIGather.wsf
Arguments
Properties
ZTIGroups.wsf
Arguments
Properties
ZTILangPacksOnline.wsf
Arguments
Properties
ZTIMoveStateStore.wsf
Arguments
Properties
ZTINextPhase.wsf
Arguments
Properties
ZTINICConfig.wsf
Arguments
Properties
ZTINICUtility.vbs
Arguments
Properties
ZTIOEM.wsf
Arguments
Properties
ZTIOSRole.wsf
Arguments
Properties
ZTIPackages.wsf
Arguments
Properties
ZTIPatches.wsf
Arguments
Properties
ZTIPrereq.vbs
Arguments
Properties
ZTISCCM.wsf
Arguments
Properties
ZTISetVariable.wsf
Arguments
Properties
ZTIStorageDrivers.wsf
Arguments
Properties
ZTIStorageDriversSysprep.wsf
Arguments
Properties
ZTITatoo.wsf
Arguments
Properties
ZTIUserState.wsf
Arguments
Properties
ZTIUtility.vbs
Arguments
Properties
ZTIValidate.wsf
Arguments
Properties
ZTIWindowsUpdate.wsf
Arguments
Properties
ZTIWipeDisk.wsf
Arguments
Properties
Support Files
Applications.xml
BootStrap.ini
CustomSettings.ini
Databases.xml
Deploy.xml
Drivers.xml
DriverGroups.xml
ListOfLanguages.xml
OperatingSystems.xml
Packages.xml
ServerManager.xml
TaskSequences.xml
TS.xml
Variables.dat
Wimscript.ini
ZTIBIOSCheck.xml
ZTIConfigure.xml
ZTIDiskpart.txt
ZTIGather.xml
ZTISupportedPlatforms.xml
ZTITatoo.mof
Utilities
BCDEdit.exe
Arguments
BDDRun.exe
Arguments
BdeHdCfg.exe
Arguments
Bootsect.exe
Arguments
Compact.exe
Arguments
Diskpart.exe
Arguments
Expand.exe
Arguments
ImageX.exe
Arguments
Microsoft.BDD.PnpEnum.exe
Arguments
Mofcomp.exe
Arguments
Netsh.exe
Arguments
Reg.exe
Arguments
Regsvr32.exe
Arguments
Wdsmcast.exe
Arguments
Wpeutil.exe
Arguments
Tables and Views in the Deployment Workbench Database
Tables in the Deployment Workbench Database
Views in the Deployment Workbench Database
Introduction
Preparing the Deployment Environment
Ensure the Required Infrastructure Exists
Install MDT 2008
Create Deployment Points
Select the Appropriate Deployment Point Types
Create Additional Deployment Points
Update Deployment Point Content
Configuring the Appropriate Processing Rules
Preparing the Windows Deployment Services Server
Select the Windows Deployment Services Operational Mode
Add Boot Images to the Windows Deployment Services Server
Pre-stage Target Computers for Windows Deployment Services
Configuring MDT 2008 and Windows Deployment Services for Multicast
Operation
Enabling Multicast Deployments on a Lab or Single-Server Deployment
(Lab) Deployment Point
Enabling Multicast Deployments on a Separate deployment share
(Network) Deployment Point
Configuring the Appropriate Resource Access
Create Additional Shared Folders
Configure Shared Folder Permissions
Configure Access to Other Resources
Updating the Deployment Points
Running the Windows Deployment Wizard
Introduction
Known Issues and Work-Arounds
Deployment Workbench
Adding Custom Vista WIMs
Removing Operating Systems
Windows Deployment Services
Understanding Logs
MDT 2008 Logs
Operating System Logs
Windows Vista
Windows XP
System Center Configuration Manager Operating System Deployment
Logs
SMS 2003 OSD Feature Pack Logs
User State Migration Tool Logs
Identifying Error Codes
Converting Error Codes
Review of Sample Logs
Failure to Access the Database
Troubleshooting
Application Installation
Blocked Executables
Lost Network Connections
The 2007 Microsoft Office System
BIOS
Database Problems
Named Pipe Connections
Deployment Scripts
Credentials_script
ZTIWindowsUpdate
Deployment Wizard
Wizard Pages Are Not Skipped
Disks and Partitioning
BitLocker Drive Encryption
Disk Partitioning Errors
Driver Installation
Troubleshooting Device Installation with SetupAPI.log
Logon Security Banners
New Computer Deployments
Failure to Copy .Log Files to Shared Folders
PXE Boot
Printers
Restarting the Deployment Process
Sysprep
Joining a Domain
The Computer Account Is In the Wrong OU
Execution Limit
System Center Configuration Manager
[DelReg]
Create a Complete Migration in XML
Appendix B: Preparing the MDT 2008 Distribution Share
Prepare the USMT Component in the Distribution Folder
Locate the Store Files
Place the XML Control Files
Introduction
Installing Deployment Workbench
Create the Distribution Share
Starting Deployment Workbench
Upgrading BDD 2007 to MDT 2008
Creating the Distribution Share
Populate the Distribution Share
Operating Systems
Add an Operating System
Remove an Operating System
Rename an Operating System
Add Images from Windows Deployment Services
Add Custom Image Files
Hide and Unhide Feature
Applications
Add an Application
Remove an Application
Edit an Application’s General Information
Edit an Application’s Details
Edit an Application’s Dependencies
Enable or Disable an Application
Restart the Computer After Installing an Application
Packages
Add a Package
Remove a Package
View a Package’s General Information
Enable or Disable a Package
Add a Package Group
Change a Package Group Assignment
Out-of-Box Drivers
Add a Device Driver
Remove a Device Driver
New Features
The following list highlights the new features that have been included in this release of
MDT 2008:
• Lite Touch OEM-Preload. In this case, MDT 2008 takes the contents of a media
deployment point (USB, DVD, and so on) and loads it onto the hard drive, configuring
it to automatically start up into Windows Preinstallation Environment (Windows
PE). The original equipment manufacturer (OEM) can duplicate this hard drive (or a
sector-based image of it), and the drive or image will run through an LTI deployment
when it starts up but without generating network traffic for the bits because they are
all already present on the hard drive. A new script, LTIOEM.wsf, and a new task
sequence template are provided that set up the hard disk for duplication.
General
• MDT 2008 Update 1 supports only a single partition in Refresh and Upgrade
scenarios. New Computer and Replace Computer scenarios format Disk 0 by default.
Using MDT 2008 Update 1 on computers with OEM partitions or multiple fixed or
external hard disks may require additional configuration and scripting, in addition to
thorough testing.
• Using brackets ([ ] or <>) in data—for example, in passwords—that MDT 2008
Update 1 stores in .xml files causes the deployment to fail. Do not use special
characters that are contained in .xml files when configuring settings.
• Language packs, applications, and device drivers that are disabled in Deployment
Workbench are not installed, unless they are added manually to the
CustomSettings.ini file.
Installation
• After uninstalling MDT 2008 Update 1 using the Control Panel, the Distribution share
directory (if created) must be removed manually. MDT 2008 Update 1 does not
remove files or folders that it did not initially install.
• Completely remove all beta versions of MDT 2008, Windows User State Migration
Tool (USMT), the Windows Automated Installation Kit (Windows AIK), and the
directory created by earlier installations of MDT 2008 (including the beta version)
before installing MDT 2008 Update 1. Matched versions of the tools are required, and
some configuration file schemas have been changed. This release supports Windows
AIK versions 1.0 and 1.1. Windows AIK 1.1 was released with Windows Vista and is
required to deploy Windows Vista with SP1 and Windows Server 2008.
• When using MDT 2008 Update 1 extensions (add-in wizards) with System Center
Configuration Manager, MDT 2008 Update 1 must be installed on every System
Center Configuration Manager server used to administer operating system
deployments.
• Earlier versions of MDT 2008 must be closed when updating to MDT 2008 Update 1.
• If uninstalling MDT 2008, manually remove the Management Pack service before
uninstalling MDT 2008. If MDT 2008 is installed and being updated to MDT 2008
Update 1, the display name of the Management Pack service will not match the
display name in the documentation. To fix this, use the Configure Management Pack
Wizard to remove and then reinstall the Management Pack service.
Deployment Workbench
• To use Deployment Workbench for tasks other than reviewing the documentation, log
on to the computer using an account that is a member of the local Administrator
group.
• Open only a single instance of Deployment Workbench at a time. Opening two or
more instances of Deployment Workbench can result in unpredictable behavior.
• If Deployment Workbench displays an error and closes after the error is dismissed,
restart Deployment Workbench and continue working.
• Deployment Workbench gives the option, when it attempts to add duplicate drivers, to
ignore the duplicates or to create two folders, both which contain the same device
driver. The second folder will have a numeric suffix that indicates it is a duplicate,
helping to avoid adding duplicate device drivers to a distribution share. The suffix-
naming feature supports storing two versions of the same device driver that have the
same name if they are required for device compatibility reasons. During import,
Deployment Workbench also helps by placing them in separate driver groups.
• When adding applications to the distribution share using Deployment Workbench,
ensure that every application has a unique, full name. Typically, the application name
should include a version number and a platform (such as 32-bit or 64-bit). Otherwise,
users will see multiple applications with the same name, each of which installs a
different application during an LTI deployment.
• Occasionally, Deployment Workbench appears to incorrectly display items in the
details pane of the console. For example, clicking the Task Sequences node may
not display task sequences, even though several exist. To display the items, click
Refresh in the action pane, or right-click in the details pane, and then click Refresh.
• Occasionally, Deployment Workbench displays an error on the Application page of
the LTI wizard. To avoid this, pause between making selections.
• Windows Server 2008 language packs are designated as SP1 Language Packs. The
language packs will work correctly with Windows Server 2008, however.
• When adding an operating system to Deployment Workbench, the wizard may accept
an invalid name for the Windows Deployment Services server. After completing the
wizard, Deployment Workbench then may display an error message when the
Windows Deployment Services server cannot be contacted. To avoid this, specify the
correct name of the Windows Deployment Services server initially.
• If an update, language pack, or driver from MDT 2008 Update 1 that is part of a
package group is removed, MDT 2008 Update 1 does not remove the corresponding
entries from the Packagegroups.xml file. The entries are removed from the
Packages.xml file, however, which removes them from the MDT 2008 Update 1 user
interface. Therefore, when removing updates, language packs, or drivers, the
Packagegroups.xml file must be manually edited to remove the entries after removing
them using MDT 2008 Update 1.
• When creating a distribution share for an LTI Upgrade scenario, the wizard displays
backup pages. These are not used in this scenario and can be disregarded.
• When performing a Refresh deployment from a 64-bit Windows Server 2008 platform
to a 64-bit Windows Server 2008 platform, the wizard displays user state migration
pages even though user state migration is not supported for server deployments. The
pages can be disregarded.
• When IP addresses (for example, when identifying Domain Name System [DNS] and
Windows Internet Naming Service [WINS] servers) are specified, they must exclude
unnecessary zero prefixes, which will be misevaluated. For example, the IP address
is typed 10.010.10.1, Deployment Workbench will evaluate it as 10.8.10.1. To avoid
this problem, enter IP addresses carefully and do not add unnecessary zeroes.
Deployment Points
• The Priority property in CustomSettings.ini has no maximum line length. However, if
it is longer than 55 characters when the Configure Database Wizard runs, the wizard
will truncate the Priority property, and the property will need to be manually edited.
To work around this, run the Configure Database Wizard before performing any other
customization, or clear the check boxes for queries in the wizard that are not needed.
• When creating deployment points on computers that have 8.3 file names disabled
(see the Microsoft Knowledge Base article, “How to Disable the 8.3 Name Creation
on NTFS Partitions,” at http://support.microsoft.com/kb/121007/), Deployment
Workbench fails to generate the Windows PE image, and an exception is logged in
DeployUpdates_platform.log, where platform is either x86 (for 32-bit) or x64 (for 64-
bit). If 8.3 file names have been disabled, re-enable them by setting the
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\Ntfs
Disable8dot3NameCreation registry value to 0.
• MDT 2008 Update 1 supports deployment from a USB flash drive (UFD). See
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.
• The MDT 2008 Update 1 documentation frequently refers to media deployments.
Starting up from a CD is not considered a media deployment because the CD is used
only to start the computer, and the rest of the deployment is performed across the
network. By definition, media deployments store all content locally and do not require
a network connection.
• When running MDT 2008 Update 1 on 64-bit versions of Windows Server 2008 or 64-
bit Windows Vista with SP1 and attempting to update an SMS 2003 Operating
System Deployment (OSD) Feature Pack deployment point, an error message
appears while MDT is generating the .iso file. The message reads, “An unexpected
error occurred while updating the deployment point.” To work around this issue,
generate a generic .iso file using another deployment point server running Windows
Server 2003, a 32-bit version of Windows Server 2008, or a 32-bit version of
Windows Vista with SP1. This does not occur on 32-bit versions of Windows
Server 2008 or Windows Vista with SP1, or on any version of Windows Server 2003.
• Windows AIK 1.1 servicing stack files are copied to the Servicing directory of the
distribution share. This is done by updating a deployment point for the platform (x86
and x64).
• Windows AIK 1.0 servicing stack files are removed from the Tools directory and from
any ZTI directories specific to builds or task sequences created on an SMS 2003
OSD deployment point. This requires updating the Systems Management Server
Image Program to remove those old servicing stack files manually.
Image Capture
• Turn off antivirus programs on the lab computer before capturing an image of the lab
computer’s disk. Antivirus programs can interfere with the configuration of the image
and the installation of applications during deployment. After deployment, reactivate
the antivirus program. Before beginning deployment, test the interaction of antivirus
programs with MDT 2008 Update 1.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
Microsoft System Center Configuration Manager 2007 Imaging Guide: Planning 97
• When the System Preparation Tool (Sysprep) uses the Windows Deployment Wizard
to capture an image and the reference computer is joined to a domain that requires
complex passwords, Sysprep does not remove that policy. The reference computer
must be removed from the domain, and the local password complexity policy must be
reset or the computer must use a complex password.
• If custom images captured by directly running ImageX.exe (without using MDT 2008
Update 1 to capture the image) do not work properly, troubleshoot the issues by
capturing and adding the image using MDT 2008 Update 1 to ensure that all
prerequisites are configured properly. Be sure setup files are added to Deployment
Workbench by adding a complete operating system distribution or by pointing the
wizard to the location of source files.
• When manually capturing images, use the Wimscript.ini file supplied by MDT 2008
Update 1 in the \Distribution\tools\_platform 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.exe or Windows
Deployment Services capture processes.
Deployment Process
• If the product key specified for a build is invalid, Windows Vista Setup prompts for a
valid key during deployment. However, even after a valid key is provided, the
deployment fails. Ensure that the product key specified for each build is valid before
beginning deployment.
• At the completion of MDT 2008 Update 1 deployment, a summary page displays
warnings about errors encountered during the process. (This page won't be displayed
when conducting a Server Core installation option of the Windows
Server 2008 operating system because a Server Core installation does not include
the Windows Internet Explorer® components required for this display.) 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 warnings and determine whether they
are unexpected. This might involve opening corresponding log files and running
verification tests.
• 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.
• MDT 2008 Update 1 cannot completely remove the C:\Minint folder from the target
computer after deployment because it cannot remove the Task Sequencer dynamic-
link libraries (DLLs) while they are in use. MDT 2008 Update 1 does, however, move
the log files to %SystemRoot%.
• 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. To work around this, create the \%SystemRoot%\Prefetch directory in the
operating system image.
• Windows AIK 1.0 does not allow creating a media deployment International
Organization for Standards (ISO) image of 4 gigabytes (GB) or larger. This limitation
has been removed in Windows AIK 1.1.
• The media ISO image must be smaller than 2.2 GB for media deployment to a
Microsoft Virtual PC or Microsoft Virtual Server virtual machine. If the ISO image is
larger than 2.2 GB, the deployment may result in an error.
• Do not use system variables to configure the Active Directory® folder paths in the
Configure ADDS task sequence. Instead, create the folder paths without system
variables. For example, instead of %SystemRoot%, use C:\Windows.
Account Access
• In Windows Vista and Windows Server 2008, if a user with a limited account maps a
drive (such as Z:) to the MDT 2008 Update 1 distribution share (\\server\distribution$,
where server is the name of the computer hosting the distribution share), runs
LiteTouch.vbs, and then provides Administrator credentials in the User Credentials
dialog box, MDT 2008 Update 1 displays the error, “Cannot find script file
’Z:\Scripts\LiteTouch.wsf‘ because the account that the user provided in the User
Credentials dialog box cannot access the mapped drive created by the limited user
account.” To resolve this issue, use an account with Administrator credentials to map
the drive to the distribution share.
• Active Directory user credentials set using the ADDSUserPassword attribute in
CustomSetting.ini are used during the answer file generation of the Configure ADDS
configuration task. To resolve this, change the ADDSUserPassword attribute to
ADDSPassword in the ZTIGather.xml file, and then set the ADDSPassword property
in CustomSettings.ini.
Device Drivers
• 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.
• If a TxtSetup.oem file is in the \Out-of-Box Drivers\ store directory, it must reference
all storage drivers in the same directory. If a driver is matched to a device in the
ZTIStorageDrivers.wsf tool, and the drivers files are not properly referenced in the
TxtSetup.oem file, it can cause the setup phase of Windows XP or Windows
Server 2003 to fail and block installation. If the storage drivers are not critical during
installation, then the Inject Storage Drivers for XP and 2003 task can be disabled
during the Preinstall phase.
1. At the command prompt, type diskpart shrink querymax, and note the value
that is displayed.
2. If the value is less than 2,000 megabytes (MB), then defragment the disk.
3. If defragmenting the disk does not resolve the issue, back up the computer’s
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. All sample templates that enable Windows
BitLocker Drive Encryption and that encounter an error will stop by default. The task
sequence can be edited to enable deployment to continue if an error occurs.
• MDT 2008 Update 1 can configure Windows BitLocker Drive Encryption during LTI
deployments and System Center Configuration Manager task sequences. Enabling
Windows BitLocker Drive Encryption during a Systems Management Server 2003 ZTI
deployment is not supported because Systems Management Server 2003 does not
support restarts during the State Restore Phase, in which reassignment of the active
partition would occur. The Windows BitLocker Drive Encryption Disk Preparation Tool
must be downloaded and added to the \Distribution\Tools\_platform folder, where
_platform is either x86 (for 32-bit) or x64 (for 64-bit), preserving the language
subfolder. See Microsoft Knowledge Base article, “Description of the BitLocker Drive
Preparation Tool,” at http://support.microsoft.com/kb/930063 for instructions on
acquiring the tool. System Center Configuration Manager provides native support for
Windows BitLocker Drive Encryption.
• Windows BitLocker Drive Encryption deployments using MDT 2008 Update 1
integration scripts with System Center Configuration Manager are only fully tested for
new computer deployment scenarios; however, Windows BitLocker Drive Encryption
support is provided natively by System Center Configuration Manager using the
Enable BitLocker action.
• When performing computer upgrades using a DVD deployment point and generating
an external Windows BitLocker Drive Encryption key, MDT 2008 Update 1 generates
key files with the name -.txt instead of %ComputerName%.txt.
• In New Computer scenarios on computers running Windows Vista that have
Windows BitLocker Drive Encryption disabled (a state in which the volume is still
encrypted, but the key is stored in clear text to allow automatic startup), running
Diskpart to clean the disk causes the computer to stop responding. To work around
this issue, enable Windows BitLocker Drive Encryption again, or turn off Windows
BitLocker Drive Encryption to decrypt the volume and ensure that decryption
completes. If the computer stops responding, restart deployment.
• Active Directory can be used to back up Windows BitLocker Drive Encryption and
Trusted Platform Module (TPM) data. Recovery information includes the recovery
password for each encrypted value, the TPM owner password, and the information
necessary to associate recovery information with computers and volumes. Another
option is to save a package containing the keys used to encrypt data, in addition to
the recovery password required to access those keys. For more information, go to
Configuring Active Directory to Back up Windows BitLocker Drive Encryption
and Trusted Platform Module Recovery Information at
http://www.microsoft.com/downloads/details.aspx?FamilyID=3a207915-dfc3-4579-
90cd-86ac666f61d4.
• When enabling Windows BitLocker Drive Encryption, key files are generated as
hidden, read-only system files. To see them, set the Windows Explorer option to
show hidden and system files.
• If a Windows BitLocker Drive Encryption recovery prompt appears after restarting the
target computer (because the Windows BitLocker Drive Encryption key required to
unlock the volume could not be obtained), work around the problem by using one of
the following approaches:
• Remove the media (such as the deployment DVD) while Windows PE is still
running. This prevents the operating system from seeing the DVD when it starts.
• Change the boot order of the computer so that the DVD drive follows the hard
disk in boot order.
• Deploy the computer with no startup media; for example, use a PXE deployment.
Internet Explorer
• Internet Explorer home page can be configured in a task sequence, using
CustomSettings.ini, or in the MDT 2008 Update 1 database. Configuring the Internet
Explorer home page works only in Windows Vista or Windows XP unattended
installations. Sysprep does not support configuring the Internet Explorer home page
for Windows XP images. Instead, for Windows XP, add a custom action to the task
sequence that configures the home page.
Language Support
• 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 Refresh and Upgrade scenarios, 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 2008 Update 1 does not automatically include in the Windows PE startup
image. MDT 2008 Update 1 does not verify that the keyboard layout is valid. For
more information, see How to add Input Method Editor (IME) support to Windows
PE 2.0 at http://support.microsoft.com/kb/926181.
• When refreshing a computer running a localized edition of Windows XP with a
Windows Vista image that is using a different language, Windows Vista Setup will
prompt for the keyboard layout, language, and time and currency settings during the
Windows PE phase.
• MDT 2008 Update 1 supports Windows Vista language pack selection during
deployment for all scenarios if the language packs are configured in Deployment
Workbench. Selecting multiple language packs is possible when deploying Windows
Vista Enterprise or Windows Vista Ultimate. When other editions of Windows Vista
are deployed, only one language pack can be selected because of Windows Vista
licensing restrictions. If the deployment fails in Upgrade scenarios and three or more
language packs are selected, try reducing the number of language packs until the
deployment succeeds.
Network Configuration
• 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 2008 Update 1, only the first two WINS server addresses are
used.
• An error stating, “Network settings have been applied except for the following:
SetGateways (Gateway, GatewayMetric),” can be safely ignored. Click OK to
continue. This error appears when attempting to apply static IP settings to a network
adapter that already has received dynamic IP settings from a Dynamic Host
Configuration Protocol (DHCP) server.
• The ZTINicConfig.wsf script supports modifying critical settings for network cards,
including static IP addresses. However, because the ZTINicConfig.wsf script makes
calls to the Windows shell, it will fail on Windows Server 2008 Server Core
installations.
deployment. See the SMS 2003 OSD Feature Pack documentation for more
information.
• Hash value errors may occur in Systems Center Configuration Manager 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
System Center Configuration Manager database. To correct this, open System
Center Configuration Manager console, expand the Boot Image or Package nodes,
expand Distribution Points, right-click the distribution point, and then click Refresh
Distribution Point.
• During an SMS 2003 OSD ZTI deployment, an issue can occur in which MDT 2008
Update 1 is unable to install USMT 3.0.1 on computers silently during deployment.
Repeat the following steps for the x86 and x64 versions of USMT 3.0.1 to repackage
their files into cabinet files from which MDT 2008 Update 1 can extract USMT 3.0.1:
1. Manually install the x86 or x64 version USMT 3.01 on a computer running
Windows XP or Windows Vista.
2. Copy %Program Files%\Microsoft Deployment
Toolkit\Samples\USMT30_platform.ddf, where platform is either x86 (for 32-
bit) or x64 (for 64-bit), from a computer on which MDT 2008 Update 1 is
installed. If USMT 3.0.1 is installed in a location other than the default
(%Program Files%\USMT30), edit USMT30_platform.ddf to indicate its path.
3. Run the command makecab /F USMT30_platform.ddf; then, copy the .cab
file it creates (USMT30_platform.cab) to \Tools\platform folder in the MDT
2008 Update 1 distribution share.
• The Configure ADDS action fails on Windows Server 2008 x64 operating systems
when used with System Center Configuration Manager. To avoid this problem,
perform the following steps:
1. Add the Configure ADDS step to the task sequence. Configure this task to
continue on error.
2. Add a Run Command Line step immediately after this Configure ADDS
step. Configure it to run the command dcpromo.exe
/answer:"%TEMP%\AD_Answer.txt".
Please make sure to configure this step to "Disable 64-bit file system redirection"
(otherwise Dcpromo.exe won't be found, as 64-bit servers only have a 64-bit
version of this executable file), and specify success codes on the Options tab as
1 2 4.
• The Install Roles and Features action fails on Windows Server 2008 x64 operating
systems when used with System Center Configuration Manager. To avoid this
problem, perform the following steps:
1. Add the Install Roles and Features step to the task sequence. Select the
needed roles.
2. Add a Run Command Line step immediately after the Install Roles and
Features step. Configure it to run the command ServerManagerCmd.exe
-inputpath %TEMP%\Roles.xml -LogPath %TEMP%\ServerMgr.log. Select
the Disable 64-bit File System Redirection option and specify success codes
on the Options tab of 0 1003 3010.
Please make sure to configure this step to "Disable 64-bit file system redirection"
(otherwise ServerManagerCmd.exe won't be found, as 64-bit servers only have a
64-bit version of this executable file), and specify success codes on the Options
tab of 0 1003 3010.
• When deploying Windows Server 2003 using System Center Configuration Manager,
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,
System Center Configuration Manager can display popup dialog boxes requesting
missing DLLs needed to complete a server role installation. To work around this, add
a step to the task sequence to copy the source files and set the registry keys that
identifies the source folder (SourcePath and ServicePackSourcePath in
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\setup).
• When deploying using System Center Configuration Manager 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 System Center Configuration Manager 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.
• The Microsoft Deployment Toolkit Management Pack runs only on Microsoft System
Center Operations Manager 2007.
• The BDD 2007 Management Pack does not work with MDT 2008 Update 1.
• The MDT 2008 Update 1 Management Pack does not work with earlier versions of
MDT 2008 or BDD 2007.
• The MDT database name should not contain spaces.
• Alerts are not generated on the Alerts node of the Microsoft Deployment Toolkit
Management Pack. Some events, such as a deployment failure or system stop, may
not generate a proper alert.
• When monitoring LTI deployments using the MDT 2008 Management Pack, the
Name and Logging Computer boxes display the Windows PE phase self-generated
computer name. To control the computer name reported to System Center
Operations Manager, set the OSDNEWMACHINENAME variable using
CustomSettings.ini, and the value specified there will be used throughout the
process.
• In LTI New Computer deployments, applications marked as hidden in Deployment
Workbench are not installed when the Application page is not skipped in the wizard
and the application globally unique identifier (GUID) is specified in
CustomSettings.ini. Hidden applications can be specified using the
MandatoryApplications property instead of the Applications property.
• System Center Configuration Manager in Unknown Computer scenarios allows
specification only of a collection that exists on the site to which the client belongs.
Pointing at a collection on the parent site is not supported.
• Close System Center Configuration Manager console before running the integration
option from MDT 2008 Update 1. Otherwise, some files may not be properly updated.
• For LTI deployment, configuring static IP addresses is best done using
CustomSetting.ini or the Windows Deployment Wizard. Configuring IP addresses
using the Apply Network Settings step in the task sequence causes mapped drives
to fail if the adapter had already mapped drives using DHCP-assigned addresses.
Because multiple computers normally use a task sequence, setting a specific static
IP address value in a task sequence wizard in MDT 2008 Update 1 is not
recommended. Other general settings might be appropriate.
• Sometimes the Import Microsoft Deployment Toolkit Task Sequence Wizard does not
complete successfully. In this case, the XML for the new task sequence has already
been generated and is available at the %Temp% directory. This .xml file can be
imported manually using the System Center Configuration Manager Import Task
Sequence Wizard to create the task sequence. The .xml file will not be available at
the %Temp% directory if the initial import was successful.
• During the Scanstate and Loadstate processes, multiple copies of log files may be
created. A new USMT template can be used for excluding the log files or log
directories while running Scanstate and Loadstate.
Contents
Introduction
This guide is part of Microsoft® Deployment Toolkit (MDT) 2008. This document provides
guidance on the process of using Microsoft System Center Configuration Manager 2007
in the deployment process. The guides listed in Table 1 provide additional information
about using System Center Configuration Manager and its functions and can assist in
finding the information needed to configure and set up the environment.
Note In this document, Windows applies to the Windows Vista®, Windows® XP Professional,
Windows XP Tablet PC Edition, Windows Server® 2008, and Windows Server 2003 operating
systems unless otherwise noted.
us/library/bb693836.aspx.
Preparing for Microsoft System Guide in the preparation of System Center
Center Configuration Configuration Manager for the deployment process.
Manager 2007
Table 3 lists the task sequences templates that are included in MDT 2008, 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 2008 was
installed).
The Import Microsoft Deployment Task Sequence Wizard guides the process of creating
these packages and images (or specifying existing packages and images). The task
sequence templates contain placeholders for each of the packages and images listed in
Table 3. The Import 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 imported task sequence references the appropriate
packages and images.
Note Always use the Import Microsoft Deployment Task Sequence Wizard to import the task
sequence templates. Although the task sequence templates can be manually imported, this
process is not recommended.
Using the Import Microsoft Deployment Task Sequence Wizard, choose the template
type to create, and then customize it for the needs of the environment. Table 4
describes the different sections of the Import Microsoft Deployment Task Sequence
Wizard.
1668.On the Microsoft Deployment Package page, click Create a New Microsoft
Deployment Files Package; in the UNC path box, type the UNC path (for example,
\\DeploymentServer\packages$\Deployment4files) for the deployment files package
the wizard will create, and then click Next.
1669.On the Microsoft Deployment Details page, type the relevant information in the
following boxes, and then click Next:
• Name: The name of the MDT 2008 files.
• Version: The version of the MDT 2008 files (optional).
• Language: The language of the MDT 2008 files.
• Comments: Optional comments.
1670.On the OS Image page, click Create a new OS install package; in the OS
installation folder location box, type or browse to the relevant location; in the
Package source folder to be created box, type or browse to the relevant UNC
location; and then click Next.
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.
1671.On the Install Source page, type the relevant information in the following boxes,
and then click Next:
• Name: The name of the operating system image.
• Version: The operating system package version.
• Comments: Optional comments.
1672.On the Client Package page, click Create a new ConfigMgr client package, and
then click Next.
1673.On the USMT Package page, click Create a new USMT package, type the
relevant information in the following boxes, and then click Next:
• Path to the USMT executables and related files: The path to the location on
the network where USMT files are stored.
• Package source folder to be created: The name of the package source folder
to create.
CAUTION A network location for USMT cannot be specified in the CustomSettings.ini file
for a task sequence. The Request state store task automatically determines the location. For
this to work, define a state migration point. See the Configuration Manager Documentation
Library at http://technet.microsoft.com/en-us/library/bb680651.aspx for additional guidance
on this process.
Note The default location of USMT files is C:\Program Files\USMT301. If USMT will be used
with System Center Configuration Manager, run the USMT 3.0.1 .msi file on the System
Center Configuration Manager server and specify this location as the source location. For
additional information about configuring System Center Configuration Manager to use USMT,
refer to the Configuration Manager Documentation Library at
http://technet.microsoft.com/en-us/library/bb680651.aspx.
1674.On the Specify USMT package properties page, type the relevant information in
the following boxes, and then click Next:
• Name: The name of the USMT package.
• Version: The version of the USMT package.
• Language: The USMT package language.
• Manufacturer: The manufacturer of the USMT package.
• Comments: Optional comments.
CAUTION For more information on using roaming profiles, see the Managing Roaming User
Data Deployment Guide at
http://technet2.microsoft.com/WindowsVista/en/library/fb3681b2-da39-4944-93ad-
dd3b6e8ca4dc1033.mspx?mfr=true. USMT will back up and restore locally cached user
profiles but not network copies.
1675.On the Settings Package page, click Create a new settings package, type the
UNC path for the location where the wizard will create the package, and then click
Next.
1676.On the Settings Details page, type the relevant information in the following boxes,
and then click Next:
• Name: The name of the settings package.
• Version: The version of the settings package.
• Language: The settings package language.
• Manufacturer: The manufacturer of the settings package.
• Comments: Optional comments.
1677.On the Sysprep Package page, click Create a new Sysprep package; in the Path
to Sysprep executables and related files box, type the UNC path for the location
where the wizard will create the Sysprep package; in the Package source folder to
be created box, type or browse to the location where the wizard will create the
package source folder; and then click Next.
Note This selection is optional and does not apply to Windows Vista or Windows
Server 2008 deployments if no custom image is captured.
1678.On the Sysprep Details page, type the relevant information in the following boxes,
and then click Next:
• Name: The name of the Sysprep package.
• Version: The version of the Sysprep package.
• Language: The Sysprep package language.
• Manufacturer: The manufacturer of the Sysprep package.
• Comments: Optional comments.
The Summary page displays a status bar that shows the progress of the tasks
defined in the wizard. The wizard closes when it completes the tasks.
1686.Click the package to the drivers will be added or create a new package.
Note Click Update distribution points when finished to force the wizard to perform the
update.
1687.On the Add Driver to Boot Image page, add updated mass storage drivers,
network drivers, or critical drivers for the system boot, as appropriate. Click the boot
image (x86 or x64), and then click Next.
Note Boot images must be refreshed on distribution points before the new drivers are
available for use.
1688.The Summary page shows the details of the selections made while completing the
wizard. To change an option or setting, click Previous, make the necessary changes
to the selections, and then click Next.
The Progress page displays a status bar that indicates the wizard is processing.
Then, the Confirmation page shows the success or failure of the wizard’s ability to
complete the tasks defined for the driver creation.
1689.Click Close to return to Configuration Manager console.
1691.Add the language pack folders downloaded from Microsoft into the folder created in
step 1.
Note Language packs already in .cab format are available to download on the Microsoft
Volume Licensing Web site.
To add language packs online to Windows Vista and Windows Server 2008
1709.In Configuration Manager console, expand Computer Management, and then
expand Task Sequence. Right-click task_sequence (where task_sequence is the
name of the task sequence to edit), and then click Edit.
1710.In the Task Sequence Editor dialog box, click Add, click General, and then click
Install Language Packs Online.
1711.In the Task Sequence Editor dialog box, go to the State Restore phase.
1712.Click the Restart Computer task.
1713.Click Add, click MDT, and then click Install Language Packs Online.
1714.Type the relevant information in the Name and Description boxes, and then click
Browse to select a language pack package to install.
1715.Click OK to save the settings, and then close the Task Sequence Editor.
Note When used in MDT 2008, 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.
Add Updates
Use System Center Configuration Manager to add updates during the task sequence.
Updates can be added online or offline. Manage software updates in System Center
Configuration Manager using a server configured as a software update point. For detailed
information on software updates using System Center Configuration Manager, see Tasks
for Software Updates at http://technet.microsoft.com/en-us/library/bb693776.aspx.
Use deployment packages to deploy software updates. For more information about
configuration and deployment of software update packages, see Download Updates
Wizard at http://technet.microsoft.com/en-us/library/bb632835.aspx.
To install operating system updates online, the updates need to be added to a
Deployment Management item. Create a Deployment Management item using the
Deploy Package Wizard. For more information on deploying packages and deployment
management, see the Configuration Manager Library at http://technet.microsoft.com/en-
us/library/bb693754.aspx.
To add offline updates to Windows Vista
1716.In Configuration Manager console, expand Computer Management, and then
expand Task Sequence. Right-click task_sequence (where task_sequence is the
name of the task sequence to edit), and then click Edit.
1717.Beneath the Postinstall phase, locate the Setup Windows and ConfigMgr task.
1718.Click the task immediately above this task, so that the new added task will be
positioned just above the Setup Windows and ConfigMgr task.
1719.In the Task Sequence Editor dialog box, click Add, click MDT, and then click
Install Updates Offline.
1720.Type the relevant information in the Name and Description boxes, and then click
Browse to select an appropriate updates package to install.
1721.Click OK to save the settings, and then close the Task Sequence Editor.
1732.If adding the computer to a domain, click Set to type credentials for adding the
computer to the designated domain.
1733.In the Windows Settings section, type the relevant information in the following
boxes, and then click Next:
• User Name: The owner of this copy of Windows.
• Organization name: The organization name.
• Product key: The product key; usually a 25-character alphanumeric value.
1734.In the Capture Operating System Image settings box, type a UNC path to a
location and file name, and then click Next.
• Capture destination: \\servername\sharename\%computername%.wim.
• Capture account: Click Set to type credentials with Write access to the capture
destination share location.
1735.On the Boot Image page, click Browse to locate an existing boot image package in
the Select a Package dialog box, and then click Next.
1736.On the MDT Package page, click one of the following options:
• Specify a new Microsoft Deployment Files package: Click Browse to select
an existing MDT 2008 tools package.
• Create a new Microsoft Deployment Files package: Browse to the location of
the appropriate deployment point created in Deployment Workbench.
1737.On the OS Image page, browse to select an existing image package for
deployment, and then click Next.
Note This page also allows for creation of a new operating system package by browsing to
a Windows Imaging Format (WIM) file that will create a new System Center Configuration
Manager package.
1738.On the Client Package page, click Browse to select an existing System Center
Configuration Manager client package to install, and then click Next.
1739.On the USMT Package page, specify the USMT package, and then click Next.
• Specify an existing USMT Package: Click Browse to select a USMT package.
1740.On the Settings Package page, browse to select a settings package.
1741.On the Select a Sysprep Package page, if deploying Windows, click No Sysprep
Package is required, because Sysprep in already in the operating system image.
1742.If deploying Windows XP with SP2, select one of the following options, and then
click Finish:
• Select an existing Sysprep package: Browse to select an existing Sysprep
package.
• Create a new Sysprep package: Browse to the location of the existing Sysprep
files, such as C:\Sysprep, and type the package path to store the created
package.
1743.The Summary page shows the details of the selections made while completing the
wizard. Click Close to return to Configuration Manager console.
1763.On the MDT Package page, click one of the following to:
• Specify a new Microsoft Deployment Files package: Click Browse to select
an existing MDT 2008 tools package.
• Create a new Microsoft Deployment Files package: Browse to the location of
the relevant deployment point created with Deployment Workbench.
1764.Click Next.
1765.On the OS Image page, click one of the following options:
• Specify an existing OS image: Browse to select an existing server image
package.
• Create a new OS Image: Browse to the location of an existing server WIM
image, and then define the location to store the resulting server image package.
• Specify an existing OS Install Package: Browse to select an existing server
OS install package.
• Create a new OS Install Package: Click this option to install and capture a new
Windows Server 2003 operating system installation package from the original CD
operating system source files.
1766.Click Next.
1767.On the Client Package page, click one of the following:
• Specify an existing ConfigMgr Client package: Browse to select a System
Center Configuration Manager client installation package.
• Create a new ConfigMgr Client package: If this option is selected, the wizard
creates a new System Center Configuration Manager client package.
Note This page is for the installation of the System Center Configuration Manager
client and is not specific to the client operating system installation.
1768.Click Next.
1769.On the Settings Package page, click Browse to select a settings package.
1770.On the Select a Sysprep Package page, if deploying Windows Server 2008, click
No Sysprep Package is required, because Sysprep in already part of the operating
system image.
1771.If deploying a version of Windows Server 2003, click one of the following options:
• Select an existing Sysprep Package: Browse to select an existing Sysprep
package.
• Create a new Sysprep package: Browse to the location of the existing Sysprep
files, such as C:\Sysprep, and type the package path to store the created
package.
1772.Click Next.
The wizard finishes and returns to Configuration Manager console.
Where GUID is the globally unique identifier (GUID) assigned to the driver category.
1777.Obtain the GUID information by running the following Microsoft Visual Basic®
Scripting Edition (VBScript) code:
strSiteCode = "CEN"
strServer = "SMSSERVER"
strDriverCatName = "Dell"
set objWMIService=
GetObject("winmgmts:{impersonationlevel=impersonate}!\\" &
strServer & "\root\sms\site_" & strSiteCode)
Contents
Common Properties
Table 2 shows the settings that are available on the Properties tab of each task
sequence step. For more information about the Properties tab for a particular task
sequence step, see the topic that corresponds to the step later in this reference.
Note The task sequence step types listed here are those that are available in Deployment
Workbench. Additional task sequence step types might be available when configuring task
sequences using System Center Configuration Manager.
Common Options
Table 3 shows the settings that are available on the Options tab of a task sequence step.
For more information about the Options tab, see Task Sequence Options Tab at
http://technet.microsoft.com/en-us/library/bb693661.aspx.
Table 3. Settings Available on the Options Tab
Name Description Group Step
Disable this step Select this option to disable this task sequence
step.
Success codes Exit codes of the utility associated with this task
sequence step that indicates it has completed
successfully.
Continue on error Select this option to allow the Task Sequencer to
process additional task sequence steps if a failure
occurs.
Conditional One or more conditions that limit the running of
statements this task sequence group or step. These
conditional are based on the following:
• File Properties
• Folder Properties
• Operating system version:
• Is a certain architecture
• Is a certain version
• Query Windows Management Instrumentation
(WMI)
• Registry Setting:
• Exists
• Does not exist
• Equals
• Does not equal
• Greater than
• Greater than or equals
• Less than
• Less than or equals
• Installed Software
• Task sequence variable:
• Exists
• Equals
Note Additional conditional statements might be available when using System Center
Configuration Manager to configure task sequence steps.
Properties
Name Value
Type Apply Network Settings
Settings
Name Value
Name The name to be assigned to the network connection.
Obtain an IP address When selected, Dynamic Host Configuration Protocol (DHCP)
automatically will be used to obtain the required IP configuration settings for
the network connection. This is the default selection.
Use the following IP When selected, one or more IP address and subnet mask
address combinations can be provided in addition to gateways that will
be assigned to the network connection.
Name Value
Obtain a Domain Name When selected, DHCP will be used to obtain the required IP
System (DNS) server configuration settings for the network connection. This is the
automatically default selection.
Use the following DNS When selected, one or more DNS server IP address can be
servers provided that will be assigned to the network connection.
DNS Suffix The DNS suffix that will be applied to all network connections
that use TCP/IP.
Register this Specifies that the computer will attempt dynamic registration
connection’s address in of the IP addresses (through DNS) of this connection with the
DNS full computer name of this computer.
Use this connection’s Specifies whether DNS dynamic update is used to register the
DNS suffix in DNS IP addresses and the connection-specific domain name of this
registration connection.
WINS server addresses One or more Windows Internet Naming Service (WINS)
server IP address can be provided that will be assigned to the
network connection.
Enable LMHOSTS Specifies whether a local area network (LAN) Manager Hosts
lookup (LMHOSTS) file for network basic input/output system
(NetBIOS) name resolution is used.
Default Specifies whether this network connection obtains the setting
to enable or disable NetBIOS over TCP/IP (NetBT) from a
DHCP server. This is the default selection.
Enable NetBIOS over Specifies that this network connection uses NetBT and WINS.
TCP/IP
Disable NetBIOS over Specifies that this network connection does not use NetBT
TCP/IP and WINS.
Authorize DHCP
This task sequence step authorizes the target computer as a DHCP server.
For more information about what script accomplishes this task and what properties are
used, see ZTIAuthorizeDHCP.wsf in the “Scripts” section of this reference.
The unique properties and settings for the Authorize DHCP task sequence step type are:
Properties
Name Description
Type This read-only type is set to Authorize DHCP Server.
Settings
Name Description
Account A user account that is a member of the Enterprise Admins
group, to be used when authorizing DHCP for the target
computer.
Properties
Name Description
Type This read-only type is set to Capture Network Settings.
Settings
Name Description
None
Configure ADDS
This task sequence step configures the target computer as an Active Directory® Domain
Services (AD DS) domain controller.
For more information about the settings listed in the following table, and which are
configurable by this task sequence step, see the Microsoft Help and Support article,
“Unattended promotion and demotion of Windows 2000 and Windows Server 2003
domain controllers,” at http://support.microsoft.com/kb/223757.
The unique properties and settings for the Configure ADDS task sequence step type
are:
Properties
Name Description
Type This read-only type is set as Configure ADDS.
Settings
Name Description
Create Specifies the configuration set that will be used to configure
the target computer. The configuration sets are:
• New domain controller replica. Creates an additional
domain controller in an existing AD DS domain.
• New read-only domain controller (RODC) replica.
Creates a read-only domain controller (Windows
Server® 2008 only).
• New domain in existing forest. Creates a domain in an
existing AD DS forest.
• New domain tree in existing forest. Creates a new tree
in an existing AD DS forest.
• New forest. Creates a new AD DS forest.
Domain DNS name The name of DNS domain.
Domain NetBIOS name The NetBIOS name that is used by pre-AD DS clients to
access the domain. This name must be unique on the
network.
DNS name The DNS name.
Replication source The name of the domain controller from which to source
domain controller AD DS on new replica or backup domain controller upgrade
installations. If no value is supplied, the closest domain
controller from the domain being replicated will be selected by
default.
Account The account to be used to perform the configuration.
Recovery (safe mode) The password for the offline Administrator account that is
password used in AD DS repair mode.
Install DNS if not When selected, DNS will be installed if it has not already been
already present installed.
Make this domain Specifies whether the replica will also be a GC server. When
controller a global selected, the target computer will be configured as a GC
catalog (GC) server server if the replication source domain controller is a GC
server.
Wait for critical When selected, this setting specifies that only critical
replication only replication is sourced during the replication phase of
Dcpromo. Noncritical replication resumes when the computer
restarts as a domain controller.
Forest functional level Specifies the functional level for a new forest. Available
options are:
• Level 1 = Microsoft Windows® 2000
• Level 2 = Windows Server 2003
• Level 3 = Windows Server 2008
Name Description
Domain functional level Specifies the functional level for a new domain. Available
options are:
• Level 1 = Windows 2000
• Level 2 = Windows Server 2003
• Level 3 = Windows Server 2008
Database Fully qualified, non–Universal Naming Convention (UNC)
directory on a hard disk drive of the local computer that will
host the AD DS database (NTDS.dit). If the directory exists, it
must be empty. If it does not exist, it will be created. Free disk
space on the logical drive selected must be 200 megabytes
(MB) and possibly larger when rounding errors are
encountered and to accommodate all objects in the domain.
For best performance, the directory should be located on a
dedicated hard disk.
Log files Fully qualified, non-UNC directory on a hard disk on the local
computer to host the AD DS log files. If the directory exists it
must be empty. If it does not exist, it will be created.
SYSVOL Fully qualified, non-UNC directory on a hard disk drive of the
local computer that will host the AD DS System Volume
(SYSVOL) files. If the directory exists it must be empty. If it
does not exist it will be created. The directory must be located
on a partition that is formatted with the NTFS version 5.0 file
system. For best performance, the directory should be located
on a different physical hard disk than the operating system.
Site name The value of an existing AD DS site on which to locate the
new domain controller. If not specified, an appropriate site will
be selected. This option only applies to the new tree in a new
forest scenario. For all other scenarios, a site will be selected
using the current site and subnet configuration of the forest.
Configure DHCP
This task sequence step configures the DHCP server service on the target computer.
For more information about what script accomplishes this task and what properties are
used, see ZTIConfigureDHCP.wsf in the “Scripts” section of this reference.
The unique properties and settings for the Configure DHCP task sequence step type
are:
Properties
Name Description
Type This read-only type is set to Configure DHCP Server.
Settings
Name Description
Name Configure DHCP
Scope Details These options apply to any client computers that obtain a
lease within that particular scope. Configured scope option
values always apply to all computers obtaining a lease in a
given scope unless they are overridden by options assigned
to class or client reservation.
Within the Scope Details setting, the following sub-settings
are configurable:
• Scope Name. A user-definable name.
• Start IP address. The starting IP address for the scope.
• End IP address. The ending IP address for the scope.
• Subnet mask. The subnet mask of the client subnet.
• Lease duration for DHCP clients. The duration that the
DHCP lease is valid for the client.
• Description. A description of the scope.
• Exclude IP address range, Start IP address. The
starting IP address for the range of IP addresses that are
to be excluded from the scope.
• Exclude IP address range, End IP address. The ending
IP address for the range of IP addresses that are to be
excluded from the scope.
• 003 Router. A list of IP addresses for routers on the client
subnet.
• 006 DNS Servers. A list of IP addresses for DNS name
servers available to the client.
• 015 DNS Domain Name. The domain name that the
DHCP client should use when resolving unqualified
domain names with the DNS.
• 044 WINS/NBNS Servers. Lists the IP addresses for
NetBIOS name servers (NBNSes) on the network.
• 046 WINS/NBT Node Type. Configures the client node
type for NetBT clients.
• 060 PXE Client. The address used for Pre-Boot
Execution Environment (PXE) client bootstrap code.
Name Description
Server Options These options apply globally for all scopes and classes
defined at each DHCP server and for any clients that a DHCP
server services. Configured server option values always apply
unless they are overridden by options assigned to other
scope, class, or client reservation.
Within the Server Options setting, the following sub-settings
are configurable:
• 003 Router. A list of IP addresses for routers on the client
subnet.
• 006 DNS Servers. A list of IP addresses for DNS name
servers available to the client.
• 015 DNS Domain Name. The domain name that the
DHCP client should use when resolving unqualified
domain names with the DNS.
• 044 WINS/NBNS Servers. Lists the IP addresses for
NBNSes on the network.
• 046 WINS/NBT Node Type. Configures the client node
type for NetBT clients.
• 060 PXE Client. The address used for Pre-Boot
Execution Environment (PXE) client bootstrap code.
Configure DNS
This task sequence step configures DNS on the target computer.
For more information about what script accomplishes this task and what properties are
used, see ZTIConfigureDNS.wsf in the “Scripts” section of this reference.
The unique properties and settings for the Configure DNS task sequence step type are:
Properties
Name Description
Type This read-only type is set to Configure DNS Server.
Settings
Name Description
Name Configure DNS
Zones Within the Scope Details setting, the following sub-settings
are configurable:
• DNS zone name. A user-definable name.
• Type. The type of DNS zone to be created.
• Replication. Specifies the replication scheme used to
share information between DNS servers.
• Zone file name. The zone’s DNS database file.
• Dynamic updates. Enables DNS client computers to
register and dynamically update their resource records
with a DNS server whenever changes occur.
• Scavenge stale resource records. Removes stale
resource records.
Server Properties Within the Server Properties setting, the following sub-
settings are configurable:
• Disable recursion. Specifies that the DNS server will not
perform recursion on any query.
• BIND secondaries. Specifies whether to use fast transfer
format to transfer a zone to DNS servers running legacy
Berkeley Internet Name Domain (BIND) implementations.
• Fail on load if bad data. Specifies the DNS server
should parse files strictly.
• Enable round robin. Specifies the DNS server should
use the round robin mechanism to rotate and reorder a list
of resource records if multiple resource records exist of
the same type exist for a query answer.
• Enable netmask ordering. Specifies whether the DNS
server should reorder resource records within the same
resource record set in its response to a query based on
the IP address of the source of the query.
• Secure cache against pollution. Specifies whether the
DNS server will attempt to clean up responses to avoid
cache pollution.
Note For more information about these server properties, see Optimizing DNS at
http://technet2.microsoft.com/windowsserver/en/library/3a1388f8-269f-42f3-ad0e-
cc76e95226531033.mspx.
Note The Configure DNS task sequence step uses the Dnscmd tool, which is included in
Windows Support Tools, to configure DNS. Be sure that Windows Support Tools has been installed
before running the Configure DNS task sequence step.
Enable BitLocker
This task sequence step configures BitLocker™ Drive Encryption on the target computer.
For more information about this step type, see Enable BitLocker at
http://technet.microsoft.com/en-us/library/bb632526.aspx.
The unique properties and settings for the Enable BitLocker task sequence step type
are:
Properties
Name Description
Type This read-only type is set as Enable BitLocker.
Settings
Name Description
Current operating When selected, the operating system drive will be configured.
system drive This is the default selection.
Specific drive When selected, the specified drive will be configured.
TPM only When selected, the Trusted Platform Module (TPM) is
required. This is the default selection.
Startup key on USB only When selected, a startup key is required on the specified USB
drive.
TPM and startup key on When selected, the TPM is required, in addition to a startup
USB key on the specified USB drive.
In Active Directory When selected, the recovery key is stored in AD DS. This is
the default selection.
Do not create a When selected, the recovery key is not created. Using this
recovery key option is not recommended.
Wait for BitLocker to When selected, this step will not finish until after BitLocker
complete Drive Encryption has completed processing all drives.
Properties
Name Description
Type This read-only type is set as Format and Partition Disk.
Settings
Name Description
Disk number The physical number of the disk to be configured.
Disk type The type of drive to be created. Values are Standard—Master
Boot Record (MBR) and GUID (globally unique identifier)
Partition Table (GPT). The default selection is MBR.
Volume Within the Volume setting, the following sub-settings are
configurable:
• Partition Name. A user-definable name.
• Partition Type. Values are Primary or Extended.
• Use a percentage of remaining space.
• Use specific drive size. Values are in increments of 1
MB or 1 GB.
• Make this a boot partition.
• File System. Values are NTFS or FAT32.
• Quick Format. When selected, a quick format is
performed.
• Variable. The drive letter that was assigned to this newly
configured partition.
Note When using the CustomSettings.ini file to specify the hard disk and partition
configurations, only the first hard disk and first two partitions will be configured. Edit
ZTIGather.xml to configure additional hard disks or partitions.
Gather
This task sequence step gathers data and processing rules for the target computer. The
unique properties and settings for the Gather task sequence step type are:
Properties
Name Description
Type This read-only type is set to Gather.
Settings
Name Description
Gather only local data When selected, this step will process only the properties
contained in the ZTIGather.xml file.
Gather local data and When selected, this step will process the properties contained
process rules in the ZTIGather.xml file and the properties contained in the
file specified by the Rules file. This is the default selection.
Rules file The name of the Rules file to process. If left blank, the task
sequence step will attempt to locate and process the
CustomSettings.ini file.
Install Application
This task sequence step installs applications on the target computer.
For more information about this step type, see Install Software at
http://technet.microsoft.com/en-us/library/bb680842.aspx.
The unique properties and settings for the Install Application task sequence step type
are:
Properties
Name Description
Type This read-only type is set to Install Application.
Settings
Name Description
Install multiple Install mandatory applications that have been specified by the
applications MandatoryApplications property and optional applications
that are specified by the Applications property. These
properties are configured by rules or are specified during the
Windows Deployment Wizard interview process. This is the
default selection.
Install a single The specific application to install. The application is selected
application from a drop-down list which is compiled of applications that
have been configured on the Applications node of
Deployment Workbench.
Properties
Name Description
Type This read-only type is set as Install Operating System.
Settings
Name Description
Operating system to The name of the operating system to be installed on the target
install computer. The operating system is selected from a drop-down
list which is compiled from operating systems that have been
configured on the Operating Systems node of Deployment
Workbench.
Properties
Name Description
Type This read-only type is set to Install Roles and Features.
Settings
Name Description
The list of roles and One or more roles and features can be specified for
features that should be installation on the target computer. These roles are:
installed
• AD DS domain controller
• DHCP server
• DNS server
The unique properties and settings for the Install Language Packs Offline task
sequence step type are:
Properties
Name Description
Type This read-only type is set to Install Updates Offline.
Settings
Name Description
Package Name The name of the language pack package that should be
applied to the target computer.
Note This task sequence step is valid only when deploying Windows Vista® or Windows
Server 2008 using MDT 2008 with System Center Configuration Manager.
Properties
Name Description
Type This read-only type is set to Install Language Packs Online.
Settings
Name Description
Package Name The name of the language pack package that should be
applied to the target computer.
Note This task sequence step is valid only when using MDT 2008 with System Center
Configuration Manager.
Properties
Name Description
Type This read-only type is set to Install Updates Offline.
Settings
Name Description
Package Group The name of the package group that should be applied to the
target computer.
Note When using MDT 2008 with System Center Configuration
Manager, specify the name of the update package that should be
applied.
Note This task sequence step is valid only when deploying Windows Vista or Windows
Server 2008.
Restart Computer
This task sequence step restarts the target computer. The unique properties and settings
for the Restart Computer task sequence step type are:
Properties
Name Description
Type This read-only type is set to Restart Computer.
Settings
Name Description
None None
Properties
Name Description
Type This read-only type is set to Run Command Line.
Settings
Name Description
Command Line The command to be run when this task sequence step is
processed.
Start in The starting folder for the application. The path must be a
valid path on the target computer.
Properties
Name Description
Type This read-only type is set to Run Command Line.
Settings
Name Description
Command Line The commands to be run when this task sequence step is
processed.
Start in The starting folder for the application. The path must be a
valid path on the target computer.
Account The user credentials that will be used to run the specified
command.
Load the user’s profile When selected, the user profile for the specified account is
loaded.
Properties
Name Description
Type This read-only type is set to Set Task Sequence Variable.
Settings
Name Description
Task Sequence Variable The name of the variable to modify.
Value The value to assign to the specified variable.
Validate
This task sequence step validates that the target computer meets the specified
deployment prerequisite conditions.
The unique properties and settings for the Validate task sequence step type are:
Properties
Name Description
Type This read-only type is set to Validate.
Settings
Name Description
Ensure minimum When selected, this step will verify that the amount of
memory memory, in MB, installed on the target computer meets or
exceeds the amount specified. This is a default selection.
Ensure minimum When selected, this step will verify that the speed of the
processor speed processor, in megahertz (MHz), installed on the target
computer meets or exceeds the amount specified. This is a
default selection.
Ensure specified image When selected, this step will verify that the amount of free
size will fit disk space, in MB, on the target computer meets or exceeds
the amount specified.
Ensure current When selected, this step will verify that the operating system
operating system to be installed on the target computer meets the requirement
refreshed specified. This is a default selection.
Properties
Name Value
Type Run Command Line
Name Add mass storage drivers to Sysprep.inf for XP and 2003
Description Not specified.
Settings
Name Value
Command line cscript.exe
"%SCRIPTROOT%\ZTIStorageDriversSysprep.wsf"
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Properties
Name Value
Type Apply Network Settings
Name Apply Network Settings
Description Not specified.
Settings
Name Value
No parameters are preconfigured for this step. This causes
this step, by default, to configure the network adapter to use
DHCP.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Note When using the CustomSettings.ini file to specify the network adapter configurations, only
the first network adapter will be configured. Edit ZTIGather.xml to configure additional network
adapters.
Apply Patches
This task sequence step installs updates to the image on the target computer after the
operating system has been deployed, but before the target computer has been restarted.
Following is a brief listing of the settings that show how this step was originally configured
in one of the MDT 2008 task sequence templates.
For more information about what script accomplishes this task and what properties are
used, see ZTIPatches.wsf in the “Scripts” section of this reference.
The default configuration of the Install Updates Offline task sequence step is:
Properties
Name Value
Type Install Updates Offline
Name Apply Patches
Description Not specified.
Settings
Name Value
Package Group All Packages
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Apply Windows PE
This task sequence step prepares the target computer to start in Windows Preinstallation
Environment (Windows PE). Following is a brief listing of the settings that show how this
step was originally configured in one of the MDT 2008 task sequence templates.
For more information about what script accomplishes this task and what properties are
used, see LTIApply.wsf in the “Scripts” section of this reference.
The default configuration of the Apply Windows PE task sequence step is:
Properties
Name Value
Type Run Command Line
Name Apply Windows PE
Description Not specified.
Settings
Name Value
Command line cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /PE
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Backup
This task sequence step backs up the target computer before starting the operating
system deployment. Following is a brief listing of the settings that show how this step was
originally configured in one of the MDT 2008 task sequence templates.
For more information about what script accomplishes this task and what properties are
used, see ZTIBackup.wsf in the “Scripts” section of this reference.
Properties
Name Value
Type Run Command Line
Name Backup
Description Not specified.
Settings
Name Value
Command line cscript.exe "%SCRIPTROOT%\ZTIBackup.wsf"
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Capture Groups
This task sequence step captures group membership of local groups that exist on the
target computer. Following is a brief listing of the settings that show how this step was
originally configured in one of the MDT 2008 task sequence templates.
For more information about what script accomplishes this task and what properties are
used, see ZTIGroups.wsf in the “Scripts” section of this reference.
The default configuration of the Capture Groups task sequence step is:
Properties
Name Value
Type Run Command Line
Name Capture Groups
Description Not specified.
Settings
Name Value
Command line cscript.exe "%SCRIPTROOT%\ZTIGroups.wsf"
/capture
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Properties
Name Value
Type Run Command Line
Name Capture User State
Description Not specified.
Settings
Name Value
Command line cscript.exe "%SCRIPTROOT%\ZTIUserState.wsf"
/capture
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Check BIOS
This task sequence step checks the BIOS of the target computer to ensure that it is
compatible with the operating system that is to be deployed. Following is a brief listing of
the settings that show how this step was originally configured in one of the MDT 2008
task sequence templates.
For more information about what script accomplishes this task and what properties are
used, see ZTIBIOSCheck.wsf in the “Scripts” section of this reference.
The default configuration of the Check BIOS task sequence step is:
Properties
Name Value
Type Run Command Line
Name Check BIOS
Description Not specified.
Settings
Name Value
Command line cscript.exe "%SCRIPTROOT%\ZTIBIOSCheck.wsf"
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Configure
This task sequence step configures the Unattend.xml, Sysprep.inf, or Unattend.txt files
with the required property values that are applicable to the operating system being
deployed to the target computer. Following is a brief listing of the settings that show how
this step was originally configured in one of the MDT 2008 task sequence templates.
For more information about what script accomplishes this task and what properties are
used, see ZTIConfigure.wsf in the “Scripts” section of this reference.
The default configuration of the Configure task sequence step is:
Properties
Name Value
Type Run Command Line
Name Configure
Description Not specified.
Settings
Name Value
Command line cscript.exe "%SCRIPTROOT%\ZTIConfigure.wsf"
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
The default configuration of the Copy Media CD to Local Hard Disk for OEM pre-
installation task sequence step is:
Properties
Name Value
Type Run Command Line
Name Copy Media CD to Local Hard Disk for OEM pre-installation
Description Not specified.
Settings
Name Value
Command line cscript.exe //nologo
"%SCRIPTROOT%\LTIOEM.wsf"
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Copy Scripts
This task sequence step copies the deployment scripts used during the deployment
processes to a local hard drive on the target computer. Following is a brief listing of the
settings that show how this step was originally configured in one of the MDT 2008 task
sequence templates.
For more information about what script accomplishes this task and what properties are
used, see LTICopyScript.wsf in the “Scripts” section of this reference.
The default configuration of the Copy Scripts task sequence step is:
Properties
Name Value
Type Run Command Line
Name Copy Scripts
Description Not specified.
Settings
Name Value
Command line cscript.exe "%SCRIPTROOT%\LTICopyScripts.wsf"
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier DeploymentMethod does not equal OSD
Note When performing a non- SMS 2003 Operating System
Deployment (OSD) Feature Pack deployment, the conditional
qualifier will not be specified.
Properties
Name Value
Type Run Command Line
Name Copy Sysprep Files
Description Not specified.
Settings
Name Value
Command line cscript.exe "%SCRIPTROOT%\LTISysprep.wsf"
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Properties
Name Value
Type Set Task Sequence Variable
Name Create BitLocker Partition
Description None
Settings
Name Value
Task Sequence Variable BDEInstall
Value True
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Enable BitLocker
This task sequence step enables BitLocker Drive Encryption on the target computer.
Following is a brief listing of the settings that show how this step was originally configured
in one of the MDT 2008 task sequence templates.
For more information about what script accomplishes this task and what properties are
used, see ZTIBde.wsf in the “Scripts” section of this reference.
The default configuration of the Enable BitLocker task sequence step is:
Properties
Name Value
Type Enable BitLocker
Name Enable BitLocker
Description None
Settings
Name Value
Current operating Selected.
system drive
TPM only Selected.
Startup key on USB only Not selected.
TPM and startup key on Not selected.
USB
Specific drive Not selected.
In Active Directory Selected.
Do not create a Not selected.
recovery key
Wait for BitLocker to Not selected.
complete
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Properties
Name Value
Type Set Task Sequence Variable
Name Enable OEM Disk Configuration
Description None
Settings
Name Value
Task Sequence Variable DeploymentType
Value NEWCOMPUTER
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
End Phase
This task sequence step ends the current deployment phase and restarts the target
computer. Following is a brief listing of the settings that show how this step was originally
configured in one of the MDT 2008 task sequence templates.
The default configuration of the End Phase task sequence step is:
Properties
Name Value
Type Restart Computer
Name End Phase
Description Not specified.
Settings
Name Value
None
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Execute Sysprep
This task sequence step starts Sysprep on the target computer. Following is a brief listing
of the settings that show how this step was originally configured in one of the MDT 2008
task sequence templates.
For more information about what script accomplishes this task and what properties are
used, see LTISysprep.wsf in the “Scripts” section of this reference.
The default configuration of the Execute Sysprep task sequence step is:
Properties
Name Value
Type Run Command Line
Name Execute Sysprep
Description Not specified.
Settings
Name Value
Command line cscript.exe "%SCRIPTROOT%\LTISysprep.wsf"
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Properties
Name Value
Type Format and Partition Disk
Name Format and Partition Disk
Description Not specified.
Settings
Name Value
Disk number 0
Disk type Standard (MBR)
Volume Within the Volume setting, the following sub-settings are
configured:
• Partition Name. OSDisk.
• Size(%). 100
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Note When using the CustomSettings.ini file to specify the hard disk and partition
configurations, only the first hard disk and first two partitions will be configured. Edit
ZTIGather.xml to configure additional hard disks or partitions.
Properties
Name Value
Type Gather
Name Gather Local Only
Description Not specified.
Settings
Name Value
Gather only local data Selected.
Gather local data and Not selected.
process rules
Rules file Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier None
The default configuration of the Generate Application Migration File task sequence
step is:
Properties
Name Value
Type Run Command Line
Name Generate Application Migration File
Description Not specified.
Settings
Name Value
Command line cscript.exe "%SCRIPTROOT%\ZTIAppXmlGen.wsf"
/capture
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier None
Inject Drivers
This task sequence step injects drivers that have been configured for deployment to the
target computer. Following is a brief listing of the settings that show how this step was
originally configured in one of the MDT 2008 task sequence templates.
For more information about what script accomplishes this task and what properties are
used, see ZTIDrivers.wsf in the “Scripts” section of this reference.
The default configuration of the Inject Drivers task sequence step is:
Properties
Name Value
Type Run Command Line
Name Inject Drivers
Description Not specified.
Settings
Name Value
Command line cscript.exe "%SCRIPTROOT%\ZTIDrivers.wsf"
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Properties
Name Value
Type Run Command Line
Name Inject Storage Drivers for XP and 2003
Description Not specified.
Settings
Name Value
Command line cscript.exe
"%SCRIPTROOT%\ZTIStorageDrivers.wsf"
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Install Applications
This task sequence step installs applications on the target computer. Following is a brief
listing of the settings that show how this step was originally configured in one of the
MDT 2008 task sequence templates.
For more information about what script accomplishes this task and what properties are
used, see ZTIApplications.wsf in the “Scripts” section of this reference.
The default configuration of the Install Applications task sequence step is:
Properties
Name Value
Type Install Applications
Name Install Applications
Description Not specified.
Settings
Name Value
Install multiple Selected.
applications
Install a single Not selected.
application
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Properties
Name Value
Type Install Operating System
Name Install Operating System
Description Not specified.
Settings
Name Value
Operating system to This value corresponds to the operating system that was
install selected when the task sequence was created.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Install Packages
This task sequence step installs software packages that are designated for deployment
on the target computer. Following is a brief listing of the settings that show how this step
was originally configured in one of the MDT 2008 task sequence templates.
For more information about what script accomplishes this task and what properties are
used, see ZTIPackages.wsf in the “Scripts” section of this reference.
The default configuration of the Install Packages task sequence step is:
Properties
Name Value
Type Run Command Line
Name Install Packages
Description Not specified.
Settings
Name Value
Command line cscript.exe "%SCRIPTROOT%\ZTIPackages.wsf"
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier DeploymentMethod does not equal OSD
Next Phase
This task sequence step updates the Phase property to the next phase in the deployment
process. Following is a brief listing of the settings that show how this step was originally
configured in one of the MDT 2008 task sequence templates.
For more information about what script accomplishes this task and what properties are
used, see ZTINextPhase.wsf in the “Scripts” section of this reference.
The default configuration of the Next Phase task sequence step is:
Properties
Name Value
Type Run Command Line
Name Next Phase
Description Not specified.
Settings
Name Value
Command line cscript.exe "%SCRIPTROOT%\ZTINextPhase.wsf"
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Properties
Name Value
Type Run Command Line
Name Post Apply Cleanup
Description Not specified.
Settings
Name Value
Command line cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /post
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier DeploymentMethod does not equal OSD
The default configuration of the Prepare Computer for OEM Capture task sequence
step is:
Note This task sequence step is available only when using ZTI for ConfigMgr.
Properties
Name Value
Type Run Command Line
Name Prepare Computer for OEM Capture
Description Not specified.
Settings
Name Value
Command Line cscript.exe "%deployroot%\scripts\ZTIOEM.wsf"
/PREOEM
Disable 64-bit file Not selected.
system redirection
Start in Not specified.
Package Not selected.
Time-out Not selected.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Restart Computer
This task sequence step restarts the target computer. Following is a brief listing of the
settings that show how this step was originally configured in one of the MDT 2008 task
sequence templates.
The default configuration of the Restart Computer task sequence step is:
Properties
Name Value
Type Restart Computer
Name Restart Computer
Description Not specified.
Settings
Name Value
None
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Properties
Name Value
Type Run Command Line
Name Restore Computer from OEM Capture
Description Not specified.
Settings
Name Value
Command Line cscript.exe "%deployroot%\scripts\ZTIOEM.wsf"
/POSTOEM
Disable 64-bit file Not specified.
system redirection
Start in Not specified.
Package Not specified.
Time-out Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Restore Groups
This task sequence step restores the previously captured group membership of local
groups on the target computer. Following is a brief listing of the settings that show how
this step was originally configured in one of the MDT 2008 task sequence templates.
For more information about what script accomplishes this task and what properties are
used, see ZTIGroups.wsf in the “Scripts” section of this reference.
The default configuration of the Restore Groups task sequence step is:
Properties
Name Value
Type Run Command Line
Name Restore Groups
Description Not specified.
Settings
Name Value
Command line cscript.exe "%SCRIPTROOT%\ZTIGroups.wsf"
/restore
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier If all conditions are true:
• DoCapture not equals YES
• DoCapture not equals PREPARE
Properties
Name Value
Type Run Command Line
Name Restore User State
Description Not specified.
Settings
Name Value
Command Line cscript.exe "%SCRIPTROOT%\ZTIUserState.wsf"
/restore
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier If all conditions are true:
• If DeploymentType not equals UPGRADE
• If DoCapture not equals YES
• If DoCapture not equals PREPARE
The default configuration of the Set Diskpart BIOS Compatibility Mode task sequence
step is:
Properties
Name Value
Type Set Task Sequence Variable
Name Set Diskpart BIOS Compatibility Mode
Description Not specified.
Settings
Name Value
Task Sequence Variable OSDDiskpartBiosCompatibilityMode
Value TRUE
Options
Name Value
Disable this step Selected.
Success codes 0
Continue on error Not selected.
Conditional qualifier Not specified.
Tatoo
This task sequence step tattoos the target computer with identification and version
information. Following is a brief listing of the settings that show how this step was
originally configured in one of the MDT 2008 task sequence templates.
For more information about what script accomplishes this task and what properties are
used, see ZTITatoo.wsf in the “Scripts” section of this reference.
The default configuration of the Tatoo task sequence step is:
Properties
Name Value
Type Set Task Sequence Variable
Name Set Diskpart BIOS Compatibility Mode
Description Not specified.
Settings
Name Value
Command line cscript.exe "%SCRIPTROOT%\ZTITatoo.wsf"
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Selected.
Conditional qualifier Not specified.
Validate
This task sequence step validates that the target computer meets the specified
deployment prerequisite conditions. Following is a brief listing of the settings that show
how this step was originally configured in one of the MDT 2008 task sequence templates.
For more information about what script accomplishes this task and what properties are
used, see ZTIValidate.wsf in the “Scripts” section of this reference.
The default configuration of the Validate task sequence step is:
Properties
Name Value
Type Validate
Name Validate
Description Not specified.
Settings
Name Value
Ensure minimum Selected. The value selector is set to 512.
memory (MB)
Ensure minimum Selected. The value selector is set to 800.
processor speed (MHz)
Ensure specified image Not selected.
size will fit (MB)
Ensure current Selected. The value selector is set to “Server” or “Client,”
operating system to be depending on the template used to create the task sequence.
refreshed
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Not selected.
Conditional qualifier Not specified.
Properties
Name Value
Type Run Command Line
Name Windows Update (Pre-Application Installation)
Description Not specified.
Settings
Name Value
Command line cscript.exe
"%SCRIPTROOT%\ZTIWindowsUpdate.wsf"
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Selected.
Conditional qualifier If all conditions are true:
• If DoCapture not equals YES
• If DoCapture not equals PREPARE
Note This task sequence step is the same as the Windows Update (Post-Application Installation)
task sequence step.
Wipe Disk
This task sequence step formats the disks of the target computer. Following is a brief
listing of the settings that show how this step was originally configured in one of the
MDT 2008 task sequence templates.
For more information about what script accomplishes this task and what properties are
used, see ZTIWipeDisk.wsf in the “Scripts” section of this reference.
The default configuration of the Wipe Disk task sequence step is:
Properties
Name Value
Type Run Command Line
Name Wipe Disk
Description This will only run if WipeDisk=TRUE in CustomSettings.ini
Settings
Name Value
Command line cscript.exe "%SCRIPTROOT%\ZTIWipeDisk.wsf"
Start in Not specified.
Options
Name Value
Disable this step Not selected.
Success codes 0 3010
Continue on error Selected.
Conditional qualifier If all conditions are true:
• If DoCapture not equals YES
• If DoCapture not equals PREPARE
• Value and Description. Indicates the valid values to be specified for the property
and a brief description of what each value means. (Values in italics indicate that a
value is substituted—for example the value user1, user2 indicates that user1 and
user2 would be replaced with the actual name of user accounts.)
• Example. Provides an example of a property use as it might appear in the .ini files.
For more information about these and other task sequence properties that might be
referenced while performing a ZTI deployment, see Operating System Deployment
Task Sequence Variables at http://technet.microsoft.com/en-
us/library/bb632442.aspx.
Property Definition
_SMSTSOrgName
Customizes the Task Sequencer engine's display banner.
Value Description
name The name that will be used in the Task Sequencer engine’s
display banner.
Example
[Settings]
Priority=Default
[Default]
_SMSTSOrgName=Woodgrove Bank
Note If MDT 2008 is used with the Systems Management Server (SMS) 2003 Operating System
Deployment (OSD) Feature Pack, create a Variables.dat file and place it in the OSD package
source folder. The file should have the following contents: <?xml version="1.0"?><MediaVarList
Version="4.00.5345.0000"><var name=”_SMSTSOrgName”>My
CorpName</var></MediaVarList> (where My CorpName is the name of the organization). When
the file has been properly updated, update the Systems Management Server distribution points
with the new package source.
Administrators
A list of user accounts and domain groups that will be added to the local Administrator
group on the target computer. The Administrators property is a list of text values that
can be any non-blank value. The Administrators property has a numeric suffix (for
example, Administrators1 or Administrators2).
Value Description
name The name of a user or group that is to be added to the local
Administrator group.
Example
[Settings]
Priority=Default
[Default]
Administrators1=WOODGROVEBANK\NYC Help Desk Staff
Administrators2=WOODGROVEBANK\North America East Help Desk Staff
PowerUsers1=WOODGROVEBANK\User01
PowerUsers2=WOODGROVEBANK\User02
AdminPassword
Defines the password that will be assigned to the local Administrator user account on the
target computer. If not specified, the pre-deployment password of the Administrator user
account will be used.
Value Description
admin_password The password that is to be assigned to the Administrator
user account on the target computer.
Example
[Settings]
Priority=Default
[Default]
Administrators1=WOODGROVEBANK\NYC Help Desk Staff
AdminPassword=admin_password
Applications
A list of application GUIDs that should be installed on the target computer. These
applications are specified on the Applications node in Deployment Workbench. These
GUIDs are stored in the Applications.xml file. The Applications property is a list of text
values that can be any non-blank value. The Applications property has a numeric suffix
(for example, Applications001 or Applications002).
Value Description
application_guid The GUID is specified by Deployment Workbench for the
application to be deployed to the target computer. The
GUID corresponds to the application GUID stored in the
Applications.xml file.
Example
[Settings]
Priority=Default
[Default]
Applications001={1D7DF331-47B7-472C-87B3-442597EC2F7D}
Applications002={9d2b8999-5e4d-4f3d-bb05-edaaf4fe5628}
Architecture
The processor architecture of the processor that is currently running, which is not
necessarily the processor architecture supported by the target computer. For example,
when running a 32 bit–compatible operating system on a 64-bit processor, Architecture
will indicate that the processor architecture is 32-bit.
Use the CapableArchitecture property to identify the actual processor architecture
supported by the target computer.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
x86 Processor architecture is 32-bit.
x64 Processor architecture is 64-bit.
Example
None
AreaCode
The area code to be configured for the operating system on the target computer. This
property allows only numeric characters. This value is inserted into the appropriate
configuration settings in Unattend.txt or Sysprep.inf for Windows XP and Windows
Server 2003 or in Unattend.xml for Windows Vista and Windows Server 2008.
Value Description
area_code The area code where the target computer is to be deployed.
Example
[Settings]
Priority=Default
[Default]
AreaCode=206
CountryCode=001
Dialing=TONE
LongDistanceAccess=9
AssetTag
The asset tag number associated with the target computer. The format for asset tag
numbers is undefined. Use this property to create a subsection that contains settings
targeted to a specific computer.
Note This property is dynamically set by MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only. However, this property can be used within
CustomSettings.ini, as shown in the following examples, to aid in defining the configuration of the
target computer.
Value Description
asset_tag The format of the asset tag is undefined and is determined
by the asset tag standard of each organization.
Example 1
[Settings]
Priority=Default
[Default]
ComputerName=HP-%AssetTag%
Example 2
[Settings]
Priority=AssetTag, Default
[Default]
OSInstall=YES
Example 2
[0034034931]
OSDNEWMACHINENAME=HPD530-1
OSDINSTALLPACKAGE=DAL00342
OSDINSTALLPROGRAM=CustomVista
[0034003233]
OSDNEWMACHINENAME=BVMXP
OSDINSTALLPACKAGE=NYC00002
OSDINSTALLPROGRAM=SpecialVista
BackupDir
The folder in which backups of the target computer are stored. This folder exists beneath
the UNC path specified in the BackupShare property. If the folder does not already exist,
the folder is created automatically.
Value Description
folder The name of the folder that exists beneath the shared folder
specified in the BackupShare property.
Example
[Settings]
Priority=Default
[Default]
DoCapture=YES
BackupShare=\\NYC-AM-FIL-01\Backup$
BackupDir=%ComputerName%
BackupDrive=C:
BackupDrive
The drive to include in the backup of the target computer. This property defaults to the
drive that contains disk 0 partition 1. It can be also set to ALL.
Value Description
backup_drive The drive letter of the drive to back up.
ALL Back up all drives on the target computer.
Example
[Settings]
Priority=Default
[Default]
DoCapture=YES
BackupShare=\\NYC-AM-FIL-01\Backup$
BackupDir=%ComputerName%
BackupDrive=C:
BackupShare
The shared folder in which backups of the target computer are stored.
The credentials used to access this shared folder for:
• LTI are the credentials entered in the Windows Deployment Wizard.
• ZTI are the credentials used by the Systems Management Server Advanced Client
Network Access account.
The permissions required on this share are as follows:
• Domain Computers. Allow the Create Folders/Append Data permission.
• Domain Users. Allow the Create Folders/Append Data permission.
• Creator Owner. Allow the Full Control permission.
Value Description
UNC_path The UNC path of the shared folder.
Note The UNC path specified in this property must exist before
deploying the target operating system.
Example
[Settings]
Priority=Default
[Default]
DoCapture=YES
BackupShare=\\NYC-AM-FIL-01\Backup$
BackupDir=%ComputerName%
BackupDrive=C:
BDEDriveLetter
The drive letter for the partition that is not encrypted by BitLocker Drive Encryption, also
known as the System Volume (SYSVOL). SYSVOL is the directory that contains the
hardware-specific files needed to load Windows computers after the BIOS has booted the
platform.
Value Description
drive_letter The letter designation for the logical drive for the System
Volume (such as S or T). The default value is S.
Example
[Settings]
Priority=Default
[Default]
BDEInstallSuppress=NO
BDEDriveLetter=S:
BDEDriveSize=2000
BDEInstall=TPMKey
BDERecoveryKey=AD
BDEKeyLocation=C:
BDEDriveSize
The size of the partition that is encrypted by BitLocker Drive Encryption, also known as
the operating system volume. The value is specified in megabytes. In the example, the
size of the BitLocker Drive Encryption partition to create is almost 2 gigabytes (GB)
(2,000 MB).
Value Description
drive_size The size of the partition in megabytes.
Example
[Settings]
Priority=Default
[Default]
BDEInstallSuppress=NO
BDEDriveLetter=S:
BDEDriveSize=2000
BDEInstall=TPMKey
BDERecoveryKey=AD
BDEKeyLocation=C:
BDEInstall
The type of BitLocker Drive Encryption installation to be performed. Protect the target
computer using one of the following methods:
• A TPM microcontroller
• A TPM and an external startup key (using a key that is typically stored on a USB flash
drive)
• A TPM and personal identification number (PIN)
• An external startup key
Value Description
TPM Protect the computer with TPM only. The TPM is a
microcontroller that stores keys, passwords, and digital
certificates. The microcontroller is typically an integral part
of the computer motherboard.
TPMKey Protect the computer with TPM and a startup key. Use this
option to create a startup key and to save it on a USB flash
drive. The startup key must be present in the port each time
the computer starts.
TPMPin Protect the computer with TPM and a pin. Use this option in
conjunction with the BDEPin property.
Key Protect the computer with an external key (the recovery
key) that can be stored in a folder, in AD DS, or printed.
Example
[Settings]
Priority=Default
[Default]
BDEInstallSuppress=NO
BDEDriveLetter=S:
BDEDriveSize=2000
BDEInstall=TPMKey
BDERecoveryKey=AD
BDEKeyLocation=C:
BDEInstallSuppress
Indicates whether the deployment process should skip the BitLocker Drive Encryption
installation.
Value Description
YES Do not attempt to install BitLocker Drive Encryption.
NO Attempt to install BitLocker Drive Encryption.
Example
[Settings]
Priority=Default
[Default]
BDEInstallSuppress=YES
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
BDEKeyLocation
The location for storing the BitLocker Drive Encryption recovery key and startup key.
Note If this property is configured using the Windows Deployment Wizard, the property must
be the drive letter of a removable disk. If the SkipBitLocker property is set to True so that the
Specify the BitLocker configuration wizard page is skipped, this property can be set to a UNC
path in CustomSettings.ini or in the Deployment Workbench database.
Value Description
location Specifies where the recovery key will be stored. Must be a
UNC path or the drive letter of a removable disk. If not set,
the first available removable drive will be used.
Example
[Settings]
Priority=Default
[Default]
BDEInstallSuppress=NO
BDEDriveLetter=S:
BDEDriveSize=2000
BDEInstall=TPMKey
BDERecoveryKey=AD
BDEKeyLocation=C:
BDEPin
The PIN to be assigned to the target computer when configuring BitLocker Drive
Encryption and the BDEInstall or OSDBitLockerMode properties are set to TPMPin.
Value Description
Pin The PIN to be used for BitLocker Drive Encryption. The PIN
can be between 4 and 20 digits long.
Example
[Settings]
Priority=Default
[Default]
BDEInstallSuppress=NO
BDEDriveLetter=S:
BDEDriveSize=2000
BDEInstall=TPMPin
BDEPin=123456789
BDERecoveryKey
A Boolean value that indicates whether the process creates a recovery key for BitLocker
Drive Encryption. The key is used for recovering data encrypted on a BitLocker Drive
Encryption volume. This key is cryptographically equivalent to a startup key. If available,
the recovery key decrypts the volume master key (VMK), which, in turn, decrypts the full
volume encryption key (FVEK).
Note The recovery key is stored in the location specified in the BDEKeyLocation property.
Value Description
AD A recovery key is created.
Not specified A recovery key is not created.
Example
[Settings]
Priority=Default
[Default]
BDEInstallSuppress=NO
BDEDriveLetter=S:
BDEDriveSize=2000
BDEInstall=TPMKey
BDERecoveryKey=AD
BDEKeyLocation=C:
BDEWaitForEncryption
Specifies that the deployment process should not proceed until BitLocker Drive
Encryption has completed the encryption process for all specified drives. Specifying
TRUE could dramatically increase the time required to complete the deployment process.
Value Description
TRUE Specifies that the deployment process should wait for drive
encryption to complete.
FALSE Specifies that the deployment process should not wait for
drive encryption to complete.
Example
[Settings]
Priority=Default
[Default]
BDEInstallSuppress=NO
BDEDriveLetter=S:
BDEDriveSize=2000
OSDBitLockerMode=TPMKey
OSDBitLockerStartupKeyDrive=C:
OSDBitLockerCreateRecoveryPassword=AD
BDEWaitForEncryption=TRUE
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
BitsPerPel
A setting for displaying colors on the target computer. The property can contain numeric
digits and corresponds to the color quality setting. In the example, 32 indicates 32 bits
per pixel for color quality. This value is inserted into the appropriate configuration settings
in Unattend.txt or Sysprep.inf for Windows XP and Windows Server 2003 or in
Unattend.xml for Windows Vista and Windows Server 2008.
Note The default values (in the template files Unattend.txt, Sysprep.inf, and Unattend.xml) are
1,024 pixels horizontal resolution, 768 pixels vertical resolution, 32-bit color depth, and 60 Hertz
vertical refresh rate.
Value Description
bits_per_pixel The number of bits per pixel to use for color. The default
value is the default for the operating system being
deployed.
Example
[Settings]
Priority=Default
[Default]
BitsPerPel=32
VRefresh=60
XResolution=1024
YResolution=768
BuildID
Identifies the operating system task sequence to be deployed to the target computer. The
task sequence ID is created on the Task Sequences node in Deployment Workbench.
The BuildID property allows alphanumeric characters, hyphens (-), and underscores (_).
The BuildID property cannot be blank or contain spaces.
Value Description
build_id Identifier of the operating system task sequence as defined
in Deployment Workbench for the target operating system
being deployed.
Note Make certain to use the TaskSequenceID specified in the
Deployment Workbench UI, and not the GUID of the
TaskSequenceID.
Example
[Settings]
Priority=Default
[Default]
BuildID=Vista_BareMetal
CapableArchitecture
The processor architecture of the processor supported by the target computer, not the
current processor architecture that is running. For example, when running a 32-bit-
compatible operating system on a 64-bit processor, CapableArchitecture will indicate
that the processor architecture is 64-bit.
Use the Architecture property to see the processor architecture that is currently running.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
x86 Processor architecture is 32-bit.
x64 Processor architecture is 64-bit.
Example
None
CaptureGroups
Controls whether the group membership of local groups on the target computer is
captured. This group membership is captured during the State Capture Phase and is
restored during the State Restore Phase.
Value Description
NO Captures no group membership information.
ALL Captures the membership of all local groups on the target
computer.
YES Captures the membership of the Administrator and Power
Users built-in groups and the groups listed in the groups’
properties. This is the default value if some other value is
specified. (YES is the typical value.)
Example
[Settings]
Priority=Default
[Default]
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UDShare=\\NYC-AM-FIL-01\MigData$
CaptureGroups=YES
Groups1=NYC Application Management
Groups2=NYC Help Desk Users
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
ComputerBackupLocation
The network shared folder where the computer backup is stored. If the target folder does
not already exist, it is automatically created.
Value Description
blank Same as AUTO.
UNC_path The UNC path to the network shared folder where the
backup is stored.
Value Description
AUTO Creates a backup on a local hard disk if space is available.
Otherwise, the backup is saved to a network location
specified in the BackupShare and BackupDir properties.
NETWORK Creates a backup on a network location specified in
BackupShare and BackupDir.
NONE No backup will be performed.
Example
[Settings]
Priority=Default
[Default]
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UDShare=\\NYC-AM-FIL-01\MigData$
ComputerBackupLocation=NETWORK
BackupShare=\\NYC-AM-FIL-01\Backup$
BackupDir=%ComputerName%
UDDir=%ComputerName%
SLShare=\\NYC-AM-FIL-01\Logs$
UDProfiles=Administrator, User-01, ExtranetUser
UserDataLocation=NONE
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
ComputerName
The name to be assigned to the target computer during the deployment of the target
operating system.
Value Description
computer_name The name to be assigned to the target computer.
Note In a Refresh Computer scenario, ZTI will rename the
computer if the following line was included in the [Default]
section: ComputerName=%OSDNEWMACHINENAME%.
Example
[Settings]
Priority=Default
[Default]
ComputerName=%OSDNEWMACHINENAME%
CountryCode
The country code to be configured for the operating system on the target computer. This
property allows only numeric characters. This value is inserted into the appropriate
configuration settings in Unattend.txt or Sysprep.inf for Windows XP and Windows
Server 2003 or in Unattend.xml for Windows Vista and Windows Server 2008.
Value Description
country_code The country code where the target computer is to be
deployed.
Example
[Settings]
Priority=Default
[Default]
AreaCode=206
CountryCode=001
Dialing=TONE
LongDistanceAccess=9
Database
The property that specifies the database to be used for querying property values from
columns in the table specified in the Table property. The database resides on the
computer specified in the SQLServer property. The instance of Microsoft SQL Server®
on the computer is specified in the Instance property.
Value Description
database The name of the database to be used for querying property
values.
Example
[Settings]
Priority=Computers, Default
[Default]
OSInstall=YES
[Computers]
SQLServer=NYC-SQL-01
SQLShare=SQL$
Database=DWDB
Instance=SQLEnterprise2005
Table=Computers
Parameters=SerialNumber, AssetTag
ParameterCondition=OR
DBID
Specifies the user account used to connect to the computer running SQL Server
(specified by the SQLServer property) using SQL Server authentication. The DBPwd
property provides the password for the user account in the DBID property.
Note SQL Server authentication is not as secure as Integrated Windows authentication.
Integrated Windows authentication is the recommended authentication method. Using the DBID
and DBPwd properties stores the credentials in clear text in the CustomSettings.ini file and
therefore is not secure. For more information about using Integrated Windows authentication, see
the SQLShare property.
Note This property is configurable only by manually editing the CustomSettings.ini and
BootStrap.ini files.
Value Description
user_id The name of the user account credentials used to access
the computer running SQL Server using SQL Server
authentication.
Example
[Settings]
Priority=Computers, Default
[Default]
OSInstall=YES
[Computers]
SQLServer=NYC-SQL-01
DBID=SQL_User-01
DBPwd=complex_password
NetLib=DBNMPNTW
Database=DWDB
Instance=SQLEnterprise2005
Table=Computers
Parameters=SerialNumber, AssetTag
ParameterCondition=OR
DBPwd
Specifies the password for the user account specified in the DBID property. The DBID
and DBPwd properties provide the credentials for performing SQL Server authentication
to the computer running SQL Server (specified by the SQLServer property).
Note SQL Server authentication is not as secure as Integrated Windows authentication.
Integrated Windows authentication is the recommended authentication method. Using the DBID
and DBPwd properties stores the credentials in clear text in the CustomSettings.ini file and
therefore is not secure. For more information about using Integrated Windows authentication, see
the SQLShare property.
Note This property is configurable only by manually editing the CustomSettings.ini and
BootStrap.ini files.
Value Description
user_password The password for the user account credentials specified in
the DBID property for using SQL Server authentication.
Example
[Settings]
Priority=Computers, Default
[Default]
OSInstall=YES
[Computers]
SQLServer=NYC-SQL-01
DBID=SQL_User-01
DBPwd=complex_password
NetLib=DBNMPNTW
Database=DWDB
Instance=SQLEnterprise2005
Table=Computers
Parameters=SerialNumber, AssetTag
ParameterCondition=OR
DefaultGateway
The IP address of the default gateway being used by the target computer. The format of
the IP address returned by the property is standard dotted-decimal notation; for example,
192.168.1.1.
Use this property to create a subsection that contains settings targeted to a group of
computers based on the IP subnets on which they are located.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
default_gateway The IP address of the default gateway in standard dotted-
decimal notation.
Example
[Settings]
Priority=DefaultGateway, Default
[Default]
OSInstall=YES
[DefaultGateway]
192.168.0.1=HOUSTON
11.1.1.11=REDMOND
172.28.20.1=REDMOND
[REDMOND]
Packages001=XXX00004:Program4
Packages002=XXX00005:Program5
[HOUSTON]
Packages001=XXX00006:Program6
Packages002=XXX00007:Program7
Packages003=XXX00008:Program8
DeployDrive
The value used by the scripts to access files and run programs in the deployment point
share created by Deployment Workbench. The property returns the drive letter mapped to
the DeployRoot property. ZTIApplications.wsf uses the DeployDrive property when
running any command-line programs with a .cmd or .bat extension.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
drive_letter The letter designation for the logical drive where the target
operating system is to be installed (such as C or D).
Example
None
DeploymentMethod
The method being used for the deployment (Network, Media, or OSD).
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
Network The deployment is made to the target computer over the
network.
Media The deployment is made from local media (such as DVD or
hard disk) at the target computer.
OSD The deployment occurs using the SMS 2003 OSD Feature
Pack from OSD distribution points. This is the method used
by ZTI.
Example
None
DeploymentType
The type of deployment being performed based on the deployment scenario. For ZTI, this
property is set dynamically by MDT 2008 scripts and is not configured in
CustomSettings.ini.
For LTI, the page in the Windows Deployment Wizard can be bypassed on which the
deployment type is selected. When skipping this page in the wizard (using the
SkipDeploymentType property), set this value in CustomSettings.ini to identify the type
of deployment to be performed. Additionally, the deployment type can be specified by
passing one of the values listed below to the LiteTouch.wsf script as a command-line
option.
Note Use the DeploymentType property in conjunction with the SkipDeploymentType
property to skip the page in the Windows Deployment Wizard. All values must be specified in
upper case to function properly.
Value Description
NEWCOMPUTER The target computer is a new computer that has never been
a member of the network.
Value Description
REFRESH The target computer is an existing computer on the network
that needs the desktop environment standard to be
redeployed.
REPLACE An existing computer on the network is being replaced with
a new computer. The user state migration data is
transferred from the existing computer to a new computer.
UPGRADE An existing computer on the network is running an earlier
version of the Microsoft Windows operating system and
needs to be upgraded to the most current desktop
environment standard.
Example
[Settings]
Priority=Default
[Default]
DeploymentType=UPGRADE
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
DeployRoot
The deployment point share created by Deployment Workbench. Use this property to
select a specific deployment point. The most common use of this property is in the
BootStrap.ini file to identify a deployment point before the connection to the deployment
point is established. All other deployment point folders are relative to this property (such
as device drivers, language packs, or operating systems).
Note For this property to function properly it must be configured in both CustomSettings.ini and
BootStrap.ini. This is because BootStrap.ini is processed before a deployment point (which
contains CustomSettings.ini) has been selected.
Value Description
UNC_path The UNC path to the deployment point share. The default
share name is Distribution$.
Example
[Settings]
Priority=Default
[Default]
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UserDataLocation=NONE
Dialing
The type of dialing supported by the telephony infrastructure where the target computer is
located. This value is inserted into the appropriate configuration settings in Unattend.txt
or Sysprep.inf for Windows XP and Windows Server 2003 or in Unattend.xml for
Windows Vista and Windows Server 2008.
Value Description
PULSE The telephony infrastructure supports pulse dialing.
TONE The telephony infrastructure supports touch-tone dialing.
Example
[Settings]
Priority=Default
[Default]
AreaCode=206
CountryCode=001
Dialing=TONE
LongDistanceAccess=9
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
DoCapture
Indicator of whether an image of the target computer is to be captured. If it is, Sysprep is
run on the target computer to prepare for image creation. After Sysprep has run, a new
Windows Imaging Format (WIM) image is created and stored in the folder within the
shared folder designated for target computer backups (BackupDir and BackupShare,
respectively).
Value Description
YES Run Sysprep on the target computer and capture a WIM
image.
NO Do not run Sysprep on the target computer and do not
capture a WIM image.
PREPARE Copies the necessary files to run Sysprep on the target
computer but does not run Sysprep or other image capture
processes. This value is used when the SMS 2003 OSD
Feature Pack is used to capture an image of the target
computer.
Example
[Settings]
Priority=Default
[Default]
DoCapture=YES
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UDShare=\\NYC-AM-FIL-01\MigData$
UDDir=%ComputerName%
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
DomainAdmin
The user account credentials used to join the target computer to the domain specified in
JoinDomain. Specify as Domain\UserName or [email protected].
Note For ZTI, the credentials that the SMS 2003 OSD Feature Pack specifies typically are used.
If the DomainAdmin property is specified, the credentials in the DomainAdmin property
override the credentials that the SMS 2003 OSD Feature Pack specifies.
Value Description
domain_admin The name of the user account credentials.
Example
[Settings]
Priority=Default
[Default]
DomainAdmin=NYCAdmin
DomainAdminDomain=WOODGROVEBANK
DomainAdminPassword=complex_password::
DomainAdminDomain
The domain in which the user’s credentials specified in DomainAdmin reside.
Note For ZTI, the credentials that the SMS 2003 OSD Feature Pack specifies typically are used.
If the DomainAdmin property is specified, the credentials in the DomainAdmin property
override the credentials that the SMS 2003 OSD Feature Pack specifies.
Value Description
domain_admin_domain The name of the domain where the user account credentials
reside.
Example
[Settings]
Priority=Default
[Default]
DomainAdmin=NYCAdmin
DomainAdminDomain=WOODGROVEBANK
DomainAdminPassword=complex_password::
DomainAdminPassword
The password used for the domain Administrator account specified in the DomainAdmin
property to join the computer to the domain.
Note For ZTI, the credentials that the SMS 2003 OSD Feature Pack specifies typically are used.
If the DomainAdmin property is specified, the credentials in the DomainAdmin property
override the credentials that the SMS 2003 OSD Feature Pack specifies.
Value Description
domain_admin_password The password for the domain Administrator account on the
target computer.
Example
[Settings]
Priority=Default
[Default]
DomainAdmin=NYCAdmin
DomainAdminDomain=WOODGROVEBANK
DomainAdminPassword=complex_password
DomainOUs
A list of AD DS organizational units (OUs) where the target computer account can be
created. The DomainOUs property lists text values that can be any non-blank value. The
DomainOUs property has a numeric suffix (for example, DomainOUs1 or
DomainOUs2).
In addition, the same functionality can be provided by configuring the DomainOUList.xml
file. The format of the DomainOUList.xml file is as follows:
<?xml version="1.0" encoding="utf-8"?>
<DomainOUs>
<DomainOU>OU=\WOODGROVEBANK\NYC\Tellers\Computers</DomainOU>
<DomainOU>OU=\WOODGROVEBANK\NYC\Managers\Computers</DomainOU>
</DomainOUs>
Value Description
OU The OU where the target computer account can be created.
Example
[Settings]
Priority=Default
[Default]
OSInstall=Y
DomainOUs1=\WOODGROVEBANK\NYC\Tellers\Computers
DomainOUs2=\WOODGROVEBANK\NYC\Managers\Computers
DriverGroup
A list of text values that associates out-of-box drivers created in Deployment Workbench
with each other (typically based on the make and model of a computer). A driver can be
associated with one or more driver groups. The DriverGroup property allows the drivers
within one or more groups to be deployed to a target computer.
The text values in the list can be any non-blank value. The DriverGroup property value
has a numeric suffix (for example, DriverGroup001 or DriverGroup002). After it is
defined, a driver group is associated with a computer. A computer can be associated with
more than one driver group.
For example, there are two sections for each of the computer manufacturers [Mfgr01]
and [Mfgr02]. Two driver groups are defined for the manufacturer Mfgr01: Mfgr01
Video Drivers and Mfgr01 Network Drivers. For the manufacturer Mfgr02, one driver
group is defined, Mfgr02 Drivers. One driver group, Shared Drivers, is applied to all
computers found in the [Default] section.
Value Description
driver_group_name The name of the driver group defined in Deployment
Workbench.
Example
[Settings]
Priority=Make, Default
[Default]
DriverGroup001=Shared Drivers
::
[Mfgr01]
DriverGroup001=Mfgr01 Video Drivers
DriverGroup002=Mfgr01 Network Drivers
[Mfgr02]
DriverGroup001=Mfgr02 Drivers
DriverPaths
A list of UNC paths to shared folders where additional device drivers are located. These
device drivers are installed with the target operating system on the target computer. The
MDT 2008 scripts copy the contents of these folders to the C:\Drivers folder on the target
computer. The DriverPaths property is a list of text values that can be any non-blank
value. The DriverPaths property has a numeric suffix (for example, DriverPaths001 or
DriverPaths002).
Value Description
UNC_path UNC path to the shared folder where the additional drivers
are located.
Example
[Settings]
Priority=Default
[Default]
DriverPaths001=\\NYC-AM-FIL-01\Drivers$
DriverPaths002=\\NYC-AM-FIL-03\VistaDrvs::
EventShare
The UNC path to the event collection servers for the Microsoft Deployment Toolkit
Management Pack for Microsoft System Center Operations Manager 2007. The
EventShare property points to a shared folder in which the MDT 2008 scripts record
events.
By default, the shared folder is created in C:\Events. If the folder will be created in any
location other than C:\Events, modify the Generate ZTI Events and Discovery Data
Management Pack rule to reference the location of the folder.
Value Description
UNC_path The UNC path to the shared folder where the Microsoft
Deployment Toolkit Management Pack stores event
information. The default share name is Events.
Example
[Settings]
Priority=Default
[Default]
EventShare=\\NYC-AM-FIL-01\Events
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
FullName
The full name of the user of the target computer provided during the installation of the
operating system. This value is inserted into the appropriate configuration settings in
Unattend.txt or Sysprep.inf for Windows XP and Windows Server 2003 or in Unattend.xml
for Windows Vista and Windows Server 2008.
Note This value is different from the user credentials created after the operating system is
deployed. The FullName property is provided as information to system administrators about the
user running applications on the target computer.
Value Description
full_name The full name of the user of the target computer.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
82 Microsoft Deployment Toolkit 2008
Value Description
Example
[Settings]
Priority=MACAddress, Default
Properties=CustomProperty, ApplicationInstall
[Default]
CustomProperty=TRUE
OSDINSTALLSILENT=1
OrgName=Woodgrove Bank
[00:0F:20:35:DE:AC]
OSDNEWMACHINENAME=HPD530-1
OSDINSTALLPACKAGE=DAL00342
OSDINSTALLPROGRAM=CustomVista
ApplicationInstall=Custom
FullName=Woodgrove Bank User
[00:03:FF:FE:FF:FF]
OSDNEWMACHINENAME=BVMXP
OSDINSTALLPACKAGE=NYC00002
OSDINSTALLPROGRAM=SpecialVista
ApplicationInstall=Minimum
FullName=Woodgrove Bank Manager
Groups
The list of local groups on the target computer whose membership will be captured. This
group membership is captured during the State Capture Phase and is restored during the
State Restore Phase. (The default groups are Administrators and Power Users.) The
Groups property is a list of text values that can be any non-blank value. The Groups
property has a numeric suffix (for example, Groups001 or Groups002).
Value Description
group_name The name of the local group on the target computer for
Value Description
which group membership will be captured.
Example
[Settings]
Priority=Default
[Default]
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UDShare=\\NYC-AM-FIL-01\MigData$
CaptureGroups=YES
Groups001=NYC Application Management
Groups002=NYC Help Desk Users
HALName
The descriptive name of the hardware abstraction layer (HAL) currently running on the
target computer.
Note This property is required only for Windows XP and Windows Server 2003 deployment.
Also, this property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
hal_name The name of the HAL running on the target computer.
Example
None
Home_Page
The URL to be used as the Windows Internet Explorer® home page after the target
operating system is deployed.
Value Description
URL The URL of the Web page to be used as the home page for
Internet Explorer on the target computer.
Example
[Settings]
Priority=Default
[Default]
Home_Page=http://portal.woodgrovebank.com
ComputerName=%OSDNEWMACHINENAME%
HostName
The IP host name of the target computer (the name assigned to the target computer).
Note This is the computer name of the target computer, not the NetBIOS computer name of the
target computer. The NetBIOS computer name can be shorter than the computer name. Also, this
property is dynamically set by the MDT 2008 scripts and is not configured in CustomSettings.ini.
Treat this property as read-only.
Value Description
host_name The IP host name assigned to the target computer.
Example
None
InputLocale
A list of input locales to be used with the target operating system. More than one input
locale can be specified for the target operating system. Each locale must be separated by
a semicolon (;). If not specified, the Windows Deployment Wizard uses the input locale
configured in the image being deployed.
Exclude this setting in the Windows User State Migration Tool (USMT) when backing up
and restoring user state information. Otherwise, the settings in the user state information
will override the values specified in the InputLocale property.
Note This property is used only for deploying Windows XP and Windows Server 2003.
Value Description
input_locale1; The locale for the keyboard attached to the target computer.
input_locale2
Example
[Settings]
Priority=Default
[Default]
UserLocale=0409:00000409
InputLocale=0409:00000409;0413:00020409;0413:00000409;0409:00020409
Instance
The instance of SQL Server used for querying property values from columns in the table
specified in the Table property. The database resides on the computer specified in the
SQLServer property. The instance of SQL Server on the computer is specified in the
Instance property.
Value Description
instance The name of the instance of SQL Server to be used for
querying property values.
Example
[Settings]
Priority=Computers, Default
[Default]
OSInstall=YES
[Computers]
SQLServer=NYC-SQL-01
Database=DWDB
Instance=SQLEnterprise2005
Table=Computers
Parameters=SerialNumber, AssetTag
ParameterCondition=OR
IPAddress
The IP address of the target computer. The format of the IP address returned by the
property is standard dotted-decimal notation; for example, 192.168.1.1.
Use this property to create a subsection that contains settings targeted to a specific
target computer based on the IP address.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
ip_address The IP address of the target computer in standard dotted-
decimal notation.
Example
None
IsDesktop
Indicator of whether the computer is a desktop, because the Win32_SystemEnclosure
ChassisType property value is 3, 4, 5, 6, 7, or 15.
Note Only one of the following properties will be true at a time: IsDesktop, IsLaptop,
IsServer.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
TRUE The target computer is a desktop computer.
FALSE The target computer is not a desktop computer.
Example
None
IsLaptop
Indicator of whether the computer is a portable computer, because the
Win32_SystemEnclosure ChassisType property value is 8, 10, 12, 14, 18, or 21.
Note Only one of the following properties will be true at a time: IsDesktop, IsLaptop,
IsServer.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
TRUE The target computer is a portable computer.
FALSE The target computer is not a portable computer.
Example
None
IsServer
Indicator of whether the computer is a server, because the Win32_SystemEnclosure
ChassisType property value is 23.
Note Only one of the following properties will be true at a time: IsDesktop, IsLaptop,
IsServer.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
TRUE The target computer is a server.
FALSE The target computer is not a server.
Example
None
IsServerCoreOS
Indicator of whether the current operating system running on the target computer is the
Windows Server 2008 Core operating system.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
TRUE The operating system on the target computer is Windows
Server 2008 Core.
FALSE The operating system on the target computer is not
Windows Server 2008 Core.
Example
None
IsServerOS
Indicator of whether the current operating system running on the target computer is a
server operating system (such as Windows Server 2003).
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
TRUE The operating system on the target computer is a server
operating system.
FALSE The operating system on the target computer is not a server
operating system.
Example
None
JoinDomain
The domain that the target computer joins after the target operating system is deployed.
This is the domain where 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.
Value Description
domain_name The name of the domain that the target computer joins.
Example
[Settings]
Priority=Default
[Default]
JoinDomain=WOODGROVEBANK
MachineObjectOU=OU=Reception,OU=NYC,DC=Woodgrovebank,DC=com
ComputerName=%OSDNEWMACHINENAME%
JoinWorkgroup
The workgroup that the target computer joins after the target operating system is
deployed. The JoinWorkgroup property can contain alphanumeric characters, hyphens
(-), and underscores (_). The JoinWorkgroup property cannot be blank or contain
spaces.
Value Description
workgroup_name The name of the workgroup that the target computer joins.
Example
[Settings]
Priority=Default
[Default]
JoinWorkgroup=WDGV_WORKGROUP
KeyboardLocale
A list of keyboard locales to be used with the target operating system. More than one
keyboard locale can be specified for the target operating system. Each locale must be
separated by a semicolon (;). If not specified, the Windows Deployment Wizard uses the
keyboard locale configured in the image being deployed.
Exclude this setting in USMT when backing up and restoring user state information.
Otherwise, the settings in the user state information will override the values specified in
the KeyboardLocale property.
Note This property is used only for deploying Windows Vista and Windows Server 2008. For this
property to function properly it must be configured in both CustomSettings.ini and BootStrap.ini.
This is because BootStrap.ini is processed before a deployment point (which contains
CustomSettings.ini) has been selected.
Value Description
keyboard_locale1; The locale of the keyboard attached to the target computer.
keyboard_locale2
The value can be specified in the following formats:
• Text (en-us)
• Hexadecimal (0409:00004009)
Example 1
[Settings]
Priority=Default
[Default]
UserLocale=en-us
KeyboardLocale=en-us
Example 2
[Settings]
Priority=Default
[Default]
UserLocale=en-us
KeyboardLocale=0409:00004009;1809:00001809;041A:0000041A;083b:0001083b
LanguagePacks
A list of the GUIDs for the language packs to be deployed on the target computer.
Deployment Workbench specifies these language packs on the OS Packages node.
These GUIDs are stored in the Packages.xml file. The LanguagePacks property has a
numeric suffix (for example, LanguagePacks001 or LanguagePacks002).
Value Description
language_pack_guid The GUID that Deployment Workbench specifies for the
language packs to install on the target computer. The GUID
corresponds to the language pack GUID stored in
Packages.xml.
Example
[Settings]
Priority=Default
[Default]
LanguagePacks001={a1923f8d-b07b-44c7-ac1e-353b7cc4c1ad}
LoadStateArgs
The arguments passed to the USMT Loadstate process. The ZTI script inserts the
appropriate logging, progress, and state store parameters. If this value is not included in
the settings file, the user state restore process is skipped.
If the Loadstate process finishes successfully, the user state information is deleted. In the
event of a Loadstate failure (or non-zero return code), the local state store is moved to
%WINDIR%\StateStore to prevent deletion and to ensure that no user state information is
lost.
Value Description
Arguments The command-line arguments passed to Loadstate.exe.
The default arguments specified by Deployment Workbench
are as follows:
• /v. Enables verbose output in the Loadstate log. The
default is 0. Specify any number from 0 to 15. The value
5 enables verbose and status output.
• /c. When specified, Loadstate will continue to run even
if there are nonfatal errors. Without the /c option,
Loadstate exits on the first error.
• /lac. Specifies that if the account being migrated is a
local (non-domain) account, and it does not exist on the
destination computer, then USMT will create the
account but it will be disabled.
For more information about these and other arguments, see
the USMT Help files.
Example
[Settings]
Priority=Default
[Default]
OSInstall=YES
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UDShare=\\NYC-AM-FIL-01\MigData$
UDDir=%ComputerName%
Location
The geographic location of the target computers. A list of IP addresses that correspond to
the default gateways defined for the computers within that location defines the Location
property. An IP address for a default gateway can be associated with more than one
location.
Typically, the value for the Location property is set by performing a database query on
the database managed using Deployment Workbench. Deployment Workbench can
assist in creating the locations, defining property settings associated with the locations,
and then in configuring CustomSettings.ini to perform the database query for the
Location property and the property settings associated with the locations.
For example, a LocationSettings section in CustomSettings.ini can query the
LocationSettings view in the database for a list of locations that contain the value
specified in the DefaultGateway property listed in the Parameters property. The query
returns all settings associated with each default gateway.
Then the scripts parse each section that corresponds to the locations returned in the
query. For example, the value [Springfield]and the section [Springfield-123 Oak
Street-4th Floor] in CustomSettings.ini can represent the corresponding locations.
This is an example of how one computer can belong to two locations. The
[Springfield] section is for all computers in a larger geographic area (an entire city),
and the [Springfield-123 Oak Street-4th Floor] section is for all computers on the
fourth floor at 123 Oak Street, in Springfield.
Value Description
location1, The list of locations to be assigned to an individual
computer or a group of computers.
location2
Example
[Settings]
Priority=LSettings, Default
[Default]
UserDataLocation=AUTO
DeployRoot=\\W2K3-SP1\Distribution$
OSInstall=YES
ScanStateArgs=/v:15 /o /c
LoadStateArgs=/v:7 /c
[LSettings]
SQLServer=w2k3-sp1
Instance=MDT2008
Database=DWDB
Netlib=DBNMPNTW
SQLShare=SQL$
Table=LocationSettings
Parameters=DefaultGateway
[Springfield]
UDDir=%ComputerName%
UDShare=\\Springfield-FIL-01\UserData
LongDistanceAccess
The dialing digits to gain access to an outside line to dial long distance. The property can
contain only numeric digits. This value is inserted into the appropriate configuration
settings in Unattend.txt or Sysprep.inf for Windows XP and Windows Server 2003 or in
Unattend.xml for Windows Vista and Windows Server 2008.
Value Description
long_distance_access The digits used to get an outside line to dial long distance
where the target computer is to be deployed.
Example
[Settings]
Priority=Default
[Default]
AreaCode=206
CountryCode=001
Dialing=TONE
LongDistanceAccess=9
MACAddress
The media access control (MAC) layer address of the primary network adapter of the
target computer. The MACAddress property is included on the Priority line so that
property values specific to a target computer can be provided. Create a section for each
MAC address for each of the target computers (such as [00:0F:20:35:DE:AC] or
[00:03:FF:FE:FF:FF]) that contain target computer–specific settings.
Value Description
mac_address The MAC address of the target computer.
Example
[Settings]
Priority=MACAddress, Default
[Default]
CaptureGroups=YES
Groups1=NYC Application Management
Groups2=NYC Help Desk Users
[00:0F:20:35:DE:AC]
OSDNEWMACHINENAME=HPD530-1
OSDINSTALLPACKAGE=DAL00342
OSDINSTALLPROGRAM=CustomVista
[00:03:FF:FE:FF:FF]
OSDNEWMACHINENAME=BVMXP
OSDINSTALLPACKAGE=NYC00002
OSDINSTALLPROGRAM=SpecialVista
MachineObjectOU
The AD DS OU in the target domain where the computer account for the target computer
is created.
Note The OU specified in this property must exist before deploying the target operating system.
Value Description
OU_name The name of the OU where the computer account for the
target computer will be created.
Example
[Settings]
Priority=Default
[Default]
JoinDomain=WOODGROVEBANK
MachineObjectOU=OU=Reception,OU=NYC,DC=Woodgrovebank,DC=com
ComputerName=%OSDNEWMACHINENAME%
Make
The manufacturer of the target computer. The format for Make is undefined. Use this
property to create a subsection that contains settings targeted to a specific computer
manufacturer (most commonly in conjunction with the Model and Product properties).
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
make The manufacturer of the target computer.
Example
[Settings]
Priority=Make, Default
[Default]
[Dell-Latitude D600]
Packages001=XXX00009:Program9
Packages002=XXX0000A:Program10
MandatoryApplications
A list of application GUIDs that will be installed on the target computer. These
applications are specified on the Applications node in Deployment Workbench. The
GUIDs are stored in the Applications.xml file. The MandatoryApplications property is a
list of text values that can be any non-blank value. The MandatoryApplications property
has a numeric suffix (for example, MandatoryApplications001 or
MandatoryApplications002).
Value Description
application_guid The GUID specified by Deployment Workbench for the
application to be deployed to the target computer. The
GUID corresponds to the application GUID stored in the
Applications.xml file.
Example
[Settings]
Priority=Default
[Default]
MandatoryApplications001={1D7DF331-47B7-472C-87B3-442597EC2F7D}
MandatoryApplications002={9d2b8999-5e4d-4f3d-bb05-edaaf4fe5628}
Administrators1=WOODGROVEBANK\NYC Help Desk Staff
Memory
The amount of memory installed on the target computer in megabytes. For example, the
value 2038 indicates 2,038 MB (or 2 GB) of memory is installed on the target computer.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
memory The amount of memory installed on the target computer in
megabytes.
Example
None
Model
The model of the target computer. The format for Model is undefined. Use this property
to create a subsection that contains settings targeted to a specific computer model
number for a specific computer manufacturer (most commonly in conjunction with the
Make and Product properties).
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
model The model of the target computer.
Example
[Settings]
Priority=Make, Default
[Default]
[Dell-Latitude D600]
Packages001=XXX00009:Program9
Packages002=XXX0000A:Program10
NetLib
The protocol to be used to communicate with the computer running SQL Server specified
in the SQLServer property.
Value Description
DBNMPNTW Use named pipes protocol to communicate.
DBMSSOCN Use TCP/IP sockets to communicate.
Example
[Settings]
Priority=Computers, Default
[Default]
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
[Computers]
SQLServer=NYC-SQL-01
SQLShare=SQL$
NetLib=DBNMPNTW
Database=DWDB
Instance=SQLEnterprise2005
Table=Computers
Parameters=SerialNumber, AssetTag
ParameterCondition=OR
Order
The sorting order for the result set on a database query. The result set is based on the
configuration settings of the Database, Table, SQLServer, Parameters, and
ParameterCondition properties. More than one property can be provided to sort the
results by more than one property.
For example, if Order=Sequence is specified in the CustomSettings.ini file, then an
ORDER BY Sequence clause is added to the query. Specifying Order=Make, Model
adds an ORDER BY Make, Model clause to the query.
Value Description
property1, property2, … Properties to define the sort order for the result set (where
propertyn represents the properties in the sort criteria).
Example
[Settings]
Priority=Computers, Default
[Default]
OSInstall=YES
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
[Computers]
SQLServer=NYC-SQL-01
SQLShare=SQL$
NetLib=DBNMPNTW
Database=DWDB
Instance=SQLEnterprise2005
Table=MakeModelSettings
Parameters=SerialNumber, AssetTag
ParameterCondition=OR
Order=Make, Model
OrgName
The name of the organization that owns the target computer. This value is inserted into
the appropriate configuration settings in Unattend.txt or Sysprep.inf for Windows XP and
Windows Server 2003 or in Unattend.xml for Windows Vista and Windows Server 2008.
Value Description
org_name The name of the organization that owns the target
computer.
Example
[Settings]
Priority=MACAddress, Default
Properties=CustomProperty, ApplicationInstall
[Default]
OSInstall=YES
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
UserDataLocation=NONE
CustomProperty=TRUE
OSDINSTALLSILENT=1
OrgName=Woodgrove Bank
[00:0F:20:35:DE:AC]
OSDNEWMACHINENAME=HPD530-1
OSDINSTALLPACKAGE=DAL00342
OSDINSTALLPROGRAM=CustomVista
ApplicationInstall=Custom
FullName=Woodgrove Bank User
[00:03:FF:FE:FF:FF]
OSDNEWMACHINENAME=BVMXP
OSDINSTALLPACKAGE=NYC00002
OSDINSTALLPROGRAM=SpecialVista
ApplicationInstall=Minimum
FullName=Woodgrove Bank Manager
OSDBitLockerCreateRecoveryPassword
A Boolean value that indicates whether the process creates a recovery key for BitLocker
Drive Encryption. The key is used for recovering data encrypted on a BitLocker Drive
Encryption volume. This key is cryptographically equivalent to a startup key. If available,
the recovery key decrypts the volume master key (VMK), which, in turn, decrypts the full
volume encryption key (FVEK).
Value Description
AD A recovery key is created.
Not specified A recovery key is not created.
Example
[Settings]
Priority=Default
[Default]
BDEInstallSuppress=NO
BDEDriveLetter=S:
BDEDriveSize=2000
OSDBitLockerMode=TPMKey
OSDBitLockerCreateRecoveryPassword=AD
OSDBitLockerStartupKeyDrive=C:
OSDBitLockerMode
The type of BitLocker Drive Encryption installation to be performed. Protect the target
computer using one of the following methods:
• A TPM microcontroller
• A TPM and an external startup key (using a key that is typically stored on a USB flash
drive)
• A TPM and PIN
• An external startup key.
Value Description
TPM Protect the computer with TPM only. The TPM is a
microcontroller that stores keys, passwords, and digital
certificates. The microcontroller is typically an integral part
of the computer motherboard.
TPMKey Protect the computer with TPM and a startup key. Use this
option to create a startup key and to save it on a USB flash
drive. The startup key must be present in the port each time
the computer starts.
TPMPin Protect the computer with TPM and a pin. Use this option in
conjunction with the BDEPin property.
Note This value is not valid when using ZTI for ConfigMgr.
Value Description
Key Protect the computer with an external key (the recovery
key) that can be stored in a folder, in AD DS, or printed.
Example
[Settings]
Priority=Default
[Default]
BDEInstallSuppress=NO
BDEDriveLetter=S:
BDEDriveSize=2000
OSDBitLockerMode=TPM
OSDBitLockerCreateRecoveryPassword=AD
OSDBitLockerRecoveryPassword
Instead of generating a random recovery password, the Enable BitLocker task
sequence action uses the specified value as the recovery password. The value must be a
valid numerical BitLocker Drive Encryption recovery password.
Value Description
password A valid 48-digit password.
Example
[Settings]
Priority=Default
[Default]
BDEInstallSuppress=NO
BDEDriveLetter=S:
BDEDriveSize=2000
OSDBitLockerMode=TPMKey
OSDBitLockerCreateRecoveryPassword=AD
OSDBitLockerRecoveryPassword=621280128854709621167486709731081433315062587367
OSDBitLockerStartupKeyDrive=C:
OSDBitLockerStartupKey
Instead of generating a random startup key for the key management option Startup Key
on USB only, the Enable BitLocker task sequence action uses the value as the startup
key. The value must be a valid, Base64-encoded BitLocker Drive Encryption startup key.
Value Description
startupkey Base64-encoded BitLocker Drive Encryption startup key.
Example
[Settings]
Priority=Default
[Default]
BDEInstallSuppress=NO
BDEDriveLetter=S:
BDEDriveSize=2000
BDEInstall=KEY
OSDBitLockerCreateRecoveryPassword=AD
OSDBitLockerStartupKey=8F4922B8-2D8D-479E-B776-12629A361049
OSDBitLockerStartupKeyDrive
The location for storing the BitLocker Drive Encryption recovery key and startup key.
Value Description
location The storage location for the recovery key and startup key
(either local to the target computer or to a UNC that points
to a shared network folder).
Example
[Settings]
Priority=Default
[Default]
BDEInstallSuppress=NO
BDEDriveLetter=S:
BDEDriveSize=2000
OSDBitLockerMode=TPMKey
OSDBitLocker CreateRecoveryPassword=AD
OSDBitLockerStartupKeyDrive=C:
OSDBitLockerTargetDrive
Specifies the drive to be encrypted. The default drive is the drive that contains the
operating system.
Value Description
drive The drive that is to be encrypted.
Example
[Settings]
Priority=Default
[Default]
BDEInstallSuppress=NO
BDEDriveLetter=S:
BDEDriveSize=2000
BDERecoveryPassword=TRUE
OSDBitLockerMode=TPMKey
OSDBitLockerCreateRecoveryPassword=AD
OSDBitLockerTargetDrive=C:
OSDBitLockerWaitForEncryption
Specifies that the deployment process should not proceed until BitLocker Drive
Encryption has completed the encryption process for all specified drives. Specifying
TRUE could dramatically increase the time required to complete the deployment process.
Value Description
TRUE Specifies that the deployment process should wait for drive
encryption to complete.
FALSE Specifies that the deployment process should not wait for
drive encryption to complete.
Example
[Settings]
Priority=Default
[Default]
BDEInstallSuppress=NO
BDEDriveLetter=S:
BDEDriveSize=2000
OSDBitLockerMode=TPMKey
OSDBitLockerStartupKeyDrive=C:
OSDBitLockerCreateRecoveryPassword=AD
OSDBitLockerWaitForEncryption=TRUE
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
OSDComputerName
The new computer name to assign to the target computer.
Note This property is valid when using MDT 2008 with System Center Configuration Manager.
Value Description
computer_name The new computer name to assign to the target computer.
Example
[Default]
OSDComputerName=%_SMSTSMachineName%
Note This property can also be set within a task sequence using a customized Set Task
Sequence Variable task sequence step.
OSCurrentBuild
The build number of the currently running operating system.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
2195 Microsoft Windows 2000
2600 Windows XP
3790 Windows Server 2003
6000 Windows Vista, Windows PE 2.0
6001 Windows Vista with Service Pack 1 (SP1), Windows
Server 2008
Example
None
OSCurrentVersion
The version of the operating system that is currently running.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
5.0.2195 Windows 2000
5.1.2600 Windows XP
5.2.3790 Windows Server 2003
6.0.6000 Windows Vista, Windows PE 2.0
6.0.6001 Windows Vista with SP1, Windows Server 2008
Example
None
OSDInstallPackage
The SMS 2003 OSD Feature Pack package that the operating system image installation
CD installs, using a Systems Management Server package advertisement or Windows
Deployment Services. This is set by the custom program or script specified in the
Operating System Image Installation CD Wizard.
During the Validation Phase, if the value of the OSDInstallPackage property (the value
gathered by ZTIGather.wsf) is not equal to the value of the OSDPackageID for the
currently running package, the scripts log the following warning message:
Warning: The OSDINSTALLPACKAGE value gathered (XXX00000) does not
match the actively-running package (XXX00001). The intended
package may not be installing due to SMS advertisement targeting
problems.
Note For this property to function properly, the OSDInstallProgram, OSDInstallSilent, and
OSDNewMachineName properties must also be specified. In addition, the property must be
configured in both CustomSettings.ini and BootStrap.ini. This is because BootStrap.ini is
processed before a deployment point (which contains CustomSettings.ini) has been selected.
Note This property is used only in the New Computer scenario for CD or Windows Deployment
Services installations. This property is not used for other scenarios or installation types.
Value Description
package_name The SMS 2003 OSD Feature Pack package name to be
installed on the target computer.
Example
[00:03:FF:CB:4E:C2]
UDShare=\\SERVER\MigData
SLShare=\\SERVER\Logs
OSDINSTALLSILENT=1
OSDINSTALLPACKAGE=SMS00001
Example
OSDINSTALLPROGRAM=ZTI Install
OSDNEWMACHINENAME=WasWIN2000PRO
ComputerName=WasWIN2000PRO
TimeZone=004
OSDInstallProgram
The SMS 2003 OSD Feature Pack program that the operating system image installation
CD installs, using a Systems Management Server package advertisement or Windows
Deployment Services. This property is set by the custom program or script specified in
the Operating System Image Installation CD Wizard.
Note For this property to function properly, the OSDInstallPackage, OSDInstallSilent, and
OSDNewMachineName properties must also be specified. In addition, the property must be
configured in both CustomSettings.ini and BootStrap.ini. This is because BootStrap.ini is
processed before a deployment point (which contains CustomSettings.ini) has been selected.
Note This property is used only in the New Computer scenario for CD or Windows Deployment
Services installations. This property is not used for other scenarios or installation types.
Value Description
program_name The name of the SMS 2003 OSD Feature Pack program to
be run for the SMS 2003 OSD Feature Pack package
specified in OSDInstallPackage.
Example
[00:03:FF:CB:4E:C2]
UDShare=\\SERVER\MigData
SLShare=\\SERVER\Logs
OSDINSTALLSILENT=1
OSDINSTALLPACKAGE=SMS00001
OSDINSTALLPROGRAM=ZTI Install
OSDNEWMACHINENAME=WasWIN2000PRO
ComputerName=WasWIN2000PRO
TimeZone=004
OSDInstallSilent
Indicator of whether the SMS 2003 OSD Feature Pack Image Installation Wizard is
displayed. For ZTI, this property is typically set to 1. If this property is defined, however,
the SMS 2003 OSD Feature Pack Image Installation Wizard is hidden.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
112 Microsoft Deployment Toolkit 2008
Note For this property to work properly, the OSDInstallPackage, OSDInstallProgram, and
OSDNewMachineName properties must be specified, as well. In addition, the property must be
configured in both CustomSettings.ini and BootStrap.ini. This is because BootStrap.ini is
processed before a deployment point (which contains CustomSettings.ini) has been selected.
Value Description
1 Hide the SMS 2003 OSD Feature Pack Image Installation
Wizard.
blank Display the SMS 2003 OSD Feature Pack Image
Installation Wizard.
Example
[00:03:FF:CB:4E:C2]
UDShare=\\SERVER\MigData
SLShare=\\SERVER\Logs
OSDINSTALLSILENT=1
OSDINSTALLPACKAGE=SMS00001
OSDINSTALLPROGRAM=ZTI Install
OSDNEWMACHINENAME=WasWIN2000PRO
ComputerName=WasWIN2000PRO
TimeZone=004
OSDMP
The server that is the Systems Management Server management point for the target
computer. Set this property for a New Computer scenario so that the Systems
Management Server client on the target computer can communicate with the Systems
Management Server management point.
Specify the computer name or IP address and the IP port number on which the
management point is listening. The default port number is 80 but can be changed using
SMS Administrator Console.
Note For this property to work properly, the property must be configured in both
CustomSettings.ini and BootStrap.ini. This is because BootStrap.ini is processed before a
deployment point (which contains CustomSettings.ini) has been selected.
Value Description
server_name:port_numbe The server name and port number of a Systems
r Management Server management point.
Example
[00:03:FF:CB:4E:C2]
UDShare=\\SERVER\MigData
SLShare=\\SERVER\Logs
OSDINSTALLSILENT=1
OSDINSTALLPACKAGE=SMS00001
OSDINSTALLPROGRAM=ZTI Install
OSDNEWMACHINENAME=WasWIN2000PRO
OSDMP=NYC-AM-SMS-01:80
OSDSiteCode=001
ComputerName=WasWIN2000PRO
TimeZone=004
OSDNewMachineName
The name to assign to a computer when a new operating system is installed. This
property is used in the New Computer and Replace Computer installation scenarios when
running the operating system image installation CD or Remote Installation Service (RIS).
In a Refresh Computer scenario, ZTI can rename the computer if the following line is
included in the default section:
ComputerName=%OSDNEWMACHINENAME%
Note In a New Computer scenario, ensure that ComputerName and
OSDNEWMACHINENAME are the same (if both are populated). Otherwise, because .log file
names and computer names in events use OSDNEWMACHINENAME, if ComputerName has a
different value, the names will be inconsistent for the same computer.
Value Description
computer_name The name that the SMS 2003 OSD Feature Pack assigns
the target computer.
Example
[00:03:FF:CB:4E:C2]
UDShare=\\SERVER\MigData
SLShare=\\SERVER\Logs
Example
OSDINSTALLSILENT=1
OSDINSTALLPACKAGE=SMS00001
OSDINSTALLPROGRAM=ZTI Install
OSDNEWMACHINENAME=WasWIN2000PRO
ComputerName=WasWIN2000PRO
TimeZone=004
OSDSiteCode
The site code for the Systems Management Server site. Set this property for New
Computer scenarios so that the Systems Management Server client on the target
computer can communicate with the Systems Management Server management point.
Note For this property to work properly, the property must be configured in both
CustomSettings.ini and BootStrap.ini. This is because BootStrap.ini is processed before a
deployment point (which contain CustomSettings.ini) has been selected.
Value Description
site_code The site code of the Systems Management Server
management point.
Example
[00:03:FF:CB:4E:C2]
UDShare=\\SERVER\MigData
SLShare=\\SERVER\Logs
OSDINSTALLSILENT=1
OSDINSTALLPACKAGE=SMS00001
OSDINSTALLPROGRAM=ZTI Install
OSDNEWMACHINENAME=WasWIN2000PRO
OSDMP=NYC-AM-SMS-01:80
OSDSiteCode=CEN
ComputerName=WasWIN2000PRO
TimeZone=004
OSFeatures
A comma-delimited list of server feature IDs that will be installed on the target computer.
Value Description
ID1,ID2 The server features that are to be installed on the target
computer. Valid values are located in the
program_files\Microsoft Deployment
Toolkit\Bin\ServerManager.xml file on the MDT 2008 server.
Example
[Settings]
Priority=Default
[Default]
OSFeatures=CMAK,MSMQ-Multicasting,RSAT
Note Not all features listed in the ServerManager.xml file are compatible with all server
operating systems.
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
OSInstall
Indicates whether the target computer is authorized to have the target operating system
installed. If the OSInstall property is not listed, the default is to allow deployment of
operating systems to any target computer.
Value Description
YES Deployment of an operating system to the target computer
is authorized. This is the default value.
NO Deployment of an operating system to the target computer
is not authorized.
Example
[Settings]
Priority=Default
[Default]
OSInstall=YES
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
OSRoles
A comma-delimited list of server role IDs that will be installed on the target computer.
Value Description
ID1,ID2 The server role that is to be installed on the target
computer. Valid values are:
• ADDS
• DNS
• DHCP
Example
[Settings]
Priority=Default
[Default]
OSRoles=ADDS
Note Not all roles are compatible with all server operating systems.
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
OSRoleService
A comma-delimited list of server role service IDs that will be installed on the target
computer.
Value Description
ID The server role service that will be installed on the target
computer. Valid values are:
• ADDS-Domain-Controller
Example
[Settings]
Priority=Default
[Default]
OSRoleService=ADDS-Domain-Controller
Note Not all server role service IDs are compatible with all server operating systems.
OSVersion
The version of the currently running operating system.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
WinPE Windows PE
2000 Windows 2000
XP Windows XP
2003 Windows Server 2003
Vista Windows Vista
2008 Windows Server 2008
Example
None
OverrideProductKey
The Multiple Activation Key (MAK) string to be applied after the target operating is
deployed to the target computer. The value specified in this property is used by the
ZTILicensing.wsf script during the State Restore Phase to apply the MAK to the target
operating system. The script also configures the volume licensing image to use MAK
activation instead of Key Management Service (KMS). The operating system needs to be
activated with Microsoft after the MAK is applied. This is used when the target computer
is unable to access a server that is running KMS.
Value Description
MAK The MAK string to be provided to the target operating
system.
Example
[Settings]
Priority=Default
[Default]
ProductKey=AAAAA-BBBBB-CCCCC-DDDDD-EEEEE-FFFFF
OverrideProductKey=AAAAA-BBBBB-CCCCC-DDDDD-EEEEE-FFFFF
PackageGroup
A list of text values that associates operating system (OS) packages with each other
(typically based on the type of OS package). An OS package can be associated with one
or more package groups. The PackageGroup property allows the OS packages within
one or more groups to be deployed to a target computer.
The text values in the list can be any non-blank value. The PackageGroup property
value has a numeric suffix (for example, PackageGroup001 or PackageGroup002).
After it is defined, a package group is associated with a computer. A computer can be
associated with more than one package group.
Note The PackageGroup property applies only to Windows Vista and Windows Server 2008.
Value Description
package_group_name Name of the package group to be deployed to the target
computer.
Example
[Settings]
Priority=Default
[Default]
PackageGroup001=Updates
Packages
The list of Systems Management Server or System Center Configuration Manager
packages to be deployed to the target computer. The Packages property has a numeric
suffix (for example, Packages001 or Packages002).
Value Description
package_id:program_nam Name of the package to be deployed to the target
e computer.
Example
[Settings]
Priority=Default
[Default]
Packages001=NYC00010:Install
Packages002=NYC00011:Install
Parameters
The parameters to be passed to a database query that returns property values from
columns in the table specified in the Table property. The table is located in the database
specified in the Database property on the computer specified in the SQLServer property.
The instance of SQL Server on the computer is specified in the Instance property.
Value Description
parameter1, parameter2 The list of parameters to pass to the database query.
Example
[Settings]
Priority=Computers, Default
[Default]
OSInstall=YES
[Computers]
SQLServer=NYC-SQL-01
SQLShare=SQL$
Database=DWDB
Instance=SQLEnterprise2005
Table=Computers
Parameters=SerialNumber, AssetTag
ParameterCondition=OR
ParameterCondition
Indicator of whether a Boolean AND or OR operation is performed on the properties
listed in the Parameters property.
Value Description
AND A Boolean AND operation is performed on the properties
listed in the Parameters property. Only results that match
all properties specified in the Parameters property are
returned. This is the default value.
OR A Boolean OR operation is performed on the properties
listed in the Parameters property. Results that match any
property specified in the Parameters property are returned.
Example
[Settings]
Priority=Computers, Default
[Default]
OSInstall=YES
[Computers]
SQLServer=NYC-SQL-01
SQLShare=SQL$
Database=DWDB
Instance=SQLEnterprise2005
Table=Computers
Parameters=SerialNumber, AssetTag
ParameterCondition=OR
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
Phase
The current phase of the deployment process that corresponds to the SMS 2003 OSD
Feature Pack phases. The Task Sequencer uses these phases to determine which tasks
must be completed.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
VALIDATION Identifies that the target computer is capable of running the
Value Description
scripts necessary to complete the deployment process.
STATECAPTURE Saves any user state migration data before deploying the
new target operating system.
PREINSTALL Completes any tasks that need to be done (such as creating
new partitions) before the target operating system is
deployed.
INSTALL Installs the target operating system on the target computer.
POSTINSTALL Completes any tasks that need to be done before restoring
the user state migration data. These tasks customize the
target operating system before starting the target computer
the first time (such as installing updates or adding drivers).
STATERESTORE Restores the user state migration data saved during the
State Capture Phase.
Example
None
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
Port
The number of the port that should be used when connecting to the SQL Server database
instance that is used for querying property values from columns in the table specified in
the Table property. The database resides on the computer specified in the SQLServer
property. The instance of SQL Server on the computer is specified in the Instance
property. The port used during connection is specified in the Port property.
Value Description
port The number of the port used when connecting to SQL
Server.
Example
[Settings]
Priority=Computers, Default
[Default]
OSInstall=YES
Example
[Computers]
SQLServer=NYC-SQL-01
Database=DWDB
Instance=MDT2008
Port=1433
Table=Computers
Parameters=SerialNumber, AssetTag
ParameterCondition=OR
PowerUsers
A list of user accounts and domain groups to be added to the local Power Users group on
the target computer. The PowerUsers property is a list of text values that can be any
non-blank value. The PowerUsers property has a numeric suffix (for example,
PowerUsers1 or PowerUsers2).
Value Description
name Name of the user or group to be added to the local Power
Users group.
Example
[Settings]
Priority=Default
[Default]
Administrators1=WOODGROVEBANK\NYC Help Desk Staff
PowerUsers1=WOODGROVEBANK\User01
PowerUsers2=WOODGROVEBANK\User02
Priority
The reserved property that determines the sequence for finding configuration values. The
Priority reserved property lists each section to be searched and the order in which the
sections are searched. When a property value is found, the ZTIGather.wsf script quits
searching for the property, and the remaining sections are not scanned for that property.
Value Description
section1, section2 The sections to be searched in the order they are to be
searched.
Example
[Settings]
Priority=MACAddress, Default
[Default]
UserDataLocation=NONE
CustomProperty=TRUE
OSDINSTALLSILENT=1
[00:0F:20:35:DE:AC]
OSDNEWMACHINENAME=HPD530-1
OSDINSTALLPACKAGE=DAL00342
OSDINSTALLPROGRAM=CustomVista
[00:03:FF:FE:FF:FF]
OSDNEWMACHINENAME=BVMXP
OSDINSTALLPACKAGE=NYC00002
OSDINSTALLPROGRAM=SpecialVista
ProcessorSpeed
The speed of the processor installed on the target computer in MHz. For example, the
value 1995 indicates the processor on the target computer is running at 1,995 MHz or 2
gigahertz (GHz).
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
processor_speed The speed of the processor on the target computer in
megahertz.
Example
None
Product
The product name of the target computer. With some computer vendors, the make and
model might not be sufficiently unique to identify the characteristics of a particular
configuration (for example, hyperthreaded or non-hyperthreaded chipsets). The Product
property can help to differentiate.
The format for Product is undefined. Use this property to create a subsection that
contains settings targeted to a specific product name for a specific computer model
number for a specific computer manufacturer (most commonly in conjunction with the
Make and Model properties).
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
product The product name of the target computer.
Example
None
ProductKey
The product key string to be configured for the target computer. Before the target
operating system is deployed, the product key specified is automatically inserted into the
appropriate location in Unattend.txt or Sysprep.inf for Windows XP and Windows
Server 2003 or in Unattend.xml for Windows Vista and Windows Server 2008.
Value Description
product_key The product key to be assigned to the target computer.
Example
[Settings]
Priority=Default
[Default]
ProductKey=AAAAA-BBBBB-CCCCC-DDDDD-EEEEE-FFFFF
Properties
A reserved property that defines any custom, user-defined properties. These user-defined
properties are located by the ZTIGather.wsf script in the CustomSettings.ini file,
BootStrap.ini file, or the Deployment Workbench database (DWDB). These properties are
additions to the predefined properties in MDT 2008.
Value Description
custom_property1, Custom, user-defined properties to be resolved.
custom_property2
Example
[Settings]
Priority=MACAddress, Default
Properties=CustomProperty, ApplicationInstall
[Default]
OSInstall=YES
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
UserDataLocation=NONE
CustomProperty=TRUE
OSDINSTALLSILENT=1
[00:0F:20:35:DE:AC]
OSDNEWMACHINENAME=HPD530-1
Example
OSDINSTALLPACKAGE=DAL00342
OSDINSTALLPROGRAM=CustomVista
ApplicationInstall=Custom
[00:03:FF:FE:FF:FF]
OSDNEWMACHINENAME=BVMXP
OSDINSTALLPACKAGE=NYC00002
OSDINSTALLPROGRAM=SpecialVista
ApplicationInstall=Minimum
ResourceDrive
The drive letter mapped to the ResourceRoot property for the ZTIDrivers.wsf and
ZTIPatches.wsf scripts to use to install drivers and patches to the target computer.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
drive_letter The letter designation for the logical drive that contains the
resources.
Example
None
ResourceRoot
The value of this property is used by the ZTIDrivers.wsf and ZTIPatches.wsf scripts to
install drivers and patches to the target computer.
Note For LTI, the scripts automatically set the ResourceRoot property to be the same as the
DeployRoot property. For ZTI, the values in the DeployRoot and ResourceRoot properties can
be unique.
Value Description
UNC_path The UNC path to the shared folder that contains the
resources.
Example
[Settings]
Priority=Default
[Default]
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceDrive=R:
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UserDataLocation=NONE
Role
The purpose of a computer based on the tasks performed by the user on the target
computer. The Role property lists text values that can be any non-blank value. The Role
property value has a numeric suffix (for example, Role1 or Role2). When defined, a role
is associated with a computer. A computer can perform more than one role.
Typically, the value for the Role property is set by performing a database query in the
DWDB database. Deployment Workbench can assist in creating the role and property
settings associated with the role, and then Deployment Workbench can configure
CustomSettings.ini to perform the database query for the Role property and the property
settings associated with the role.
Value Description
role The roles to be assigned to an individual computer or a
group of computers.
Example 1
[Settings]
Priority=RoleSettings, Default
[Default]
SkipCapture=NO
SkipAppsOnUpgrade=NO
Example 1
UserDataLocation=AUTO
DeployRoot=\\W2K3-SP1\Distribution$
OSInstall=YES
ScanStateArgs=/v:15 /o /c
LoadStateArgs=/v:7 /c
[RoleSettings]
SQLServer=w2k3-sp1
Instance=MDT2008
Database=DWDB
Netlib=DBNMPNTW
SQLShare=SQL_Share
Table=RoleSettings
Parameters=Role
Example 2
[Settings]
Priority=RoleSettings, Default
[Default]
SkipCapture=NO
SkipAppsOnUpgrade=NO
UserDataLocation=AUTO
DeployRoot=\\W2K3-SP1\Distribution$
OSInstall=YES
ScanStateArgs=/v:15 /o /c
LoadStateArgs=/v:7 /c
Role1=Teller
Role2=Woodgrove User
[RoleSettings]
SQLServer=w2k3-sp1
Instance=MDT2008
Database=DWDB
Netlib=DBNMPNTW
SQLShare=SQL_Share
Table=RoleSettings
Parameters=Role
ScanStateArgs
Arguments passed to the USMT Scanstate process. The scripts call Scanstate.exe and
then insert the appropriate logging, progress, and state store parameters. If this value is
not included in the settings file, the user state backup process is skipped.
Note Use the USMTMigFiles property to specify the .xml files to be used by Scanstate.exe
instead of using the /I parameter in the ScanStateArgs property. This prevents the
ZTIUserState.wsf script from potentially duplicating the same list of .xml files.
Value Description
arguments The command-line arguments passed to Scanstate.exe.
The default arguments specified by Deployment Workbench
are as follows:
• /v. Enables verbose output in the Scanstate log. The
default is 0. Specify any number from 0 to 15. The value
5 enables verbose and status output.
• /o. Overwrites any existing data in the store. If not
specified, Scanstate will fail if the store already contains
data. This option cannot be specified more than once in
a Command Prompt window.
• /c. When specified, Scanstate will continue to run even
if there are nonfatal errors. Without the /c option,
Scanstate exits on the first error.
For more information about these and other arguments, see
the USMT Help files.
Example
[Settings]
Priority=Default
[Default]
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UDShare=\\NYC-AM-FIL-01\MigData$
UDDir=%ComputerName%
SerialNumber
The serial number of the target computer. The format for serial numbers is undefined.
Use this property to create a subsection that contains settings targeted to a specific
computer.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
serial_number The format of the serial number is undefined and is
determined by the serial number standard of each computer
manufacturer.
Example
None
SkipAdminPassword
Indicates whether the Administrator Password wizard page is skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
Solution Accelerators microsoft.com/technet/SolutionAccelerators
132 Microsoft Deployment Toolkit 2008
Example
SkipCapture=NO
SkipAdminPassword=YES
SkipApplications=NO
SkipAppsOnUpgrade=NO
SkipComputerBackup=NO
SkipDomainMembership=NO
SkipDeploymentType=NO
SkipUserData=NO
SkipPackageDisplay=NO
SkipLocaleSelection=NO
SkipProductKey=YES
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipApplications
Indicates whether the Select one or more applications to install wizard page is
skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
SkipCapture=NO
SkipAdminPassword=NO
Example
SkipApplications=YES
SkipAppsOnUpgrade=NO
SkipComputerBackup=NO
SkipDomainMembership=NO
SkipDeploymentType=NO
SkipUserData=NO
SkipPackageDisplay=NO
SkipLocaleSelection=NO
SkipProductKey=YES
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipAppsOnUpgrade
Indicates whether the Select one or more applications to install wizard page is
skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
SkipCapture=NO
SkipAdminPassword=YES
SkipApplications=NO
SkipAppsOnUpgrade=NO
Example
SkipComputerBackup=NO
SkipDomainMembership=NO
SkipDeploymentType=NO
SkipUserData=NO
SkipPackageDisplay=NO
SkipLocaleSelection=NO
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipBDDWelcome
Indicates whether the Welcome to Windows Deployment wizard page is skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Note For this property to function properly it must be configured in both CustomSettings.ini and
BootStrap.ini. This is because BootStrap.ini is processed before a deployment point (which
contains CustomSettings.ini) has been selected.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
SkipCapture=NO
SkipAdminPassword=YES
SkipApplications=NO
SkipAppsOnUpgrade=NO
SkipBDDWelcome=YES
SkipComputerBackup=NO
Example
SkipDomainMembership=NO
SkipDeploymentType=NO
SkipUserData=NO
SkipPackageDisplay=NO
SkipLocaleSelection=NO
SkipProductKey=YES
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipBitLocker
Indicates whether the Specify the BitLocker configuration wizard page is skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
SkipCapture=NO
SkipApplications=NO
SkipAppsOnUpgrade=NO
SkipBDDWelcome=YES
SkipBitLocker=YES
SkipBitLockerDetails=YES
SkipComputerBackup=NO
SkipDomainMembership=NO
Example
SkipDeploymentType=NO
SkipUserData=NO
SkipPackageDisplay=NO
SkipLocaleSelection=NO
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipBuild
Indicates whether the Select a task sequence to execute on this computer wizard
page is skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
SkipCapture=NO
SkipAdminPassword=YES
SkipApplications=NO
SkipAppsOnUpgrade=NO
SkipBDDWelcome=YES
SkipBuild=Yes
SkipComputerBackup=NO
SkipComputerName=NO
SkipDomainMembership=NO
Example
SkipDeploymentType=NO
SkipFinalSummary=NO
SkipSummary=NO
SkipUserData=NO
SkipPackageDisplay=NO
SkipLocaleSelection=NO
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipCapture
Indicates whether the Specify whether to capture an image wizard page is skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
SkipCapture=YES
SkipApplications=NO
SkipAppsOnUpgrade=NO
SkipComputerBackup=NO
SkipDomainMembership=NO
SkipDeploymentType=NO
SkipUserData=NO
SkipPackageDisplay=NO
SkipLocaleSelection=NO
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipComputerBackup
Indicates whether the Specify where to save a complete computer backup wizard
page is skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
SkipCapture=NO
SkipAdminPassword=NO
SkipApplications=NO
SkipAppsOnUpgrade=NO
SkipComputerBackup=YES
SkipDomainMembership=NO
SkipDeploymentType=NO
SkipUserData=NO
SkipPackageDisplay=NO
SkipLocaleSelection=NO
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipComputerName
Indicates whether the Configure the computer name wizard page is skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
SkipCapture=NO
SkipAdminPassword=NO
SkipApplications=NO
SkipAppsOnUpgrade=NO
SkipComputerBackup=NO
SkipComputerName=YES
SkipDomainMembership=NO
SkipDeploymentType=NO
SkipUserData=NO
SkipPackageDisplay=NO
SkipLocaleSelection=NO
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipDeploymentType
Indicates whether the Choose a migration type wizard page is skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
SkipCapture=NO
SkipAdminPassword=YES
SkipApplications=NO
SkipAppsOnUpgrade=NO
SkipComputerBackup=NO
SkipDomainMembership=NO
SkipUserData=NO
SkipPackageDisplay=NO
SkipLocaleSelection=NO
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipDomainMembership
Indicates whether the Join the computer to a domain or workgroup wizard page is
skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
SkipCapture=NO
SkipAdminPassword=NOSkipApplications=NO
SkipAppsOnUpgrade=NO
SkipComputerBackup=NOSkipDeploymentType=NO
SkipUserData=NO
SkipPackageDisplay=NO
SkipLocaleSelection=NO
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipFinalSummary
Indicates whether the Operating system deployment completed successfully wizard
page is skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
Example
SkipCapture=NO
SkipApplications=NO
SkipAppsOnUpgrade=NO
SkipBDDWelcome=YES
SkipComputerBackup=NO
SkipComputerName=NO
SkipDomainMembership=NO
SkipDeploymentType=NO
SkipFinalSummary=NO
SkipUserData=NO
SkipPackageDisplay=NO
SkipLocaleSelection=NO
SkipProductKey=YES
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipLocaleSelection
Indicates whether the Locale Selection wizard page is skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
SkipCapture=NO
Example
SkipApplications=NO
SkipAppsOnUpgrade=NO
SkipComputerBackup=NO
SkipDomainMembership=NO
SkipDeploymentType=NO
SkipUserData=NO
SkipPackageDisplay=NO
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipPackageDisplay
Indicates whether the Packages wizard page is skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
SkipCapture=NO
SkipApplications=NO
SkipAppsOnUpgrade=NO
SkipComputerBackup=NO
SkipDomainMembership=NO
SkipDeploymentType=NO
SkipUserData=NO
SkipPackageDisplay=YES
SkipLocaleSelection=NO
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipProductKey
Indicates whether the Specify the product key needed to install this operating
system wizard page is skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
SkipCapture=NO
SkipAdminPassword=YES
SkipApplications=NO
SkipAppsOnUpgrade=NO
SkipComputerBackup=NO
SkipDomainMembership=NO
SkipDeploymentType=NO
SkipUserData=NO
SkipPackageDisplay=NO
SkipLocaleSelection=NO
SkipProductKey=YES
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipSummary
Indicates whether the Ready to begin wizard page is skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
SkipCapture=NO
SkipAdminPassword=YES
SkipApplications=NO
SkipAppsOnUpgrade=NO
SkipBDDWelcome=YES
SkipTaskSequence=Yes
SkipComputerBackup=NO
SkipComputerName=NO
SkipDomainMembership=NO
SkipDeploymentType=NO
SkipFinalSummary=NO
SkipSummary=NO
SkipUserData=NO
SkipPackageDisplay=NO
SkipLocaleSelection=NO
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipTaskSequence
Indicates whether the Select a task sequence to execute on this computer wizard
page is skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Note Specify the SkipBuild property when using Deployment Workbench to configure the
Windows Deployment Wizard to skip the Select a task sequence to execute on this
computer wizard page.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
SkipCapture=NO
SkipApplications=NO
SkipAppsOnUpgrade=NO
SkipBDDWelcome=YES
SkipTaskSequence=NO
SkipComputerBackup=NO
SkipComputerName=NO
SkipDomainMembership=NO
SkipDeploymentType=NO
SkipFinalSummary=NO
SkipSummary=NO
SkipUserData=NO
SkipPackageDisplay=NO
SkipLocaleSelection=NOSkipTaskSequence=Yes
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipTimeZone
Indicates whether the Set the Time Zone wizard page is skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
SkipCapture=NO
SkipAdminPassword=YES
SkipApplications=NO
SkipAppsOnUpgrade=NO
SkipBDDWelcome=YES
SkipTaskSequence=Yes
SkipComputerBackup=NO
SkipComputerName=NO
SkipDomainMembership=NO
SkipDeploymentType=NO
SkipFinalSummary=NO
SkipSummary=NO
SkipTimeZone=NO
SkipUserData=NO
SkipPackageDisplay=NO
SkipLocaleSelection=NO
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipUserData
Indicates whether the Specify whether to restore user data and Specify where to
save your data and settings wizard page is skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Wizard page is not displayed, and the information on that
page is not collected.
NO Wizard page is displayed, and the information on that page
is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=NO
SkipCapture=NO
SkipAdminPassword=YES
SkipApplications=NO
SkipAppsOnUpgrade=NO
SkipComputerBackup=NO
SkipDomainMembership=NO
SkipDeploymentType=NO
SkipUserData=NO
SkipPackageDisplay=NO
SkipLocaleSelection=NO
SkipProductKey=YES
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SkipWizard
Indicates whether the entire Windows Deployment Wizard is skipped.
For other properties that must be configured when this property is set to YES, see the
section “Providing Properties for Skipped Windows Deployment Wizard Pages” later in
this reference.
Value Description
YES Entire wizard is not displayed, and none of the information
on the wizard pages is collected.
NO Wizard is displayed, and the information on the enabled
wizard pages is collected. This is the default value.
Example
[Settings]
Priority=Default
[Default]
SkipWizard=YES
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
SLShare
The network shared folder in which the script logs are stored.
Value Description
shared_folder The name of the network shared folder in which script logs
are stored.
Example
[Settings]
Priority=Default
[Default]
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UDShare=\\NYC-AM-FIL-01\MigData$
UDDir=%ComputerName%
SLShare=\\NYC-AM-FIL-01\Logs$
UDProfiles=Administrator, User-01, ExtranetUser
UserDataLocation=NONE
SkipAppsOnUpgrade=NO
SkipCapture=NO
SkipAdminPassword=YES
SkipProductKey=YES
SQLServer
The identity of the computer running SQL Server that performs a database query that
returns property values from columns in the table specified in the Table property. The
query is based on parameters specified in the Parameters and ParameterCondition
properties. The instance of SQL Server on the computer is specified in the Instance
property.
Value Description
SQL_server The name of the computer running SQL Server.
Example
[Settings]
Priority=Computers, Default
[Default]
OSInstall=YES
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
[Computers]
SQLServer=NYC-SQL-01
SQLShare=SQL$
Database=DWDB
Instance=SQLEnterprise2005
Table=Computers
Parameters=SerialNumber, AssetTag
ParameterCondition=OR
SQLShare
The name of a shared folder on the computer running SQL Server (specified by the
SQLServer property). The credentials used for authentication are provided by the
UserDomain, UserID, and UserPassword properties (for LTI and ZTI) or by the Systems
Management Server Advanced Client account credentials (ZTI only).
Note This property must be specified to perform Integrated Windows authentication. This is the
recommended authentication method, rather than using the DBID and DBPwd properties (which
support the SQL Server authentication method).
Value Description
shared_folder The name of a shared folder on the computer running SQL
Server.
Example
[Settings]
Priority=Computers, Default
Properties=MyCustomProperty
Example
[Default]
OSInstall=YES
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
[Computers]
SQLServer=NYC-SQL-01
SQLShare=SQL$
Database=DWDB
Instance=MDT2008
Table=Computers
Parameters=SerialNumber, AssetTag
ParameterCondition=OR
StorageDriverGroup
The name of the storage driver group that contains drivers to be added to the target
computer during unattended installation of Windows XP or Windows Server 2003.
For more information about using the StorageDriverGroup property, see “Deploying
Additional Mass Storage Drivers for Windows XP and Windows Server 2003” in the
MDT 2008 document, Microsoft Deployment Toolkit 2008 Samples Guide.
Value Description
group_name The name of the storage driver group that contains drivers
to be added to the target computer.
Example
[Settings]
Priority=Default
[Default]
StorageDriverGroup001=Laptops
StorageDriverGroup001=Universal
StorageDriverSysprepGroup
The name of the storage driver group that contains drivers to be added to the target
computer during image-based deployment of Windows XP or Windows Server 2003.
For more information about using the StorageDriverSysprepGroup property, see
“Automate the Installation of Mass Storage Device Drivers” in the MDT 2008 document,
Microsoft Deployment Toolkit 2008 Samples Guide.
Value Description
group_name The name of the storage driver group that contains drivers
to be added to the target computer.
Example
[Settings]
Priority=Default
[Default]
StorageDriverGroup001=SCSI
StorageDriverGroup002=Universal
StoredProcedure
The name of the stored procedure used when performing a database query that returns
property values from columns in the table or view. The stored procedure is located in the
database specified in the Database property. The computer running SQL Server is
specified in the SQLServer property. The instance of SQL Server on the computer is
specified in the Instance property. The name of the stored procedure is specified in the
StoredProcedure property.
For more information about using a stored procedure to query a SQL Server database,
see “Deploying Applications Based on Earlier Application Versions” in the MDT 2008
document, Microsoft Deployment Toolkit 2008 Samples Guide.
Value Description
stored_procedure The name of the stored procedure used to query the SQL
Server database.
Example
[Settings]
Priority=DynamicPackages, Default
[Default]
OSInstall=YES
[DynamicPackages]
SQLDefault=DB_DynamicPackages
[DB_DynamicPackages]
SQLServer=SERVER1
Database=DWDB
StoredProcedure=RetrievePackages
Parameters=MacAddress
SQLShare=Logs
Instance=MDT2008
Port=1433
Netlib=DBNMPNTW
Table
The name of the table or view to be used in performing a database query that returns
property values from columns in the table or view. The query is based on parameters
specified in the Parameters and ParameterCondition properties. The table or view is
located in the database specified in the Database property. The computer running SQL
Server is specified in the SQLServer property. The instance of SQL Server on the
computer is specified in the Instance property.
Value Description
table_name The name of the table or view to be queried for property
values.
Example
[Settings]
Priority=Computers, Default
[Default]
OSInstall=YES
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
[Computers]
SQLServer=NYC-SQL-01
SQLShare=SQL$
Database=DWDB
Instance=MDT2008
Table=Computers
Parameters=SerialNumber, AssetTag
ParameterCondition=OR
TaskSequenceID
Identifies the operating system task sequence to be deployed to the target computer. The
task sequence ID is created on the Task Sequences node in Deployment Workbench.
The TaskSequenceID property allows alphanumeric characters, hyphens (-), and
underscores (_). The TaskSequenceID property cannot be blank or contain spaces.
Value Description
task_sequence_id Identifier of the operating system task sequence defined in
Deployment Workbench for the target operating system
being deployed.
Note Be sure to use the TaskSequenceID specified in the
Deployment Workbench UI, and not the GUID of the
TaskSequenceID.
Example
[Settings]
Priority=Default
[Default]
TaskSquenceID=Vista_BareMetal
TimeZone
The time zone in which the target computer is located. This value is inserted into the
appropriate configuration settings in Unattend.txt or Sysprep.inf for Windows XP and
Windows Server 2003.
Note This property is currently supported only for Windows XP and Windows Server 2003. For
Windows Vista and Windows Server 2008, use the TimeZoneName property.
Value Description
time_zone_offset The numeric value that indicates the time zone where the
target computer is located. For more information, see the
TimeZone entry for Unattend.txt in the Ref.chm file included
in the Deploy.cab file in the \support\tools folder of the
Windows Server 2003 installation CD.
Example
[Settings]
Priority=Default
[Default]
TimeZone=004
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UDShare=\\NYC-AM-FIL-01\MigData$
UDDir=%ComputerName%
SLShare=\\NYC-AM-FIL-01\Logs$
UDProfiles=Administrator, User-01, ExtranetUser
UserDataLocation=NONE
TimeZoneName
The time zone in which the target computer is located. This value is inserted into the
appropriate configuration settings in Unattend.xml for Windows Vista and Windows
Server 2008.
Note This property is currently supported only for Windows Vista and Windows Server 2008. For
Windows XP and Windows Server 2003, use the TimeZone property.
Value Description
time_zone_name The text value that indicates the time zone where the target
computer is located.
Example
[Settings]
Priority=Default
[Default]
TimeZoneName=Pacific Standard Time
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UDShare=\\NYC-AM-FIL-01\MigData$
UDDir=%ComputerName%
SLShare=\\NYC-AM-FIL-01\Logs$
UDProfiles=Administrator, User-01, ExtranetUser
UserDataLocation=NONE
TPMOwnerPassword
The TPM password (also known as the TPM Administration Password) for the owner of
the target computer. The password can be saved to a file or stored in AD DS.
Note If the TPM ownership is already set or TPM ownership is not allowed, then the
TPMOwnerPassword property is ignored. If the TPM password is needed and the
TPMOwnerPassword property is not provided, the TPM password is set to the local
Administrator password.
Value Description
password The TPM password for the owner of the target computer.
Example
[Settings]
Priority=Default
[Default]
BDEDriveLetter=S:
BDEDriveSize=2000
BDEInstall=TPMKey
BDERecoveryKey=TRUE
BDEKeyLocation=C:
TPMOwnerPassword=complex_password
BackupShare=\\NYC-AM-FIL-01\Backup$
BackupDir=%ComputerName%
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UDShare=\\NYC-AM-FIL-01\MigData$
UDDir=%ComputerName%
UDDir
The folder in which the user state migration data is stored. This folder exists beneath the
network shared folder specified in UDShare.
Value Description
folder The name of the folder that exists beneath the network
shared folder.
Example
[Settings]
Priority=Default
[Default]
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UDShare=\\NYC-AM-FIL-01\MigData$
UDDir=%ComputerName%
SLShare=\\NYC-AM-FIL-01\Logs$
UDProfiles=Administrator, User-01, ExtranetUser
UserDataLocation=NONE
SkipAppsOnUpgrade=NO
SkipCapture=NO
UDProfiles
A comma-delimited list of user profiles that need to be saved by Scanstate.exe during the
State Capture Phase.
Value Description
user_profiles The list of user profiles to be saved, separated by commas.
Example
[Settings]
Priority=Default
[Default]
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UDShare=\\NYC-AM-FIL-01\MigData$
UDDir=%ComputerName%
SLShare=\\NYC-AM-FIL-01\Logs$
UDProfiles=Administrator, User-01, ExtranetUser
UserDataLocation=NONE
SkipAppsOnUpgrade=NO
SkipCapture=NO
UDShare
The network share where user state migration data is stored.
Value Description
UNC_path The UNC path to the network share where user state
migration data is stored.
Example
[Settings]
Priority=Default
[Default]
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UDShare=\\NYC-AM-FIL-01\MigData$
UDDir=%ComputerName%
SLShare=\\NYC-AM-FIL-01\Logs$
UDProfiles=Administrator, User-01, ExtranetUser
UserDataLocation=NONE
SkipAppsOnUpgrade=NO
SkipCapture=NO
UILanguage
The default language to be used with the target operating system. If not specified, the
Windows Deployment Wizard uses the language configured in the image being deployed.
Value Description
UI_language The default language for the operating system on the target
computer.
Example
[Settings]
Priority=Default
[Default]
UserLocale=en-us
UILanguage=en-us
KeyboardLocale=0409:00000409
UserDataLocation
The location in which USMT stores user state migration data.
Value Description
blank If UserDataLocation is not specified or is left blank, the
Windows Deployment Wizard will default to using the AUTO
behavior.
UNC_path The UNC path to the network shared folder where the user
state migration data is stored.
AUTO The deployment scripts store the user state migration data
on a local hard disk if space is available. Otherwise, the
user state migration data is saved to a network location,
which is specified in the UDShare and UDDir properties.
NETWORK The user state migration data is stored in the location
designated by the UDShare and UDDir properties.
NONE The user state migration data is not saved.
Example
[Settings]
Priority=Default
[Default]
OSInstall=YES
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
DoCapture=YES
BackupShare=\\NYC-AM-FIL-01\Backup$
BackupDir=%ComputerName%
UserDataLocation=NETWORK
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UDShare=\\NYC-AM-FIL-01\MigData$
UDDir=%ComputerName%
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
UserDomain
The domain in which a user’s credentials (specified in the UserID property) reside.
Note For a completely automated LTI deployment, provide this property in both
CustomSettings.ini and BootStrap.ini. However, note that storing the user credentials in these
files stores the credentials in clear text and therefore is not secure.
Value Description
domain The name of the domain where the user account credentials
reside.
Example
[Settings]
Priority=Default
[Default]
OSInstall=YES
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UserDataLocation=NONE
UserDomain=WOODGROVEBANK
UserID=NYC Help Desk Staff
UserPassword=complex_password
UserID
The user credentials for accessing network resources.
Note For a completely automated LTI deployment, provide this property in both
CustomSettings.ini and BootStrap.ini. However, note that storing the user credentials in these
files stores the credentials in clear text and therefore is not secure.
Value Description
user_id The name of the user account credentials used to access
the network resources.
Example
[Settings]
Priority=Default
[Default]
OSInstall=YES
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UserDataLocation=NONE
UserDomain=WOODGROVEBANK
UserID=NYC-HelpDesk
UserPassword=complex_password
UserLocale
The user locale to be used with the target operating system. If not specified, the Windows
Deployment Wizard uses the user locale configured in the image being deployed.
Value Description
user_locale The locale for the user on the target computer. For:
• Windows Server 2003, the value is specified as a
hexadecimal value (0409:00004009).
• Windows Server 2008, the value is specified as a text
value (en-us).
Example 1
[Settings]
Priority=Default
[Default]
UserLocale=0409:00000409
KeyboardLocale=0409:00000409
Example 2
[Settings]
Priority=Default
[Default]
UserLocale=en-us
KeyboardLocale=en-us
UserPassword
The password for user credentials specified in the UserID property.
Note For a completely automated LTI deployment, provide this property in both
CustomSettings.ini and BootStrap.ini. However, note that storing the user credentials in these
files stores the credentials in clear text and therefore is not secure.
Value Description
user_password The password for the user account credentials.
Example
[Settings]
Priority=Default
[Default]
UserDataLocation=NONE
UserDomain=WOODGROVEBANK
UserID=NYC-HelpDesk
UserPassword=complex_password
USMTConfigFile
The USMT configuration XML file that should be used when running Scanstate and
Loadstate.
Value Description
USMTConfigFile The name of the XML configuration file that should be used
when running Scanstate.exe and Loadstate.exe.
Example
[Settings]
Priority=Default
[Default]
OSInstall=YES
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UDShare=\\NYC-AM-FIL-01\MigData$
UDDir=%ComputerName%
SLShare=\\NYC-AM-FIL-01\Logs$
USMTMigFiles1=MigApp.xml
USMTMigFiles2=MigUser.xml
USMTMigFiles3=MigSys.xml
USMTMigFiles4=MigCustom.xml
USMTConfigFile=USMTConfig.xml
UserDataLocation=NONE
USMTMigFiles
A list of files in XML format that are used by USMT (Scanstate.exe) to identify user state
migration information to be saved. When this property is not specified, the
ZTIUserState.wsf script uses MigApp.xml, MigUser.xml, and MigSys.xml. Otherwise,
ZTIUserState.wsf uses the files explicitly referenced in this property. The USMTMigFiles
property has a numeric suffix (for example, USMTMigFiles001 or USMTMigFiles002).
Note Use this property to specify the .xml files to be used by Scanstate.exe instead of using the
/I parameter in the ScanStateArgs property. This prevents the ZTIUserState.wsf script from
potentially duplicating the same list of .xml files.
Note This property name can be specified using single-digit nomenclature (USMTMigFiles1) or
triple-digit nomenclature (USMTMigFiles001).
Value Description
USMTMigFile The name of the .xml file to be used as input for
Scanstate.exe, on separate lines. If not specified, the
default is MigApp.xml, MigUser.xml, and MigSys.xml.
Note If this value is specified, the default files (MigApp.xml,
MigUser.xml, and MigSys.xml) must also be added to the list if
these files are to be included.
Example
[Settings]
Priority=Default
[Default]
OSInstall=YES
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac
DeployRoot=\\NYC-AM-FIL-01\Distribution$
ResourceRoot=\\NYC-AM-FIL-01\Resource$
UDShare=\\NYC-AM-FIL-01\MigData$
UDDir=%ComputerName%
SLShare=\\NYC-AM-FIL-01\Logs$
USMTMigFiles001=MigApp.xml
USMTMigFiles002=MigUser.xml
USMTMigFiles003=MigSys.xml
USMTMigFiles004=MigCustom.xml
UserDataLocation=NONE
UUID
The Universal Unique Identifier (UUID) stored in the System Management BIOS
(SMBIOS) of the target computer.
The format for UUID is a 16-byte value using hexadecimal digits in the following format:
12345678-1234-1234-1234-123456789ABC. Use this property to create a subsection that
contains settings targeted to a specific computer.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
UUID The UUID of the target computer.
Example
None
VRefresh
The vertical refresh rate for the monitor on the target computer. The vertical refresh rate
is specified in hertz (Hz). In the example, the value 60 indicates that the vertical refresh
rate of the monitor is 60 Hz. This value is inserted into the appropriate configuration
settings in Unattend.txt or Sysprep.inf for Windows Server 2003 or in Unattend.xml for
Windows Server 2008.
Note The default values (in the template files Unattend.txt, Sysprep.inf, and Unattend.xml) are
1,024 pixels horizontal resolution, 768 pixels vertical resolution, 32-bit color depth, and 60 hertz
vertical refresh rate.
Value Description
refresh_rate The vertical refresh rate for the monitor on the target
computer in hertz.
Example
[Settings]
Priority=Default
[Default]
BitsPerPel=32
VRefresh=60
XResolution=1024
YResolution=768
WDSServer
The computer running Windows Deployment Services that is used for installing Windows
Deployment Services images. The default value is the server running Windows
Deployment Services from which the image was initiated.
Note This property is dynamically set by the MDT 2008 scripts and is not configured in
CustomSettings.ini. Treat this property as read-only.
Value Description
WDS_server The name of the computer running Windows Deployment
Services.
Example
None
WipeDisk
Specifies whether the disk should be wiped.
Value Description
TRUE If WipeDisk is set to TRUE, the Win32_DiskPartition at
DiskIndex 0 and Index 0 will be formatted.
FALSE The disk will not be formatted.
Example
[Settings]
Priority=Default
[Default]
WipeDisk=TRUE
Caution This property value must be specified in upper case so that it can be properly read by
the deployment scripts.
WUMU_ExcludeKB
The list of Windows Update/Microsoft Update software updates to ignore (by associated
Knowledge Base articles).
Deployment project team members will want to periodically review the list of updates
being installed by the ZTIWindowsUpdate.wsf script to verify that each update meets the
project’s needs and expectations. All updates are logged and recorded in the
ZTIWindowsUpdate.log file, which is generated during deployment. Each update will
indicate its status as INSTALL or SKIP, and lists the UpdateID, the update name, and the
QNumber associated with each update. If an update needs to be excluded, that update
should be added to the CustomSettings.ini file (for LTI deployments).
For example, if the installation of Windows Vista language packs should be excluded,
look up the line in the ZTIWindowsUpdate.log that shows where the update was identified
and installed, and then select the QNumber. For example, the QNumber for the Windows
Vista language packs is 925471.
Value Description
WUMU_ExcludeKB The list of Windows Update/Microsoft Update software
updates to ignore, by QNumber.
Example
[Settings]
Priority=Default
[Default]
WUMU_ExcludeKB1=925471
WUMU_ExcludeID
The list of Windows Update/Microsoft Update software updates to ignore (by associated
update ID).
Deployment project team members will want to periodically review the list of updates
being installed by the ZTIWindowsUpdate.wsf script to verify that each update meets the
project’s needs and expectations. All updates are logged and recorded in the
ZTIWindowsUpdate.log file, which is generated during deployment. Each update will
indicate its status as INSTALL or SKIP, and lists the UpdateID, the update name, and the
QNumber associated with each update. If an update should be excluded, that update
should be added to the CustomSettings.ini file (for LTI deployments).
For example, if the installation of Windows Malicious Software Removal Tool should be
excluded, look up the line in the ZTIWindowsUpdate.log that shows where the update
was identified and installed, and then select the UpdateID number. For example, the
UpdateID number for the Windows Malicious Software Removal Tool is adbe6425-6560-
4d40-9478-1e35b3cdab4f.
Value Description
WUMU_ExcludeID The list of Windows Update/Microsoft Update software
updates to ignore, by UpdateID number.
Example
[Settings]
Priority=Default
[Default]
WUMU_ExcludeID1={adbe6425-6560-4d40-9478-1e35b3cdab4f}
WSUSServer
This is the name of the Windows Server Update Services (WSUS) server that the target
computer should use when scanning for, downloading, and installing updates.
For more information about what script uses this property, see ZTIWindowsUpdate.wsf in
the “Scripts” section of this reference.
Value Description
server_name The name of the WSUS server, specified in HTTP format.
Example
[Settings]
Priority=Default
[Default]
WSUSServer=http://WSUSServerName
XResolution
The horizontal resolution of the monitor on the target computer, specified in pixels. In the
example, the value 1024 indicates the horizontal resolution of the monitor is 1,024 pixels.
This value is inserted into the appropriate configuration settings in Unattend.txt or
Sysprep.inf for Windows XP and Windows Server 2003 or in Unattend.xml for Windows
Vista and Windows Server 2008.
Note The default values (in the template files Unattend.txt, Sysprep.inf, and Unattend.xml) are
1,024 pixels horizontal resolution, 768 pixels vertical resolution, 32-bit color depth, and 60 hertz
vertical refresh rate.
Value Description
horizontal_resolution The horizontal resolution of the monitor on the target
computer, in pixels.
Example
[Settings]
Priority=Default
[Default]
BitsPerPel=32
VRefresh=60
XResolution=1024
YResolution=768
YResolution
The vertical resolution of the monitor on the target computer, specified in pixels. In the
example, the value 768 indicates the vertical resolution of the monitor is 768 pixels. This
value gets inserted into the appropriate configuration settings in Unattend.txt or
Sysprep.inf for Windows XP and Windows Server 2003 or in Unattend.xml for Windows
Vista and Windows Server 2008.
Note The default values (in the template files Unattend.txt, Sysprep.inf, and Unattend.xml) are
1,024 pixels horizontal resolution, 768 pixels vertical resolution, 32-bit color depth, and 60 hertz
vertical refresh rate.
Value Description
vertical_resolution The vertical resolution of the monitor on the target
computer, in pixels.
Example
[Settings]
Priority=Default
[Default]
BitsPerPel=32
VRefresh=60
XResolution=1024
YResolution=768
Skip this wizard page Using this property Configure these properties
Welcome to the Windows SkipBDDWelcome
Deployment Wizard
Choose a migration type SkipDeploymentType • DeploymentType
Configure the computer SkipComputerName • ComputerName
name
Join the computer to a SkipDomainMembership • JoinWorkgroup
domain or workgroup
• JoinDomain
• DomainAdmin
• DomainAdminDomain
• DomainAdminPassword
Specify where to save SkipUserData • UDDir
your data and settings
• UDShare
• UserDataLocation
Specify whether to SkipUserData • UDDir
restore user data
• UDShare
• UserDataLocation
Specify where to save a SkipComputerBackup • BackupDir
complete computer
backup • BackupShare
• ComputerBackupLocation
Select a task sequence to SkipBuild, • TaskSequenceID
execute on this computer SkipTaskSequence
• BuildID
Specify the product key SkipProductKey • ProductKey
needed to install this
operating system
Packages SkipPackageDisplay • LanguagePacks
Locale Selection SkipLocaleSelection • KeyboardLocale
• UserLocale
• UILanguage
Set the Time Zone SkipTimeZone • TimeZone
• TimeZoneName
Select one or more SkipApplications • Applications
applications to install
SkipAppsOnUpgrade
Administrator Password SkipAdminPassword • AdminPassword
Specify whether to SkipCapture • ComputerBackupLocation
Skip this wizard page Using this property Configure these properties
capture an image
Specify the BitLocker SkipBitLocker • BDEDriveLetter
configuration
• BDEDriveSize
• BDEInstall
• TPMOwnerPassword
Specify credentials for Skipped by providing • UserID
connecting to network properties in next column
shares • UserDomain
• UserPassword
Ready to begin SkipSummary
Operating system SkipFinalSummary
deployment completed
successfully
Operating system SkipFinalSummary
deployment did not
complete successfully
BDD_Autorun.wsf
This script displays a dialog box that indicates the user inserted deployment media
created by the MDT 2008 process (such as a bootable DVD or a removable hard disk).
The message is displayed for 15 seconds. If no action is taken, the script starts
LiteTouch.vbs.
For more information about LiteTouch.vbs, see the corresponding topic in the “Scripts”
section of this reference.
Value Description
Input None
Output None
References LiteTouch.vbs. Initiates LTI.
Value Description
Location distribution\Scripts
Use None
Arguments
Arguments Description
None None
Properties
Name Read Write
None
BDD_Welcome_ENU.xml
This .xml file contains the script code and HTML layout for the Welcome to Windows
Deployment page that is displayed at the start of the Deployment Wizard. This .xml file is
read by Wizard.hta, which runs the wizard pages embedded in this .xml file.
Value Description
Input None
Output None
References • NICSettings_Definition_ENU.xml. Allows the user to
provide configuration settings for network adapters.
• RecEnv.exe. If this utility exists, the user is prompted to
determine if they want to launch Windows PE.
• WPEUtil.exe. Initializes Windows PE and network
connections; initiates LTI.
Location distribution\Tools\platform
Use mshta.exe Wizard.hta BDD_Welcome_ENU.xml
Arguments
Value Description
None None
Properties
Name Read Write
KeyboardLocale
Credentials_ENU.xml
This .xml file contains the script code and HTML layout for the Specify credentials for
connecting to network shares wizard page in the Deployment Wizard. This .xml file is
read by Wizard.hta, which runs the wizard pages embedded in this .xml file.
Note This wizard page is only displayed if there is a failure while validating the predefined user
credentials.
Value Description
Input None
Output None
References Credentials_scripts.vbs
Location distribution\Scripts
Use mshta.exe Wizard.hta /NotWizard
/definition:Credentials_ENU.xml
[/ValidateAgainstDomain:domain |
/ValidateAgainstUNCPath:uncpath] </DoNotSave>
</LeaveShareOpen>
Arguments
Value Description
/ValidateAgainstDomain:domain Specifies the domain in which the credentials exist
(as specified in domain).
/ValidateAgainstUNCPath:UNCPat Specifies the shared network folder to be used to
h validate the credentials by connecting to the folder
(as specified in UNCPath).
/DoNotSave Does not write the properties to a file; connects to
the path only.
/LeaveShareOpen If UNC path is specified, then does NOT delete the
share if successful.
Properties
Name Read Write
None
Credentials_scripts.vbs
This script parses the arguments that were provided when loading the
Credentials_ENU.xml file into the Deployment Wizard. It also performs user credential
validation. This script is read by the Credentials_ENU.xml file.
For more information about Credentials_ENU.xml, see the corresponding topic in the
“Scripts” section of this reference.
Value Description
Input None
Output Event message are written to these log files:
• Credentials_scripts.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References None
Location distribution\Scripts
Use <script language="VBScript"
src="Credentials_scripts.vbs"/>
Arguments
Value Description
None None
Properties
Name Read Write
UserCredentials
DeployWiz_Definition_ENU.xml
This .xml file contains the script code and HTML layout for each wizard page in the
Deployment Wizard. This .xml file is read by Wizard.hta, which runs the wizard pages
embedded in this .xml file. This .xml file contains the following wizard pages:
• Welcome to the Windows Deployment Wizard
• Select a task sequence to execute on this computer
• Specify the product key needed to install this operating system
• Choose a migration type
• Configure the computer name
• Join the computer to a domain or workgroup
• Specify where to save your data and settings
Solution Accelerators microsoft.com/technet/SolutionAccelerators
182 Microsoft Deployment Toolkit 2008
Value Description
Input None
Output None
References • DeployWiz_Initialization.vbs. Includes support functions
and subroutines used by the script.
• DeployWiz_Validation.vbs. Includes support functions
and subroutines used by the script.
Location distribution\Scripts
Use None
Arguments
Value Description
None None
Properties
Name Read Write
ComputerName
DeployRoot
DeployTemplate
DeploymentMethod
DeploymentType
DoCapture
ImageBuild
ImageFlags
JoinDomain
OSGUID
SkipAdminPassword
SkipApplications
SkipAppsOnUpgrade
SkipBitLocker
SkipCapture
SkipComputerBackup
SkipComputerName
SkipDeploymentType
SkipDomainMembership
SkipLocaleSelection
SkipPackageDisplay
SkipProductKey
SkipSummary
SkipTaskSequence
SkipTimeZone
SkipUserData
UserDomain
UserID
UserPassword
DeployWiz_Initialization.vbs
This script initializes the pages in the Windows Deployment Wizard (stored in
DeployWiz_Definition_ENU.xml). It also contains functions and subroutines that are
called by the Windows Deployment Wizard during an LTI deployment.
For more information about DeployWiz_Definition_ENU.xml, see the corresponding topic
in the “Scripts” section of this reference.
Value Description
Input • Applications.xml. Contains a list of available
applications.
• DomainOUList.xml. Contains a list of domain OUs.
• LocationServer.xml. Contains a list of available
deployment points.
• Packages.xml. Contains a list of available packages.
• TaskSequences.xml. Contains a list of task sequences.
• Environment Variables. Contains the list of property
values, custom properties, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process. The
environment variables are populated by ZTIGather.wsf.
Output Event message are written to these log files:
• DeployWiz_Initialization.log. Log file that contains
events generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References None
Location distribution\Scripts
Use <script language="VBScript"
src="DeployWiz_Initialization.vbs"/>
Arguments
Value Description
None None
Properties
Name Read Write
Architecture
Applications
BDEInstall
ComputerBackupLocation
DeploymentType
DeployRoot
DomainAdmin
DomainAdminDomain
DeployWiz_Validation.vbs
This script initializes and validates the information typed in the pages of the Windows
Deployment Wizard (stored in DeployWiz_Definition_ENU.xml). This script contains
functions and subroutines that are called by the Windows Deployment Wizard during an
LTI deployment.
For more information about DeployWiz_Definition_ENU.xml, see the corresponding topic
in the “Scripts” section of this reference.
Value Description
Input • OperatingSystems.xml. Contains the list of operating
systems available for deployment.
• Environment Variables. Contains the list of property
values, custom properties, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process. The
environment variables are populated by ZTIGather.wsf.
Output None
References Credentials_ENU.xml. Prompts the user for credentials that
will be used when connecting to network resources.
Location distribution\Scripts
Use <script language=”VBScript”
src=”DeployWiz_Validation.vbs”/>
Arguments
Value Description
None None
Properties
Name Read Write
DeploymentType
DeployTemplate
ImageBuild
ImageProcessor
OSGUID
OSVersion
SkipDeploymentType
TSGUID
UserCredentials
UserDomain
UserID
UserPassword
LiteTouch.vbs
This script is called by the Windows Deployment Wizard to initiate LTI. The script:
• Removes the C:\MININT folder (if it exists).
• Checks that the target computer meets the requirements for running the Windows
Deployment Wizard by calling ZTIPrereq.vbs.
• Starts the Windows Deployment Wizard by running LiteTouch.wsf.
For more information about ZTIPrereq.vbs and LiteTouch.wsf, see the corresponding
topics in the “Scripts” section of this reference.
Value Description
Input None
Output None
References • ZTIPrereq.vbs. Used to determine if the target computer
meets the prerequisites for deploying a new operating
system.
• LiteTouch.wsf. The script responsible for controlling the
LTI deployment process.
Location distribution\Scripts
Use cscript LiteTouch.vbs </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
None
LiteTouch.wsf
This script is called by LiteTouch.vbs and is responsible for controlling the LTI deployment
process. This includes:
• Running the Windows Deployment Wizard.
• Running the LTI deployment process by using the appropriate task sequence file.
For more information about LiteTouch.vbs, see the corresponding topic in the “Scripts”
section of this reference.
Value Description
Input • task_sequence_file.xml. Contains the tasks and
sequence of tasks for the LTI deployment process.
• Environment Variables. Contains the list of property
values, custom properties, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process. The
environment variables are populated by ZTIGather.wsf.
Output • LiteTouch.log. Log file that contains events generated by
this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • BDD_Welcome_ENU.xml. Displays the Deployment
Wizard Welcome page for LTI deployment.
• CMD.exe. Windows Command Processor for running
external commands while debugging the deployment.
• DeployWiz_Definition_ENU.xml. Displays the
Deployment Wizard pages for LTI deployment.
• Diskpart.exe. Utility that allows the automated
management of disks, partitions, and volumes.
• LTICleanup.wsf. Performs cleanup tasks after
deployment completes.
• RecEnv.exe. If this utility exists, the user is prompted to
determine if they want to launch Windows RE.
• Regsvr32.exe. Registers files (.dll, .exe, .ocx, and so on)
with the operating system.
• Summary_Definition_ENU.xml. Displays the summary
results for the LTI deployment.
• TsmBootStrap.exe. Task sequence Bootstrap utility.
• Wpeutil.exe. Initializes Windows PE and network
connections; initiates LTI.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use BDDRun.exe “wscript.exe
ScriptDirectory\LiteTouch.wsf
</debug:value>”
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
_SMSTSPackageName
Architecture
DeployDrive
DeploymentMethod
DeploymentType
DeployRoot
DeploySystemDrive
ImageLanguage001
IsServerCoreOS
JoinDomain
JoinWorkgroup
KeyboardLocale
OSDAdapterCount
Phase
ResourceDrive
ResourceRoot
RetVal
SkipBDDWelcome
SkipFinalSummary
SkipWizard
TaskSequenceID
UILanguage
UserDomain
UserID
Solution Accelerators microsoft.com/technet/SolutionAccelerators
190 Microsoft Deployment Toolkit 2008
LTIApply.wsf
This script is responsible for installing a Windows PE image, Windows XP image, or
Windows Vista image to the target computer. The Windows PE image is used to collect
information about the target computer and to run the deployment tasks on the target
computer.
Value Description
Input OperatingSystems.xml
Output • LTIApply.log. Log file that contains events generated by
this script.
• LTIApply_wdsmcast.log. Log file that contains events
generated by the Wdsmcast utility.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
• Bootsect.exe. Applies a boot sector to the hard disk.
• ImageX.exe. A utility used to create and manage WIM
files.
• Wdsmcast.exe. A utility used by target computers to join
a multicast transmission.
Location distribution\Scripts
Use cscript LTIApply.wsf </pe> </post>
</debug:value>
Arguments
Value Description
/pe Uses the process for installing the Windows PE image on the
target computer.
/post Cleans up unnecessary files after the installation of an image.
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
Value Description
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
Architecture
DeployRoot
OSGUID
OSVersion
ImageBuild
ImageFlags
ImageProcessor
SourcePath
TaskSequenceID
UserDomain
UserID
UserPassword
WDSServer
LTICleanup.wsf
This script removes any files or configuration settings (such as scripts, folders, registry
entries, or automatic logon configuration settings) from the target computer after the
deployment process completes.
Value Description
Input Environment Variables. Contains the list of property
values, custom properties, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process. The
environment variables are populated by ZTIGather.wsf.
Output • LTICleanup.log. Log file that contains events generated
by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
• Bootsect.exe. Applies a boot sector to the hard disk.
Location distribution\Scripts
Solution Accelerators microsoft.com/technet/SolutionAccelerators
192 Microsoft Deployment Toolkit 2008
Value Description
Use cscript LTICleanup.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
_DoNotCleanLiteTouch
DeployRoot
DeploySystemDrive
ImageBuild
OSVersion
LTICopyScripts.wsf
This script copies the deployment scripts for the LTI and ZTI deployment processes to a
local hard drive on the target computer.
Value Description
Input None
Output • LTICopyScripts.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript LTICopyScripts.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
Phase
LTIGetFolder.wsf
This script displays a dialog box that allows the user to browses to a folder. The selected
folder path is stored in the FolderPath environment variable.
Value Description
Input Environment Variables. Contains the list of property
values, custom properties, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process. The
environment variables are populated by ZTIGather.wsf.
Output None
References • ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
• WizUtility.vbs. Includes support functions and
subroutines used by the user interface (such as wizard
pages).
Location • distribution\Scripts
• program_files\Microsoft Deployment Toolkit\Scripts
Use cscript LTIGetFolder.wsf
Arguments
Value Description
None None
Properties
Name Read Write
DefaultFolderPath
FolderPath
LTIOEM.wsf
This script is used by an Original Equipment Manufacturer (OEM) during an LTI OEM
scenario to copy the contents of a media deployment point to the target computer’s hard
disk to prepare it for duplication.
Value Description
Input Environment Variables. Contains the list of property
values, custom properties, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process. The
environment variables are populated by ZTIGather.wsf.
Output • LTIOEM.log. Log file that contains events generated by
this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript LTIOEM.wsf </BITLOCKER | /BDE>
</debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
/BITLOCKER Enables BitLocker Drive Encryption
/BDE Enables BitLocker Drive Encryption
Properties
Name Read Write
_DoNotCleanLiteTouch
BdeInstall
DeployDrive
DeployRoot
TSGUID001
LTISysprep.wsf
This script prepares the target computer for running Sysprep, runs Sysprep on the target
computer, and then verifies that Sysprep ran successfully.
Value Description
Input Environment Variables. Contains the list of property
values, custom properties, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process. The
environment variables are populated by ZTIGather.wsf.
Output • LTISysprep.log. Log file that contains events generated
by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • Expand.exe. Expands compressed files.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript LTISysprep.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
Architecture
DoCapture
OSCurrentBuild
SourcePath
NICSettings_Definition_ENU.xml
This .xml file contains the script code and HTML layout for the Configure Static IP
Network Settings wizard page in the Windows Deployment Wizard. During an LTI
deployment, Wizard.hta reads this .xml file and runs the embedded wizard page that
prompts for the required network addressing configuration. If no static IP addressing
configuration is supplied, the deployment scripts will default to using DHCP to obtain the
required network configuration.
Value Description
Input None
Output None
References ZTINICUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use None
Arguments
Value Description
None None
Properties
Name Read Write
OSDAdapter0DNSServerList
OSDAdapter0DNSSuffix
OSDAdapter0Gateways
OSDAdapter0IPAddressList
OSDAdapter0MacAddress
OSDAdapter0SubnetMask
OSDAdapter0WINSServerList
OSDAdapterCount
Summary_Definition_ENU.xml
This .xml file contains the script code and HTML layout for the Deployment Summary
wizard page in the Windows Deployment Wizard. During an LTI deployment, Wizard.hta
reads this .xml file and runs the embedded wizard page that displays the summary
results for the LTI deployment. This .xml file contains the following wizard pages:
• Success. Notification regarding the successful completion of the deployment tasks.
• Failure. Notification regarding the failure to successfully complete the deployment
tasks.
Value Description
Input None
Output None
References Summary_Scripts.vbs. Includes support functions and
subroutines used by the wizard pages embedded in this
.xml file.
Location distribution\Scripts
Use None
Arguments
Value Description
None None
Properties
Name Read Write
SkipFinalSummary
RetVal
Summary_scripts.vbs
This script is called by the Summary wizard page of the Windows Deployment Wizard. It
contains functions and subroutines that are used for initialization and validation.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output Event message are written to these log files:
• Summary_scripts.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References None
Location distribution\Scripts
Use <script language=”VBScript”
src=”Summary_Scripts.vbs”/>
Arguments
Value Description
None None
Properties
Name Read Write
DeploymentType
RetVal
Wizard.hta
This Hypertext Application (HTA) displays the Windows Deployment Wizard pages.
Value Description
Input Environment Variables. Contains the list of property
values, custom properties, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process. The
environment variables are populated by ZTIGather.wsf.
Output • Wizard.log. Log file that contains events generated by
this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
• WizUtility.vbs. Includes support functions and
subroutines used by the script.
Location • distribution\Scripts
• program_files\Microsoft Deployment Toolkit\Scripts
Use mshta.exe Wizard.hta
</definition:filename> </NotWizard>
</debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
/NotWizard Used to bypass wizard page prompts.
/Definition:filename Specifies the .xml file that is to be loaded into the wizard.
Properties
Name Read Write
WizardComplete
WizUtility.vbs
This script contains functions and subroutines that are referenced by the various
Windows Deployment Wizard scripts.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • WizUtility.log. Log file that contains events generated by
this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References LTIGetFolder.wsf. Script file that initiates a
BrowseForFolder dialog box.
Location • distribution\Scripts
• program_files\Microsoft Deployment Toolkit\Scripts
Use <script language=”VBScript”
src=”WizUtility.vbs”/>
Arguments
Value Description
None None
Properties
Name Read Write
DefaultFolderPath
FolderPath
OSVersion
UserDomain
UserCredentials
ZeroTouchInstallation.vbs
This script is run to initiate the ZTI deployment process. The script:
• Checks that the target computer meets the requirements for running the Windows
Deployment Wizard by calling ZTIPrereq.vbs.
• Starts the Windows Deployment Wizard by running ZeroTouchInstallation.wsf.
For more information about ZTIPrereq.vbs and ZeroTouchInstallation.wsf, see the
corresponding topics in the “Scripts” section of this reference.
Value Description
Input None
Output None
References • BDDRun.exe. Runs a command that requires user
interaction.
• Regsvr32.exe. Registers files (.dll, .exe, .ocx, and so on)
with the operating system.
• TsmBootStrap.exe. Task sequence Bootstrap utility.
• ZTIGather.wsf. Gathers the properties and processing
rules that control the deployment process.
• ZTINicConfig.wsf. Configures network adapters.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the scripts in this file.
• ZTIPrereq.vbs. Used to determine if the target computer
meets the prerequisites for deploying a new operating
system.
• ZeroTouchInstallation.wsf. Initiates the ZTI deployment
process.
Location distribution\Scripts
Use cscript ZeroTouchInstallation.vbs
</debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
None
ZeroTouchInstallation.wsf
This script is responsible for controlling the ZTI deployment process. This includes
running the ZTI deployment process using the appropriate task sequence file.
Note This script is initiated by ZeroTouchInstallation.vbs.
Value Description
Input • task_sequence_file.xml. Contains the tasks and
sequence of tasks for the ZTI deployment process (where
task_sequence_file is the name of the task sequence file).
• Environment Variables. Contains the list of property
values, custom properties, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process. The
environment variables are populated by ZTIGather.wsf.
Output • ZeroTouchInstallation.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • BDDRun.exe. Runs a command that requires user
interaction.
• TsmBootStrap.exe. Task sequence Bootstrap utility.
• ZTIGather.wsf. Gathers the properties and processing
rules that control the deployment process.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZeroTouchInstallation.wsf
</debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
Value Description
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
_SMSTSPackageName
Architecture
DeployDrive
DeploymentMethod
DeploymentType
DeployRoot
DeploySystemDrive
OSDAdapterCount
OSDInstallPackage
OSDPackageID
OSDPackagePath
OSVersion
Phase
ResourceDrive
ResourceRoot
ZTIApplications.wsf
This script will initiate an installation of applications that have been configured on the
Applications node in Deployment Workbench. This script will not attempt to install any
application that:
• Does not support the target computer’s platform type.
• Does not support the target computer’s processor type.
• Has an uninstall entry in the registry under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Unin
stall.
Note If the listed application has any dependent applications defined, this script will attempt to
install those dependent applications before installing the listed application.
Value Description
Input • Applications.xml. Contains a list of applications to be
installed. This file is created by Deployment Workbench.
• Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIApplications.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
• BDDRun.exe. Runs a command that requires user
interaction.
Location distribution\Scripts
Use cscript ZTIApplications.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
Architecture
ApplicationGUID
DeploymentMethod
InstalledApplications
ResourceDrive
ResourceRoot
SMSTSRebootRequested
SMSTSRetryRequested
ZTIAppXmlGen.wsf
This script generates an .xml file, ZTIAppXmlGen.xml, to use when automatically
capturing user data (documents) that are associated with installed applications.
This script accomplishes this task by enumerating through the
HKEY_CLASSES_ROOT\Software\Classes registry key and capturing any applications
that:
• Are not associated with one of these file extensions: .mp3, .mov, .wma, .wmv, .chm,
.evt, .evtx, .exe, .com, or .fon.
• Are not associated with Microsoft Office, such as the 2007 Microsoft Office System or
Microsoft Office 2003.
• Have a valid open handler listed at:
HKEY_CLASSES_ROOT\application\shell\open\command.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIAppXmlGen.xml. Contains a list of applications that
are installed on the target computer.
• ZTIAppXmlGen.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIAppXmlGen.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
USMTMigFiles
ZTIAuthorizeDHCP.wsf
This script uses the Netsh tool to configure the target computer so that it is an authorized
DHCP server in AD DS.
For more information about authorizing DHCP servers, see “How to Use Netsh.exe to
Authorize, Unauthorize and List DHCP Servers in Active Directory” at
http://support.microsoft.com/kb/303351.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIAuthorizeDHCP.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • Netsh.exe. A utility used to automate the configuration of
networking components.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIAuthorizeDHCP.wsf
</debug:value>
Note The security context that this script runs under must be a member of the Enterprise
Admins group.
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
IPAddress
ZTIBackup.wsf
This script performs a backup of the target computer using the ImageX utility. The backup
is stored in the location specified in the BackupDir and BackupShare properties.
For more information about the BackupDir and BackupShare properties, see the
corresponding topics in the “Properties” section of this reference.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIBackup.log. Log file that contains events generated
by this script.
• ZTIBackup_imagex.log. Log file that contains events
generated by ImageX.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • ImageX.exe. A utility used to create and manage WIM
files.
• Reg.exe. The Console Registry Tool for reading and
modifying registry data.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIBackup.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
BackupDir
BackupDisk
BackupDrive
BackupFile
ZTIBCDUtility.vbs
This script contains utility functions that are used by some of the MDT 2008 scripts when
performing Boot Manager tasks.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output None
References • BCDEdit.exe. A tool for editing the boot configuration of
Windows Vista and later versions of Windows.
Location • distribution\Scripts
• program_files\Microsoft Deployment Toolkit\Scripts
Use <script language="VBScript"
src="ZTIBCDUtility.vbs"/>
Arguments
Value Description
None None
Properties
Name Read Write
None
ZTIBde.wsf
This script installs and configures BitLocker Drive Encryption on the target computer.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
210 Microsoft Deployment Toolkit 2008
Note The BitLocker Drive Encryption configuration is limited to New Computer and Upgrade
Computer scenarios that have hard disks configured with a single partition.
Value Description
Input • BdeFixDiskPart.txt. Answer file used by the Diskpart tool
to adjust drive letter assignments.
• Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIBde.log. Log file that contains events generated by
this script.
• ZTIBdeFix_diskpart.log. Log file that contains events
generated by the Diskpart tool.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • BdeHdCfg.exe. Manages the BitLocker Drive Encryption
configuration.
• Diskpart.exe. Utility that allows for the automated
management of disks, partitions, and volumes.
• ZTIDiskUtility.vbs. Includes support functions and
subroutines used by the script.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIBde.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
AdminPassword
BDEDriveLetter
BDEDriveSize
BDEInstall
BDEInstallSuppress
ZTIBIOSCheck.wsf
This script checks the BIOS on the target computer and then looks at a list of BIOSes
that are incompatible with Windows Vista. The list of incompatible BIOSes is stored in the
ZTIBIOSCheck.xml file.
If the BIOS on the target computer is listed in the ZTIBIOSCheck.xml file, then the script
returns a status that indicates the BIOS is incompatible with Windows Vista and the
deployment process should be terminated.
For information on populating the ZTIBIOSCheck.xml file with a list of incompatible
BIOSes, see the corresponding topic in the “Support Files” section of this reference.
Value Description
Input • ZTIBIOSCheck.xml. Contains a list of BIOSes that are
known to be incompatible with Windows Vista.
• Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIBIOSCheck.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIBIOSCheck.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
None
ZTICoalesce.wsf
System Center Configuration Manager requires packages to be numbered sequentially,
starting with PACKAGES001, with no gaps in the number sequence. Otherwise,
installation will fail.
This script allows variables to be defined and named using identifying information about
the program to run—for example, ComputerPackages100, ComputerPackages110, or
CollectionPackages150. Then, when this script is run, System Center Configuration
Manager will find all variables that match a pattern (for example, all variable names that
contain the string Packages), and build a sequential list, without gaps, using the base
name PACKAGES.
For example, if the following variables were defined (using computer variables, collection
variables, or in CustomSettings.ini or the MDT 2008 database, for example):
• ComputerPackages100=XXX00001:Program
• ComputerPackages110=XXX00002:Program
• CollectionPackages150=XXX00003:Program
• Packages001=XXX00004:Program
After the script runs, the list would be:
• PACKAGES001=XXX00004:Program
• PACKAGES002=XXX00001:Program
• PACKAGES003=XXX00002:Program
• PACKAGES004=XXX00003:Program
System Center Configuration Manager would then be able to run all four programs.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTICoalesce.log. Log file that contains events generated
by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTICoalesce.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
CoalescePattern Coalesce pattern to be used when performing
the search. Default value is Packages.
CoalesceTarget Get the target base variable name. Default
value is PACKAGES.
ZTIConfigure.wsf
This script configures the Unattend.xml, Sysprep.inf, or Unattend.txt files with the
property values specified earlier in the MDT 2008 deployment process. The script
configures the appropriate file based on the operating system being deployed.
This script reads the ZTIConfigure.xml file to determine how to update the Unattend.xml,
Sysprep.inf, or Unattend.txt files with the appropriate values specified in the deployment
properties. The ZTIConfigure.xml file contains the information to translate properties to
settings in the Unattend.xml, Sysprep.inf, or Unattend.txt files.
Value Description
Input • ZTIConfigure.xml. Contains a list of property values
(specified earlier in the deployment process) and their
corresponding configuration settings.
• Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIConfigure.log. Log file that contains events generated
by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIConfigure.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
DeploymentMethod
DeploymentType
DeployRoot
DeploySystemDrive
DomainAdminDomain
OSDTargetSystemDrive
Phase
TaskSequenceID
Upgrade
ZTIConfigureADDS.wsf
This script starts Dcpromo to configure the target computer as an AD DS domain
controller.
For more information about Dcpromo.exe, see Dcpromo at
http://technet2.microsoft.com/windowsserver2008/en/library/d660e761-9ee7-4382-822a-
06fc2365a1d21033.mspx.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIConfigureADDS.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • Dcpromo.exe. Installs and removes AD DS.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIConfigureADDS.wsf
</debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
ADDSPassword
ADDSUserDomain
ADDSUserName
AutoConfigDNS
ChildName
ConfirmGC
DatabasePath
DomainLevel
DomainNetBiosName
ForestLevel
LogPath
NewDomain
NewDomainDNSName
OSVersion
ParentDomainDNSName
ReplicaOrNewDomain
ReplicaDomainDNSName
ReplicationSourceDC
SafeModeAdminPassword
SiteName
SysVolPath
ZTIConfigureDHCP.wsf
This script configures DHCP on the target computer.
Note DHCP should already be installed on the target computer before running this script.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIConfigureDHCP.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • Netsh.exe. A utility that permits automating the
configuration of networking components.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIConfigureDHCP.wsf
</debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
DHCPScopes
DHCPScopesxEndIP
DHCPScopesxExcludeStartIP
DHCPScopesxExcludeEndIP
DHCPScopesxIP
DHCPScopesxName
DHCPScopesxOptionRouter
Note The x in the properties listed here is a placeholder for a zero-based array that contains
DHCP configuration information.
ZTIConfigureDNS.wsf
This script configures DNS on the target computer. To perform the actual configuration
tasks, the script uses the Dnscmd utility.
For more information about Dnscmd.exe, see Dnscmd Overview at
http://technet2.microsoft.com/windowsserver/en/library/5c497b2e-3387-4ecf-adf5-
562045620a961033.mspx.
Note DNS should already be installed on the target computer before running this script.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIConfigureDNS.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • Dnscmd.exe. Assists administrators with DNS
management.
Value Description
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIConfigureDNS.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
DNSServerOptionDisableRecursion
DNSServerOptionBINDSecondaries
DNSServerOptionFailOnLoad
DNSServerOptionEnableRoundRobin
DNSServerOptionEnableNetmaskOrdering
DNSServerOptionEnableSecureCache
DNSServerOptionNameCheckFlag
DNSZonesxName
DNSZonesxType
DNSZonesxMasterIP
DNSZonesxDirectoryPartition
DNSZonesxFileName
DNSZonesxScavenge
DNSZonesxUpdate
Note The x in the properties listed here is a placeholder for a zero-based array that contains
DNS configuration information.
ZTIConnect.wsf
The MDT 2008 deployment process uses this script to authenticate with a server
computer (such as a computer running SQL Server or another server that has a shared
network folder). When this script is run, it validates that a connection can be created to
the network shared folder specified in the /uncpath argument.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIConnect.log. Log file that contains events generated
by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIConnect.wsf /UNCPath:uncpath
</debug:value>
Arguments
Value Description
/UNCPath:uncpath Specifies a fully qualified UNC path to a network shared
folder.
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
None
ZTICopyLogs.wsf
Copy the Smsts.log and BDD.log files to a subfolder beneath the share specified by the
SLShare property. The subfolder will be named the name specified by
OSDComputerName, or OSDNewComputerName, or HostName.
Value Description
Input • Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTICopyLogs.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTICopyLogs.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
None
ZTIDeterminePartition.wsf
Determines the user-specified hard disk partition layout.
Value Description
Input • Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIDeterminePartition.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIDeterminePartition.wsf
</debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
DeploySystemDrive
ZTIDiskpart.wsf
This script creates the disk partitions on the target computer by calling the Diskpart utility.
The parameters used to configure the disk are specified by the Task Sequencer or in
CustomSettings.ini. ZTIDiskpart.wsf is primarily run in New Computer scenarios. The
process works like this:
1. The MDT 2008 deployment process runs the ZTIDiskpart.wsf script based on the
steps and sequence of steps in the Task Sequencer.
2. ZTIDiskpart.wsf starts the Diskpart utility and sends it the required configuration
commands.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
224 Microsoft Deployment Toolkit 2008
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIDiskpart.log. Log file that contains events generated
by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • Diskpart.exe. Utility that allows for the automated
management of disks, partitions, and volumes.
• ZTIDiskUtility.vbs. Includes support functions and
subroutines used by the script.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIDiskpart.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
BDEDriveLetter
BDEDriveSize
BDEInstall
DeployDrive
DeploymentType
ImageBuild
OSDDiskIndex
OSDDiskpartBiosCompatibilityMode
OSDDiskType
OSDPartitions
OSDPartitionStyle
VolumeLetterVariable
ZTIDiskUtility.vbs
This script contains disk-related functions and subroutines that are called by the various
scripts in the MDT 2008 deployment process.
Value Description
Input None
Output • ZTIDiskUtility.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References None
Location distribution\Scripts
Use <script language="VBScript"
src="ZTIDiskUtility.vbs"/>
Arguments
Value Description
None None
Properties
Name Read Write
None
ZTIDrivers.wsf
This script installs additional device drivers onto the target computer before initiating the
configuration of the operating system. This script reads the Drivers.xml file and copies the
list of device driver files in the Drivers.xml file (created by and managed on the Drivers
node in Deployment Workbench) to the target computer.
When not deploying the Windows Vista operating system, the following updates are also
performed on the target computer:
• The setup answer files Sysprep.inf or Unattend.txt are updated so that the
OemPnPDriversPath property includes the new driver locations.
• The following registry value is updated to include the new driver locations:
HKEY_LOCAL_MACHINE\Microsoft\Windows\CurrentVersion\DevicePath.
Value Description
Input • Drivers.xml. Contains a list of device drivers to be copied
to the target computer.
• CustomSettings.ini. Contains the list of property values,
custom properties, database connections, deployment
rules, and other information required by the scripts to
complete the deployment process.
Output • PnpEnum.xml. Contains a list of all devices installed on
the target computer.
• ZTIDrivers.log. Log file that contains events generated
by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • Microsoft.BDD.PnpEnum.exe. Utility that enumerates
Plug and Play devices.
• Reg.exe. The Console Registry Tool for reading and
modifying registry data.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIDrivers.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
Architecture
DeploymentMethod
DeployRoot
DeploySystemDrive
DriverGroup
DriverPaths
OSDPlatformArch
ZTIGather.wsf
This script gathers the properties and processing rules that control the deployment
process. The properties and rules (also known as local properties) are explicitly defined in
this script, and are contained in the ZTIGather.xml file, in the CustomSettings.ini file, and
in the deployment database (created on the Database node in Deployment Workbench).
Value Description
Input • ZTIGather.xml. Contains a list of predefined properties
that are parsed in the .ini file and deployment database.
• CustomSettings.ini. Contains the list of property values,
custom properties, database connections, deployment
rules, and other information required by the scripts to
complete the deployment process.
Output • ZTIGather.log. Log file that contains events generated by
this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • Regsvr32.exe. Registers files (.dll, .exe, .ocx, and so on)
with the operating system.
• Wpeutil.exe. Initializes Windows PE and network
connections; initiates LTI.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIGather.wsf </debug:value>
</localonly> </inifile:ini_file_name>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
/localonly Returns only information about the target computer and the
current operating system installed on the target computer.
Does not parse the input .ini file (specified in the /inifile
argument) and returns properties and rules specified in the .ini
file.
If not specified, the script will return information about the
target computer and the currently installed operating system,
and will parse the .ini file.
/inifile:ini_file_name Name and path of the input .ini file that contains the properties
and rules used in the deployment process.
If not specified, the script uses the default value in
CustomSettings.ini.
Properties
Name Read Write
All
ZTIGroups.wsf
This script captures and restores the local group membership on the target computer.
This script is called with the /capture argument to back up the group membership from
the target computer before deploying the operating system. The CaptureGroups
property contains the list of groups to be backed up by this script. The script is called with
the /restore argument to restore the group membership after the operating system is
deployed. When performing a restore, it will restore the membership of all groups that
were backed up when the script was run using the /capture argument.
Note When restoring group membership, the script does not create any destination groups that
do not already exist on the target computer. Therefore, be sure to include all required groups in
the reference computer when building the image file.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIGroups.log. Log file that contains events generated
by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIGroups.wsf </debug:value>
</backup> </restore>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
/capture Backs up the group membership of the local groups on the
target computer as specified in the CaptureGroups property.
/restore Restores the group membership to the local groups backed
up earlier in the deployment process.
Properties
Name Read Write
CaptureGroups
Groups
HostName
ZTILangPacksOnline.wsf
This script installs language packs for Windows Vista and Windows Server 2008.
Value Description
Input • Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTILangPacksOnline.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • Lpksetup.exe. The Language Pack Setup tool used to
add or remove language packs.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTILangPacksOnline.wsf
</debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
Architecture
OSVersion
ZTIMoveStateStore.wsf
This script moves the captured user state and backup files to
C:\Windows\Temp\StateStore.
Note This script is run only when deploying images using System Center Configuration Manager.
Value Description
Input None
Output • ZTIMoveStateStore.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIMoveStateStore.wsf
</debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
None
ZTINextPhase.wsf
This script updates the Phase property to the next phase in the deployment process. The
Task Sequencer uses these phases to determine the sequence in which each task must
be completed. The Phase property includes the following values:
• VALIDATION. Identify that the target computer is capable of running the scripts
necessary to complete the deployment process.
• STATECAPTURE. Save any user state migration data before deploying the new
target operating system.
• PREINSTALL. Complete any tasks that need to be done (such as creating new
partitions) before the target operating system is deployed.
• INSTALL. Install the target operating system on the target computer.
• POSTINSTALL. Complete any tasks that need to be done before restoring the user
state migration data. These tasks customize the target operating system before
starting the target computer the first time after deployment (such as installing updates
or adding drivers).
• STATERESTORE. Restore the user state migration data saved during the State
Capture Phase.
For more information about the Phase property, see the corresponding topic in the
“Properties” section of this reference.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTINextPhase.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTINextPhase.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
DeploymentMethod
Phase
ZTINICConfig.wsf
This script configures activated network adapters with values that were captured by
ZTIGather.wsf based on the properties listed in the CustomSettings.ini file or the
deployment database (created on the Database node in Deployment Workbench).
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Value Description
Output • ZTINICConfig.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
• ZTINicUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTINicConfig.wsf </debug:value>
</ForceCapture> </RestoreWithinWinPE>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
/ForceCapture If there are any local networking adapters with static IP
addresses saved, this script will capture those settings and
save them to the local environment; for example,
C:\MININT\SMSOSD\OSDLogs\Variables.dat. This script can
be useful in capturing static IP settings for a large number of
computers for automation.
/RestoreWithinWinPE When specified, will apply any saved static IP network settings
to the local computer, when appropriate. Used for internal
processing only.
Properties
Name Read Write
DeployDrive
DeploymentMethod
DeploymentType
DeployRoot
OSDAdapterCount
OSDMigrateAdapterSettings
OSGUID
Phase
ZTINICUtility.vbs
This script contains network adapter–related functions and subroutines that are called by
the various scripts in the MDT 2008 deployment process.
Value Description
Input None
Output None
References None
Location distribution\Scripts
Use <script language="VBScript"
src="ZTINicUtility.vbs"/>
Arguments
Value Description
None None
Properties
Name Read Write
OSDAdapterAdapterIndexAdapterName
Note AdapterIndex in this property is a placeholder for a zero-based array that contains
network adapter information.
ZTIOEM.wsf
This script is used by the OEM duplication process when using MDT 2008 with System
Center Configuration Manager. This script has two functions:
1. When run using the /PREOEM switch, the target computer is prepared for OEM
duplication.
2. When run using the /POSTOEM switch, the target computer is reconfigured to allow
starting from the hard drive so that it can complete the deployment task sequence.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIOEM.log. Log file that contains events generated by
this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
236 Microsoft Deployment Toolkit 2008
Value Description
References • ZTIDiskUtility.vbs. Includes support functions and
subroutines used by the script.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIOEM.wsf </PREOEM | /POSTOEM>
</debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
/PREOEM Prepares the target computer for OEM duplication.
/POSTOEM Completes the configuration of the target computer after OEM
duplication.
Properties
Name Read Write
ConfigFileName
ConfigFilePackage
ImagePackageID
InstallPackageID
Phase
OSArchitecture
OSDAnswerFilePath
OSDImageCreator
OSDImageIndex
OSDInstallEditionIndex
OSDImagePackageID
OSDInstallType
OSDisk
OSDTargetSystemDrive
ZTIOSRole.wsf
This script installs server roles for target computers that are running Windows
Server 2008 and Windows Server 2003. The script reads the OSRoles,
OSRoleServices, and OSFeatures properties to determine what should be installed.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIOSRole.log. Log file that contains events generated
by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIOSRole.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
IsServerCoreOS
OSFeatures
OSRoles
OSRoleServices
OSVersion
ZTIPackages.wsf
This script installs a list of packages during the OSD State Restore Phase. During the
installation process the script performs the following steps:
1. Verifies that the Osdswdexec executable file can be located.
2. Verifies the existence of the specified .ini file. The default .ini file is
CustomSettings.ini.
3. Reads the Systems Management Server database connection information from the
specified .ini file.
4. Connects to the Systems Management Server database.
5. Reads each package name from the Packages environment variable, and then,
using the Osdswdexec executable, starts the package installation.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIPackages.log. Log file that contains events generated
by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • Osdswdexec.exe. SMS 2003 OSD Feature Pack
application installer.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIPackages.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
PackageID
Packages
ProgramName
ZTIPatches.wsf
This script installs updates (language packs, security updates, and so on) that are listed
in the Packages.xml file.
The script will terminate if the deployment is not in one of the following states:
• DeploymentMethod equals OSD and Phase equals POSTINSTALL
• DeploymentMethod does not equal OSD and Phase equals PREINSTALL
The script will start Pkgmgr if the deployment is in the following state:
• DeploymentMethod equals OSD and Phase equals POSTINSTALL.
Value Description
Input • Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIPatches.log. Log file that contains events generated
by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • Expand.exe. Expands compressed files.
• Pkgmgr.exe. Installs or updates Windows Vista offline.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIPatches.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
Value Description
(this is the behavior when the argument is not provided).
Properties
Name Read Write
Architecture
DeployRoot
DeploymentMethod
DeploymentType
LanguagePacks
OSDPlatformArch
PackageGroup
Phase
ResourceRoot
ZTIPrereq.vbs
This script checks to verify that the target computer has the prerequisite software
installed, and that it is functional. The checks the script performs are:
• Determine if the Windows Script version is equal to or greater than version 5.6.
• Verify that errors do not occur when object references are instantiated to
Wscript.Shell, Wscript.Network, Scripting.FileSystemObject
MSXML2.DOMDocument, and the Process environment.
If any one of the checks fail, an error is raised and the script exits the ValidatePrereq
procedure.
Value Description
Input None
Output None
References None
Location distribution\Scripts
Use None
Arguments
Value Description
None None
Properties
Name Read Write
None
ZTISCCM.wsf
This script initializes ZTI when deploying using Systems Center Configuration Manager.
The script performs the following procedure:
1. If debugging is activated, the script creates the OSD.Debug and Archive_OSD.sms
files.
2. The script configures these properties:
a. ScriptRoot is set to the parent folder of the currently running script.
b. DeployRoot is set to the parent folder of ScriptRoot.
c. ResourceRoot is set to DeployRoot.
d. DeploySystemDrive is set to “C:.”
e. DeploymentMethod is set to “CONFIGMGR.”
3. When DeployRoot contains “:\”:
a. The DeployRoot folder is copied to _SMSTSMDataPath\WDPackage.
b. ScriptRoot is set to _SMSTSMDataPath\WDPackage\Scripts.
c. DeployRoot is set to the parent folder of ScriptRoot.
d. ResourceRoot is set to DeployRoot.
4. When Phase is NULL:
a. If the %SystemDrive% environment variable is “X:,” then DeploymentType is set
to “NEWCOMPUTER” and Phase is set to “PREINSTALL.” Otherwise
DeploymentType is set to “REPLACE” and Phase is set to “VALIDATION.”
b. If the OldComputer.tag file exists in the parent folder of the current running script,
then DeploymentType is set to “REPLACE” and Phase is set to “VALIDATION.”
Otherwise DeploymentType is set to “REFRESH” and Phase is set to
“VALIDATION.”
For more information about these properties, see the corresponding topics in the
“Properties” section of this reference.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTISCCM.log. Log file that contains events generated by
this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
Value Description
References ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTISCCM.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
_SMSTSMDataPath
Architecture
BDDPackageID
DeploymentMethod
DeploymentType
DeployRoot
DeploySystemDrive
Phase
ResourceRoot
ScriptRoot
ToolRoot
ZTISetVariable.wsf
This script sets the specified global task sequence variable that corresponds to the name
contained in VariableName to the value contained in VariableValue.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Value Description
Output • ZTISetVariable.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTISetVariable.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
VariableName
VariableValue
ZTIStorageDrivers.wsf
This script injects required non-Microsoft mass storage drivers into Windows XP or
Windows Server 2003 when deploying using a full set of source files and running
Setup.exe.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIStorageDrivers.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Solution Accelerators microsoft.com/technet/SolutionAccelerators
244 Microsoft Deployment Toolkit 2008
Value Description
Use cscript ZTIStorageDrivers.wsf
</debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
Architecture
DeploymentMethod
DeploySystemDrive
ImageBuild
InstallFromPath
OSDPlatformArch
ResourceRoot
StorageDriverGroupxxx
ZTIStorageDriversSysprep.wsf
This script injects required non-Microsoft mass storage drivers into Windows XP or
Windows Server 2003 when deploying an image to the target computer that has been
prepared using Sysprep.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIStorageDriversSysprep.log. Log file that contains
events generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Value Description
Location distribution\Scripts
Use cscript ZTIStorageDriversSysprep.wsf
</debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
Architecture
DeploymentMethod
DeploySystemDrive
ImageBuild
OSDPlatformArch
ResourceRoot
StorageDriverSysPrepGroupxxx
ZTITatoo.wsf
This script tattoos the target computer with identification and version information. The
script performs the following procedure:
• Locate and copy the ZTITatoo.mof file to the %SystemRoot%\System32\Wbem
folder. Any preexisting ZTITatoo.mof that exists at the destination will be deleted
before starting the copy operation.
• Mofcomp.exe will be run using the following command:
%SystemRoot%\System32\Wbem\Mofcomp.exe -autorecover
%SystemRoot%\System32\Wbem\ZTITatoo.mof.
• These deployment details are written to the registry at
HKEY_LOCAL_MACHINE\Software\Microsoft\Deployment 4:
• Deployment Method is set to DeploymentMethod.
• Deployment Type is set to DeploymentType.
• Deployment Timestamp is set to the current date in WMI date format.
Solution Accelerators microsoft.com/technet/SolutionAccelerators
246 Microsoft Deployment Toolkit 2008
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTITatoo.log. Log file that contains events generated by
this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • Mofcomp.exe. Command-line .mof file compiler.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTITatoo.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
DeploymentMethod
DeploymentType
OSDAdvertID
OSDPackageID
OSDProgramID
OSDSiteCode
OSVersion
TaskSequenceID
TaskSequenceName
TaskSequenceVersion
ZTIUserState.wsf
This script initializes USMT to capture and restore user state on the target computer.
Value Description
Input • Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIUserState.log. Log file that contains events generated
by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • Loadstate.exe. Deposits user state data on a target
computer.
• Msiexec.exe. Manages the installation of .msi-based
applications.
• Scanstate.exe. Collects user data and settings.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIUserState.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
Architecture
DeploymentType
DeploySystemDrive
ImageSize
ImageSizeMultiplier
InstallFromPath
IsServerOS
LoadStateArgs
OSDPackagePath
OSDStateStorePath
OSVersion
ScanStateArgs
StatePath
UDDir
UDProfiles
UDShare
UserDataLocation
USMTConfigFile
USMTEstimate
USMTLocal
USMTMigFiles
ZTIUtility.vbs
This script contains utility functions that are used by most of the MDT 2008 scripts.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output None
References • OSDConnectToUNC.exe. Connects to a UNC path.
• Regsvr32.exe. Registers files (.dll, .exe, .ocx, and so on)
with the operating system.
Location • distribution\Scripts
• program_files\Microsoft Deployment Toolkit\Scripts
Use <script language="VBScript"
src="ZTIUtility.vbs"/>
Arguments
Value Description
None None
Properties
Name Read Write
_OSDRESERVED1
_SMSTSAdvertID
_SMSTSCurrentActionName
_SMSTSCustomProgressDialogMessage
_SMSTSInstructionTableSize
_SMSTSLogPath
_SMSTSMachineName
_SMSTSNextInstructionPointer
_SMSTSOrgName
_SMSTSPackageID
_SMSTSPackageName
_SMSTSPackagePath
_SMSTSReserved1
_SMSTSReserved2
ZTIValidate.wsf
This script ensures that it is safe for the deployment to continue by validating the
condition of the target computer. The script processes are:
• If DeploymentType equals REFRESH or UPGRADE and the target computer is a
server, the script will exit.
• If OSInstall exists and is not equal to YES, the script will exit.
• Verify the minimum amount of RAM exists on the target computer. If not, the script
will exit.
• Verify the processor meets the minimum required speed. If not, the script will exit.
• Verify the hard disk size meets the minimum size requirements. If not, the script will
exit.
• Verify that the target computer’s operating system is installed on drive C. If not, the
script will exit.
• During an Upgrade scenario: If VerifyOS = SERVER, verify that a server operating
system is not pending deployment to a target computer that is running a workstation
operating system.
• During an Upgrade scenario: If VerifyOS = CLIENT, verify that a workstation
operating system is not pending deployment to a target computer that is running a
server operating system.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIValidate.log. Log file that contains events generated
by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • Compact.exe. Displays or alters the compression of files
on NTFS file system partitions.
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIValidate.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
DeploymentType
ImageMemory
ImageProcessorSpeed
ImageSize
ImageSizeMultiplier
IsServerOS
Memory
OSDPackagePath
OSInstall
ProcessorSpeed
ZTIWindowsUpdate.wsf
This script will download and install updates from computers on a corporate network that
are running WSUS, Windows Update, or Microsoft Update, using the Windows Update
Agent (WUA) API. By default, this feature is disabled in each task sequence and must be
manually activated to run. This script was designed to run on Windows Vista, Windows
Server 2008, Windows XP, and Windows Server 2003.
Most enterprises will already have teams and infrastructures in place to update newly
deployed computers over the corporate network. This involves tracking the latest set of
patches, drivers, and updates available for each desktop configuration and determining
which updates should be downloaded and installed for each configuration. If the
organization already has an established process, this script might not be necessary. This
script was designed to fill a need for deployment teams that might not have established
processes, yet want to ensure that target computers are updated when deployed.
This script will automatically scan the target computer and download a wide range of
updates that are found to be applicable. Among these are:
• Windows service packs
• Non-Microsoft drivers that were placed on Windows Update
• Enhanced features for Windows Vista Ultimate
• The latest Quick Fix Engineering (QFE) updates
• Microsoft Office updates
• Microsoft Exchange Server and SQL Server updates
• Microsoft Visual Studio® updates
• Some non-Microsoft application updates
Tip Many hardware manufacturers have placed their drivers on Windows Update. These
drivers no longer need to be maintained in the “Out of Box Drivers” directory. Experiment by
removing drivers from the distribution share to see which ones are available on Windows
Update. Note that if the drivers are not included with Windows by default, do not remove
Networking or Storage drivers, because the operating system will require user input.
MDT 2008 supports the ability to deploy an updated version of WUA as part of the
operating system deployment. This helps ensure that target computers are running the
correct version of WUA when they are deployed. This also helps eliminate the need to
connect to the Internet and download the latest version of WUA after deployment.
MDT 2008 can also configure WUA to collect updates from computers on the corporate
network that are running WSUS instead of connecting to Microsoft Updates over the
Internet. MDT 2008 can optionally configure WUA to use a specific computer running
WSUS using the WSUSServer property.
For additional information and for WUA deployment instructions, go to
http://technet.microsoft.com/en-us/library/bb932139.aspx.
Obtain the latest version of the WUA stand-alone installer for:
• x86 versions (WindowsUpdateAgent30-x86.exe) at
http://go.microsoft.com/fwlink/?LinkID=100334.
• x64 version (WindowsUpdateAgent30-x64.exe) at
http://go.microsoft.com/fwlink/?LinkID=100335.
Windows Vista and Windows Server 2008 include the most recent version of WUA, so no
upgrade is necessary for these operating systems. In Windows XP and Windows
Server 2003, one of the following will occur:
• If the WUA 3.0 stand-alone installer files are in the TOOLS\architecture folder (where
architecture is either x86 or x64) on the deployment point, MDT 2008 will
automatically install WUA on the target computer.
When downloading the WUA 3.0 stand-alone installer files, save them in the
distribution\TOOLS\architecture folder (where distribution is the folder where the
distribution point is created).
• If the WUA 3.0 stand-alone installer files are not in the TOOLS\architecture folder on
the deployment point and if the existing version of WUA is configured for a WSUS
server, then WUA will attempt to update itself from a WSUS server. If the existing
version of WUA is not configured for a WSUS server, then MDT 2008 will attempt to
download and install WUA 3.0 from the Microsoft Update site. In this case, Internet
access is required for the target computer.
Note MDT 2008 does not support authentication with proxy servers.
• The script will compare the UpdateID and KBArticle property values against the list
of exclusions specified in the following MDT 2008 properties:
• WUMU_ExcludeID: A list of UpdateIDs to exclude. Any update with an UpdateID
found in this list will not be installed.
• WUMU_ExcludeKB: A list of QNumbers to exclude. Any update with a QNumber
found in this list will not be installed.
• In addition, any update that requires user input will be excluded, and will not be
installed.
• All updates that require an End User License Agreement (EULA) to be approved will
automatically be approved by the script. Be sure to manually read and check each
EULA before running this script in a production environment.
• The activity for each update is written to the ZTIWindowsUpdate.log file with the
string INSTALL or SKIP if the update has been approved for installation, along with
the UpdateID, a short description of the update, and the QNumber.
• Each update that is to be installed is downloaded and installed in batches.
The target computer might require more than one restart during the update
installation.
Note Internet Explorer 7 requires user interaction, so it is not installed using this script.
Note By default, include QNumber 925471 in the WUMU_ExcludeKB list to prevent Windows
Vista Ultimate from installing extra language packs.
Note If intranet sources are not available, this script will download two files from Microsoft Web
sites: http://update.microsoft.com/redist/wuredist.cab and
http://download.windowsupdate.com/v6/windowsupdate/redist/standalone/muauth.cab.
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIWindowsUpdate.log. Log file that contains events
generated by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References • Expand.exe. Expands compressed files.
• WIZUtility.vbs. Includes support functions and
subroutines used by the user interface (such as wizard
pages).
• ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIWindowsUpdate.wsf
</debug:value>
<UpdateCommand:<IsInstalled=0|1>
<IsHidden=0|1>> <Query:true|false>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
/UpdateCommand:para • IsInstalled. Set to 0 to query for updates that are not
m installed.
• IsHidden. Set to 0 to query for updates that are hidden.
/Query:value • True. Query only for required updates. Do not download
and install any binaries.
• False. Query for and install required updates. Download
and install binaries.
Note If specifying both options for UpdateCommand, they must be separated by “and”.
Note The default value for UpdateCommand is IsInstalled=0 and IsHidden=0.
Properties
Name Read Write
Architecture
MSIT_WU_Count
NoAutoUpdate_Previous
SMSTSRebootRequested
SMSTSRetryRequested
WSUSServer
WUMU_ExcludeID
WUMU_ExcludeKB
ZTIWipeDisk.wsf
This script formats the target computer’s hard disk. The script:
• Exits if WipeDisk is not equal to TRUE.
• Determines the appropriate drive to format.
• Formats the drive by calling cmd /c format Drive /fs:ntfs /p:3 /Y (where
Drive is the drive letter of the hard disk drive to be formatted).
Value Description
Input Environment Variables. Contains the property values,
custom property values, database connections,
deployment rules, and other information required by the
scripts to complete the deployment process.
Output • ZTIWipeDisk.log. Log file that contains events generated
by this script.
• BDD.log. Log file that contains events generated by all
MDT 2008 scripts.
References ZTIUtility.vbs. Includes support functions and
subroutines used by the script.
Location distribution\Scripts
Use cscript ZTIWipeDisk.wsf </debug:value>
Arguments
Value Description
/debug:value Outputs the event messages to the console and to the .log
files. If the value specified in value is:
• TRUE, event messages are sent to the console and the
.log files.
• FALSE, event messages are sent only to the .log files
(this is the behavior when the argument is not provided).
Properties
Name Read Write
ResourceRoot
WipeDisk
Applications.xml
This .xml file contains metadata about the applications defined in the distribution share.
This .xml file is created on the Applications node in Deployment Workbench and is read
by ZTIApplications.wsf.
Value Description
Location distribution\Control
BootStrap.ini
The configuration file used when the target computer is not able to connect to the
appropriate deployment point. This situation occurs in the New Computer and the
Replace Computer scenarios.
Value Description
Location distribution\Control
CustomSettings.ini
The primary configuration file for the MDT 2008 processing rules used in all scenarios.
Value Description
Location distribution\Control
Databases.xml
This .xml file contains metadata about the databases used by MDT 2008. This .xml file is
created on the Database node in Deployment Workbench.
Value Description
Location distribution\Control
Deploy.xml
This .xml file contains metadata about the configuration settings associated with
MDT 2008 deployment points. This .xml file is created on the Deployment Points node in
Deployment Workbench.
Value Description
Location program_files\Microsoft Deployment Toolkit\Control
Drivers.xml
This .xml file contains metadata about the device drivers defined in the distribution share.
This .xml file is created on the Drivers node in Deployment Workbench and is read by
ZTIDrivers.wsf.
Value Description
Location distribution\Control
DriverGroups.xml
This .xml file contains metadata that specifies the grouping of drivers as listed on the
Groups tab for each defined driver. Each driver group node contains a listing of
associated drivers. This .xml file is created on the Out-of-Box Drivers node in Deployment
Workbench.
Value Description
Location distribution\Control
ListOfLanguages.xml
This .xml file contains metadata about the languages supported by MDT 2008 and is read
by DeployWiz_Initialization.vbs.
Note This .xml file is preconfigured and should never require modification.
Value Description
Location distribution\Scripts
OperatingSystems.xml
This .xml file contains metadata about the operating systems in the distribution share.
This .xml file is created on the Operating Systems node in Deployment Workbench.
Value Description
Location distribution\Control
Packages.xml
This .xml file contains metadata about operating system packages in the distribution
share, including software updates and language packs. This .xml file is created on the OS
Packages node in Deployment Workbench.
Value Description
Location distribution\Control
ServerManager.xml
This .xml file contains metadata about the OSRoles, OSRoleService, and OSFeatures
that can be configured on Windows Server 2008 and Windows Server 2003.
Note Not all values listed for OSRoles, OSRoleService, and OSFeatures are compatible with
all server operating systems.
Value Description
Location program_files\Microsoft Deployment Toolkit\Bin
TaskSequences.xml
This .xml file contains metadata about the task sequences that reside in the subfolders of
distribution\Control.
Value Description
Location distribution\Control
TS.xml
This .xml file contains metadata about the task sequence definition.
Value Description
Location distribution\Control\task_sequence_id
Note Task_sequence_id is a placeholder for the task sequence ID that was assigned to each
task sequence when it was created on the Task Sequences node in Deployment Workbench.
Variables.dat
This .dat file contains property settings that are required when using the SMS 2003 OSD
Feature Pack.
Value Description
Wimscript.ini
This .ini file is an ImageX configuration file that contains the list of folders and files that
will be excluded from being added to an image. It is referenced by ImageX during the LTI
Capture phase.
For assistance with customizing this file, see the section, “Create an ImageX
Configuration File,” in the Windows Preinstallation Environment (Windows PE) User’s
Guide.
Value Description
Location distribution\Tools\platform
ZTIBIOSCheck.xml
This .xml file contains metadata about BIOSes for target computers. This .xml file is
edited manually and is read by ZTIBIOSCheck.wsf. Extract the necessary information
from a target computer to create an entry in this .xml file using the Microsoft Visual
Basic® Scripting Edition (VBScript) program (ZTIBIOS_Extract_Utility.vbs) that is
embedded in this .xml file.
Value Description
Location distribution\Scripts
ZTIConfigure.xml
This .xml file is used by the ZTIConfigure.wsf script to translate property values (specified
earlier in the deployment process) to configure settings in the Unattend.xml, Sysprep.inf,
or Unattend.txt files. This .xml file is already customized to make the appropriate
translations and should not require further modification.
For more information about the ZTIConfigure.wsf script, see the corresponding topic in
the “Scripts” section of this reference.
Value Description
Location distribution\Scripts
ZTIDiskpart.txt
This .txt file is an answer file used by the Diskpart.exe utility as part of the process for
creating partitions on the target computer. This file contains actions that are processed by
Diskpart.exe. The process is as follows:
1779.The MDT 2008 deployment process runs the ZTIDiskpart.exe based on the actions
and sequence of actions in the Task Sequencer.
1780.ZTIDiskpart.wsf runs ZTIDiskpart.cmd and provides this .txt file as a command-line
parameter to ZTIDiskpart.cmd.
1781.ZTIDiskpart.cmd runs Diskpart.exe and provides this .txt file as a command-line
parameter to Diskpart.exe.
1782.Diskpart.exe reads the actions in this .txt file and then performs the corresponding
action.
This file can be customized to create different partition configurations on the target
computer using a text editor. For more information about ZTIDiskpart.wsf and
ZTIDiskpart.cmd, see the corresponding topics in the “Scripts” section of this reference.
Value Description
Location distribution\Scripts
Use Diskpart.exe /s ZTIDiskpart.txt
For more information about Diskpart, please see the section, “DiskPart Command-Line
Options,” in the Windows Preinstallation Environment (Windows PE) User’s Guide.
ZTIGather.xml
In addition to the properties explicitly defined within each deployment script (also known
as local properties), the deployment scripts also read this .xml file. This .xml file contains
a list of properties that are to be processed by each deployment script to obtain values for
the properties listed in the CustomSettings.ini file or the deployment database (created
on the Deployment Workbench Database node).
Note This .xml file is preconfigured and should never require modification. Define custom
properties in the CustomSettings.ini file or the deployment database.
Value Description
Location distribution\Scripts
ZTISupportedPlatforms.xml
This .xml file contains metadata about supported operating systems and associated
queries. These queries can be used to identify target computers that are based on
hardware platforms that are compatible with the supported operating systems.
Value Description
Location • distribution\Scripts
• program_files\Microsoft Deployment Toolkit\Scripts
ZTITatoo.mof
This .mof file, when imported into the WMI repository of the target computer using
Mofcomp.exe, creates the Microsoft_BDD_Info WMI class. This class will contain
deployment-related information, such as:
• DeploymentMethod
• DeploymentType
• DeploymentTimestamp
• BuildID
• BuildName
• BuildVersion
• OSDPackageID
• OSDProgramName
• OSDAdvertisementID
• TaskSequenceID
• TaskSequenceName
• TaskSequenceVersion
Value Description
Location distribution\Scripts
BCDEdit.exe
BCDEdit.exe is a command-line tool for managing boot configuration data (BCD) stores.
It can be used for a variety of purposes, including creating new stores, modifying existing
stores, adding boot menu options, and so on. For more information about BCDEdit.exe,
see BCDEdit Commands for Boot Environment at
http://www.microsoft.com/whdc/system/platform/firmware/bcdedit_reff.mspx and BCDEdit
Command-Line Options at
http://technet2.microsoft.com/WindowsVista/en/library/08d64d13-4f45-4a05-bd86-
c99211a93dd91033.mspx.
Value Description
Location Included in the Windows Automated Installation Kit
(Windows AIK).
Arguments
Value Description
See the command-line help provided by this utility,
Windows AIK, or the information found at the URLs listed in
the utility description.
BDDRun.exe
This utility is run as an action by the Task Sequencer for executables (such as a script or
other code) that require user interaction. By default, the task sequence cannot run an
executable that requires user interaction. However, this utility allows the Task Sequencer
to run an executable that requires user interaction.
The executable that requires user interaction is provided as an argument to this utility.
This utility runs the executable in a separate command environment.
Note This utility can only be used in LTI deployments. ZTI deployments prohibit any user
interaction.
Value Description
Location distribution\Tools\platform
Use BDDRun.exe commandline
Arguments
Value Description
commandline The command to be run that requires user interaction.
Note Put double quotation marks around any part of the command-line portion of the argument
that contains blanks. For example: BDDRun.exe MyAppInstaller.exe /destinationdir:
"%ProgramFiles%\AppName".
BdeHdCfg.exe
Manages the BitLocker Drive Encryption configuration.
For detailed information about BdeHdCfg.exe, see the Microsoft Knowledge Base article,
“Description of the BitLocker Drive Preparation Tool,” at
http://support.microsoft.com/kb/930063.
Value Description
Location Included in the Windows PE source files.
Arguments
Value Description
See KB article 930063.
Bootsect.exe
Bootsect.exe updates the master boot code for hard disk partitions to switch between
BOOTMGR and NTLDR. Use this utility to restore the boot sector on the computer.
For more information on Bootsect.exe, see the section, “Bootsect Command-Line
Options,” in the Windows Preinstallation Environment (Windows PE) User’s Guide.
Value Description
Location distribution\Tools\platform
Use bootsect.exe /nt52 C:
Arguments
Value Description
/Help Displays the use instructions listed here.
/nt52 Applies the master boot code that is compatible with NTLDR
to SYS, ALL, or DriveLetter. The operating system installed
on SYS, ALL, or DriveLetter must be an earlier version of
Windows Vista.
/nt60 Applies the master boot code that is compatible with
BOOTMGR to SYS, ALL, or DriveLetter. The operating
system installed on SYS, ALL, or DriveLetter must be
Windows Vista.
SYS Updates the master boot code on the system partition used to
boot Windows.
All Updates the master boot code on all partitions. ALL does not
necessarily update the boot code for each volume. Instead,
this option updates the boot code on volumes that can be
used as Windows boot volumes, which excludes any dynamic
volumes that are not connected with an underlying disk
partition. This restriction is present because the boot code
must be located at the beginning of a disk partition.
DriveLetter Updates the master boot code on the volume associated with
this drive letter. The boot code will not be updated if either 1)
DriveLetter is not associated with a volume or 2) DriveLetter is
associated with a volume not connected to an underlying disk
partition.
/Force Forcibly dismounts the volume(s) during the boot code
update. Use this option with caution.
Compact.exe
Displays or alters the compression of files on NTFS file system partitions.
Value Description
Location Included in the Windows source files.
Arguments
Value Description
/C Compresses the specified files. Directories will be marked so
that files added afterward will be compressed.
/V Uncompresses the specified files. Directories will be marked
so that files added afterward will not be compressed.
/S Performs the specified operation on files in the given directory
and in all subdirectories. Default "dir" is the current directory.
/A Displays files with the hidden or system attributes. These files
are omitted by default.
/I Continues performing the specified operation even after errors
have occurred. By default, Compact.exe stops when an error
is encountered.
/F Forces the compress operation on all specified files, even
those which are already compressed. Already-compressed
files are skipped by default.
/Q Reports only the most essential information.
filename Specifies a pattern, file, or directory.
Diskpart.exe
Diskpart is a text-mode command interpreter in Windows Vista, Windows XP, and
Windows Server 2003. Using this utility allows management of objects (disks, partitions,
or volumes) using scripts or direct input in a Command Prompt window.
For more information on Diskpart.exe, see the section, “Diskpart Command-Line
Options,” in the Windows Preinstallation Environment (Windows PE) User’s Guide.
Value Description
Location Included in the Windows PE source files.
Arguments
Value Description
See the guide referenced in the utility description.
Expand.exe
This utility is run to expand (extract) files from compressed files.
Value Description
Location Included in the Windows source files.
Use Expand.exe -r wuredist.cab -F:wuRedist.xml
%temp%
Arguments
Value Description
-r Rename expanded files.
-D Display the list of files in the source directory.
Source Source file specification. Wildcards may be used.
-F:Files Name of files to expand from a .cab.
Destination Destination file | path specification. Destination can be a
directory. If Source is multiple files and -r is not specified,
Destination must be a directory.
ImageX.exe
ImageX is a command-line utility that enables original equipment manufacturers (OEMs)
and corporations to capture, modify, and apply file-based disk images for rapid
deployment. ImageX works with WIM files for copying to a network, or it can work with
other technologies that use WIM images, such as Windows Setup, Windows Deployment
Services, and the SMS 2003 OSD Feature Pack.
For more information about ImageX, see the section, “What is ImageX,” in the Windows
Preinstallation Environment (Windows PE) User’s Guide.
Value Description
Location distribution\Tools\platform
Arguments
Value Description
See the guide referenced in the utility description.
Microsoft.BDD.PnpEnum.exe
This utility is run to enumerate Plug and Play devices that are installed on the target
computer.
Value Description
Location distribution\Tools\platform
Arguments
Value Description
None
Mofcomp.exe
Mofcomp.exe is the Managed Object Format (MOF) compiler that parses a file that
contains MOF statements and adds the classes and class instances defined in the file to
the WMI repository. Mofcomp.exe provides command-line help on the switch use options.
Value Description
Location Included in the Windows source files.
Arguments
Value Description
See the command-line help provided by this utility.
Netsh.exe
Netsh.exe is a command-line and scripting utility used to automate the configuration of
networking components. For more information about Netsh.exe, see The Netsh
Command-Line Utility at
http://technet2.microsoft.com/WindowsServer/en/library/fd1e2fbe-15a6-413b-b712-
28afb312c92f1033.mspx.
Value Description
Location Included in the Windows source files.
Arguments
Value Description
See the command-line help provided by this utility or the
information found at the URL listed in the utility description.
Reg.exe
The Console Registry Tool and is used to read and modify registry data.
Value Description
Location Included in the Windows source files.
Arguments
Value Description
See the command-line help provided by this utility.
Regsvr32.exe
This utility is used to register files (.dll, .exe, .ocx, and so on) with the operating system.
Value Description
Location Included in the Windows source files.
Arguments
Value Description
file The name of the file to register or unregister.
/s Runs the utility in silent mode.
/u Unregisters the file.
Wdsmcast.exe
This utility is used by target computers to join a multicast transmission. It is only available
in the Windows Server 2008 Windows AIK.
For more information about Wdsmcast.exe, see the corresponding section in the
Windows Server 2008 Windows AIK.
Note The Windows Server 2008 Windows AIK is only available to organizations who are
participating in the Windows Server 2008 Beta program.
Value Description
Location Included in the Windows Server 2008 Windows AIK.
Arguments
Value Description
See the guide referenced in the utility description.
Wpeutil.exe
The Windows PE utility (Wpeutil) is a command-line utility with which various commands
can be run in a Windows PE session. For example, an administrator can shut down or
reboot Windows PE, activate or deactivate a firewall, configure language settings, and
initialize a network. MDT 2008 uses the utility to initialize Windows PE and network
connections, and start LTI deployments.
For more information on Wpeutil.exe, see the section, “Wpeutil Command-Line Options,”
in the Windows Preinstallation Environment (Windows PE) User’s Guide.
Value Description
Location Included in the Windows PE source files.
Arguments
Value Description
See the guide referenced in the utility description.
Table Description
BDDAdminCore Provides backward compatibility for BDD 2.5; not
managed by Deployment Workbench.
ComputerIdentity Used to identify a specific computer using any
combination of the AssetTag, UUID,
SerialNumber, and MACAddress properties. The
table includes a Description column to provide a
user-friendly method of describing the computer
(usually the computer name).
LocationIdentity Used to identify geographic locations using the
Location property. The values for this property are
stored in a corresponding column in the table.
LocationIdentity_DefaultGateway Relates the default gateway values with a location
identified in the LocationIdentity table. There is a
one-to-many relationship between this table and the
LocationIdentity table.
274 MSDN 2.0
Table Description
MakeModelIdentity Used to identify a specific make and model of a
computer using the Make and Model properties.
The values for these properties are stored in
corresponding columns in the table.
PackageMapping Used to associate the name presented in the Add or
Remove Programs Control Panel item with a
Systems Management Server package and
program to be deployed in place of the application
in Add or Remove Programs. For more information
on this table, see the section, “Deploying
Applications Based on Previous Application
Versions,” in the MDT 2008 document, Microsoft
Deployment Toolkit 2008 Samples Guide.
RoleIdentity Used to identify the purpose of a computer or the
users of a computer using the Role property. The
values for this property are stored in a
corresponding column in the table.
Settings Identifies the settings that are applied to an
individual computer or a group of computers based
on the settings in the Computers, Roles, Locations,
and Make and Model nodes on the Database node
in Deployment Workbench.
Settings_Administrators Identifies the user accounts to be added to the local
Administrator group on the target computer based
on the settings in the Computers, Roles, Locations,
and Make and Model nodes on the Database node
in Deployment Workbench.
Settings_Applications Identifies the applications to be deployed to the
target computer based on the settings in the
Computers, Roles, Locations, and Make and Model
nodes on the Database node in Deployment
Workbench.
Settings_Packages Identifies the packages to be deployed to the target
computer based on the settings in the Computers,
Roles, Locations, and Make and Model nodes on
the Database node in Deployment Workbench.
Settings_Roles Identifies the roles to be associated with the target
computer based on the settings in the Computers,
Locations, and Make and Model nodes on the
Database node in Deployment Workbench.
View Description
ComputerAdministrators Used to find all accounts to be made members of
the local Administrators group on the target
computer. The view is a join of the ComputerIdentity
and Settings_Administrators tables.
ComputerApplications Used to find all applications to be deployed to the
target computer. The view is a join of the
ComputerIdentity and Settings_Applications tables.
ComputerPackages Used to find all packages to be deployed to the
target computer. The view is a join of the
ComputerIdentity and Settings_Packages tables.
ComputerRoles Used to find all roles to be associated with the
target computer. The view is a join of the
ComputerIdentity and Settings_Roles tables.
ComputerSettings Used to find all property settings to be configured
for the target computer. The view is a join of the
ComputerIdentity and Settings tables.
LocationAdministrators Used to find all the accounts to be made a member
of the local Administrators group on the target
computers within a location. The view is a join of the
LocationIdentity, LocationIdentity_DefaultGateway,
and Settings_Administrators tables.
LocationApplications Used to find all the applications to be deployed to
the target computers within a location. The view is a
join of the LocationIdentity,
LocationIdentity_DefaultGateway, and
Settings_Applications tables.
LocationPackages Used to find all the packages to be deployed to the
target computers within a location. The view is a
join of the LocationIdentity,
LocationIdentity_DefaultGateway, and
Settings_Packages tables.
LocationRoles Used to find all the roles to be associated with the
target computers within a location. The view is a
join of the LocationIdentity,
LocationIdentity_DefaultGateway, and
Settings_Roles tables.
View Description
Locations Used to find the IP addresses for the default
gateways within a location or for all the locations
that contain a specified IP address for a default
gateway. The view is a join of the LocationIdentity
and LocationIdentity_DefaultGateway tables.
LocationSettings Used to find all the property settings to be
configured for the target computers within a
location. The view is a join of the LocationIdentity,
LocationIdentity_DefaultGateway, and Settings
tables.
MakeModelAdministrators Used to find all accounts to be made members of
the local Administrators group on the target
computers with a given make and model. The view
is a join of the MakeModelIdentity and
Settings_Administrators tables.
MakeModelApplications Used to find all applications to be deployed to the
target computers with a given make and model. The
view is a join of the MakeModelIdentity and
Settings_Applications tables.
MakeModelPackages Used to find all packages to be deployed to the
target computers with a given make and model. The
view is a join of the MakeModelIdentity and
Settings_Applications tables.
MakeModelRoles Used to find all roles associated with the target
computers with a given make and model. The view
is a join of the MakeModelIdentity and
Settings_Roles tables.
MakeModelSettings Used to find all property settings to be configured
for the target computers with a given make and
model. The view is a join of the MakeModelIdentity
and Settings tables.
RoleAdministrators Used to find all accounts to be made members of
the local Administrators group on the target
computers with a given role. The view is a join of
the RoleIdentity and Settings_Administrators tables.
RoleApplications Used to find all applications to be deployed to the
target computers with a given role. The view is a
join of the RoleIdentity and Settings_Applications
tables.
RolePackages Used to find all packages to be deployed to the
target computers with a given role. The view is a
join of the RoleIdentity and Settings_Packages
tables.
RoleSettings Used to find all property settings to be configured
for the target computers with a given role. The view
is a join of the RoleIdentity and Settings tables.
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/by-nc/2.5 or
send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
Complying with the applicable copyright laws is the responsibility of the user. Without limiting the rights under
copyright, no part of this document might 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 might 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, Active Directory, BitLocker, SQL Server, Windows, 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 might be the trademarks of their respective
owners.
Note Network, Media, and SMS 2003 OSD Feature Pack deployment point types can be created
without creating a Lab deployment point type. However, the Lab deployment point type should
typically be the first deployment type created.
1786.On the Specify Deployment Point Name page, in the Deployment point name
box, type deployment_point_name (where deployment_point_name is the
descriptive name selected), and then click Next.
1787.On the Application List page, select or clear the Allow users to select additional
applications on Upgrade check box based on the information in Table 4, and then
click Next.
Table 4. Allow Users to Select Additional Applications on Upgrade Check Box
Options
Check box Select this option to
Selected Display the page in the Windows Deployment Wizard
that prompts users to select additional applications to
be installed at the same time they are upgrading. The
wizard page is displayed in the Windows Deployment
Wizard when performing an Upgrade scenario.
Cleared Suppress the page in the Windows Deployment
Wizard.
1788.On the Allow Admin Password page, select or clear the Ask user to set the local
Administrator Password check box based on the information in Table 5, and then
click Next.
Table 5. Ask User to Set the Local Administrator Password Check Box Options
Check box Select this option to
Selected Display the page in the Windows Deployment Wizard
that prompts users to provide the local Administrator
password for the target computer.
Cleared Suppress the page in the Windows Deployment
Wizard.
1789.On the Allow Product Key page, select the Ask user for a product key check
box based on the information in Table 6, and then click Next.
Table 6. Ask User for a Product Key Check Box Options
Check box Select this option to
Selected Display the page in the Windows Deployment Wizard
that prompts users to provide a product key for the
target computer.
Cleared Suppress the page in the Windows Deployment
Wizard.
1790.Complete the Network Share page based on the information in Table 7, and then
click Next.
Table 7. Configuration Options for the Network Share Wizard Page
In this box Type
Server name computer_name (where computer_name is the
name of the computer that will host the shared folder)
Share name share_name (where share_name is the name of the
share to be created on the computer that will host the
shared folder)
Path for share path_name (where path_name is the fully qualified
path to the share on the computer that will host the
shared folder)
Note This should be an existing local path on the server
where the network share will be created.
1791.On the Configure User State page, click one of the options listed in Table 8 based
on requirements, and then click Finish.
Table 8. User Data Defaults Options
Option Select this option to
Automatically determine Allow the MDT 2008 scripts and process rules to
the location on the automatically determine the best location based on
Network network shared folders available to the target
computer.
Automatically determine Allow the MDT 2008 scripts and process rules to
the location on the Local determine the best location based on local available
System disk space on the target computer.
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 location for storing the
user state migration data).
Do not save data and Discard any existing user state migration data. Click
settings this option when deploying a new computer with no
existing data.
The New Deployment Point Wizard finishes, and the new deployment point name
appears in the details pane.
MDT 2008 supports only the multicast transfer of images contained on the LTI$
distribution share.
Note The Multicasting feature in MDT 2008 is only supported in Windows Server 2008.
Ensure that the Windows Deployment Services servers have copies of the Windows PE
images when they become available from the development team that creates them.
Table 9 provides a checklist for preparing Windows Deployment Services.
Table 9. Windows Deployment Services Checklist
High-level steps in the Windows Deployment Services preparation
q Select the Windows Deployment Services operational mode.
q Add images to the server running Windows Deployment Services.
q Pre-stage the target computers for Windows Deployment Services.
q Configure MDT 2008 and Windows Deployment Services for multicast operation.
For more information about setting up and configuring the Windows Deployment Services
server, see:
• The Windows Deployment Services Help file, included in Windows Deployment
Services.
• The white paper, “Deploying and Managing the Windows Deployment Services
Update on Windows Server 2003,” at http://go.microsoft.com/fwlink/?LinkId=81031.
1795.In the Managed dialog box, select the This is a managed computer check box.
Then, in the Computer’s unique ID (GUID/UUID) box, type guid_uuid (where
guid_uuid is the globally unique identifier/universally unique identifier [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,” at
http://technet2.microsoft.com/WindowsServer/en/library/c2d81caf-dd93-4f4b-bc2d-
907c0413805c1033.mspx.
1796.In the Host server dialog box, click one of the following options, and then click
Next:
• Any available remote installation server. Clicking this option specifies that this
computer can be serviced by any RIS/Windows Deployment Services server.
• The following remote installation server. Clicking this option designates a
specific server to service the computer. Specify the fully qualified domain name
(FQDN) of the server running Windows Deployment Services.
1797.In the New Object – Computer dialog box, review the information displayed, and
then click Finish.
1798.Close all open windows.
Note The files in Table 12 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.
To configure the shared folder permissions for the folders listed in Table 12, perform the
following steps for each folder:
1813.In Windows Explorer, right-click SharedFolder (where SharedFolder is one of the
shared folders listed in Table 12), and then click Properties.
1814.On the Security tab, click Advanced.
1815.On the Permissions tab, clear the Allow inheritable permissions from the
parent to propagate to this object and all child objects check box.
1816.In the Security dialog box, click Remove.
1817.On the Permissions tab, click Add.
1818.In the Enter the object name to select box, type Domain Computers, and then
click OK.
This action allows domain computers to create subfolders.
1819.In the Permission Entry for SharedFolder dialog box (where SharedFolder is one
of the shared folders listed in Table 12), in the Apply onto list, click This folder only.
1820.In the Permission Entry for SharedFolder dialog box (where SharedFolder is one
of the shared folders listed in Table 12), in the Permissions list, click Allow for the
Create Folders/Append Data permission, and then click OK.
1821.Repeat steps 6–9, substituting Authenticated Users for Domain Computers.
1822.On the Permissions tab, click Add.
1823.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.
1824.In the Permission Entry for SharedFolder dialog box (where SharedFolder is one
of the shared folders listed in Table 12), in the Apply onto list, click Subfolders and
files only.
1825.In the Permission Entry for SharedFolder dialog box (where SharedFolder is one
of the shared folders listed in Table 12), in the Permissions list, click Allow for the
Full Control permission, and then click OK.
1826.Repeat steps 11–14 for each group that will receive Administrator privileges.
The permissions set in these steps allow a target computer to connect to the appropriate
share and create a new folder in which to store user state information or logs,
respectively. The folder permissions prevent other users or computers from accessing the
data stored in the folder.
1834.On the Welcome to the Windows Deployment Wizard page shown in Figure 1,
type the Universal Naming Convention (UNC) path to the Distribution share for a
local server based on the environment’s requirements, and then click Next.
Use this wizard page to select deployment shares (called deployment points in
Deployment Workbench) based on a site. Sites are logical groupings of one or more
deployment points.
1835.On the Select a task sequence to execute on this computer page, shown in
Figure 2, in The following task sequences are available section, click
task_sequence (where task_sequence is the name of the task sequence to run).
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 point type. Although task sequences based on the Litetouch OEM Task Sequence
template can be selected from other deployment point types, the task sequence will not
finish successfully.
1836.On the Specify the product key needed to install this operating system page
(shown in Figure 3), 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 16).
This wizard appears when the conditions in Table 15 are met.
Table 15. Specify the Product Key Needed to Install This Operating System
Page Conditions
Property Condition
SkipProductKey Not equal to YES
DeploymentType Not equal to REPLACE
ImageBuild The first character in the property is less than 6
(which indicates a Windows Vista or Windows
Server 2008 build).
1837.On the Choose a migration type page, shown in Figure 4, click one of the options
listed in Table 18 based on the environment’s requirements, and then click Next.
This wizard appears when the conditions in Table 17 are met.
Note Although it is not a migration scenario, the New Computer scenario can be used to
deploy the new operating system to a new computer.
1838.On the Configure the computer name page (shown in Figure 5), in the Computer
name box, type computer_name (where computer_name is the computer name to
assign to the target computer), and then click Next.
This wizard appears when the conditions in Table 19 are met.
Table 19. Configure the Computer Name Page Conditions
Property Condition
SkipComputerName Not equal to YES
DeploymentType Not equal to NEWCOMPUTER or REPLACE or
CUSTOM
9. On the Specify where to save your data and settings page (shown in Figure 7),
click one of the options listed in Table 23 based on requirements, and then click Next.
This wizard appears when the conditions in Table 22 are met.
Table 22. Specify Where to Save Your Data and Settings Page Conditions
Property Condition
SkipUserData Not equal to YES
DeploymentType Not equal to NEWCOMPUTER or REPLACE or
CUSTOM
Do not save data and Discard any existing user state migration data or
settings deploy a new computer with no existing data.
1845.On the Specify whether to restore user data page (shown in Figure 8), click one
of the options listed in Table 25 based on requirements, and then click Next.
This wizard appears when the conditions in Table 24 are met.
Table 24. Specify Whether to Restore User Data Page Conditions
Property Condition
SkipUserData Not equal to YES
DeploymentType Equal to NEWCOMPUTER
1846.On the Specify where to save a complete computer backup page (shown in
Figure 9), click one of the options listed in Table 27 based on requirements, and then
click Next.
This wizard appears when the conditions in Table 26 are met.
Table 26. Specify Where to Save a Complete Computer Backup Page Conditions
Property Condition
SkipComputerBackup Not equal to YES
DeploymentType Equal to REFRESH
The Windows 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, ImageX 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 Vista only. MDT 2008 uses the
ImageX utility during migration because it works on all platforms that MDT 2008 supports.
Use the Windows Complete PC Backup for enhanced disaster recovery protection after
migration is complete.
1847.On the Specify the product key needed to install this operating system page
(shown in Figure 10), 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.
This wizard appears when the conditions in Table 28 are met.
Table 28. Specify the Product Key Needed to Install This Operating System Page
Conditions
Property Condition
SkipProductKey Not equal to YES
DeploymentType Not equal to REPLACE or CUSTOM
1849.On the Locale Selection page (shown in Figure 12), click one of the options listed
in Table 31 based on requirements, and then click Next.
This wizard appears when the conditions in Table 30 are met.
Table 30. Locale Selection Page Conditions
Property Condition
SkipLocaleSelection Not equal to YES
DeploymentType Not equal to REPLACE or CUSTOM
ImageBuild The first character in the property is equal to 6 (which
indicates the Windows Vista build).
1850.On the Set the Time Zone page (shown in Figure 13), click the time zone where
the target computer is located, and then click Next.
This wizard appears when the conditions in Table 32 are met.
Table 32. Set the Time Zone Page Conditions
Property Condition
SkipTimeZone Not equal to YES
DeploymentType Not equal to REPLACE or CUSTOM
1853.On the Specify whether to capture an image page (shown in Figure 16), click one
of the options listed in Table 36 based on requirements, and then click Next.
This wizard appears when the conditions in Table 35 are met.
Table 35. Specify Whether to Capture an Image Page Conditions
Property Condition
SkipCapture Equal to NO
DeploymentType Equal to NEWCOMPUTER
JoinDomain Equal to “”
1854.On the Specify the BitLocker configuration page (shown in Figure 17), click one
of the options listed in Table 38 based on requirements, and then click Next.
This wizard appears when the conditions in Table 37 are met.
Table 37. Specify the BitLocker Configuration Page Conditions
Property Condition
SkipBitLocker Not equal to YES
DeploymentType Equal to REPLACE or CUSTOM
DoCapture Not equal to YES
ImageBuild The first character in the property is equal to 6 (which
indicates the Windows Vista build)
ImageFlags Equal to ENTERPRISE or ULTIMATE
Note The default setting for Windows BitLocker Drive Encryption is always enabled.
1856.Review the information on the Ready to begin page (shown in Figure 19), and then
click Begin.
The Windows Deployment Wizard finishes, and deployment of the new operating
system begins.
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 user’s
particular environment. RELIANCE UPON THIS DOCUMENT AND ANY DOCUMENT REFERENCED HEREIN IS AT
THE USER’S OWN RISK.
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/by-nc/2.5 or
send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
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, Active Directory, ActiveX, BitLocker, SQL Server, Visual Basic, Windows, 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.
Deployment Workbench
The following are possible solutions for issues that may arise with the Deployment
Workbench.
• WPEinit.log. This file is created during the Windows PE initialization process. This
.log file is useful for troubleshooting errors encountered while starting Windows PE.
• ZeroTouchInstallation.log. This file is created during Zero Touch Installation (ZTI)
deployments. It may reside in C:\Temp\SMSOSD or C:\SMSOSD unless the
C:\MININT\Archive_OSD.SMS file is found.
Windows Vista
The following list is a subset of the Windows Setup .log files that are most useful for
troubleshooting deployment issues. For more detailed information about Windows Vista
Setup .log files, see the Microsoft Help and Support article, “Windows Vista setup log file
locations,” at http://support.microsoft.com/kb/927521.
• Netsetup.log. Resides in %WINDIR%\Debug; useful when troubleshooting domain
join issues.
• Setupact.log. Resides in %WINDIR%\panther; lists installation actions and is useful
when investigating failed installations.
• Setupapi.dev.log. Resides in %WINDIR%\inf; useful when investigating failed driver
installations.
• Setuperr.log. Resides in %WINDIR%\panther; details errors that occurred during
installation.
Windows XP
The following .log files, located in %WINDIR%, are the most useful when troubleshooting
Windows XP with SP2:
• Netsetup.log. Resides in %WINDIR%\Debug; useful when troubleshooting domain
join issues.
• Setupact.log. Lists installation actions; useful when investigating failed installations.
• Setupapi.log. Contains information about hardware detection during the installation;
useful for investigating failed driver installations.
• Setuperr.txt. Contains information about Setup errors during the installation.
• Setuperr.log. Details errors that occurred during installation.
• Setuplog.txt. Contains information about Setup actions during the installation.
Listing 1 provides an excerpt from an SMS 2003 OSD Feature Pack .log file that
illustrates how to find the error code in OSDAgent.log. In this excerpt, the error code
reported is 5001.
Listing 1. Excerpt from an OSDAgent.log File That Contains Error Code 5001
.
.
.
<![LOG[The operating system installation failed. Please contact
your system administrator for assistance.
Finally, start the Windows Command Processor, type NET HELPMSG 64, and press
ENTER. The NET HELPMSG command translates the numerical error code into
meaningful text. In the case of the error code provided here, it is translated to “The
specified network name is no longer available.”
This information indicates that a networking problem may exist on the target computer or
between the target computer and the server where the deployment point is located.
These problems might include network drivers’ not being installed properly or a mismatch
in speed and duplex settings.
Possible Solution 2: The Microsoft Exchange Server Error Code Look-Up utility is a
command-line utility that is valuable in assisting with error code translation. It can be
downloaded from http://www.microsoft.com/downloads/details.aspx?familyid=be596899-
7bb8-4208-b7fc-09e02a13696c.
Possible Solution: The issue, as pointed out on the first line of the .log file sample, is
that permission to access the database was denied. Therefore, the script cannot
establish a secure connection to the database, because OSDConnectToUNC.exe is not
available, nor are a user ID and password available. As a result, the database access
was attempted using the computer account. The easiest way to work around this issue is
to grant everyone Read access to the database.
Application Installation
Blocked Executables
Problem: If installation source files are downloaded from the Internet, it is likely that they
will be marked with one or more NTFS file system data streams. For more information
about NTFS data streams, see File Streams at http://msdn2.microsoft.com/en-
us/library/aa364404(VS.85).aspx. The existence of NTFS file system data streams might
cause an Open File – Security Warning prompt to be displayed. The installation will not
proceed until Run is selected on the prompt.
As Figure 2 shows, NTFS file system data streams are viewable using the More
command and the Streams utility, downloadable from http://technet.microsoft.com/en-
us/sysinternals/bb897440.aspx.
Possible Solution 1: Right-click the installation source file, select Properties, click the
Unblock button, and finally, click OK. This will remove the NTFS file system data streams
from the file. This process must be repeated for each installation source file that is
blocked by the existence of one or more NTFS file system data streams.
Possible Solution 2: Use the Streams utility, as Figure 2 shows, to remove the NTFS
file system data streams from the installation source file. The Streams utility is able to
remove NTFS file system data streams from one or more files or folders at once.
BIOS
Problem: While deploying to a target computer that is equipped with Intel vPro
technology, the deployment may end with a stop error. Even though all updated drivers
have been included as out-of-box drivers in the Deployment Workbench, the target
computer does not start.
Possible Solution: Review the settings in the target computer’s basic input/output
system (BIOS) and determine if the default Serial Advanced Technology Attachment
(SATA) mode is configured as Advanced Host Controller Interface (AHCI). Unfortunately,
certain Windows operating systems do not support AHCI by default.
Database Problems
Named Pipe Connections
Problem: During the MDT 2008 deployment process, information can be retrieved from
Microsoft SQL Server® databases. However, errors might be generated that relate to
broken SQL Server connections. These can be caused by not enabling named pipe
connections in SQL Server 2005 or SQL Server 2000.
Possible Solution: To resolve these problems, enable named pipes in SQL Server. Also,
specify the SQLShare property, because it is required when making a connection to an
external database using named pipes. When connecting using named pipes, use
integrated security to make the connection to the database. In the case of LTI
deployments, the user account that an administrator specifies makes the connection to
the database. For Zero Touch Installation (ZTI) deployments that use the SMS 2003 OSD
Feature Pack or System Center Configuration Manager the network access account
connects to the database. Because Windows Preinstallation Environment (Windows PE)
has no security context by default, a network connection must be made to the database
server to establish a security context for the user who will be making the connection.
The network share that the SQLShare property specifies provides administrators a
means to connect to the server to gain a proper security context. Administrators must
have Read access to the share. When the connection is made, the named pipe
connection to the database can then be established. The SQLShare property is not
needed and should not be used when making a TCP/IP connection to the database.
1864.Click Local and remote connections, click Using both TCP/IP and named pipes,
and then click Apply.
1865.In the Surface Area Configuration for Services and Connections –
server_name dialog box (where server_name is the name of the computer running
SQL Server 2005), in Select a component and then configure its services and
connections, expand MSSQLSERVER, expand Database Engine, and then click
Service.
1866.Click Stop.
The MSSQLSERVER service stops.
1867.Click Start.
The MSSQLSERVER service starts.
1868.Click OK.
1869.Close SQL Server 2005 Surface Area Configuration.
For additional information, see the Microsoft Help and Support article, “How to configure
SQL Server 2005 to allow remote connections,” at
http://support.microsoft.com/kb/914277.
Deployment Scripts
Credentials_script
Problem: During the last startup of a newly deployed computer, the user is prompted to
provide user credentials and may receive error 0x80070035, which indicates the network
path was not found.
Possible Solution: Be sure that the WIM file does not include a MININT or
_SMSTaskSequence folder. To delete these folders, first use the ImageX utility to mount
the WIM file, and then delete the folders.
Note If an Access Denied error occurs when attempting to delete the folders from the WIM file,
start the Windows Command Interpreter, switch to the root of the image contained in the WIM
file, and run RD MININT and RD _SMSTaskSequence.
ZTIWindowsUpdate
Problem: If the ZTIWindowsUpdate.wsf script is implemented to apply software updates
during deployment, note that this script may communicate directly with the Microsoft
Update (MU) Web site to download and install the required Windows Update Agent
binaries, scan for applicable software updates, download the binaries for the applicable
software updates, and then install the downloaded binaries. This process requires that
the organization’s networking infrastructure be configured to allow the target computer to
gain access to the MU Web site.
If the deployment share does not contain the Windows Update Agent installation files and
the target computer does not have appropriate Internet access, the following error is
reported in the ZTIWindowsUpdate.log and BDD.log files: “wuredist.cab not found.”
Possible Solution: Follow the steps outlined in “ZTIWindowsUpdate.wsf”, located in the
Scripts section of the Toolkit Reference.
Deployment Wizard
Wizard Pages Are Not Skipped
Problem: A wizard page is displayed even though the Deployment Workbench database
or CustomSettings.ini file specify that the wizard should be skipped
Possible Solution: To properly skip a wizard page, all properties that would be specified
on that wizard page must be included, where appropriate, in the Deployment Workbench
database or CustomSettings.ini file with appropriate values. If any property is not properly
configured for a skipped wizard page, that page will be shown. For more information
about what properties are required to ensure a wizard page is skipped, see “Providing
Properties for Skipped Windows Deployment Wizard Pages” in the MDT 2008 document,
Toolkit Reference.
Possible Solution 1: See the Microsoft Help and Support article, “You cannot install
Windows XP successfully after you use Windows Vista or Windows PE 2.0 to create
partitions on a hard disk,” at http://support.microsoft.com/kb/931760/en-us, which
describes the problem and provides an update for Windows XP that can serve as a
workaround for the issue. This problem can also occur because of a hardware abstraction
layer (HAL) mismatch between the source computer and the destination computer or may
be the result of a missing mass storage driver.
Possible Solution 2: Add data and values to the registry of Windows PE version 2.0.
These settings change how Windows PE partitions and formats the hard disk before the
Windows XP image is applied. Add the following settings to the Windows PE registry to
work around the issue:
[HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES\VDS\ALIGNME
NT]
"LessThan4GB"=dword:00000000
"Between4_8GB"=dword:00000000
"Between8_32GB"=dword:00000000
"GreaterThan32GB"=dword:00000000
Possible Solution 3: Perform a simple change to the
DistributionShare\Scripts\ZTIDiskpart.txt file (where DistributionShare is the name of the
appropriate distribution share) that MDT 2008 uses. If the file is changed as follows,
Windows PE partitions the drive in such a manner that there is no need for either of the
above steps:
• Original ZTIDiskpart.txt file:
select disk 0
clean
create partition primary
assign letter=c:
active
exit
• Modified ZTIDiskpart.txt file:
select disk 0
clean
create partition primary align=16065
assign letter=c:
active
exit
The align=16065 command solves the issue described in the Microsoft Help and
Support article referenced above, because it does not create the partition in the area
that the BIOS bug associated with some computer systems overrides but rather
reduces the disk space by approximately 2 MB.
Driver Installation
To ensure the best possible user experience, installation of both hardware device and
software driver should run as seamlessly as possible, with little or no user intervention.
Microsoft provides tools and guidelines to help create installation packages that meet this
goal. For general information about driver installation, see Driver Lifecycle at
http://www.microsoft.com/whdc/driver/install/default.mspx.
PXE Boot
In brief, the Pre-Boot Execution Environment (PXE) protocol operates as follows: The
client computer initiates the protocol by broadcasting a Dynamic Host Configuration
Protocol (DHCP) Discover packet containing an extension that identifies the request as
coming from a client computer that implements the PXE protocol. Assuming that a boot
server implementing this extended protocol is available, the boot server sends an offer
containing the IP address of the server that will service the client. The client uses Trivial
File Transfer Protocol (TFTP) to download the executable file from the boot server.
Finally, the client computer initiates execution of the downloaded image.
The initial phase of this protocol piggybacks on a subset of the DHCP messages to
enable the client to discover a boot server (that is, a server that delivers executable files
for new computer setup). The client computer may use the opportunity to obtain an IP
address (which is the expected behavior) but is not required to do so.
The second phase of this protocol takes place between the client computer and a boot
server and uses the DHCP message format as a convenient format for communication.
This second phase of the protocol is otherwise unrelated to the standard DHCP services.
The next few pages outline the step-by-step process during PXE client computer
initialization.
For more information on troubleshooting PXE boot-related issues in Windows
Deployment Services running in Legacy or Mixed mode, see the Microsoft Help and
Support article, “Description of PXE Interaction Among PXE Client, DHCP, and RIS
Server,” at http://support.microsoft.com/kb/244036.
Printers
Problem: Even though USMT is able to capture data stored in the registry at
HKEY_CURRENT_USER\Printers, it does not migrate TCP/IP based printers.
Possible Solution: Include task sequence steps that use the Microsoft Windows
Server 2003 Print Migrator 3.1 utility to capture and restore printer configurations. The
utility is downloadable from
http://www.microsoft.com/WindowsServer2003/techinfo/overview/printmigrator3.1.mspx.
Sysprep
Joining a Domain
Problem: The target computer is not joined to the domain.
Possible Solution 1: If the Sysprep.inf file contains both JoinDomain and JoinWorkgroup
entries, the first one encountered takes precedence.
Possible Solution 2: Verify that the specified credentials have sufficient rights to join
computers to the domain.
Execution Limit
Problem: The following Windows product activation error message is displayed after a
master computer has had Sysprep run three times.
Error 0x80040605 Re-arming
Sysprep is limited to being run three times on an installed operating
system. You cannot run Sysprep a fourth time.
Note This limitation does not affect volume licensed media.
Possible Solution 1: Never run Sysprep on the master image. Capture an image of the
computer prior to running Sysprep. When the image requires updating, restore the
master image, make any required changes, and recapture prior to running Sysprep.
Possible Solution 2: When running Sysprep, use the –activated option to avoid
resetting activations. For more information, see the Microsoft Help and Support article,
“‘Error 0x80040605 Re-arming’ Error Message When You Try to Run Riprep.exe or
Sysprep.exe on Windows XP,” at http://support.microsoft.com/kb/308554.
INCLUDEPICTURE "cid:[email protected]" \*
MERGEFORMATINET INCLUDEPICTURE "cid:[email protected]"
\* MERGEFORMATINET
Possible Solution: If a PXE service point previously existed on the server being
configured, the uninstallation of the PXE service point may not have deleted the self-
created certificates. Delete the PXE certificate folder from C:\Documents and
Settings\username\Application Data\Microsoft\Crypto\RSA\ where username is the name
of the user who is performing the current configuration or who performed the previous
configuration. The configuration wizard should successfully complete once the folder is
deleted.
Task Sequences
Apply Network Settings
Problem: When configuring the network connection name in the Deployment
Workbench, a validation error is displayed that prompts the user with the following
message: “Please enter a valid name for the network adapter.”
Possible Resolution: Remove any spaces and invalid characters from the specified
connection name.
The problem is a result of a previous task sequence step in the deployment process. The
1618 message translates to, “Another installation is already in progress. Complete that
installation before proceeding with this install.” This is probably the result of an incorrect
command that caused execution of subsequent task sequence steps to immediately
continue even though the installation was just starting.
Possible Resolution A: Check the event log to see what other installations were initiated
at or near the time as the USMT installation, and verify that the commands for those
installations are appropriate.
Possible Resolution B: This problem could be avoided by creating a USMT .cab file, but
it’s likely other issues will be encountered if the cause of the original error is not
corrected.
Due to a bug in the Windows Vista installation program, Wusa.exe (used to install MSU
files), USMT would not install quietly using the standard /quiet option. This resulted in a
workaround implemented in the ZTIUserState.wsf script.
The following steps should be repeated for the x86 and x64 versions of USMT to
repackage the USMT files into .cab files from which MDT 2008 can extract USMT to the
target computer during deployment:
1880.Manually install the x86 or x64 version of USMT, whichever is applicable to the
environment, on a computer running Windows XP or Windows Vista.
1881.Copy C:\Program Files\Microsoft Deployment
Toolkit\Samples\USMT30_platform.ddf, where platform is either x86 or x64, from a
computer on which MDT 2008 is installed. If USMT is installed in a location other
than the default (C:\Program Files\USMT301), edit USMT30_platform.ddf to indicate
the correct path to the USMT program folder.
1882.Run the command Makecab /F USMT30_platform.ddf; then, copy the newly
created .cab file (USMT30_platform.cab) to the \Tools\platform folder in the
MDT 2008 distribution share.
Possible Resolution C: An update is available for Windows Vista which may fix the
USMT installation problem. If this update is included in the Windows Vista image, the
steps outlined in “Possible Resolution B” in this section may not have to be performed.
For more information about the update, see the Microsoft Help and Support article,
“When you run Wusa.exe together with the /quiet option to try to install certain software
packages on a Windows Vista-based computer, the installation fails,” at
http://support.microsoft.com/kb/929761.
Attempting to investigate the issue by mounting the WIM file using ImageX results in an
error description stating, “The data is invalid.” Further investigation shows that the date
stamp of the WIM file is many years before the current date. It is possible that another
process, such as a virus scanner, was holding the WIM file open after it was previously
closed at the conclusion of a read/write process.
Possible Solution: The WIM file must be restored from backup media.
Windows PE
Discussed next are a few common problems that users experience when configuring
Windows PE.
Internet-Based Support
Many online sources are available that provide additional troubleshooting assistance for
MDT 2008 beyond what is covered in this reference. These online sources include:
• Microsoft-hosted blogs:
• MDT 2008 Team blog at http://blogs.technet.com/msdeployment/default.aspx
• Deployment Guys blog at http://blogs.technet.com/deploymentguys/
• Ben Hunter’s blog at http://blogs.technet.com/benhunter/default.aspx (Ben
Hunter is a consultant with Microsoft Services-New Zealand.)
• Michael Niehaus’ blog at http://blogs.technet.com/mniehaus/default.aspx
(Michael Niehaus writes on Windows and Microsoft Office deployment.)
• Richard Smith’s blog at http://blogs.technet.com/richardsmith/default.aspx
(Richard Smith is a consultant with Microsoft Services–United Kingdom.)
• Microsoft-hosted newsgroups:
The following newsgroups are available with support from Microsoft employees,
industry peers, and Microsoft Valued Professionals (MVPs):
• microsoft.public.deployment.desktop at
news://msnews.microsoft.com/microsoft.public.deployment.desktop
• microsoft.public.sms.tools at
news://msnews.microsoft.com/microsoft.public.sms.tools
• microsoft.public.office.setup at
news://msnews.microsoft.com/microsoft.public.office.setup
• microsoft.public.usmt at news://msnews.microsoft.com/microsoft.public.usmt
54 MSDN 2.0
• microsoft.public.deployment.app_compatibility at
news://msnews.microsoft.com/microsoft.public.deployment.app_compatibility
• microsoft.public.windows.app_compatibility at
news://msnews.microsoft.com/microsoft.public.app_compatibility
• TechNet forum: Windows Vista Deployment and Imaging at
http://forums.microsoft.com/TechNet/ShowForum.aspx?ForumID=721&SiteID=17
• Deployment-related information sources from outside Microsoft:
• DeploymentForum.com at http://www.deploymentforum.com
• DeployVista.com at http://www.deployvista.com
• myITforum.com at http://www.myitforum.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 user’s
particular environment. RELIANCE UPON THIS DOCUMENT AND ANY DOCUMENT REFERENCED HEREIN IS AT
THE USER’S OWN RISK.
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/by-nc/2.5 or
send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
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, Internet Explorer, Outlook, Windows, 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.
The state can be captured when creating task sequences within System Center
Configuration Manager. When capturing state, USMT version 3.0.1 must be installed on
the computer running System Center Configuration Manager. System Center
Configuration Manager must be configured as a migration point for the process to finish
successfully.
For more information on capturing state, see the MDT 2008 document, Microsoft System
Center Configuration Manager 2007 Imaging Guide, especially the section on creating
task sequences. For additional information on making System Center Configuration
Manager a migration point, see Configuration Manager Documentation Library at
http://technet.microsoft.com/en-us/library/bb680651.aspx.
USMT Components
USMT consists of the following major components:
• Scanstate. The tool used to collect system state from the source computer
• Loadstate. The tool used to install user state on the destination computer
• XML control files. Files that control the USMT migration process
• Component manifests. Files that maintain lists of Windows Vista system
configuration settings and data
• Downlevel manifests. Manifest files that list and locate settings and data for earlier
versions of the Windows operating system (Windows XP and Microsoft
Windows 2000)
Scanstate
During the USMT execution process, Scanstate.exe creates the USMT3.mig file in the
default store directory (or any directory defined by command-line settings). Scanstate
uses the following components:
• Scanstate.exe. This executable file runs on the source computer to capture user
settings and files. A user can run Scanstate.exe to capture the settings stored in the
registry and the files to which the user has permission. Alternatively, users can run
Scanstate.exe in the Local System or Local Administrator security context, which
permits unattended operation and capture of multiple user profiles. MDT 2008 scripts
call Scanstate.exe during the deployment process.
• MigSys.xml. When migrating from a source computer running Windows XP, this file
controls which operating system and browser settings to migrate. Users can
customize this file for specific needs.
• MigApp.xml. This file controls which application settings are migrated from the
source computer. Users can customize this file for specific needs.
• MigUser.xml. This file controls which user folders, files, and file types to migrate from
the source computer. Users can customize this file for specific needs.
Note MDT 2008 uses generic versions of the preceding three common control files. If these
files must be customized, replace the default versions or configure CustomSettings.ini
(located in the Control folder) to specify the custom versions.
• Config.xml. Create this file using the /genconfig option in the Scanstate command-
line tool. This file contains all settings defined by component manifests in Windows
Vista or by downlevel manifests (these terms are described in the sections
“Component Manifests” and “Downlevel Manifests” later in this guide) included with
USMT version 3.0.1. Specify this file in the Scanstate command-line tool.
Note MDT 2008 does not currently use Config.xml, but the file can be called manually by
specifying it in CustomSettings.ini.
For detailed instructions on preparing a Config.xml file, see the section, “Appendix A:
Converting Control Files from Earlier Versions of USMT,” later in this guide.
• Custom.xml. A custom control file can be created to define custom rules for unique
migration needs. For example, this file can contain information for migrating a custom
business application. Multiple custom control files can be defined. Modify
USMTMigFiles in CustomSettings.ini to call Custom.xml control files.
Note For additional information on Scanstate syntax, refer to the USMT Help file
(USMT.chm) located in the USMT installation directory.
Loadstate
Loadstate is the command-line tool that restores data to one or more user profiles.
Loadstate runs in the context of an account with Administrator privileges and loads the
users’ profiles before they log on for the first time.
Note Loadstate requires network connectivity to a domain controller for a user’s domain to
determine the security identifier (SID) of the destination profile.
• Custom.xml. A custom control file can be created to define custom rules for unique
migration needs. For example, this file can contain information for migrating a custom
business application. Multiple custom control files can be defined. Modify
CustomSettings.ini to call Custom.xml control files. For details on creating a
Custom.xml file, see the section, “Appendix A: Converting Control Files from Earlier
Versions of USMT,” later in this guide.
• Config.xml. Config.xml should not be specified during Loadstate unless only a
subset of the settings and data from the Scanstate file are being migrated. Specify
this file on the USMTMigFiles item in CustomSettings.ini.
Note For information on Loadstate syntax, refer to the USMT Help file (USMT.chm) located
in the USMT installation directory.
Component Manifests
Component manifests are files that list settings and data important to components of
Windows Vista. Scanstate reads this information during execution, creating a dynamic list
of Windows Vista components, settings, and data to migrate.
When Scanstate is run with the /genconfig option, it constructs a Config.xml file from
information obtained in component manifests that are used to customize data collected. A
collection run without a custom Config.xml collects all data that the component manifests,
which cannot be modified, specify. Loadstate does not use component manifests when
the destination system is running Windows XP.
Downlevel Manifests
USMT includes a collection of manifests designed to act as component manifests when
used to migrate user state from earlier versions of the Windows operating system. When
migrating settings and data to a Windows Vista system from Windows XP or
Windows 2000, these downlevel manifests determine which data to collect. Loadstate
does not use downlevel manifests when the destination computer is running Windows
Vista.
• USMT supports the migration of multiuser computers. When a single computer has
multiple profiles, each with unique user data, USMT can capture all user states
during a one-time Scanstate execution—including both domain and local users. For
more information about how to migrate computer systems with many users, see
“Migrate Data on Computers with Multiple Users” in the USMT product
documentation.
• Encrypting File Service (EFS) certificates can be migrated to Windows Vista
automatically using the /efs:copyraw option. EFS certificates must be migrated to
Windows XP computers manually. See the USMT product documentation in the
USMT.chm file located in the USMT installation directory for use details.
• USMT includes options to prevent migration of old profiles and to migrate specific
profiles using command-line options.
• USMT is available to use within the operating system. USMT does not have to be
installed on the Components node; rather, the USMT301_platform.msi file (where
platform is either x86 for 32-bit, or x64 for 64-bit) can be made available in the
\Distribution\tools\platform directory.
Note Sometimes, issues exist with installation of the .msi file in Windows Vista. To correct the
issues, see the information in the Microsoft Help and Support article, “When you run Wusa.exe
together with the /quiet option to try to install certain software packages on a Windows Vista-
based computer, the installation fails,” at http://support.microsoft.com/kb/929761/en-us. In
addition, see the MDT 2008 document, Troubleshooting Reference, for information describing the
creation of the USMT301_platform.cab file.
[CopyFiles]
The CopyFiles command specifies files that the migration must copy. The syntax for this
command is:
Path\FileName.ext, NewRootPath
Wild cards can be used in addition to environment variables. To migrate .doc files from
the My Documents folder to the same folder on the new system, use the syntax:
[Copy This State]
CopyFiles=WordDocs
[WordDocs]
%CSIDL_PERSONAL%\*\*.doc, %CSIDL_PERSONAL%
[CopyFilesFiltered]
This command copies only files that are relevant to the new system. For example, if
program shortcuts are being copied to the desktop of a new system and a link points to a
file that will not be migrated, CopyFilesFiltered does not copy the associated .lnk file.
Following is an example of the CopyFilesFiltered syntax:
[Copy This State]
CopyFiles=Shortcuts
[Shortcuts]
%CSIDL_DESKTOP%\*.lnk, %CSIDL_DESKTOP%
Note The CopyFilesFiltered command performs this filtering action during Loadstate.exe
execution.
[AddReg]
The syntax for the AddReg command is:
RegRoot\RegKey\RegSubKey [RegValue]
This command migrates registry entries on the destination computer according to the
syntax of the command. To migrate an entry that runs Notepad automatically on startup,
use the syntax:
[Copy This User State]
AddReg=RunNotepad AddReg
[RunNotepad AddReg]
HKCU\Software\Microsoft\Windows\CurrentVersion\Run\Notepad.exe
C:\Windows\system32\notepad.exe
Note The specified registry key must exist in the source system to be successfully migrated.
[DelReg]
The syntax for the DelReg command is:
RegRoot\RegKey\RegSubKey [RegValue]
This command removes registry entries on the destination computer according to the
syntax of the command. To create an entry to remove the AddReg example in the
previous section, use the syntax:
[Copy This User State]
DelReg=RunNotepad DelReg
[RunNotepad DelReg]
HKCU\Software\Microsoft\Windows\CurrentVersion\Run\Notepad.exe
C:\Windows\system32\notepad.exe
Note This command does not actively delete the defined registry key; it merely excludes it from
the migration.
The USMT Help file defines many more commands. See the Help file in the earlier
version of USMT for a complete listing.
[CopyFiles]
The following example migrates all .doc files from the My Documents folder on one
system to the My Documents folder on another:
<component type="Documents" context="User">
<displayName>User Data</displayName>
<role role="Data">
<rules>
<!-- Migrate all .doc from My Documents to the new system -->
<include>
<objectSet>
<pattern type="File">%CSIDL_PERSONAL%\[*.doc]</pattern>
</objectSet>
</include>
</rules>
</role>
</component>
[CopyFilesFiltered]
Files can be filtered by first attempting to detect the condition under which the file would
be migrated. If the condition is detected, then the subsequent migration actions would
occur; otherwise, Loadstate.exe would ignore the subsequent child statements.
<component type="Documents" context="User">
<displayName>User Data</displayName>
<role role="Data">
<detects>
<detect>
<condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_PERSONAL%\
MyFile.Doc")
</condition>
</detect>
</detects>
<rules>
[AddReg]
The following XML code migrates a specific registry setting:
<migration
urlid="http://www.microsoft.com/migration/1.0/migxmlext/test">
<component type="Application">
<displayName>Component to migrate only registry value
string</displayName>
<role role="Settings">
<rules context="UserAndSystem">
<include>
<objectSet>
<pattern
type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Ru
n [Notepad.exe]</pattern>
</objectSet>
</include>
</rules>
</role>
</component>
</migration>
Note If the registry key specified by the script in this listing does not exist on the source
system, it will not be created on the destination system.
[DelReg]
The following example replicates the DelReg action of the .inf file referenced in the
previous section. (Note the <exclude>…</exclude> pair.)
<migration
urlid="http://www.microsoft.com/migration/1.0/migxmlext/test">
<component type="Application">
<displayName>Component to migrate only registry value
string</displayName>
<role role="Settings">
<rules context="UserAndSystem">
<exclude>
<objectSet>
<pattern
type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Ru
n [Notepad.exe]</pattern>
</objectSet>
</exclude>
</rules>
</role>
</component>
</migration>
Note In many cases, it is sufficient simply not to define an object to exclude it from migration.
The process above might be necessary when migrating a parent but excluding certain children.
1883.Click Start, and then point to All Programs. Point to Microsoft Deployment
Toolkit, and then click Deployment Workbench.
1884.In the Deployment Workbench console tree, go to Deployment
Workbench/Information Center, and then click Components.
1885.In the details pane, in the Available for Download section, click User State
Migration Tool 3.0.1 (x86) (for 32-bit operating systems) or User State Migration
Tool 3.0.1 (x64) (for 64-bit operating systems).
1886.In the details pane, click Download.
After downloading the USMT, Deployment Workbench copies the USMT .msi files to
the distribution\Tools\platform folder (where distribution is the distribution folder that
was created while preparing the deployment environment and platform is the
processor architecture, which is either x86 or x64).
Template User Instructions 13
1887.Using another computer, download the USMT installation files from Microsoft
Download Center at
http://www.microsoft.com/downloadS/details.aspx?familyid=799AB28C-691B-4B36-
B7AD-6C604BE4C595.
1888.Copy the USMT installation files (InstallUSMT301_x86.msi for 32-bit operating
systems or InstallUSMT301_x64.msi for 64-bit operating systems) to the computer
running MDT 2008, and then place them in the distribution\Tools\platform folder
(where distribution is the distribution folder that was created while preparing the
deployment environment and platform is the processor architecture, which is either
x86 or x64).
Note DVD-RW discs and local store files can also be used during a user state migration by not
setting the UserDataLocation value. The Windows Deployment Wizard will ask for the user data
location. See the MDT 2008 document, Toolkit Reference, for more details on configuration
settings.
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 user’s
particular environment. RELIANCE UPON THIS DOCUMENT AND ANY DOCUMENT REFERENCED HEREIN IS AT
THE USER’S OWN RISK.
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/by-nc/2.5 or
send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
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, ActiveX, Internet Explorer, Windows, 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.
Because this guide contains guidance specific to creating LTI images in Deployment
Workbench, reviewing the guides that Table 1 describes can provide additional
information.
Table 1. Related Guides
See this guide For more information about
Image Customization Guide Customizing LTI images. For example, this guide
describes how to customize the task sequence,
answer files, and so on.
Microsoft Deployment Sample customizations that can be used as the basis
Toolkit 2008 Samples Guide for customizing images for desktop and server
computers.
Note DriverGroups.xml exists alongside the Drivers.xml file, and TaskSequence.xml replaces
the Builds.xml file previously used in BDD 2007.
Tip Deployment Workbench does not sort the metadata in the .xml configuration files. However,
sorting these files can make choosing applications and operating systems easier later. Use any
text editor to sort them. An easier way to sort these files is by using Microsoft XML
Notepad 2007, which is available from the Microsoft Download Center at
http://www.microsoft.com/downloads.
Operating Systems
MDT 2008 offers the ability to add the following operating system types:
• Full set of source files. Contains the files from a Windows DVD, CD, or equivalent
media source
• Custom image file. A Windows Imaging Format (WIM) image previously captured for
deployment
• Windows Deployment Services images. Located on a specified Windows
Deployment Services server
This feature copies the entire set of operating system source files from the distribution
media or folder containing the distribution media. Optionally, operating system images
can be added from a specific Windows Deployment Services server by clicking Windows
Deployment Services images on the OS Type page of the New OS Wizard.
For more information, see the section, “Add Images from Windows Deployment
Services,” later in this document. Or, click Custom image file on the same wizard page
to add a custom image, created by using the Windows Deployment Wizard.
1902.On the Destination page, type the name of the operating system folder to create in
the distribution share.
Accept the default name, which Deployment Workbench derives from the source
files, or use a name that describes the operating system version and edition.
Deployment Workbench uses this name to create a folder for the operating system in
the distribution share’s Operating Systems folder.
1903.Click Finish to complete the wizard.
This copy process can take several minutes to finish.
After adding an operating system to the distribution share, it appears in the details pane
of Operating Systems. In addition, the operating system appears in the distribution share
in Operating Systems\subfolder, where subfolder is the destination specified when adding
the operating system.
1911.In the Deployment Workbench console tree, expand Distribution Share, right-click
Operating Systems, and then click New to start the New OS Wizard.
1912.On the OS Type page, select Windows Deployment Services images, and then
click Next.
1913.On the WDS Server page, type the name of the Windows Deployment Services
server from which to add the operating system images, and then click Finish.
The New OS Wizard makes all the operating system installation images it finds on the
Windows Deployment Services server available to MDT 2008. It does not copy the
source files from the Windows Deployment Services server to the distribution share,
however. MDT 2008 continues to use the source files from their original location. The
images appear in the details pane of Operating Systems in the Microsoft System Center
Configuration Manager 2007 Configuration Manager console.
The General tab of applications, operating systems packages, and task sequences
contains the Hide this application in the Deployment Wizard check box. Select this
check box to see the following properties:
• Application is Enabled and Hide option cleared:
• For LAB deployment points, the task sequence, application, or package will be
displayed in the LTI Wizard.
• For NETWORK deployment points, the task sequence, application, or package
will be copied to the network share deployment point when selected to copy.
• For MEDIA deployment points, the task sequence, application, or package will be
copied in the media content when selected to copy.
• Application is Enabled and Hide option selected:
• For LAB deployment points, the task sequence, application, or package will not
be displayed in the LTI Wizard.
• For NETWORK deployment points, the task sequence, application, or package
will be copied to the network share deployment point when selected to copy.
• For MEDIA deployment points, the task sequence, application, or package will be
copied in the media content when selected to copy.
• Application is Disabled. Hide option is ignored:
• For LAB deployment points, the task sequence, application, or package will not
be displayed in the LTI Wizard.
• For NETWORK deployment points, the task sequence, application, or package
will not be copied to the network share deployment point, even when selected to
copy.
• For MEDIA deployment points, the task sequence, application, or package will
not be copied in the media content, even when selected to copy.
Applications
Use this feature to install applications on client computers, either from source files that
are copied to the distribution share or from source files stored in an existing shared
folder.
Add an Application
To add an application to the distribution share, complete the following steps:
1918.In the Deployment Workbench console tree, expand Distribution Share. Right-click
Applications, and then click New to start the New Application Wizard.
1919.On the Application Type page, perform one of the following actions, and then click
Next:
• Select Application with source files to copy the application source files to the
distribution share. During deployment, MDT 2008 installs the application from
source files it copied to the distribution share. Select this option when the
application source files are not available to the destination computer when
installing the operating system build or when they must be customized.
1923.On the Command Details page, type the command to use to install the application
silently, and click Finish.
The command is relative to the working directory specified in the Working directory
box. Windows Installer applications use the command msiexec.exe /i package.msi
/qb REBOOT=REALLYSUPPRESS. Applications packaged by using other
technologies require different command-line options.
After adding an application to the distribution share, it appears in the Applications details
pane. In addition, it appears in the distribution share in Applications\subfolder, where
subfolder is the destination specified when adding the application.
Remove an Application
To remove an application from the distribution share, complete the following steps:
1924.In the Deployment Workbench console tree, expand Distribution Share, and then
click Applications.
1925.In the details pane, right-click the application to be removed, and then click Delete.
1926.Click Yes when prompted.
Note The applications cannot be removed on which other applications have installation
dependencies.
Note When an application is deleted from Deployment Workbench, it is also removed from the
Applications folder in the distribution share. In other words, removing an application from
Deployment Workbench also removes it from the file system.
• This can run only on the specified client platforms. Specify the appropriate
platforms by selecting the check boxes corresponding to the application.
1939.In the Deployment Workbench console tree, expand Distribution Share, and then
click Applications.
1940.In the details pane, right-click the application for which the Windows Deployment
Wizard must restart the computer after installation, and then click Properties.
1941.Click the Details tab; select the Reboot the computer after installing this
application check box, and then click OK.
Note Selecting this check box causes the Windows Deployment Wizard to restart the
computer after installing the application, and then continue with the next step in the task
sequence.
CAUTION Do not allow the application to restart the computer. MDT 2008 must control restarts,
or the task sequence will fail. For example, use the command REBOOT=REALLYSUPPRESS to
prevent some Windows Installer–based applications from restarting. To prevent the
2007 Microsoft Office system from restarting the computer, add the property
SETUP_REBOOT=NEVER to the Config.xml file or the M file created by using the Office
Customization Tool.
Packages
Use this feature to install Windows package files (including security updates, service
packs, and language packs) on client computers from CAB or MSU files.
Add a Package
To add operating system packages, including language packs and updates, to the
distribution share, complete the following steps:
1942.In the Deployment Workbench console tree, expand Distribution Share, right-click
OS Packages, and then click New to start the New Package Wizard.
1943.On the Specify Directory page, type the path containing the package files to be
added to the distribution share, and then click Finish.
Deployment Workbench adds all the packages it finds in the folder and its subfolders.
After adding packages to the distribution share, they appear in the OS Packages details
pane. In addition, the packages appear in the distribution share in the Packages folder.
Remove a Package
To remove a package from the distribution share, complete the following steps:
1944.In the Deployment Workbench console tree, expand Distribution Share, and then
click OS Packages.
1945.In the details pane, right-click the package to be removed, and then click Delete.
1946.Click Yes when prompted.
Note When a package is deleted from Deployment Workbench, it is also removed from the
Packages folder in the distribution share. In other words, removing a package from Deployment
Workbench also removes it from the file system.
1948.In the details pane, right-click the package to view, and then click Properties.
1949.Click the General tab; view the properties in Table 4, and then click OK to exit.
Out-of-Box Drivers
Use this feature to install drivers on client computers that are not included in the Windows
operating system image.
Note When a device driver is deleted from Deployment Workbench, it is also removed from
the Out-of-Box Drivers folder in the distribution share. In other words, removing a device
driver from Deployment Workbench also removes it from the file system.
MDT 2008 looks in the following locations within the distribution share, in the order
specified, to find an $OEM$ folder:
• Control\Build, where Build is the name or ID of the build that MDT 2008 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 2008 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 distribution 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
can be created 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 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 hardware abstraction layers (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.
Task Sequences
Use this feature to run a sequence of tasks after installing an operating system image.
Tip Although a task sequence’s name and comments can be changed later, a task
sequence’s ID cannot. Before creating task sequences, create a naming scheme to use in
creating task sequence IDs that will provide meaningful information about each task
sequence. An example naming scheme is Version-Edition-Level-Label, where Version is the
operating system version (win2003, win2007), 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. Bear in mind the limit is 16 characters for
the name.
1983.On the Select Template page, choose one of the templates listed in Table 6, and
then click Next.
Table 6. Task Sequence Templates
Template Description
Standard Client Task Select this option to create the default task sequence for
Sequence deploying operating system images to client computers,
including desktop and portable computers.
Standard Client Replace Select this option to back up the system entirely, back up
Task Sequence the user state, and wipe the disk.
Custom Task Sequence Select this option to create a customized task sequence
that does not install an operating system.
Standard Server Task Select this option to create the default task sequence for
Sequence deploying operating system images to server computers.
Litetouch OEM Task Select this option to pre-load operating systems images
Sequence on computers in a staging environment prior to deploying
the target computers in the production environment
(typically by a computer OEM).
Note Litetouch OEM Task Sequence should only be selected when performing deployments
by using a Removable media (MEDIA) deployment point type. Although the Litetouch OEM
Task Sequence template can be selected from other deployment point types, the task
sequence will not finish successfully.
1984.On the Select OS page, choose an operating system image to install with this task
sequence, and then click Next.
Note Only the operating system images added to Operating Systems earlier are visible.
1985.On the Specify Product Key page, perform one of the following tasks, and then
click Next:
• Use the specified product key. Type the product key in the Product Key box.
• Do not use a product key when installing. Select Do not use a product key
when installing.
Note For more information about volume activation and product keys in MDT 2008, see
Windows Vista Volume Activation 2.0 Technical Guidance at
http://go.microsoft.com/fwlink/?LinkID=75674. That documentation describes when a
product key is necessary. Generally, volume license customers using a Key Management
Service (KMS) host for activation (which requires 25 Windows Vista or five Windows
Server 2008 computers) should select the Do not use a product key when installing
option. Customers deploying Windows Vista or Windows Server 2003 or using Multiple
Activation Keys (MAKs) should select the Use the specified product key option, and then
type a product key in the Product Key box.
1986.On the OS Settings page, provide the following information, and then click Next:
• Full Name. The owner name for the task sequence
• Organization. The name of the organization
• Internet Explorer Home Page. The URL for the default Windows Internet
Explorer® home page
1987.On the Admin Password page, select one of the following options, and then click
Finish to complete the wizard:
• Use the specified local Administrator password. This selection prompts for
the administrative password for the package and to confirm the password to
complete the task.
• Do not specify an Administrator password at this time. Choose this option if
the administrative password will be configured during the deployment process.
After adding a task sequence to the distribution share, it appears in the Task Sequences
details pane. In addition, it appears in the distribution share in Control\subfolder, where
subfolder is the task sequence ID. Deployment Workbench stores metadata about each
task sequence in TaskSequences.xml, which also resides in the distribution share’s
Control folder.
Deployment Points
Deployment points define the shares that clients connect to when retrieving the operating
system image, applications, drivers, and other deployment components. Table 8
describes the types of deployment points that MDT 2008 offers to deploy task
sequences.
Table 8. Deployment Point Types
Selection Description
Lab or single-server deployment The distribution share located on the local machine
Separate deployment share A deployment share on the local machine or
another computer containing a subset of the files
contained on the local distribution share
Removable media A directory of the files or International Organization
for Standardization (ISO) image needed for
deployment from removable media (DVD, USB
disks, USB flash drive [UFD])
SMS 2003 OSD A directory containing the files needed for
customizing a Microsoft Systems Management
Server (SMS) 2003 Operating System Deployment
(OSD) Feature Pack program
Note When using a MEDIA deployment point, Windows AIK version 1.0 has a 4 gigabyte (GB)
size limitation. Windows AIK version 1.1 (for use with Windows Vista with SP1) removed this
limitation, allowing for a MEDIA deployment point greater than 4 GB.
2012.On the Allow Admin Password page, select the check box to allow users to set
the local Administrator password during installation (if necessary), and then click
Next.
2013.On the Allow Product Key page, select the check box to allow users to specify a
product key during installation (if necessary), and then click Next.
2014.On the Network Share page, type a name for the share, and then click Next.
Note The default name is Folder$, where Folder is the name of the folder containing the
distribution share. The dollar sign ($) hides the share in the network browser list.
2015.On the Configure User State page, choose from the selections in Table 9, and
then click Finish.
Table 9. User State Selections
Selection Description
Automatically determine the Browses the local network to determine the location
location on the Network for storing the user-state data
Automatically determine the Browses the local system to determine the location
location on the Local for storing the user-state data
System
Note Lab or Single Server and NETWORK deployment points are the only deployment point
types that support multicast. For more information on multicasting, refer to the section,
“Preparing the Windows Deployment Services Server,” in the MDT 2008 document Preparing
for LTI Tools.
Note The multicast features of MDT 2008 are available using Windows Deployment Services
in Windows Server 2008.
2019.Click the Rules tab, and then edit the deployment point’s settings.
Note These settings reside in CustomSettings.ini, which is in the deployment point’s
Control folder. For more information about the settings that can be configured on this tab,
see the MDT 2008 document Toolkit Reference.
2020.Click the Edit Bootstap.ini button to customize the Bootstrap.ini file, and edit the
appropriate information.
2021.Click the Windows PE tab, edit the settings described in Table 11, and then click
OK.
Optional Components • ADO. Select this option to add the Microsoft ActiveX®
Data Objects (ADO) optional component to the
Windows PE bootable images.
Optional Fonts Select the font support to add to the Windows PE boot
images that Deployment Workbench generates. Add
these fonts when performing an LTI deployment of
Windows Server 2008 images when the setup files are
Japanese, Korean, or Chinese. The Optional Fonts area
provides the following options:
• Chinese (ZH-CN)
• Chinese (ZH-HK)
• Chinese (ZH-TW)
• Japanese (JA-JP)
• Korean (KO-KR)
Note Adding additional fonts to Windows PE boot images
increases the size of the images. Add fonts only if necessary.
Area Settings
Driver Injection In the Driver group list, select the driver group from
which MDT 2008 should select device drivers. The default
group is All Drivers. Then, select any of the following
options:
• Include all network drivers in the selected group.
Select this option to inject all network drivers found in
the distribution share into the Windows PE bootable
images.
• Include all mass storage drivers in the selected
group. Select this option to inject all mass storage
drivers found in the distribution share into the
Windows PE bootable images.
• Include all video drivers in the selected group.
Select this option to inject all video drivers found in
the distribution share into the Windows PE bootable
images.
• Include all system-class drivers in the selected
group. Select this option to inject all system drivers
(motherboard drivers, and so on) in the distribution
share into the Windows PE bootable images.
Windows PE • Custom background bitmap file. Type the path and
Customizations file name of a bitmap file to use as the Windows PE
background.
• Extra directory to add. Type the path of a folder
containing extra files and subfolders to add to the
Windows PE bootable images.
Tip Deployment Workbench always generates .wim image files, which can be used to start
destination computers using Windows Deployment Services. Choose to generate only the
Windows PE bootable ISO images that are required. Limiting the number of images generated
accelerates the updating process.
The following list describes the architecture types running Deployment Workbench and
catalogs that can be created for each architecture:
• Deployment Workbench running on x86. Can create catalogs for x86 and x64
Windows images
• Deployment Workbench running on x64. Can create catalogs only for x64
Windows images
To update a deployment point
2022.In the Deployment Workbench console tree, expand Deploy, and then click
Deployment Points.
2023. In the details pane, right-click the deployment point to edit, and then click Update.
Note Deployment Workbench can update a deployment point without generating new
Windows PE boot images. To update the BootStrap.ini and CustomSettings.ini files without
creating new Windows PE boot images, right-click the deployment point to update in the
Deployment Points details pane, and then click Update (files only).
To install a task sequence and capture an image of it after starting the lab
computer using the Windows PE image
2034.In the Welcome to Windows Deployment dialog box, click Run the Deployment
Wizard.
2035.Click Next.
2036.In the User Credentials dialog box, type the credentials (user name, domain, and
password) necessary to connect to the distribution share, and then click OK.
The Windows Deployment Wizard starts automatically.
2037.On the Select a task sequence to execute on this computer page, choose one
of the available task sequences, and then click Next.
2038.On the Configure the computer name page, type a computer name or accept the
default, and then click Next.
2039.On the Join the computer to a domain or workgroup page, which starts
automatically, click Join a workgroup. In the Workgroup box, type a workgroup
name or accept the default.
2040.Click Next.
Note If Join a workgroup is not selected, the Windows Deployment Wizard does not
prompt to capture an image.
2041.On the Specify the product key needed to install the operating system page,
perform one of the following tasks, and then click Next:
• If building a Windows Server 2003 image, type the volume license key in the
Product key box.
• If building a Windows Server 2008 image, select No product key is required.
2042.If building a Windows Vista or Windows Server 2008 image, on the Locale
Selection page, perform the following tasks, and then click Next:
• In the What is your Locale list, click a locale.
• In the Keyboard list, click a keyboard layout.
2043.On the Set the Time Zone page, select a time zone from the list, and then click
Next.
2044.On the Select one or more applications to install page, select the applications to
install on the image, and then click Next.
2045.On the Administrator Password page, type the password to use for the local
Administrator account, confirm it, and then click Next.
2046.On the Specify whether to capture an image page, select Capture an image of
this reference computer; then, 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 name of the
default image corresponds to the ID of the task sequence being installed.
2052.On the Destination page, type the name of the operating system folder to create in
the distribution share, and click Finish.
Note Deployment Workbench uses this name to create a folder for the operating system in
the distribution share’s Operating Systems folder.
To install a task sequence and capture an image of it after starting the lab
computer using the Windows PE image
2057.In the Welcome to Windows Deployment dialog box, click Run the Deployment
Wizard, and then click Next.
2058.In the User Credentials dialog box, type the credentials (user name, domain, and
password) necessary to connect to the distribution share, and then click OK.
The Windows Deployment Wizard starts automatically.
2059.On the Select a task sequence to execute on this computer page, choose one
of the available task sequences, and then click Next.
2060.On the Configure the computer name page, type a computer name or accept the
default, and then click Next.
2061.On the Join the computer to a domain or workgroup page, which starts
automatically, click Join a workgroup. In the Workgroup box, type a workgroup
name or accept the default, and click Next.
Note If Join a workgroup is not selected, the Windows Deployment Wizard does not
prompt to capture an image.
2062.On the Specify the product key needed to install the operating system page,
perform one of the following tasks, and click Next:
• Windows Server 2003 image. Type the volume license key in the Product key
box.
• Windows Server 2008 image. Select No product key is required.
2063.If building a Windows Vista or Windows Server 2008 image, on the Locale
Selection page, perform the following tasks, and then click Next:
• In the What is your Locale list, click a locale.
• In the Keyboard list, click a keyboard layout.
• On the Set the Time Zone page, select a time zone from the list.
2064.On the Select one or more applications to install page, select the applications to
install on the image, and click Next.
2065.On the Administrator Password page, type the password to use for the local
Administrator account, confirm it, and click Next.
2066.In the Specify whether to capture an image page, select Prepare to capture the
machine, and click Next.
This causes the Windows Deployment Wizard to copy Sysprep and its related files to
the destination computer without running Sysprep.
Note This option can be configured in CustomSettings.ini: Set the property DoCapture to
PREPARE. In addition, set SkipCapture to YES. Doing so automatically prepares the
installation for image capture while skipping this page.