Professional Documents
Culture Documents
Produced By
Altiris Technical Services
September 25, 2006
Notice
The content in this document represents the current view of Altiris as of the date of publication. Because Altiris responds continually to changing
market conditions, this document should not be interpreted as a commitment on the part of Altiris. Altiris cannot guarantee the accuracy of any
information presented after the date of publication.
Copyright © 2006, Altiris, Inc. All rights reserved.
Altiris, Inc.
588 West 400 South
Lindon, UT 84042
Phone: (801) 226-8500
Fax: (801) 226-8506
Altiris, BootWorks, Inventory Solution, PC Transplant, RapiDeploy, and RapidInstall are registered trademarks of Altiris, Inc. in the United States.
Carbon Copy is a registered trademark licensed to Altiris, Inc. in the United States and a registered trademark of Altiris, Inc. in other countries.
Microsoft, Windows, and the Windows logo are trademarks, or registered trademarks of Microsoft Corporation in the United States and/or other
countries.
Other brands and names are the property of their respective owners.
Information in this document is subject to change without notice. For the latest documentation, visit www.altiris.com.
• Updated the section, “Identify hardware inventory of target systems” to recogonize the abilities of
Altiris Inventory Solution, Altiris Inventory Solution for Dell Servers (soon to be released), and Altiris
Deployment Solution.
• Updated the section, “Gathering Dell Drivers for Inclusion in the Hardware Independent Image” to
introduce more options for initially gathering the Dell Drivers for inclusion in the image. Also
updated the driver hierarchy views to reflect support for the Dell PowerEdge 9th Generation Servers.
WHITE PAPER
Single PowerEdge Server Image Page 3
• Added the section, “Updating the Hardware Independent Image with Altiris ImageExplorer” to better
define the concept of updating the image using this utility after the initial capture process to save
time and efforts.
• Updated the “Capturing the Hardware Independent Image” section to update steps for use with
Altiris Deployment Solution 6.5 and later.
• Changed and updated the “Deploying the Sysprep Image” section to “Deploying the Hardware
Independent Image” and introduced more options for deploying the image independent of the Altiris
Deployment Solution.
• Changed and updated the section, “Replacing Tokens in a SYSPREP.INF File” to “Introducing
Deployment Solution Tokens” to better reflect this concept, expand the uses for tokenization other
than just the SYSPREP.INF file, and provided step-by-step instructions for execution.
• Changed the “Real World Examples” section to “Installing Altiris Agents” to better define the
process of pre-installing agents in the image.
• Updated the section, “Dell PowerEdge Models Tested” to reflect new models tested including 9th
Generation PowerEdge Servers.
• Updated the section, “Resources” for more information pertaining to considerations when building a
hardware independent image on Dell PowerEdge Servers.
• Updated the section, “Samples” to reflect mass storage controller driver support in the
SYSPREP.INF file for the Dell PowerEdge 9th Generation Servers.
• Updated the section, “Glossary” to add and update definitions for acronyms used throughout this
paper.
WHITE PAPER
Single PowerEdge Server Image Page 4
Contents
Introduction .....................................................................................................................................................................................6
Common IT Obstacles ................................................................................................................................................................6
Benefits of a Hardware Independent Image ............................................................................................................................7
Pros and Cons to Image vs. Scripted OS Deployments ........................................................................................................7
Gathering Dell Drivers for Inclusion in the Hardware Independent Image ...................................................................12
Option 1 – Obtain Drivers from Dell’s Support Website.......................................................................................................12
Creating the Dell Driver Hierarchy ......................................................................................................................................13
Option 2 – Gather Drivers Using the Driver Tool from the DSA CD ..................................................................................14
Option 3 – Gather Drivers Using Altiris Deployment Solution for Dell Servers ................................................................17
Updating the Hardware Independent Image with Altiris ImageExplorer............................................................................20
Obtaining the ONEDELLIMAGE.ZIP Supporting File...........................................................................................................20
WHITE PAPER
Single PowerEdge Server Image Page 5
Dell PowerEdge Models Tested ...............................................................................................................................................69
Conclusion ....................................................................................................................................................................................70
Resources......................................................................................................................................................................................70
Samples..........................................................................................................................................................................................71
SYSPREP.INF (Windows Server 2003) .................................................................................................................................71
Tokenized SYSPREP.INF File.................................................................................................................................................76
Glossary .........................................................................................................................................................................................82
WHITE PAPER
Single PowerEdge Server Image Page 6
Introduction
This paper focuses on the creation of a hardware independent image for Dell PowerEdge Servers running
the Windows Server 2003 operating system, but includes methodologies that can be applied to all versions
of Windows Server 2003, Windows XP, and Windows 2000 operating systems as well. Accompanying this
white paper is a ONEDELLIMAGE.ZIP file containing supporting files required to successfully build a
hardware independent image for Dell PowerEdge Servers, including but not limited to: a checklist, the
Microsoft Sysprep utility, a sample SYSPREP.INF file, the Deployment Solution AClient (for scripting the
install of the management agent), current Dell drivers (as of the updating of this white paper) including
support for Dell’s 9th generation servers, etc.
This paper provides step-by-step instructions, best practices, and considerations for building a hardware
independent image from beginning to end for all currently shipping Dell PowerEdge servers and later. This
image can be used as part of a comprehensive build process in which Altiris management solutions can
help provision a server from bare metal including, but not limited to: configuring the BIOS, DRAC, BMC,
and RAID components, deploying a scripted or image based deployment of the operating system, remotely
deploying popular server applications such as OpenManage Server Administrator (OMSA), SQL 2005,
Oracle 10g, VMware ESX Server, etc., and patching the hardware using Dell Update Packages (DUP), all
as part of the complete bare metal provisioning process. For more information, browse to the Dell Alliance
page of the Altiris website at www.altiris.com/dell and refer to the Deployment Solution for Dell Servers
add-on product.
Fortunately all 3rd generation and later Dell PowerEdge servers share a common Hardware Abstraction
Layer (HAL) based on the Advanced Configuration and Power Interface (ACPI). One of the benefits of
having a common HAL architecture is the fact that this eliminates the need to maintain multiple images per
hardware model and helps significantly reduce the time required to deploy the Windows OS, service packs,
security updates, hotfixes, software, etc. because all of this can be included in the base image if desired.
Image based deployments are just one way to deploy an OS to a bare metal computer; scripted installs are
another way. There are pros and cons to performing image based vs. scripted OS deployments which will
be discussed as part of this paper. One deployment method may be more suitable than the other based on
the network environment, which is in turn dictated by complex IT policies, diverse network architectures,
opinionated IT staff, etc. Whichever method you choose, Altiris can help with your IT needs.
Common IT Obstacles
The following are some common “pain points” experienced by Information Technology (IT) staff when
dealing with the deployment and on-going management of computer systems:
• Dedicated IT teams must build and maintain at a minimum one image per hardware vendor, hardware
model, and operating system when dealing with image based deployments.
• Hours of effort required to provision hardware from bare metal, deploy operating systems, deploy
software apps, patch the OS and hardware, etc.
• Software version control maintenance is required to keep versions up to date loaded on “static” images
as well as post production computers. This also includes service packs, security updates, and hotfixes
as well.
• Inconsistencies with computer builds from various IT staff members (such as versions of drivers
installed, configuration methods, look and feel, etc.)
As you will see in the next section, maintaining and deploying a hardware independent image in the
environment can help with most of the pain points listed here.
WHITE PAPER
Single PowerEdge Server Image Page 7
Pros
Image based OS Install Scripted OS Install
Minimal deployment times: Service packs and hotfixes can be
• Approx 6-8 mins for a 2GB image file in DOS slipstreamed during the install process to
(16-bit) ensure the latest and greatest
• Approx 2-3 mins for a 2GB image file in Microsoft updates are applied when
WinPE or Linux (32-bit) Windows is started for the first time,
making it less susceptible to viruses and
network attacks
A single image can be created for all Dell Drivers can be slipstreamed during the
PowerEdge Servers eliminating the need to install process to ensure that your Dell
create and maintain separate images per PowerEdge Servers are always running the
OS/PowerEdge model latest versions during the
provisioning process
WHITE PAPER
Single PowerEdge Server Image Page 8
Consistency of the operating system build can be Flexibility can be achieved by customizing the
achieved by configuring the “look and feel” of the installation and configuration of Windows components
desktop, policies enabled, software installed, etc. during the install
without requiring user intervention or
some sort of script to perform after
deployment
Images can be multicasted which help by
reducing network bandwidth and
bottleneck constraints based on broadcast
methods
Cons
Image based OS Install Scripted OS Install
The image file is static. Once the image has The operating system install can not be
been captured, the software and drivers contained in multicasted and can take anywhere from 2-4 hours
the image become outdated over time and require depending on the number and size of updates being
updates. In most cases the master image has to slipstreamed.
be deployed, updated, and then recaptured
to be ready for mass distribution or management
agents can be loaded in the image and updates are
deployed post-OS through policy based distribution.
WHITE PAPER
Single PowerEdge Server Image Page 9
is ACPI compliant will usually fail or get caught in a continuous boot cycle. Fortunately, most Dell
PowerEdge Servers (from the 3rd generation through current hardware) have the same HAL.
9 Identify a reference computer from which the image will be created
Select a standard PowerEdge Server model with a recommendation of non-superfluous hardware or
configurations to be the reference computer from which the image will be created from. This would
include using SCSI over RAID, no DRAC cards, other add-in cards, etc. If you’re not using the Altiris
Deployment Solution for Dell Servers add-on to provision your hardware or using a PowerEdge model
not supported by the Dell Tool Kit (DTK) and thereby not supported by the Dell add-on, you can initially
provision the hardware and deploy the OS using the Dell Server Assistant (DSA) CD. This CD is
included in the box of every Dell server that leaves the manufacturing plant or it can be downloaded
from http://support.dell.com.
Many hardware components are embedded on the motherboard and can either be disabled from the
system’s BIOS or the case can be opened and the modules can be manually removed thereby
disabling its functionality. Consult your hardware manual and warranty before attempting to do this
yourself. For example, a server with an embedded PERC controller can be disabled in the system’s
BIOS which would then default to SCSI. This would then allow the image to be built from one SCSI
drive with a small OS partition, rather than three from a typical RAID 5 configuration. The object here is
to reduce complexity when building the image in order to have a higher success rate when mass
deploying the image to your target hardware.
As part of my research for this white paper I used a very simple PowerEdge 400SC Server as my
reference computer to build the hardware independent image from. As many know, this is simply a
glorified Dell workstation, so just about any type of Dell computer will work in this example.
9 Select the minimum available hard disk or partition from reference computer
A rule of thumb when creating hardware independent images is that the source hard drive or partition in
which you created the image from can not be larger than the target hard drive. For example, don’t
create an image from an 80GB drive or partition and deploy to a 40GB drive. In this day and age with
standard hard drive sizes ranging anywhere from 60GB and up, it’s hard to find small hard drives these
days.
In this case, simply create a small partition in which the image will be built from. I usually like to create
about a 6-8GB partition. This allows room to install the OS, copy the .\i386 directory from the Windows
media CD, install any service packs, hotfixes, security updates, etc. and have a little bit of room left
over if needed.
9 Select a target server to test the image
If possible, choose a different model of PowerEdge Server with different chipsets and hardware than
your reference server to test the image on. This will be your true test and you’ll know right away if
you’ve configured the image properly after deploying by copying the appropriate plug-and-play drivers,
creating the SYSPREP.INF file properly, etc. If this is not possible, you can plug in all the hardware
components and configurations you removed from the reference server to test with if needed. Your
results may vary because even though the Sysprep utility is supposed to strip out the current hardware
devices installed on the reference computer, the drivers still linger in the system directories and could
be re-installed when the system boots up again. Needless to say, this won’t be a true test for your first
image deployment.
WHITE PAPER
Single PowerEdge Server Image Page 10
9 Obtain the proper version of Microsoft Sysprep
Refer to the section, “Where Can I Get Microsoft Sysprep?” for more information. As a courtesy, there
is a URL later in this paper that directs you to a supporting file (onedellimage.zip) which includes a copy
of the Sysprep utility valid for the Windows 2003 and Windows XP operating systems.
9 Use a volume license key
It is recommended to use volume license keys and media for the operating system in which the
hardware independent image will be built from. This will avoid Windows activation on the target
systems.
9 Identify hardware inventory of target systems
To successfully build a hardware independent image, a little research is in order to properly identify the
different types of hardware models, devices, peripherals, etc. that exist in the environment. For
example: PERC, SCSI, DRAC, Modems, Network Cards, Video Cards, etc. Using Altiris Inventory
Solution, Altiris Inventory Solution for Servers (soon to be released), Altiris Real-time System Manager
Solution, or even the Altiris Deployment Solution for Dell Servers add-on is a great way to identify the
hardware that exists in your environment. For example, Deployment Solution can capture “light”
inventory through the Altiris AClient agent and report through the DS Console. The Deployment
Solution for Dell Servers add-on can also capture and output detailed hardware inventory to a text file
with the flexibility to run in a pre-OS environment without the need for an agent. The figure below shows
a hardware inventory output from a PowerEdge 2950 Server.
WHITE PAPER
Single PowerEdge Server Image Page 11
For more information on the products mentioned, refer to the following links:
http://www.altiris.com/Products/InventorySolution.aspx
http://www.altiris.com/Products/RTSM.aspx
http://www.altiris.com/Products/DellDeploymentSolution.aspx
With this information gathered, you are now able to download the appropriate vendor specific or third
party plug-and-play drivers required for each hardware device, chipset, etc. so that it may be properly
installed in the Windows Server operating system of choice. Even though most of these drivers may be
native to the operating system itself, it’s best to download the hardware approved drivers from the
specific vendor which in this case is Dell’s support website at http://support.dell.com. Additional steps
will be provided in the next section of this document.
WHITE PAPER
Single PowerEdge Server Image Page 12
WHITE PAPER
Single PowerEdge Server Image Page 13
Legend
Directory Description
audio Audio Drivers
cs Chipset Drivers
mgmt Management (DRAC)
n Network Card Drivers
non-raid Non-RAID Controller Drivers
storage RAID Storage Controller Drivers
9g 9th Generation Drivers
v Video Card Drivers
WHITE PAPER
Single PowerEdge Server Image Page 14
Option 2 – Gather Drivers Using the Driver Tool from the DSA CD
One of the new features of the DSA 5.1 CD (released 9/11/06) is a “Make Driver Dir” tool. This is a
command line interface (CLI) tool that will programmatically gather all the drivers from the DSA CD based
on PowerEdge model, OS, and device type while creating the respective directory structures. The tool will
also build out the “OEMPnPDriversPath” typically found in the Windows UNATTEND.TXT and
SYSPREP.INF files so you can save time by copying and pasting. This path is required to search the
appropriate driver directories when installing the hardware components through Windows PnP detection. If
the path is not specified then the native Windows drivers will be used instead. Listed below are some
examples of how to use this tool. For a full list of all the command line options and the user syntax for this
driver tool, refer to the README.TXT file found on the DSA CD located here:
.\SERVER_ASSISTANT\DRIVER_TOOL
Example:
The following command will list all supported Dell servers, operating systems, and provide descriptions for
all the driver build directories and output to a file called DRIVERS.TXT. This command can help you
translate all the rXXXXXX driver directories to something meaningful if you want to gather the drivers
manually:
make_driver_dir.exe -i d:\ -d c:\drv --info > c:\drivers.txt
The following is an excerpt from the generated DRIVERS.TXT file:
OS Descriptions:
Drivers:
r123574 = sas_raid (SAS 5/iR Adapter)
r123575 = sas_non-raid (SAS 5/E Adapter)
r123581 = sas_raid (SAS 5/iR Adapter)
WHITE PAPER
Single PowerEdge Server Image Page 15
r123582 = sas_non-raid (SAS 5/E Adapter)
r125801 = network (NetXtreme II Family of Adapters)
r125864 = network (NetXtreme Family of Adapters)
Example:
The following command will extract drivers for one PowerEdge model and one OS. I used the PE1950 as
an example. You could easily extract drivers for all PowerEdge models and OS’s, but make sure you have
the room on your hard drive before doing so.
make_driver_dir.exe -i d:\ -d c:\drv -p pe1950 -o w2003 –extract
The figure below shows the output from screen when executing the previous command:
WHITE PAPER
Single PowerEdge Server Image Page 16
The figure below shows the output of the driver directory when executing the previous command:
The text below shows the output of PNPDRIVERPATH.TXT when executing the previous command:
oempnpdriverspath=drivers;c:\drv\pe1950\w2003\chip_set;c:\drv\pe1950\w2003\ide___eide;
c:\drv\pe1950\w2003\network;c:\drv\pe1950\w2003\sas_non-
raid;c:\drv\pe1950\w2003\sas_raid;c:\drv\pe1950\w2003\scsi_non-
raid;c:\drv\pe1950\w2003\video;c:\drv\pe1950\w2003\chip_set\r122802;c:\drv\pe1950\w200
3\chip_set\r122802\sp;c:\drv\pe1950\w2003\ide___eide\r99970;c:\drv\pe1950\w2003\networ
k\r120343;c:\drv\pe1950\w2003\network\r125879;c:\drv\pe1950\w2003\network\r126220;c:\d
rv\pe1950\w2003\network\r120343\ris_inf;c:\drv\pe1950\w2003\sas_non-
raid\r122665;c:\drv\pe1950\w2003\sas_raid\r120960;c:\drv\pe1950\w2003\scsi_non-
raid\r117179;c:\drv\pe1950\w2003\scsi_non-
raid\r99849;c:\drv\pe1950\w2003\video\r122758;c:\drv\pe1950\w2003\video\r122758\b_2909
3
Once you have the drivers extracted, you could easily copy the drivers directory to the base OS for the
hardware independent image and then copy the OEMPNPDRIVERSPATH to the SYSPREP.INF file.
Note: There are limitations to how many characters you can have in the OEMPNPDRIVERSPATH field.
Refer to the last bullet in the “Considerations for Sysprep” section for more information.
WHITE PAPER
Single PowerEdge Server Image Page 17
Option 3 – Gather Drivers Using Altiris Deployment Solution for Dell Servers
One of the new features of the Deployment Solution for Dell Servers 2.0 add-on is the ability to
programmatically extract the drivers from the DSA CD to the Altiris Deployment Server for purposes of
scripting Windows Server installations. This functionality leverages the same toolset that is now publicly
available on Dell’s DSA CD mentioned above under “Option 2”. This option is similar to Option 2 above in
regards to extracting drivers, with the difference that this option uses a GUI interface instead of a CLI. The
purpose of listing this as a viable option is that this interface will allow you to gather all drivers for your
PowerEdge Servers, store them in a common directory, and build out the OEMPNPDRIVERSPATH as
well. One difference from the option above is that instead of having a driver directory like the one shown
above, you will have a common directory will all the PnP drivers for the PE model and OS type you choose
without having duplicate directories per PE model (i.e. .\pe1950\w2003\sas_non-raid,
.\pe1950\w2003\sas_raid, etc.). Once the drivers are extracted, you can copy to your baseline OS for the
hardware independent image and copy the OEMPNPDRIVERSPATH from the UNATTEND.TXT file and
paste into the SYSPREP.INF.
Follow the following steps to gather drivers using Altiris Deployment Solution for Dell Servers (the following
steps assume the Deployment Solution for Dell Servers add-on has been installed. Refer to the product
documentation for specific instructions pertaining to the installation and configuration of this product.)
1. From the Deployment Solution Console choose Tools > Dell Tools > Configuration Utility.
2. Click the “OS Deployment” tab as shown below.
WHITE PAPER
Single PowerEdge Server Image Page 18
6. Insert the DSA CD into the Altiris Server and click the “Browse” button to browse to the CDROM
location. The screen below should look similar to yours.
WHITE PAPER
Single PowerEdge Server Image Page 19
You can now copy this path to the SYSPREP.INF file to the same respective field.
Note: If you use the same path shown above, make sure the drivers directory reflects the same path
(i.e. C:\Drv\r57345;C:\Drv\r64211;C:\Drv\r70355). It’s not necessary to specify the drive letter in the
path, the SystemRoot (i.e. C:\) is assumed.
Note: There are limitations to how many characters you can have in the OEMPNPDRIVERSPATH field.
Refer to the last bullet in the “Considerations for Sysprep” section for more information.
WHITE PAPER
Single PowerEdge Server Image Page 20
WHITE PAPER
Single PowerEdge Server Image Page 21
1. Ensures the uniqueness of the Security Identifier (SID) for each deployed system. Without a unique
SID, you may encounter network issues between deployed computers. The best analogy I can
describe for this type of scenario is a courier trying to deliver a package to a specific house address,
but all the homes on the street have the same house number. How could a courier possibly deliver
the package in a situation like this?
2. Strips the hardware devices from the device manager in Windows before shutting the computer
down for the image capture. This is how the image becomes hardware independent.
3. Processes sections of the SYSPREP.INF before the computer shuts down. For example, if you have
specified various mass storage controllers in the SysprepMassStorage section of the SYSPREP.INF
file or configured the SYSPREP.INF file to build this section automatically, this is the information that
is processed during this time.
Note: There is a string of text you can place in the SYSPREP.INF file to have Sysprep build the
[SysprepMassStorage] section for you automatically:
[Sysprep]
BuildMassStorageSection = Yes
This is not recommended for several reasons of which will be discussed in the “Building the
[SysprepMassStorage] Section” of this paper.
4. Issues a default shut down command to Windows once Sysprep has successfully performed its
initial tasks (this is optional for all Sysprep versions). Other options include rebooting and quitting the
Sysprep utility when complete. It’s recommended to accept the default of shutting the computer
down so you know the process has completed and to avoid having the computer reboot into
Windows again. If the computer boots back into Windows without capturing the image first, you’ve
reverted back to where you started and the computer will have to be re-Sysprepped. There are also
limitations to how many times you can Sysprep an image so before you Sysprep the image, it’s
recommended to capture the image as-is for future editing.
Note: Sysprep 1.1 for Windows 2000 will shut down automatically after executing. A command line
must be invoked to Sysprep to not reboot after completing. Sysprep 2.0 for Windows Server 2003
and Windows XP includes a GUI interface with the options to shut down, restart, or quit the Sysprep
utility after completing.
There are currently three versions of Sysprep available from Microsoft:
• Version 1.0 included with the Windows 2000 Product CD. This version will not support other
Mass Storage Devices.
• Version 1.1 is the current version for use with the Windows 2000 operating system and
supports the changing of the Mass Storage Devices.
• Version 2.0 is the current version for use with the Windows Server 2003 and Windows XP
operating systems. Sysprep 2.0 offers new options such as resetting the grace period for
activation. A copy of this Sysprep version is available in the ONEDELLIMAGE.ZIP file.
WHITE PAPER
Single PowerEdge Server Image Page 22
Note: Microsoft provides valuable information for using Sysprep. One of the best resources is the
“Microsoft Windows Corporate Deployment Tools User’s Guide” (DEPLOY.CHM) bundled with the
Sysprep utility contained in the DEPLOY.CAB file on the Windows media CD. It’s recommended to
consult this documentation to learn more about Sysprep’s functionality and available options.
Note: Refer to the section, “Installing Altiris Agents” for more information regarding the various options
for supporting a remote install of the Altiris Deployment Solution Client (AClient) and how to configure.
Upon completion, the devices not physically present in the system are cleared out of the database and
the critical devices present are left intact. Depending on the situation, the “–PnP” switch can also be
added to force a complete enumeration of all devices in the system. This will add approximately 5 to 10
WHITE PAPER
Single PowerEdge Server Image Page 23
minutes to the duration of the mini-setup process. This switch is NOT required for PnP devices but is
useful when ISA or other non-PnP devices (that cannot be dynamically detected) exist on target
systems. Use this switch only when you need to detect and install legacy devices. Do not use “Sysprep
-PnP” on computers that only use PnP devices. Doing so will increase the time required for the first-run
user experience without providing any additional benefit.
• It is advised, but not necessary to “tokenize” the SYSPREP.INF file with embedded Altiris
Deployment Solution tokens to provide greater flexibility when mass deploying computers. There
are about 45 different built-in Deployment Solution tokens ranging from %COMPNAME% (NetBIOS
Computer Name) to %SERIALNUM% (Dell Service Tag) to %ASSETTAG% (Asset Tag), etc. This
enables the SYSPREP.INF file to be unique in nature and act as a template by replacing tokens
with values from the Deployment Solution eXpress database. For example, instead of having this
line of text in the SYSPREP.INF, “ComputerName=*”, you could use this instead:
“ComputerName=%COMPNAME%”. This would prevent the mini-setup from randomly creating a
Windows hostname based on the registered user and organization name listed in the [UserData]
section of the SYSPREP.INF file and inject the desired Windows hostname from the database. You
may be wondering how this works when the computer is not currently managed by the Deployment
Solution. Another powerful feature of Deployment Solution is the ability to pre-provision computers
in the Deployment Solution console before they ever connect to the network. When the computers
are connected to the network and booted to PXE or a Deployment Solution automation disk or
partition, the Deployment Solution jobs queued up for that computer(s) are automatically deployed
without requiring an Altiris administrator to launch the Deployment Solution Console. For more
information refer to the “Introducing Deployment Solution Tokens” section of this paper and also
refer to the Deployment Solution Reference Guide.
• Sysprep should automatically delete the “.\SYSPREP” folder contained in the image after it’s been
deployed by removing all of its contents after the mini-setup process completes. This removes the
Sysprep utility and avoids the possibility of a production computer being re-Sysprepped. Sometimes
when you initiate tasks from this folder such as scripting the Altiris management agent to install as
part of the mini-setup process, the deletion of the folder may not fully complete. There are
workarounds that can be accomplished such as executing the DOS utility, DELTREE as part of the
[GuiRunOnce] section of the SYSPREP.INF file to ensure the deletion of this folder and its
contents. It’s strongly advised to keep a copy of the Sysprep folder containing the original
SYSPREP.INF file somewhere on the network to save time with future image building efforts.
• If you are not comfortable leaving the local admin password in clear text format in the
SYSPREP.INF file, there are alternatives:
For example, it’s possible to encrypt the local administrator password in the SYSPREP.INF file and
apply it during the mini-setup process. Make sure there is no password set for the local
administrator account in the image before using this approach. If not, you will receive an error
message during the mini-setup process when it tries to apply the password. If you choose to not set
a password, you will lose the AutoLogon functionality of Sysprep. If you must use the AutoLogon
feature and do not want to reveal the administrator password in any form, you can set the local
administrator password in the image and leave the password blank in the SYSPREP.INF file by
using the null value represented by an asterisk (*).
By choosing this option, the AutoLogon feature will function properly and will allow you to set a
value for the “AutoLogonCount” in the SYSPREP.INF file. This may not be a preferred option if you
are rapidly changing passwords in your environment. Altiris has a policy based solution for
randomly generating passwords for local accounts at user defined intervals once the computer has
been deployed and the Altiris agent has been loaded. Refer to the Altiris website for information on
the Altiris Local Security Solution by navigating to the following link:
WHITE PAPER
Single PowerEdge Server Image Page 24
http://www.altiris.com/Products/LocalSecuritySolution.aspx. There are also numerous third party
utilities on the market (such as Hyena) that will allow you to change local admin passwords on the
fly after the image has been deployed.
• Leaving domain admin accounts and passwords in clear text format in the SYSPREP.INF file is a
much higher security risk. Unfortunately, there is no option to encrypt these credentials as part of
the Sysprep Setup Manager process.
One option is to create a domain account that only has rights to add a computer to the domain
when requiring computers to join the domain from Sysprep. That way, if the SYSPREP.INF file is
compromised, the only action a user will be able to do is to add a computer to the domain. The
majority of the computer domain additions can take place as a post configuration task through
Deployment Solution via the Deployment Agent (AClient). Be sure to add the domain admin
credentials to the “Domain Accounts” tab of the Deployment Solution options to enable this
functionality. Refer to the Deployment Solution Reference Guide for more information.
• To make the image hardware independent, you must have a [MassStorageSection] in the
SYSPREP.INF file that can identify the diverse mass storage controllers that exist in the
environment. Sysprep 1.1 and later can work in conjunction with the native operating system
storage controller drivers listed in the INF directory of the Windows System root. These files include
MACHINE.INF, SCSI.INF, PNPSCSI.INF, and MSHDC.INF.
The contents of these files list everything that is natively supported by Windows with respect to
mass storage controllers. If you are using Windows Server 2003 or Windows XP and the Sysprep
2.0 utility, the [SysprepMassStorage] section of the SYSPREP.INF file can be populated
automatically. When the SYSPREP.INF file is parsed, it will automatically add the list of mass
storage controllers natively supported by Windows from the contents of the files listed above.
Note: It’s strongly recommended to NOT allow Sysprep to automatically create the
[SysprepMassStorage] section and to use vendor specific drivers. It’s also normal for the Sysprep
resealing process to vary drastically in time depending on the length of the mass storage section in
the SYSPREP.INF file. For example, if you populate the [SysprepMassStorage] section following
the guidelines in this document and then reseal the computer, times can average anywhere from 1-
3 minutes. If you allow Sysprep to automatically create the [SysprepMassStorage] section, times
can be in the upwards of 20 minutes. This is due in fact to the Sysprep process extracting the driver
details from the .INF files mentioned earlier in this section.
Note: It’s also important to note that the guidelines and driver support included in this document are
intended for Dell servers configured with RAID, SCSI, and SAS controllers using SCSI hard drives.
For example, if the target hardware includes any of the PowerEdge SC models utilizing IDE
controllers and hard drives, the [SysprepMassStorage] section would need to be populated with the
PnP PCI Vendor ID’s for the respective IDE controllers or other types of controllers that may exist in
the system. This needs to be completed BEFORE running Sysprep and capturing the image.
• The OEMPNPDRIVERSPATH field of the SYSPREP.INF file has a limitation with the amount of
characters that can be included depending on which OS you use. For example, Sysprep intended to
run on Windows 2000 has a limitation of 2047 characters while Sysprep intended to run on
Windows XP and Windows 2003 has a limitation of 4096 characters. This is important to
understand when building out your driver directories. There are workarounds to this limitation
however. For example, it is possible to write the OEM PNP drivers path directly to the registry of the
base OS in the DEVICEPATH key found here: HKLM\Software\Microsoft\Windows\CurrentVersion.
This will allow you to enter up to 64KB of data to avoid this limitation. If you don’t use this
workaround then the OEMPNPDRIVERSPATH that you specify in the SYSPREP.INF file is
automatically entered in the DEVICEPATH registry. I always use the workaround by entering my
WHITE PAPER
Single PowerEdge Server Image Page 25
own drivers path to the registry to avoid any potential problems. For example:
%SystemDrive%\Dell\audio;%SystemDrive%\Dell\cs\1;%SystemDrive%\Dell\cs\2;%System
Drive%\Dell\cs\3;%SystemDrive%\Dell\cs\4;%SystemDrive%\Dell\cs\5;%SystemDrive%\D
ell\cs\6;%SystemDrive%\Dell\cs\7;%SystemDrive%\Dell\cs\8;%SystemDrive%\Dell\m\bc
;%SystemDrive%\Dell\m\ch;%SystemDrive%\Dell\m\co;%SystemDrive%\Dell\m\cy;%System
Drive%\Dell\mgmt\;%SystemDrive%\Dell\n\bc\1;%SystemDrive%\Dell\n\bc\2;%SystemDri
ve%\Dell\n\intel\1;%SystemDrive%\Dell\n\intel\2;%SystemDrive%\Dell\non-
raid\bp\1;%SystemDrive%\Dell\non-raid\bp\2;%SystemDrive%\Dell\non-
raid\gem;%SystemDrive%\Dell\storage;%SystemDrive%\Dell\storage\9g\fiber;%SystemD
rive%\Dell\storage\9g\perc5;%SystemDrive%\Dell\storage\9g\sas-
nonraid;%SystemDrive%\Dell\storage\9g\scsi-
nonraid;\%SystemDrive%\Dell\v\ati;%SystemDrive%\Dell\v\int;%SystemDrive%\Dell\v\
rn5;%SystemDrive%\Dell\v\vol;%SystemDrive%\Dell\misc;%SystemRoot%\inf
Leaving the default “%SystemRoot%\inf” at the end of the devicepath will allow Windows to use
native drivers if the setup process can’t find a vendor supplied driver in the specified path. You may
choose to leave this in or remove it. If you gather and build out the drivers directories properly for
the hardware components in your environment, you shouldn’t have any native drivers installed.
WHITE PAPER
Single PowerEdge Server Image Page 26
WHITE PAPER
Single PowerEdge Server Image Page 27
3. Select Sysprep setup. Click Next.
WHITE PAPER
Single PowerEdge Server Image Page 28
5. Select Yes, fully automate the installation. Click Next.
6. Type the name of the User and Organization. This information is not relevant to the image building
process and can be easily replaced through the use of Deployment Solution System Tokens. Click
Next.
Note: The information provided here is used by the Sysprep mini-setup process to randomly
generate a computer name if Deployment Solution tokens are not used.
WHITE PAPER
Single PowerEdge Server Image Page 29
7. Accept the default of this screen. Click Next.
WHITE PAPER
Single PowerEdge Server Image Page 30
9. Enter the volume or retail product key. (If you don’t know the product key or have unidentified
volume media, steps will be provided later in this document to extract the key from the Dell Server
Assistant install process.) Just enter X’s for now. This can be manually changed later.
10. Select the appropriate licensing mode based on your licensing agreement. Click Next.
WHITE PAPER
Single PowerEdge Server Image Page 31
11. Select Automatically generate computer name. This will place an asterisk (*) in the
“COMPUTERNAME” field of the SYSPREP.INF file which tells Sysprep to randomly generate a
NetBIOS computer name based on the Organization name, also specified in the SYSPREP.INF file.
There are alternatives for configuring a computer’s NetBIOS name (as well as other configurations)
through the use of Altiris Deployment Solution. This includes the use of system tokens or through
AClient’s post configuration process. These alternatives will be discussed later in this document.
Click Next.
WHITE PAPER
Single PowerEdge Server Image Page 32
12. Enter a password for the local administrator, or leave it blank. There is no wrong or right way in
completing this step. You can either set the local administrator password in the image and leave this
field blank in the SYSPREP.INF file or include it in the SYSPREP.INF file and choose to encrypt it.
Click Next.
WHITE PAPER
Single PowerEdge Server Image Page 33
14. Accept the default WORKGROUP. Click Next.
WHITE PAPER
Single PowerEdge Server Image Page 34
16. Accept the default. Click Next.
WHITE PAPER
Single PowerEdge Server Image Page 35
18. Enter any printers to be installed after a user logs on for the first time. Click Next.
19. Enter any commands to run after a user logs on for the first time. Some suggested commands to
enter are as follows (these commands will be discussed throughout this paper):
"c:\windows\system32\deltree /Y c:\sysprep"
"regedit.exe /s c:\dell\script\srcpath.reg"
WHITE PAPER
Single PowerEdge Server Image Page 36
21. In the open field, type “c:\sysprep\sysprep –clean” and click Add followed by clicking Next. If
you choose to install the Deployment Solution AClient as part of the mini-setup process, add the
following command: “c:\sysprep\aclient.exe c:\sysprep\aclient.inp -install -silent“.
Note: If you choose to add this command, make sure you have the ACLIENT.EXE and
ACLIENT.INP files located in the .\Sysprep folder of the base OS before sysprepping the computer.
These files can be found in the root of the eXpress share of the Deployment Server and are also
included in the ONEDELLIMAGE.ZIP file. Refer to the Deployment Solution Reference Guide for
properly configuring the ACLIENT.INP answer file and scripting AClient.
22. Enter an optional identification string to identify the image after installation. Click Finish.
WHITE PAPER
Single PowerEdge Server Image Page 37
23. Accept the default Save location. Click OK.
25. Save the Sysprep folder and SYSPREP.INF file you just created. It will be transferred to the base
OS of the reference computer in later steps.
WHITE PAPER
Single PowerEdge Server Image Page 38
4. Create a file called SYSPREP.INF. Copy and paste the contents of the SYSPREP.INF file from the
“Samples” section of this document and paste into the SYSPREP.INF file. (This file will have to be
edited based on information pertaining to your environment.)
WHITE PAPER
Single PowerEdge Server Image Page 39
Although automatically building the [SysprepMassStorage] section from the native Windows drivers may
seem like the easiest and more logical approach, it is strongly recommended that you build this section
from scratch for these reasons:
• Sysprep will only include the devices and drivers that are native to the Windows operating system
• The vendor specific drivers required to truly make the hardware independent image based on the
various supported hardware in your environment will not be included in the image.
• By generating the [SysprepMassStorage] section automatically, you add a considerable amount of time
to the prepping and deployment processes for the overall user experience.
• By tailoring the [SysprepMassStorage] section for the mass storage controllers in your environment, you
create a much cleaner SYSPREP.INF file. You will also save time during the prepping and deployment
processes for the overall user experience.
• By downloading current and up to date vendor specific hardware drivers, you know they have been
tested specifically for the hardware model and OS in which the image will be applied rather than using
canned native Windows drivers.
The building of this mass storage controller section is crucial because these drivers are the first to be
installed during the mini-setup Sysprep process. If the entries are not correct or the wrong driver is
specified, you will end up with a blue screen of death once the system tries to boot to Windows. Also these
mass storage drivers are typically packaged in a format to be installed from floppy disks during the scripted
Windows install process.
If you are familiar with the process of installing an NT based system from scratch, you will know that you
are prompted to press F6 during setup to install specific mass storage controller drivers before the
Windows setup process can recognize the computer’s hard drives in which the OS will be installed to. In
building this [SysprepMassStorage] section properly, you are tricking the Windows setup process into
thinking the storage controller drivers are being installed from the floppy disks when in actuality they are
being installed from within the hardware independent image itself.
WHITE PAPER
Single PowerEdge Server Image Page 40
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%Dell%
CatalogFile=mraid35x.cat
DriverVer=12/11/2003,6.41.2.32
[DestinationDirs]
DefaultDestDir = 12 ; DIRID_DRIVERS
[Manufacturer]
%Dell%=Dell
[Dell]
1
;PERC 4/SC (Dell 520)
%Dell520.DeviceDesc% = mraid35x_Inst, PCI\VEN_1000&DEV_1960&SUBSYS_05201028
;PERC 4e/Si
%Dell16C.DeviceDesc% = mraid35x_Inst, PCI\VEN_1028&DEV_0013&SUBSYS_016C1028
[SourceDisksNames]
1 = %SOURCE_DISK%,\mraid35x.sys,,
[SourceDisksFiles]
mraid35x.SYS = 1,,11136,,,,,,
3
[Strings]
;---------------------Dell-----------------------------
Dell="Dell"
Dell467.DeviceDesc = "Dell PERC 2/DC RAID Controller"
Dell.DeviceDesc = "Dell PERC 2/SC RAID Controller"
Dell471.DeviceDesc = "Dell PERC 3/QC RAID Controller"
Dell493.DeviceDesc = "Dell PERC 3/DC & PERC 3/DCL RAID Controller"
Dell511.DeviceDesc = "Dell CERC ATA 100/4ch RAID Controller"
Dell475.DeviceDesc = "Dell PERC 3/SC RAID Controller"
DellROM.DeviceDesc = "Dell PERC 4/Di RAID On Motherboard Driver"
Dell518.DeviceDesc = "Dell PERC 4/DC RAID Controller"
Dell520.DeviceDesc = "Dell PERC 4/SC RAID Controller"
2b
WHITE PAPER
Single PowerEdge Server Image Page 41
Dell16C.DeviceDesc = "Dell PERC 4e/Si RAID Controller"
;*******************************************
;Handy macro substitutions (non-localizable)
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER = 1
SERVICE_BOOT_START = 0
SERVICE_ERROR_NORMAL = 1
REG_EXPAND_SZ = 0x00020000
REG_DWORD = 0x00010001
1. Identify the controller(s) that are common to your environment. In this example, I’ll use the PERC
4/SC controller. This is how the line appears in the example above:
2. Identify the device description of the controller as it appears in the OEMSETUP.INF file.
a. First, identify the device description header. This can be found from the controller line as
indicated by item 2a above. This is how the line appears in the example above:
%Dell520.DeviceDesc%
b. Identify the device description of the controller from the respective location of the INF file. This is
how the line appears in the example above:
Dell520.DeviceDesc = "Dell PERC 4/SC RAID Controller"
3. Identify the disk tag. This is how the lines appear in the example above:
[SourceDisksNames]
1 = %SOURCE_DISK%,\mraid35x.sys,,
WHITE PAPER
Single PowerEdge Server Image Page 42
[SyprepMassStorage]
;PERC 4/SC (DELL)
PCI\VEN_1000&DEV_1960&SUBSYS_05201028="%systemdrive%\dell\storage\oemsetup.inf","\","D
ELL PERC 4/SC RAID Controller","SOURCE_DISK"
;PERC 4/SC (DELL) – <remark> This is simply a remark and is used for identification purposes only.
Anything that follows a semi-colon in the SYSPREP.INF file is assumed a remark and is not functional.
PCI\VEN_1000&DEV_1960&SUBSYS_05201028= – <hardware ID> This is the PnP PCI Vendor ID for
the PERC 4/SC controller pulled from Step 1 above.
"%systemdrive%\dell\storage\oemsetup.inf" – <path to device inf> This is the path to the .inf
driver file that contains the PnP PCI Vendor ID of the controller to be installed from Step 1 above. This path
is straight from the Dell drivers hierarchy as mentioned earlier in this paper.
"\" – <disk directory> This is the path of the disk directory from the virtual floppy disk that contains the
storage controller driver. Since we’ve identified the path on the line above, we can simply put a backslash
for this section indicating the drivers are in the root of the “C:\Dell\Storage” directory in this example.
"Dell PERC 4/SC RAID Controller" – <device description> This is the device description used
during the traditional Windows setup process when identified on the setup screen prompting the user to
confirm the driver that is about to be loaded. This is pulled from Step 2b above.
"SOURCE_DISK" – <disk tag> This is the disk tag of the floppy disk provided by the vendor. This can be a
file or descriptive name which allows the traditional Windows setup process to recognize the disk has been
inserted and allows the setup process to continue on. Since we’re tricking the Sysprep mini-setup process
into thinking it already has the disk inserted containing the drivers, we’re never prompted during the
Sysprep process. This is pulled from Step 3 above.
This entire section would be duplicated for every mass storage controller supported in the environment.
WHITE PAPER
Single PowerEdge Server Image Page 43
[Commands]
"c:\sysprep\sysprep -clean"
"c:\sysprep\aclient.exe c:\sysprep\aclient.inp -install -silent"
WHITE PAPER
Single PowerEdge Server Image Page 44
5. Locate a copy of DELTREE.EXE from MS-DOS and copy to the Windows System32 directory (i.e.
.\WINDOWS\SYSTEM32) A copy of this file has been included in the ONEDELLIMAGE.ZIP file.
Note: This utility will force the .\SYSPREP directory to be deleted once Windows logs in for the first
time. It is possible for the .\SYSPREP folder to linger around after the Sysprep mini-setup process
completes due to the AClient being scripted to run from this directory. The AClient install files could be
placed elsewhere in the base image, but by including them in the .\SYSPREP folder, the source install
files are guaranteed to be deleted after they’ve been used.
6. Add the following section to your SYSPREP.INF file. This section can be placed anywhere in the
SYSPREP.INF file in-between the major header sections.
[GuiRunOnce]
Command0="c:\windows\system32\deltree /Y c:\sysprep"
Note: Make sure you reflect the actual Windows directory installed on the reference computer with the
Windows directory specified in the [GuiRunOnce] section. For example, if Windows 2003 was installed
to the .\WINDOWS directory, make sure the “Command0” line reflects this same directory as well.
7. Make sure the following line is included in the [Unattended] section of the SYSPREP.INF file. If it’s
not, the command lines located in the CMDLINES.TXT file will never be executed.
[Unattended]
InstallFilesPath="C:\Sysprep\i386"
Note: Now when the reference computer is Sysprepped and mass deployed, AClient will automatically
install.
WHITE PAPER
Single PowerEdge Server Image Page 45
relevant to the hardware independent creation process. The data specified here can be
overridden with the data you specify in the [UserData] section of the SYSPREP.INF file and
applied during the Sysprep mini-setup process. By specifying this data in the SYSPREP.INF file
you can offer flexibility for what user data gets replicated to all deployed Windows instances.
By default the registered name and company are considered static fields, meaning this data does
not typically change once configured. When using Altiris Deployment Solution, it’s possible to
dynamically customize this information per target system through the use of system tokens. For
example, rather than entering “OEM User” for the registered name, you can personalize this by
automatically replacing the static data with the actual user’s or department’s full name per
deployed system.
Customizing the user’s full name is helpful when installing and registering software. For instance,
MS Word has the ability to report which user has a document open and locked on the network.
The registered name for the software is usually pulled straight from the Windows OS registered
name. This may not be relevant to a server image, but is definitely possible and easy to
implement. Refer to the section, “Introducing Deployment Solution Tokens” for more information.
c. Enter the product key. If using volume licensing, DSA will not require the product key to be
entered during the installation process and most Admins may not even know their volume license
product key. If you don’t know the product key of your volume media, DSA can identify this for
you automatically. Refer to section 1.f for more information. If you know the media does not
require a key, you can leave this field blank when using the DSA process. If you know the media
requires a product key or is not volume media, enter it at this time. This is the same key asked
earlier during the building of the SYSPREP.INF file using the Sysprep Setup Manager. Be sure
to enter the same product key used for DSA in the ProductKey= field of the SYSPREP.INF file
located under the [UserData] section. Without it, or if entered incorrectly, you will be prompted for
the product key on every single image deployment you make and the deployment process will
not be completely unattended.
d. Enter the computer name and specify a workgroup. The computer name is not relevant to the
hardware independent creation process. The computer name can be anything as long as it does
not conflict with another system on the network. Also, do not add the base image to the domain
as this can cause problems with the Sysprep process. It’s better to mass deploy the image and
then add the computer to the domain after deployment. This can be accomplished by specifying
the domain name and credentials in the SYSPREP.INF file to join the domain during the Sysprep
mini-setup process or by allowing Altiris Deployment Solution to perform as a post-OS
configuration task via the management agent.
Note: If it’s necessary to join the computer to the domain for whatever reason (download group
policies, etc) you may do so, but under no circumstances should you leave it in the domain
during the Sysprep process. Make sure the server is removed from the domain BEFORE
Sysprepping.
e. Set the IP address manually or choose DHCP. Altiris recommends leaving the NIC(s) set to
DHCP in the image. You should already have a DHCP server in the environment if running an
Altiris PXE Server. Deployment Solution will allow you to set a static IP address as a post-OS
configuration task after the image has been deployed to the target system. If for some reason
your environment does not support a DHCP server, it is possible to set a static IP address during
the Sysprep mini-setup process. This information will be specified in the [Networking] section of
the SYSPREP.INF file. Refer to the Sysprep Reference Guide for more information. The use of
Deployment Solution system tokens can also be used to replace the tokens in this section with IP
addresses stored in a central database.
WHITE PAPER
Single PowerEdge Server Image Page 46
f. If you know the product key of the Windows media and you entered it during the DSA process,
you may skip this step and continue to 1.g. If not, please read on! It’s critical that you check the
box in the DSA process to save the unattend.txt file. Without this file you won’t know what
product key is automatically entered during the OS installation process and you will not be able
to include it in the SYSPREP.INF file. All the information you specify during the DSA process is
being recorded to the UNATTEND.TXT file, very similar to how you created the SYSPREP.INF
file using the Sysprep Setup Manager. This file could be used for the unattended scripted
installation of a Windows OS if you desire. The file will be saved to the root of the system’s drive.
The product key will aid in an unattended deployment during the running of the Sysprep mini-
setup process. Without this product key, the image will require user intervention and will halt
during mini-setup requiring the user to enter a key before being able to continue (even if you
have volume media). When you finally boot to Windows after deploying the base image using
DSA, open the unattend.txt file located in the root of the system drive and write this product key
on your Windows volume media for future reference. Also, enter the key in the appropriate
section of the SYSPREP.INF file created earlier.
g. When prompted, remove the DSA CD and insert the Windows 2003 Server CD to start the
copying of the source files for the scripted installation.
2. After the OS is deployed and you log into Windows for the first time, install any desired service
packs, security updates, and hotfixes on the reference computer. This is not required, but highly
recommended. This will save time during the deployment process by patching the OS to the current
updates at the time of the image creation. Subsequent releases of updates can be pushed out as a
scheduled event either through Altiris Deployment Solution, Altiris Software Delivery, or using Altiris
Patch Management Solution after the target system has been deployed. By patching the image to
the latest updates during the image creation process you can help save time and network
bandwidth by including the major patches in the base image.
3. Copy the I386 directory from the Windows 2003 Server CD to the root of the system partition (e.g.
C:\I386). Search the Windows Registry for the paths to the CDROM “I386” directory and replace
them with the new path to the “I386” folder on the system partition. For example “D:\I386” would be
changed to “C:\I386”. By doing this you can avoid prompts for the OS media looking to the CDROM
drive and redirect to the local drive as Windows Server software is being added after the
deployment such as DHCP, DNS, WINS, etc. These keys are found under:
HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\SourcePath
HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\ServicePackSourcePath
Note: There is a SRCPATH.REG file included in the .\DELL\SCRIPT directory contained in the
ONEDELLIMAGE.ZIP file. This registry file can be executed as part of the image deployment to
automatically change the source paths to the C:\I386 directory. I usually initiate this command as
part of the [GuiRunOnce] section of the SYSPREP.INF file and execute as soon as Windows logs in
for the first time. This is why I have my “AutoLogonCount” set to 1 in the SYSPREP.INF file to take
care of any commands I have listed in this section automatically. Your steps may vary.
4. Copy the drivers previously gathered to the root of the system partition (i.e. C:\Dell).
5. Specify the path of the drivers either by entering directly into the Windows Registry or specify in the
OEMPNPDRIVERSPATH field of the SYSPREP.INF file. Execute only one of the options below:
WHITE PAPER
Single PowerEdge Server Image Page 47
a. Browse to the HKLM\Software\Microsoft\Windows\CurrentVersion\DevicePath key in the
Windows Registry and add each directory and subdirectory of the Dell drivers hierarchy to
the DevicePath key. For example:
%SystemDrive%\Dell\audio;%SystemDrive%\Dell\cs\1;%SystemDrive%\Dell\cs\2;%Sys
temDrive%\Dell\cs\3;%SystemDrive%\Dell\cs\4;%SystemDrive%\Dell\cs\5;%SystemDr
ive%\Dell\cs\6;%SystemDrive%\Dell\cs\7;%SystemDrive%\Dell\cs\8;%SystemDrive%\
Dell\m\bc;%SystemDrive%\Dell\m\ch;%SystemDrive%\Dell\m\co;%SystemDrive%\Dell\
m\cy;%SystemDrive%\Dell\mgmt\;%SystemDrive%\Dell\n\bc\1;%SystemDrive%\Dell\n\
bc\2;%SystemDrive%\Dell\n\intel\1;%SystemDrive%\Dell\n\intel\2;%SystemDrive%\
Dell\non-raid\bp\1;%SystemDrive%\Dell\non-raid\bp\2;%SystemDrive%\Dell\non-
raid\gem;%SystemDrive%\Dell\storage;%SystemDrive%\Dell\storage\9g\fiber;%Syst
emDrive%\Dell\storage\9g\perc5;%SystemDrive%\Dell\storage\9g\sas-
nonraid;%SystemDrive%\Dell\storage\9g\scsi-
nonraid;\%SystemDrive%\Dell\v\ati;%SystemDrive%\Dell\v\int;%SystemDrive%\Dell
\v\rn5;%SystemDrive%\Dell\v\vol;%SystemDrive%\Dell\misc;%SystemRoot%\inf
Note: Leaving the default “%SystemRoot%\inf” at the end of the devicepath will allow
Windows to use native drivers if the setup process can’t find a vendor supplied driver in the
specified path. You may choose to leave this in or remove it. If you gather and build out the
drivers directories properly for the hardware components in your environment, you shouldn’t
have any native drivers installed.
Note: There is a DEVICEPATH.REG file contained in the ONEDELLIMAGE.ZIP file and when
executed will automatically enter the device path listed above into the respective Windows
Registry key to save you time and efforts.
b. Specify the path of the drivers in the OEMPNPDRIVERSPATH field located in the
SYSPREP.INF file. Choosing this option provides the flexibility to easily change the path
through the Altiris ImageExplorer utility if desired, but be warned of the character limitation
as previously discussed in the “Considerations for Sysprep” section.
Note: There is no wrong or right way to specify the path of the drivers, it’s a matter of
personal preference. I choose to specify the path in the Windows Registry as opposed to the
SYSPREP.INF file to reduce complexity and alleviate room for potential errors during the
Sysprep process.
6. Copy the Sysprep folder created earlier to the root of the system partition (e.g., C:\Sysprep).
7. Install and configure any applications that will be common to all computers that are likely to receive
the image. We recommend leaving the base image as clean as possible. This reduces the amount
of time required to maintain your images after they’ve been created. For example, software can be
repackaged using Deployment Solution’s RapidInstall or using Wise Package Studio. By pushing
software out after the initial deployment of the image, you have greater flexibility with the base
images and can provide better software version control.
Note: There are certain types of server applications that can not be installed and configured in a
base image due to the applications being tied to specific hardware or dependencies of the Windows
SID. Some examples include Dell’s OpenManage Server Administrator (OMSA), Microsoft
Exchange, Databases, etc. Fortunately most popular server applications can be remotely installed
using management software like Altiris Deployment Solution. Deployment Solution also contains
sample jobs for remotely deploying many popular applications. Refer to the Deployment Solution
Reference Guide for more information.
WHITE PAPER
Single PowerEdge Server Image Page 48
Make any final configurations or modifications to the operating system or installed applications. This
could include the look and feel of the system such as the default wallpaper, Windows Explorer
views, small icons in the start menu, etc.
8. If Altiris solutions will be used to manage the computers after deployment such as Deployment
Solution, Patch Management Solution, Monitoring Solution, etc. it may be a wise idea to include the
installation or pre-installation of the Altiris agents in the base image. Both the Deployment Solution
AClient and the Notification Server Client can be scripted to install as part of a post deployment
command. By scripting the install of the management agents, this provides the flexibility to edit
configurations such as the IP address of the Deployment Server located in the ACLIENT.INP file
(AClient answer file) contained in the image through the Altiris ImageExplorer utility if desired. Any
additional agents required for the available management solutions, etc. will then be pushed over the
network when the base management agents register itself with the Altiris Servers.
Note: For detailed information pertaining to the installation of the Altiris agents, refer to the previous
section, “Installing Altiris Agents” BEFORE Sysprepping the reference computer.
9. Reboot the computer after all installations are complete to apply changes and execute the next step
before the computer boots back into Windows. If the computer boots back into Windows before
completing the next step, just reboot and try again.
10. Enter the computer’s BIOS and enable PXE on NIC1. Set PXE before the hard drive in the boot
sequence. The recommended order is as follows: 1. Floppy Drive 2. CD-ROM 3. PXE 4. Hard
Drive.
Note: If the reference computer does not support PXE, the Altiris PXE Server is not installed, or
DHCP is not supported in the environment, a network boot disk can be created using the Boot Disk
Creator included with Altiris Deployment Solution. This will allow you to boot to the Altiris
Deployment Server’s eXpress share to launch RapiDeploy (Altiris’ imaging utility). Booting to a
network disk may be the preferred option to reduce human error caused when trying to boot a
computer already managed by Deployment Solution to PXE fast enough to capture the initial base
image.
To learn more about PXE and the Altiris PXE Server, refer to the “Introduction to PXE and the Altiris
PXE Server” white paper located here:
http://apl-ibase.altiris.com/resources/dell/wp/Intro_to_PXE_and_PXE_Server.pdf
Note: It is strongly recommended to capture the base image at this point before Sysprepping. This
will allow you to update the base with changes such as applying major service packs, hotfixes, etc.
after the hardware independent image creation process has completed. Also, there is always the
chance for human error during the Sysprep and imaging process which could affect the entire
procedure. Listed below are some reasons why to capture the image BEFORE Sysprepping:
• Booting to Windows BEFORE the Sysprepped image has been captured. If this occurs before
the image has been captured, the base image will need to be Sysprepped again.
• Receiving an error message during the Sysprep process because of an improperly configured
[SysprepMassStorage] section.
• Preserving the state of your non-Sysprepped base image if you want to update it at a later time
such as adding major service packs, hotfixes, etc. Remotely pushing these updates after the
image deployment takes place can be time consuming and network bandwidth intensive.
11. Clear all events from the Application, Security, and System Event Viewers.
12. Clear all cookies, IE Cache, Recent Docs, etc. from the system.
WHITE PAPER
Single PowerEdge Server Image Page 49
13. Defragment the hard drive.
14. Read the “Dell Single Image Checklist.txt” file contained in the ONEDELLIMAGE.ZIP file for any last
minute considerations before Sysprepping the reference computer.
15. Run Sysprep by typing C:\Sysprep\Sysprep.exe from the Start/Run/Open command line field.
16. Click “OK” when prompted with the dialog.
17. When the Sysprep utility dialog appears, click the “Reseal” button. Leave the default action set to
“Shut down” when Sysprep completes.
Note: Do not run Sysprep by double clicking on the executable from within Windows Explorer. The
Sysprep folder will be deleted during the Sysprep mini-setup process and if the Windows Explorer
window was accidentally left open during the Sysprepping process, you will receive an error
message upon logging in to Windows for the first time after deployment.
WHITE PAPER
Single PowerEdge Server Image Page 50
When the computer shuts down, your system is now Sysprepped and ready to be captured using
Altiris Deployment Solution.
Troubleshooting Sysprep
As mentioned earlier, if the [SysprepMassStorage] section of the SYSPREP.INF file is not created
successfully, you will receive error messages like the ones shown below:
WHITE PAPER
Single PowerEdge Server Image Page 51
There are a couple of options to use when capturing the base image. It’s possible to have the Deployment
Server automatically capture the image through a scheduled job. This option works best if the following
conditions exist:
• AClient was installed in the base image and registered itself with a Deployment Server in the
console. A “Capture Image” job can then be dragged and dropped onto the managed computer in
the console and when the computer is turned on again (after being shut down after Sysprepping),
the Capture Image job will automatically execute before booting into Windows.
• Computer is PXE enabled or has a BootWorks automation partition installed.
If these conditions do not exist, you will have to use Option 2 which will yield:
• Creating a network boot disk from the Boot Disk Creator bundled with the Altiris Deployment
Solution.
WHITE PAPER
Single PowerEdge Server Image Page 52
7. Click Next.
8. Follow the next steps for the following screen:
a. (Optional) For the “Media Spanning” section, choose Other (specify) and type 690 in the
MB field.
b. Select the option Do Not Boot to Windows. This will prevent the computer from booting
into Windows before the image is captured.
c. Choose the appropriate compression method at this time. Altiris recommends the Balanced
for Size and Speed option.
DELL SERVER ASSISTANT USERS, READ THE FOLLOWING STEP VERY CAREFULLY BEFORE
CONTINUING!
Note: If you deployed your reference computer from the Dell Server Assistant CD, you will have 2
partitions on the system, a 32MB Dell Utility Partition (OEM) and the system partition.
MAKE SURE YOU SPECIFY THE “–P2” COMMAND LINE SWITCH IN THE FIELD PROVIDED. The
“-P2” tells Altiris RapiDeploy to only process the 2nd partition of the reference computer. If you don’t
follow this step then you will include the 32MB Dell Utility Partition in your captured image file. This
utility partition is unique to the hardware model it’s installed on and if captured in the image file and
deployed to a different hardware model, the diagnostic utilities contained in this partition will be non-
functional on the target computer. When the 2nd partition of the reference computer is captured and
deployed to a bare metal server, the 2nd partition acts as the 1st partition and functions normally. If you
have a need to install the 32MB Dell Utility Partition on all of your bare metal servers before laying
down the hardware independent image, there is a predefined job available with the Deployment
WHITE PAPER
Single PowerEdge Server Image Page 53
Solution for Dell Servers add-on to do this. Refer to the following link for more information about this
product: http://www.altiris.com/Products/DellDeploymentSolution.aspx
If the utility partition already exists on the bare metal server, there are RapiDeploy switches to specify
NOT to delete this OEM partition when laying down the hardware independent image. Refer to the
Deployment Solution Reference Guide for all the command line switches available with this utility.
Note: The “-makeimx” switch will create an index file to help prevent the shuffling of CD’s if
you will be deploying your self-extracting image from CD’s. For example, without the
creation of this index file you may be required to insert the first CD of the image set, followed
by the last CD of the image set, followed by the first CD again to kick off the image
deployment process. From there the other CD’s from the set would be inserted as prompted
as the image deployment progressed. When burning your spanned image files to CD, only
the first CD of the set needs to be bootable. The first CD of the set also needs to contain the
index file (.IMX).
Note: It’s not necessary to create an index file if you will be deploying from a DVD and if
your image will fit on the entire DVD since there will be no shuffling of DVD’s. It’s also not
necessary to span the image file over 690MB increments if deploying from DVD, but you
may want to anyway for flexibility if you ever wanted to burn the image files to CD. Refer to
the next section titled, “Deploying the Hardware Independent Image” for more information.
Note: If you create an index file and then edit and make changes to the image using Altiris
ImageExplorer and then burn to CD, you will have to perform CD shuffling during the image
deployment process. This is because the index file is not aware of the changes made to the
image file after its creation. There is an option in ImageExplorer to recreate the index file,
but is non-functional at this time. Altiris Development is aware of the issue and is working to
resolve in a future hotfix, service pack, or build.
WHITE PAPER
Single PowerEdge Server Image Page 54
9. Click OK.
Note: If you receive the following dialog as displayed in the figure below, just click Yes to continue.
WHITE PAPER
Single PowerEdge Server Image Page 55
11. After the job has been created, drag and drop it to the managed reference computer in the
Deployment Solution console and run the job immediately by clicking OK as shown in the figure
below.
12. Power on the computer. If PXE has been enabled and set before the hard drive, the computer
should automatically boot to PXE and start to capture the disk image in the default pre-boot
environment configured in Deployment Solution (i.e. DOS, WinPE, or Linux).
WHITE PAPER
Single PowerEdge Server Image Page 56
WHITE PAPER
Single PowerEdge Server Image Page 57
5. Click Next.
6. Accept the default of Microsoft Windows.
7. Select the reference computer’s network card from the list. Click Next.
Note: If the network card is not listed, you will need to add it by clicking the “Have Disk” button and
browsing to the NDIS driver. Refer to the Deployment Solution Reference Guide for more
information.
WHITE PAPER
Single PowerEdge Server Image Page 58
8. Accept default of DHCP. Click Next.
Note: If you do not have DHCP configured in the environment, it is possible to define a static IP
address for the network boot disk as long as that IP address is not being used on the network.
9. Accept the default of the TCP/IP address of the Deployment Server. Click Next.
WHITE PAPER
Single PowerEdge Server Image Page 59
10. Accept the default network connection credentials. Click Next.
11. Accept the default network drive mappings. Check the box to create an entry in the LMHOSTS file
and verify that the IP address of the Deployment Server is correct before continuing! Click Next.
WHITE PAPER
Single PowerEdge Server Image Page 60
12. Click Finish.
13. Select Create a network boot disk and click Next to continue.
WHITE PAPER
Single PowerEdge Server Image Page 61
14. Choose either Bootable ISO CD Image or Bootable disk from the dialog below and follow the rest
of the prompts.
15. When the CD or floppy disk is created, boot the computer to this media. After connected to the
eXpress share, follow the remaining steps.
Note: You may want to run the AMOUSE.COM command from the root of the eXpress share for
PS/2 mouse support in the RapiDeploy GUI interface before launching RDEPLOY.EXE.
16. (Optional) I like to delete the pagefile.sys file from the baseline OS before capturing the image. This
will help deflate the size of the image. The pagefile.sys file will be re-created and re-sized
appropriately based on the amount of RAM in the target computer. From the DOS prompt execute
the following command as shown below.
firm delete c:\pagefile.sys
17. Launch the Altiris RapiDeploy utility by executing the following command:
rdeploy.exe
WHITE PAPER
Single PowerEdge Server Image Page 62
18. Choose Create an image file as shown below and click Next.
WHITE PAPER
Single PowerEdge Server Image Page 63
Note: It’s not necessary to create an index file if you will be deploying from a DVD and if
your image will fit on the entire DVD since there will be no shuffling of DVD’s. It’s also not
necessary to span the image file over 690MB increments if deploying from DVD, but you
may want to anyway for flexibility if you ever wanted to burn the image files to CD. Refer to
the next section titled, “Deploying the Hardware Independent Image” for more information.
Note: If you create an index file and then edit and make changes to the image using Altiris
ImageExplorer and then burn to CD, you will have to perform CD shuffling during the image
deployment process. This is because the index file is not aware of the changes made to the
image file after its creation. There is an option in ImageExplorer to recreate the index file,
but is non-functional at this time. Altiris Development is aware of the issue and is working to
resolve in a future hotfix, service pack, or build.
WHITE PAPER
Single PowerEdge Server Image Page 64
DELL SERVER ASSISTANT USERS, READ THE FOLLOWING STEP VERY CAREFULLY BEFORE
CONTINUING!
Note: If you deployed your reference computer from the Dell Server Assistant CD, you will have 2
partitions listed on the next screen of the RapiDeploy utility. MAKE SURE YOU ONLY SELECT THE
2ND PARTITION BY PRESSING THE SPACEBAR AND DESELECTING THE 1ST PARTITION (OEM).
If you don’t follow this step then you will include the 32MB Dell Utility Partition in your captured image
file. This utility partition is unique to the hardware model it’s installed on and if captured in the image file
and deployed to a different hardware model, the diagnostic utilities contained in this partition will be
non-functional on the target computer. When the 2nd partition of the reference computer is captured and
deployed to a bare metal server, the 2nd partition acts as the 1st partition and functions normally. If you
have a need to install the 32MB Dell Utility Partition on all of your bare metal servers before laying
down the hardware independent image, there is a predefined job available with the Deployment
Solution for Dell Servers add-on to do this. Refer to the following link for more information about this
product: http://www.altiris.com/Products/DellDeploymentSolution.aspx
If the utility partition already exists on the bare metal server, there are RapiDeploy switches to specify
NOT to delete this OEM partition when laying down the hardware independent image. Refer to the
Deployment Solution Reference Guide for all the command line switches available with this utility.
21. When the “Select partitions” screen appears, either accept the defaults or change as needed as
advised by the “Note” above this step. Click Finish to start the imaging process.
WHITE PAPER
Single PowerEdge Server Image Page 65
Note: If you will be scripting the Deployment Solution AClient as part of the Sysprep mini-setup
process, it’s important to leave the Automatically perform configuration task after completing this
imaging task box checked. This will copy an ACLIENT.CFG file to the root of the system drive
immediately after laying down the image. This .CFG file contains user information from the eXpress
database pertaining to the configuration of the computer after the image deployment. Examples of
configurations include the Computer name, IP address, Subnet Mask, Default Gateway, DNS, etc.
When AClient is scripted to install and registers itself as a service in the Windows OS, it will read this
.CFG file and configure the computer as a post-OS task. Until this post-OS task occurs, the computer is
configured based on the information specified in the SYSPREP.INF file such as a randomly generated
Computer name, NIC’s set to DHCP, etc. A connection from the computer to the Deployment Server is
not required in order to perform this post-OS configuration task as long as the .CFG file is copied to the
root of the system drive and AClient successfully installs itself and registers as a service. When the
computer eventually connects back to the Deployment Server after its reboot to apply the configuration
settings, the history of the computer and the job will display a green checkbox as shown below.
If you will NOT be pre-installing the AClient in the hardware independent image, you can uncheck the
Automatically perform configuration task after completing this imaging task box. This will yield a
green checkbox in the Deployment Solution Console after the imaging process indicating that the
image was successfully deployed. If this box is checked and the AClient is not installed in order to
perform the post-OS task, the computer and job history will always show an icon representing an hour
glass meaning the task has yet to finish as shown below.
WHITE PAPER
Single PowerEdge Server Image Page 66
WHITE PAPER
Single PowerEdge Server Image Page 67
will offer flexibility when mass deploying the hardware independent image in your environment and allow
you to predefine this data in the Deployment Solution Console, also known as pre-provisioning the
computer. The data is then stored in the eXpress database. Data from a different database can also be
leveraged with the use of custom tokens. There are approx. 45 built-in Deployment Solution tokens such as
%COMPNAME%=NetBIOS name of computer, %SERIALNUM%=Serial number of the computer (Dell
Service Tag), %ASSETTAG%=Asset tag burned into the BIOS, etc. The idea behind tokenization is to
deploy the computer with its destined configuration during the OS setup, rather than configuring as a post-
OS task.
As you will see in the steps to follow, by using a SYSPREP.INF file acting as a template external to the
hardware independent image for purposes of the tokenization process, you provide greater flexibility. For
example, rather than including the system tokens in the actual SYSPREP.INF file contained in the image
and being forced to use Deployment Solution to perform tokenization each time the image is deployed, you
provide the flexibility to deploy the image however you want. 1) Through Deployment Solution as a regular
“Distribute Disk Image” job with no tokenization applied 2) Independent of Deployment Solution via a CD,
DVD, network drive, thumbdrive, etc. 3) Through Deployment Solution as a job with tokenization applied.
If you included system tokens in the SYSPREP.INF file of the image file and tried to deploy independent of
Deployment Solution or as a regular “Distribute Disk Image” job with no tokenization applied, the image
would require user intervention. This is due to the Sysprep mini-setup process not recognizing and
accepting the system tokens such as %SERIALNUM%. The user intervention involved requires the
replacing of the system tokens with valid data the Sysprep mini-setup process understands. For more
information regarding system and custom tokens, refer to the Deployment Solution Reference Guide.
This section will provide steps for tokenizing the SYSPREP.INF file, however the methodologies discussed
here could apply to any type of configuration file.
1. Create a folder from the root of the eXpress share and name it DELLIMG.
2. If you’ve created your own SYSPREP.INF file from the previous sections, copy this file to the
.\DELLIMG folder.
a. If you are using the sample SYSPREP.INF file from the ONEDELLIMAGE.ZIP supporting file,
then copy the .\SYSPREP\SYSPREP_TOKENS.INF file to the .\DELLIMG folder and rename
to SYSPREP.INF. A sample of a tokenized SYSPREP.INF file has also been provided in the
“Tokenized SYSPREP.INF File” section towards the end of this paper. The contents of this
section can easily be copied and pasted to a blank text file named SYSPREP.INF to be saved
in the .\DELLIMG folder if desired.
Note: The SYSPREP_TOKENS.INF file contains several examples of Deployment Solution tokens
located in the [UserData] section. To simplify the concept of tokenization until best understood, let’s just
use the %SERIALNUM% token for now. You can always add more tokens later when you feel
comfortable. Open the tokenized SYSPREP.INF file copied to the .\DELLIMG folder and replace all the
tokens except for the %SERIALNUM% token with your own user data (i.e. Product Key, FullName, and
OrgName).
If you’re using your own SYSPREP.INF file created from the previous sections, then replace the
“ComputerName” field with the %SERIALNUM% token.
Note: This is the template file that will be used by all computers receiving the hardware independent
Sysprepped image as long as the job containing the tasks to perform the tokenization of the
SYSPREP.INF file created below is deployed. If a regular “Distribute Disk Image” task is deployed, the
WHITE PAPER
Single PowerEdge Server Image Page 68
image will still deploy successfully because the SYSPREP.INF file in the image does not contain the
system tokens.
3. Create a new Deployment Server job named Deploy Dell Single Image (w/ Tokens).
4. Click the Add button and choose Run Script.
5. In the open field provided, enter the following line:
REM ReplaceTokens .\DELLIMG\sysprep.inf .\temp\%ID%.inf
Note: This command will take a copy of the SYSPREP.INF file used as a template and copy it to the
.\TEMP directory located in the root of the eXpress share. It will then rename the file after the computer
ID of the managed computer in the Deployment Solution Console while replacing the embedded system
tokens with data from the eXpress database. Don’t be alarmed by the REM in front of this command line.
While DOS and Windows will treat this as a Remark statement, Deployment Solution however, will
process the embedded script looking for the “REM ReplaceTokens” string and if found, will replace the
tokens with the respective data from the eXpress database.
6. Select DOS as the script operating system.
7. Click Next.
8. Make sure the Automation – PXE or BootWorks environment is set to use the DOS PXE Image
file.
9. Click Finish.
10. For the second task of the job, add a Distribute Disk Image task to the job.
11. Browse to the hardware independent image captured previously located in the .\IMAGES directory.
12. Uncheck the Automatically perform configuration task after completing this imaging task box.
Note: This allows the Deployment Solution job to continue executing tasks immediately after the image
deployment and copy the tokenized SYSPREP.INF file to the .\SYSPREP directory of the target system,
rather than booting into Windows first and trying to perform a post-OS configuration task through AClient.
If this produces an undesired result, then you may want to stick with performing the post-OS configuration
through AClient rather than trying to configure the system independent of AClient.
13. Click Finish.
14. For the third task, add another Run Script task to the job.
15. In the open field provided, add the following lines:
REM Copy tokenized sysprep.inf to local machine
firm copy .\temp\%ID%.inf PROD:\sysprep\sysprep.inf
Note: The last line of this task instructs the Altiris File Independent Resource Manager (FIRM) to copy the
tokenized SYSPREP.INF file from the .\TEMP directory of the Deployment Server to the .\SYSPREP
directory of the target system while overwriting the existing SYSPREP.INF file contained in the image. For
more information regarding the Altiris File Independent Resource Manager (FIRM) utility, refer to the
Deployment Solution Reference Guide.
WHITE PAPER
Single PowerEdge Server Image Page 69
18. Make sure the Automation – PXE or BootWorks environment is set to use the DOS PXE Image
file.
19. Click Finish.
Note: The job is now ready to be dragged and dropped to a managed computer in the console. When
the job executes, if all goes well, the Windows NetBIOS computer name should be configured as the
Dell Service Tag of the target system.
This job can also be added to the Initial Deployment menu so that any new servers that connect to the
Deployment Server via the Altiris PXE Server are presented with a menu of DS jobs to choose from
(i.e. Deploy Dell Single Image (w/ Tokens), etc.). It’s handy to use a system token that does not require
an Admin to manually enter such as the %SERIALNUM% token. This information is automatically
picked up by the Deployment Server in a pre-OS environment as soon as the PXE bootstrap is
received, the PXE image file is loaded, BOOTWORKS.EXE is executed, and the data is sent back to
the Deployment Solution’s eXpress database to be used later with the replacing of the system tokens.
Refer to the Deployment Solution Reference Guide for more information on how to configure Initial
Deployment or the architecture of Deployment Solution.
WHITE PAPER
Single PowerEdge Server Image Page 70
Conclusion
Microsoft Sysprep in conjunction with Altiris Deployment Solution offers several options for achieving
hardware independence in the imaging process. Each of these options offers a unique set of strengths and
weaknesses. This paper has presented recommended methods for creating a hardware independent
image for most of the currently shipping Dell PowerEdge server models and later.
Resources
Best Practices for Installation of Microsoft® Windows® on Dell Servers with Broadcom NetXtreme
Devices
http://support.dell.com/support/edocs/systems/pe2900/en/engbrief/best.pdf
WHITE PAPER
Single PowerEdge Server Image Page 71
Samples
[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=No
OEMSkipRegional=1
OEMDuplicatorstring="Sysprep"
TimeZone=20
OemSkipWelcome=1
AutoLogon=Yes
AutoLogonCount=1
[GuiRunOnce]
Command0="c:\windows\system32\deltree /Y c:\sysprep"
Command1="regedit.exe /s c:\dell\script\srcpath.reg"
[Display]
BitsPerPel = 16
XResolution = 1024
YResolution = 768
VRefresh = 60
[UserData]
ProductKey="xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"
FullName="User"
OrgName="Company XYZ"
ComputerName=*
[LicenseFilePrintData]
AutoMode=perseat
;AutoMode=PerServer
;AutoUsers=1000
[TapiLocation]
AreaCode=512
[Identification]
JoinWorkgroup=WORKGROUP
[Networking]
InstallDefaultComponents=Yes
[SysprepMassStorage]
;Adaptec Embedded Serial ATA HostRAID Controllers
WHITE PAPER
Single PowerEdge Server Image Page 72
PCI\VEN_8086&DEV_24DF="%systemdrive%\dell\storage\aarich.inf","\","Adaptec Embedded
Serial ATA HostRAID Controller","Adaptec Embedded Serial ATA HostRAID Driver Ver 6.00
For Windows 2000/XP/2003"
PCI\VEN_8086&DEV_25B0="%systemdrive%\dell\storage\aarich.inf","\","Adaptec Embedded
Serial ATA HostRAID Controller","Adaptec Embedded Serial ATA HostRAID Driver Ver 6.00
For Windows 2000/XP/2003"
PCI\VEN_8086&DEV_2652&SUBSYS_01801028="%systemdrive%\dell\storage\aarich.inf","\","Ada
ptec Embedded Serial ATA HostRAID Controller","Adaptec Embedded Serial ATA HostRAID
Driver Ver 6.00 For Windows 2000/XP/2003"
PCI\VEN_8086&DEV_2652&SUBSYS_01851028="%systemdrive%\dell\storage\aarich.inf","\","Ada
ptec Embedded Serial ATA HostRAID Controller","Adaptec Embedded Serial ATA HostRAID
Driver Ver 6.00 For Windows 2000/XP/2003"
WHITE PAPER
Single PowerEdge Server Image Page 73
PCI\VEN_9005&DEV_8010&SUBSYS_00409005="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
PCI\VEN_9005&DEV_8011&SUBSYS_00419005="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
PCI\VEN_9005&DEV_8012&SUBSYS_00429005="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
PCI\VEN_9005&DEV_8014&SUBSYS_00449005="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
PCI\VEN_9005&DEV_8015&SUBSYS_00409005="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
PCI\VEN_9005&DEV_8016&SUBSYS_00409005="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
PCI\VEN_9005&DEV_8017&SUBSYS_00449005="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
;DELL 438
PCI\VEN_8086&DEV_1960&SUBSYS_11121111="%systemdrive%\dell\storage\oemsetup.inf","\","D
ell PERC 2/SC storage Controller","SOURCE_DISK"
;DELL 466
PCI\VEN_8086&DEV_1960&SUBSYS_11111028="%systemdrive%\dell\storage\oemsetup.inf","\","D
ell PERC 2/SC storage Controller","SOURCE_DISK"
PCI\VEN_8086&DEV_1960&SUBSYS_09A0101E="%systemdrive%\dell\storage\oemsetup.inf","\","D
ell PERC 2/SC storage Controller","SOURCE_DISK"
PCI\VEN_8086&DEV_1960&SUBSYS_11111111="%systemdrive%\dell\storage\oemsetup.inf","\","D
ell PERC 2/SC storage Controller","SOURCE_DISK"
;DELL 467
WHITE PAPER
Single PowerEdge Server Image Page 74
PCI\VEN_8086&DEV_1960&SUBSYS_04671028="%systemdrive%\dell\storage\oemsetup.inf","\","D
ell PERC 2/DC storage Controller","SOURCE_DISK"
WHITE PAPER
Single PowerEdge Server Image Page 75
;PCI-EXPRESS
;PERC 4e/Si (DELL)
PCI\VEN_1028&DEV_0013&SUBSYS_016C1028="%systemdrive%\dell\storage\oemsetup.inf","\","D
ELL PERC 4e/Si RAID Controller","SOURCE_DISK"
WHITE PAPER
Single PowerEdge Server Image Page 76
PCI\VEN_1000&DEV_0054&SUBSYS_1F041028="%systemdrive%\dell\storage\9g\sas-
nonraid\lsi_sas.inf","\","Dell SAS 5x Controller Driver (Windows Server 2003 32-
bit)","lsi_sas.tag"
PCI\VEN_1000&DEV_0054&SUBSYS_1F061028="%systemdrive%\dell\storage\9g\sas-
nonraid\lsi_sas.inf","\","Dell SAS 5x Controller Driver (Windows Server 2003 32-
bit)","lsi_sas.tag"
PCI\VEN_1000&DEV_0054&SUBSYS_1F071028="%systemdrive%\dell\storage\9g\sas-
nonraid\lsi_sas.inf","\","Dell SAS 5x Controller Driver (Windows Server 2003 32-
bit)","lsi_sas.tag"
PCI\VEN_1000&DEV_0054&SUBSYS_1F081028="%systemdrive%\dell\storage\9g\sas-
nonraid\lsi_sas.inf","\","Dell SAS 5x Controller Driver (Windows Server 2003 32-
bit)","lsi_sas.tag"
PCI\VEN_1000&DEV_0054&SUBSYS_1F091028="%systemdrive%\dell\storage\9g\sas-
nonraid\lsi_sas.inf","\","Dell SAS 5x Controller Driver (Windows Server 2003 32-
bit)","lsi_sas.tag"
[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=No
OEMSkipRegional=1
OEMDuplicatorstring="Sysprep"
TimeZone=20
OemSkipWelcome=1
AutoLogon=Yes
AutoLogonCount=1
[GuiRunOnce]
Command0="c:\windows\system32\deltree /Y c:\sysprep"
Command1="regedit.exe /s c:\dell\script\srcpath.reg"
[Display]
BitsPerPel = 16
XResolution = 1024
YResolution = 768
VRefresh = 60
[UserData]
ProductKey=%PROD_LIC%
FullName=%CONTACT%
OrgName="Company XYZ"
ComputerName=%SERIALNUM%
[LicenseFilePrintData]
AutoMode=perseat
;AutoMode=PerServer
WHITE PAPER
Single PowerEdge Server Image Page 77
;AutoUsers=1000
[TapiLocation]
AreaCode=512
[Identification]
JoinWorkgroup=WORKGROUP
[Networking]
InstallDefaultComponents=Yes
[SysprepMassStorage]
;Adaptec Embedded Serial ATA HostRAID Controllers
PCI\VEN_8086&DEV_24DF="%systemdrive%\dell\storage\aarich.inf","\","Adaptec Embedded
Serial ATA HostRAID Controller","Adaptec Embedded Serial ATA HostRAID Driver Ver 6.00
For Windows 2000/XP/2003"
PCI\VEN_8086&DEV_25B0="%systemdrive%\dell\storage\aarich.inf","\","Adaptec Embedded
Serial ATA HostRAID Controller","Adaptec Embedded Serial ATA HostRAID Driver Ver 6.00
For Windows 2000/XP/2003"
PCI\VEN_8086&DEV_2652&SUBSYS_01801028="%systemdrive%\dell\storage\aarich.inf","\","Ada
ptec Embedded Serial ATA HostRAID Controller","Adaptec Embedded Serial ATA HostRAID
Driver Ver 6.00 For Windows 2000/XP/2003"
PCI\VEN_8086&DEV_2652&SUBSYS_01851028="%systemdrive%\dell\storage\aarich.inf","\","Ada
ptec Embedded Serial ATA HostRAID Controller","Adaptec Embedded Serial ATA HostRAID
Driver Ver 6.00 For Windows 2000/XP/2003"
WHITE PAPER
Single PowerEdge Server Image Page 78
PCI\VEN_9005&DEV_801F="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
PCI\VEN_9005&DEV_800F="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
PCI\VEN_9005&DEV_800F&SUBSYS_005F9005="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
PCI\VEN_9005&DEV_8000&SUBSYS_00609005="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
PCI\VEN_9005&DEV_8010&SUBSYS_00409005="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
PCI\VEN_9005&DEV_8011&SUBSYS_00419005="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
PCI\VEN_9005&DEV_8012&SUBSYS_00429005="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
PCI\VEN_9005&DEV_8014&SUBSYS_00449005="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
PCI\VEN_9005&DEV_8015&SUBSYS_00409005="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
PCI\VEN_9005&DEV_8016&SUBSYS_00409005="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
PCI\VEN_9005&DEV_8017&SUBSYS_00449005="%systemdrive%\dell\storage\9g\scsi-
nonraid\ADPU320.INF","\","Adaptec Ultra320 Family Manager Set - Microsoft
Disk","u320dsk1"
;DELL 438
WHITE PAPER
Single PowerEdge Server Image Page 79
PCI\VEN_8086&DEV_1960&SUBSYS_11121111="%systemdrive%\dell\storage\oemsetup.inf","\","D
ell PERC 2/SC storage Controller","SOURCE_DISK"
;DELL 466
PCI\VEN_8086&DEV_1960&SUBSYS_11111028="%systemdrive%\dell\storage\oemsetup.inf","\","D
ell PERC 2/SC storage Controller","SOURCE_DISK"
PCI\VEN_8086&DEV_1960&SUBSYS_09A0101E="%systemdrive%\dell\storage\oemsetup.inf","\","D
ell PERC 2/SC storage Controller","SOURCE_DISK"
PCI\VEN_8086&DEV_1960&SUBSYS_11111111="%systemdrive%\dell\storage\oemsetup.inf","\","D
ell PERC 2/SC storage Controller","SOURCE_DISK"
;DELL 467
PCI\VEN_8086&DEV_1960&SUBSYS_04671028="%systemdrive%\dell\storage\oemsetup.inf","\","D
ell PERC 2/DC storage Controller","SOURCE_DISK"
WHITE PAPER
Single PowerEdge Server Image Page 80
;PCI-EXPRESS
;PERC 4e/Si (DELL)
PCI\VEN_1028&DEV_0013&SUBSYS_016C1028="%systemdrive%\dell\storage\oemsetup.inf","\","D
ELL PERC 4e/Si RAID Controller","SOURCE_DISK"
WHITE PAPER
Single PowerEdge Server Image Page 81
PCI\VEN_1028&DEV_0015&SUBSYS_1F011028="%systemdrive%\dell\storage\9g\perc5\oemsetup.in
f","\","DELL PERC 5/E Adapter RAID Controller","DISK1"
WHITE PAPER
Single PowerEdge Server Image Page 82
Glossary
AClient The management agent used by Altiris Deployment Solution to manage the computer
in a post-OS environment.
ACLIENT.CFG The configuration file that is deployed from the Altiris Deployment Solution to the target
computer, usually immediately after an imaging task, which contains information from
the Altiris database to configure the computer with such as the ComputerName, IP
address, Subnet Mask, etc.
ACLIENT.INP An answer file used by Altiris AClient to perform a scripted installation of the
management agent for Deployment Solution.
ACPI Advanced Configuration and Power Interface. Power management specification
developed by Intel, Microsoft, and Toshiba. Enables the operating system to control the
amount of power given to each device attached to the computer. With ACPI, the
operating system can turn off peripheral devices when they are not in use.
Altiris Deployment Server The actual server that enables the functionality of the comprehensive Altiris
Deployment Solution. The Altiris Deployment Server is controlled by either a 32-bit or
web console. See Altiris Deployment Solution.
Altiris Deployment Solution The comprehensive deployment solution from Altiris providing the ability to perform
scripted or image OS based installs, PC Migrations, pre or post-OS script executions,
software repackaging, software deployment, etc.
Altiris PXE Server A component of Altiris Deployment Solution which listens to client DHCP requests in a
Pre-Execution Environment (PXE) and sends a bootstrap which instructs the client to
load an image file. This image file contains the drivers needed to load the network
stack in order to connect the Deployment Server to service pre-OS tasks such as
imaging, script execution, etc.
BIOS Basic Input/Output System. Built-in software that determines what a computer can do
without accessing programs from a disk.
BMC Baseboard Management Controller. A hardware management device used to send
hardware alerts about the health of the server to a remote console for monitoring and
th
remote diagnostics. The BMC is included on all 8 generation and higher Dell
PowerEdge Servers.
BootWorks Bootworks is the Altiris Deployment Solution pre-OS client typically accessed via PXE
or from the local hard drive in a hidden partition. This agent communicates with the
Deployment Server before the OS loads, so that it can carry out tasks such as imaging,
executing pre-OS scripts, etc.
BSOD Blue Screen of Death.
CLI Command Line Interface.
CMDLINES.TXT An answer file used by the Microsoft Sysprep utility to execute commands during the
mini-setup process of Sysprep.
DHCP Dynamic Host Configuration Protocol. A protocol for assigning dynamic IP addresses to
devices on a network.
DRAC Dell Remote Access Controller. An optional add-on card for Dell PowerEdge Servers
that enable out of band management.
DSA Dell Server Assistant. A CD that assists the end user with a 1:1 scripted installation of
an operating system. This CD is included with every brand new Dell PowerEdge Server
or can be downloaded for free from Dell’s Support Website.
DUP Dell Update Package. A self-contained Windows or Linux software packaged designed
to update the firmware of hardware components such as the BIOS, DRAC, BMC, etc.
FIRM File System Independent Resource Management. An Altiris developed utility designed
to perform basic file commands in a pre-OS environment such as copy, delete, dir, etc.
For example, copy the ACLIENT.CFG file from the Altiris Deployment Server after an
imaging task to a Windows 2003 Server running the NTFS file system in a pre-OS
environment.
WHITE PAPER
Single PowerEdge Server Image Page 83
GUI Graphical User Interface.
GUID Globally Unique Identifier. In the context of Altiris, a unique number that is produced by
the Altiris Notification Server and stored as a database entry used to track the
management of an asset.
HAL Hardware Abstraction Layer. Programming in an operating system that functions as an
interface between a system’s hardware and software, providing a consistent hardware
platform on which to run applications.
Hardware Independent Image A single image configured with the Microsoft Sysprep utility and drivers designed to be
deployed to various hardware models for purposes of reducing time and efforts from
maintaining multiples images per hardware model.
IDE Integrated Drive Electronics. An IDE interface is an interface for mass storage devices
in which the controller is integrated into the disk or CD-ROM drive.
ISA Industry Standard Architecture. Typically referred to as legacy devices that are not
Windows plug-and-play friendly.
Linux Pre-boot 32-bit pre-boot environment offered by Altiris Deployment Solution 6.5 and later.
Provides an alternative to the DOS and WinPE pre-boot environments (also supported
by Deployment Solution).
LMHOSTS A plain text file used by Windows or Linux that tells a computer where another
computer is on the network. This is mainly used in environments where DNS or WINS
is not used for computer name resolution.
Microsoft Sysprep A utility provided by Microsoft, found on Windows Media CD’s, that prepares a
computer for mass distribution by changing the SIDs, stripping out hardware device
entries in the registry, etc.
OEM Original Equipment Manufacturer.
OEMSETUP.INF File typically included with mass storage controller and NIC drivers which identifies and
dictates how a driver is installed for a particular OEM hardware device.
OMSA OpenManage Server Administrator. Proprietary server agent software produced by Dell
which allows the 1:many management of Dell Servers using management solutions
such as Dell IT Assistant, Altiris, etc.
PERC PowerEdge Expandable RAID Controllers.
PnP Plug and Play. Technology developed by Intel and Microsoft that allows the automatic
plug-and-play installation of devices. Microsoft has made PnP technology a part of its
operating systems since Windows 95.
PXE Pre-Boot Execution Environment. Allows a computer to boot from a server in a pre-OS
environment to execute tasks such as imaging and script execution.
RAID Redundant Array of Independent (or Inexpensive) Disks. A category of disk drives that
employ two or more drives in combination for fault tolerance and performance.
RDEPLOY.EXE Altiris RapiDeploy. Altiris’ imaging utility included with Altiris Deployment Solution.
Reference Computer In this paper’s context, the computer used to build the hardware independent image
from containing no superfluous hardware such as RAID controllers, out of band
management devices, etc.
SAS Serial Attached SCSI. Provides a performance gain over traditional SCSI enabling
3GB/second transfer rates.
SCSI Small Computer System Interface. An interface that allows peripherals to be connected
to computers. Transfer rates have typically been clocked up to 160MB/second.
SID Security Identifier. A security feature of Windows NT-based systems that provides a
unique alphanumeric string used to identify an object such as a user, group of users in
a network, systems, etc.
SIDGEN Security Identifier Generator. An Altiris developed utility bundled in Altiris Deployment
Solution used to change the SID of an NT-based system. This utility is best used when
an image has been mass deployed from the Altiris Deployment Server to a target
computer.
SYSPREP.INF An answer file used by the Microsoft Sysprep utility to assist with the remote
WHITE PAPER
Single PowerEdge Server Image Page 84
deployment of an image based operating system. Information provided in this file
consist of the Windows Product ID, ComputerName, defined mass storage controllers
and drivers, etc.
Target Computer In this paper’s context, the computer receiving the hardware independent image.
UNATTEND.TXT An answer file used by Microsoft Windows to assist with the remote scripted installation
of a Windows operating system. Information provided in this file is very similar in nature
to the SYSPREP.INF, but in a slightly different format.
WinPE Windows Preinstalltion Environment. 32-bit or 64-bit pre-boot environment offered by
Altiris Deployment Solution 6.5 and later. Provides an alternative to the DOS and Linux
pre-boot environments (also supported by Deployment Solution).
WHITE PAPER