Logo

Knowledgebase

Ghosting Windows 2000 / XP Pro


Problem:

Ghosting Windows 2000 / XP Pro

Solution:

How to use Sysprep with Ghost

Situation:
This document describes how 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:

How to use Sysprep with Ghost to create an image of a Windows 2000 or Windows XP installation
Follow these steps to use Sysprep for Windows 2000 or Windows XP to create a Ghost image of the installation and roll the image out to other computers.

Notes: Consumer versions of Ghost include Norton Ghost 2000, Norton Ghost 2001, Norton Ghost 2002, and Norton Ghost 2003. Note the following:
  • 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.

  1. Prepare Sysprep. See the section "Creating Sysprep configurations."
    • 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.
    • 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 or 8.0, 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 or 8.0 to run Sysprep."
  2. Prepare the model computer:
    1. Log on to the model computer with a user account that is a member of the local Administrator security group but is not the Administrator account. Do the following:
      • Install and configure applications on the model computer.
      • If the client computers have devices that the model computer does not have, add the driver files for those devices to the hard disk. When you add driver files for devices that will be attached to the client computers, such as network interface cards or hard drives that are not on the model computer, then the operating system on the client computer will configure itself automatically to the new hardware environment.
      • Do not install the Ghost Client. Note that only the enterprise Ghost versions use the Ghost Client. These include Symantec Ghost 8.0, Symantec Ghost 7.5, Symantec Ghost 7.0, and Norton Ghost 6.5.
    2. Log on to the model computer with the Administrator account. Do the following:
      1. Copy the contents of the user profile folder that is for the user account you used in Step 1 to the Default Users folder.
      2. Remove configuration information that is not applicable to the target computers, such as mapped drives, event logs, and so on.
      3. Install the Ghost Client. Skip this step if you are using a consumer version of Ghost. Only the enterprise Ghost versions use the Ghost Client. These include Symantec Ghost 8.0, Symantec Ghost 7.5, Symantec Ghost 7.0, and Norton Ghost 6.5.
      4. Remove the computer from the domain. Skip this step if the computer is not a member of a Windows domain. Stand-alone computers (that is, computers that are not connected to a network) are not members of a Windows domain.
    3. If using Symantec Ghost 7.0 or earlier, or Norton Ghost 2003 or earlier, log on to the computer with the Administrator account and then run Sysprep. After running Sysprep, do not restart the computer into Windows. Restarting the computer into Windows at this time causes Windows to rebuild its Plug-and-Play database on the model computer instead of on the client computer.
    4. If using Symantec Ghost 7.5 or 8.0 and the Ghost Multicast Server to create the image file before rolling it out, perform step 2.C and then continue with Step 3.
    5. If using Symantec Ghost 7.5 or 8.0 and the Ghost Console to create the image file before rolling it out, do not run Sysprep. Instead, continue with the instructions in the section "Configuring Ghost 7.5 or 8.0 to run Sysprep."
  3. Create an image of the model computer.
    • 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.
    • If using Symantec Ghost 8.0 or earlier:
      1. Restart the model computer from a Ghost Network Boot Disk (also known as a Ghost Multicast Boot Disk).
      2. Use Ghost Multicast Server to create an image file of the model computer.
  4. Roll out the image to the client computers.
    • If you use Ghost Console to roll out the image, create a new Task. Do not check the SID Change option in the Task.
    • If you use Ghost Multicast Server to roll out the image, do not use Ghost Walker after rolling out the image.
    • If you use Norton Ghost 2003, use Ghost.exe to write the image to the destination computer.
    • 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.

Creating Sysprep configurations
Running Sysprep correctly prevents problems restoring the image file.

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.
To create a new Sysprep configuration:
  1. Create a new folder. This folder will contain the Sysprep files. Ghost 7.5 and later does not require this folder to be on the root of the C drive. If you run Sysprep manually, Windows might require this folder to be on the root of the C drive.
  2. Follow the Microsoft instructions for creating a Sysprep.inf file and copy that file into the new folder. The options available for configuring Sysprep.inf depend on the version of Windows with which you will use Sysprep.inf file.
  3. Copy the Sysprep files into the new folder. For an image of a Windows 2000 installation, use Sysprep version 1.1 or later for Windows 2000. For an image of a Windows XP installation, use a version of Sysprep that is for Windows XP (found on the Windows XP CD).

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 Guide to Unattended Setup.

For information on configuring a Sysprep.inf file, consult your Microsoft documentation, search for information on the Microsoft Web site, or see the following documents:


Keywords: ghost