Documente Academic
Documente Profesional
Documente Cultură
Last Modified:05/22/2003
Situation:
You want to use Microsoft's System Preparation tool (Sysprep) on a Windows 2000 computer
to change the computer's configuration.
Solution:
Sysprep prepares a computer for cloning (imaging) and customization. When you restart a
computer after using Sysprep, Windows 2000 detects the attached devices such as the hard
disk and CD-ROM. That is, Sysprep indicates to Windows that Windows must rebuild its Plug-
and-Play driver database the next time Windows is started.
NOTES:
• Windows NT: Because Windows NT does not support Plug-and-Play, do not use Sysprep with
Ghost to create an image of a Windows NT installation.
• Windows XP: If creating an image of a Windows XP installation, use the Windows XP version
of Sysprep (found on the Windows XP CD), rather than the Windows 2000 version. There are
two versions of Sysprep for Windows XP:
o Windows XP without Service Pack 1 installed: Version 5.1.2600
o Windows XP with Service Pack 1: Version 5.1.2600.1106. Click here to download a
copy of version 5.1.2600.1106 from Microsoft.
• Differing hardware:The operating system affects how well a cloning operation will work when
cloning between computers that have different hardware. For more information about these
hardware differences and about using Ghost to rollout Windows NT, Windows 2000, and
Windows XP installations, see the documents Introduction to cloning a Windows NT, Windows
2000, or Windows XP computer, How to clone a Windows NT or Windows 2000 workstation
and How to change the SID on a Windows XP, Windows 2000, or Windows NT computer.
Ghost Walker and the SID Change option in the Task in Ghost Console can also change the
computer configuration, but they do not prompt Windows to rebuild the Plug-and-Play driver
database. For an image of a Windows 2000 or Windows XP installation, use Microsoft's
Sysprep instead of Ghost to change the computer's configuration.
Sysprep versions
Windows provides at least three versions of Sysprep for Windows 2000. Symantec Ghost 7.5
works with version 1.0, build 5.0.2149.1 and with version 1.1, build 5.0.2195.1:
• Version 1.0: The original Windows 2000 installation CD has Sysprep version 1.0. Do not use
this build of version 1.0 with Ghost.
• Version 1.0, build 5.0.2149.1: This build is available on later Windows 2000 installation CDs. In
testing, Ghost works with this version of Sysprep.
• Version 1.1: Microsoft has two versions of Sysprep 1.1. Symantec Ghost 7.5 works with the
earlier version, which is build number 5.0.2195.1, and not with the later version, build number
5.0.2195.2104.
There are two versions of Sysprep for Windows XP. Both versions will work with Ghost.
• Windows XP without Service Pack 1 installed: Version 5.1.2600 (Included on the Windows XP
CD)
• Windows XP with Service Pack 1: Version 5.1.2600.1106 (Click here to download a copy of
version 5.1.2600.1106 from Microsoft.)
• The Consumer Ghost versions Norton Ghost 2002 and earlier do not include the features
Ghost Console, Ghost Multicast, and Ghost Walker. Instead, use the file Ghostpe.exe to create
and restore image files.
• Norton Ghost 2003 does not include Ghost Console and Ghost Multicast, but does include
Ghost Walker. Note that the executable file for Norton Ghost 2003 is Ghost.exe, and not
Ghostpe.exe.
• The model computer, as it is referred to in the following instructions, is the source computer.
This is the computer that you want to create an image of.
• The client computer, as it is referred to in the following instructions, is the destination computer.
This is the computer that you want to overwrite with the image.
• The Ghost client is a feature that is available only in the enterprise Ghost versions. It is used
only with the Ghost Console. The consumer Ghost versions do not require a Ghost client.
o If you want to use the Ghost Multicast Server to pull the image from the model
computer before rolling that image out with the Ghost Console, continue with Step 2.
o If you want to use the Ghost Console to pull the image from the model computer before
rolling that image out with the Ghost Console, and you are using Symantec Ghost 7.5,
prepare the model computer as in Step 2, and then configure an Image Dump Task to
run Sysprep automatically. See the section "Configuring Ghost 7.5 to run Sysprep."
o If using Norton Ghost 2003 or earlier, start the computer from a Ghost bootable floppy
disk, and then create the image file. Note that you cannot run Norton Ghost 2003 from
the Ghost Basic and Backup options because the computer is shut down. Restarting
the computer into Windows at this time (to use the Ghost Basic and Backup options)
would cause Windows to rebuild its Plug-and-Play database on the model computer
instead of on the client computer. To use these options rather than starting the
computer from a bootable floppy disk, run Sysprep in step 2.D with the switch
-noreboot. This switch prevents Sysprep from shutting down the computer. For more
information on this switch, consult your Sysprep documentation.
o If using Symantec Ghost 7.5 or earlier:
a. Restart the model computer from a Ghost Network Boot Disk (also known as
a Ghost Multicast Boot Disk).
b. Use Ghost Multicast Server to create an image file of the model computer.
o If you use Ghost Console to roll out the image, create a new Task. Do not check the
SID Change option in the Task.
o If you use Ghost Multicast Server to roll out the image, do not use Ghost Walker after
rolling out the image.
o If you use Norton Ghost 2003, use Ghost.exe to write the image to the destination
computer.
o If you use Norton Ghost 2002 or earlier, use Ghostpe.exe to write the image to the
destination computer.
5. Restart the computers. Windows 2000 Professional and Windows XP will detect the
hardware, install the new drivers as appropriate, and assign new SIDs.
Sysprep has several options for configuring the computer, such as whether to have Sysprep
automatically change the name of the computer or to have Sysprep change the Security
Identification number (SID) of the computer. Each set of options is a separate Sysprep
configuration.
NOTE: Symantec provides the following information as an aid to using Sysprep. This
information is a suggestion only and is not intended to replace information from Microsoft.
NOTE: To configure Sysprep to assign a computer name that you specify or to randomly
assign a computer name, edit the ComputerName entry in the file Sysprep.inf. For details,
see the document Microsoft Windows 2000 Unattended Setup Parameters Guide, which is
available from Microsoft as part of Technet. Information on Technet is available at:
http://www.microsoft.com/technet
• "Microsoft Windows 2000 Unattended Setup Parameters Guide," which is available from
Microsoft as part of Technet. Information on Technet is available at:
http://www.microsoft.com/technet
• The Microsoft article "Automating Windows 2000 Deployments with Sysprep" at
http://www.microsoft.com/windows2000/techinfo/planning/incremental/sysprep11.asp
b. Create a custom Sysprep configuration. This step is optional. See the section
"Creating Sysprep configurations."
2. Assign a Ghost name to each Sysprep configuration:
a. Open Ghost Console.
b. Click Tools, and then "Sysprep Configurations..." This step opens the Browse
window.
c. Type a name in the Sysprep Configuration Name box. This is the name that
you want to give to the particular Sysprep configuration that you will choose in
the next step. For instance, the name might be "Windows XP with SID" or
"Windows 2000 with automatic computer names"
d. Click Create. This step opens the "Browse for Folder" window.
e. Click the folder that contains the Sysprep files. If you created a Sysprep
configuration, use a folder that includes the file Sysprep.inf that is for this
particular Sysprep configuration.
f. Click OK, and then OK again.
g. Repeat Steps 2.a through 2.f for each Sysprep configuration that you want to
use with Ghost.
3. Configure the Sysprep tab for the Task:
a. Click File, New, and then Image Dump. This opens the "Properties for a New
Task" window. Do not choose Task rather than Image Dump. Choosing Task
opens a different "Properties for a New Task" window. Only the window for
Image Dump includes the Sysprep tab.
b. Click the Sysprep tab.
c. Check "Run Microsoft Sysprep on this computer before dumping the image."
d. Choose the name of a Sysprep configuration in the Sysprep Configurations
box.
e. Check the other options as needed:
If you want Sysprep to assign a SID to each client computer, check "Tell
Sysprep to perform a SID change when loading this image to a destination
machine."
If you created a Sysprep.inf file for this Sysprep Configuration, check "Run the
MiniSetup Wizard which processes the Sysprep.inf file (required for Windows
XP Professional)."
If you want to add additional options to the Sysprep.exe command line, type
the options in the box "Extra Sysprep Command Line Arguments."
6. Click OK. If you checked "Execute immediately," the Image Dump Task restarts the
model computer into a virtual boot partition and runs the Image Dump Task.
Ghost creates the image file and copies any necessary Sysprep files to image file. When the
process is complete, the computer is at a DOS prompt.
• To restart the model computer, type ctrl+c to exit Ghost and then type ngctdos -hide at the
DOS command prompt. This command hides the Ghost Virtual partition so that the next restart
will start from the Windows partition. When you restart the model computer, Sysprep runs
automatically.
• To push this image file to the client computers, create an Image Load Task in Ghost. Ghost
copies any necessary Sysprep files to the client computer and saves the files in a folder that is
in an appropriate location on the hard disk. When the Task restarts the client computer after
pushing the image to the client computer, Sysprep runs automatically.
Related documents
How to automatically provide setup information for SysPrep at the destination computers
Article Q302577, HOW TO: Use Syspre.exe Tool to Automate Successful Deployment of
Windows XP
Error: "ABORT 33050: Bad index collation sequence error" when using Ghost Walker
Ghost compatibility with Windows 2000
Article Q288977, The Computer May Stop Responding During the Shutdown Process When
You Use the Sysprep Tool
Article Q257813, Using Sysprep May Result in "Stop 0x7b (Inaccessible Boot Device)" on
Some Computers
Article Q259144, Computer May Hang After Using Sysprep on ACPI-Enabled Computer
Computer stops responding after restoring a Windows XP image to it
Available translations:
Portuguese
Spanish
Korean
Simplified Chinese
Traditional Chinese
Product(s): Norton Ghost 2001, Norton Ghost 2002, Norton Ghost 6.0 Enterprise, Symantec Ghost 6.5, Symantec Ghost 7.0, Symantec Ghost 7.5,
Norton Ghost 2003
Operating System(s): Windows NT, Windows 2000, Windows XP
Date Created: 08/16/2000