Lesson 2: Using Disk Duplication to Deploy Windows XP Professional

Lesson 2:?Using Disk Duplication to Deploy Windows XP Professional

When you install Windows XP Professional on several computers with identical hardware configurations, the most efficient installation method to use is disk duplication. By creating a disk image of a Windows XP Professional installation and copying that image onto multiple destination computers, you save time in the rollout of Windows XP Professional. This method also creates a convenient baseline that you can easily recopy onto a computer that is experiencing significant problems.

One of the tools that you will use for disk duplication is the System Preparation tool (SYSPREP.EXE) that ships with Windows XP Professional. Knowing how to use the System Preparation tool can help you prepare master disk images for efficient mass installations. There are a number of third-party disk-imaging tools that you can use to copy the image to other computers. This lesson explains how to use the System Preparation tool to prepare the master image.


After this lesson, you will be able to

  • Install and use the Windows XP Professional System Preparation tool to deploy Windows XP Professional

Estimated lesson time: 40 minutes


Examining the Disk Duplication Process

To install Windows XP Professional using disk duplication, you first need to install and configure Windows XP Professional on a test computer. You then need to install and configure any applications and application update packs on the test computer. Next, run SYSPREP.EXE on the test computer to prepare it for duplication.

Extracting the Windows System Preparation Tool

Before you can use the Windows System Preparation tool, you must copy the necessary files onto the computer you are using to create the master image. To copy the System Preparation tool, you must extract the files from \Support\Tools\DEPLOY.CAB on the Windows XP Professional CD-ROM. For the steps to do this, see Exercise 1, "Extracting the Windows XP Professional Deployment Tools," in Lesson 1 of this chapter.

Using the System Preparation Tool to Prepare the Master Image

The System Preparation tool was developed to eliminate problems encountered in disk copying. First of all, every computer must have a unique security identifer (SID). If you copied an existing disk image to other computers, every computer on which the image was copied would have the same SID. To prevent this problem, the System Preparation tool adds a system service to the master image that creates a unique local domain SID the first time the computer to which the master image is copied is started.

The System Preparation tool also allows you to add a Mini-Setup Wizard to the master copy. This Mini-Setup Wizard runs the first time the computer to which the master image is copied is started. The Mini-Setup Wizard guides the user through entering the user-specific information such as the following:

  • End-user license agreement
  • Product ID
  • Regional settings
  • User name
  • Company name
  • Network configuration
  • Whether the computer is joining a workgroup or domain
  • Time zone selection
The Mini-Setup Wizard can be scripted so that this user-specific information can be entered automatically.

The System Preparation tool causes the master image to force the computer on which the master image is copied to run a full Plug and Play device detection. The hard drive controller device driver and the hardware abstraction layer (HAL) on the computer on which the disk image was generated and on the computer to which the disk image was copied must be identical. The other peripherals, such as the network adapter, the video adapter, and sound cards on the computer on which the disk image was copied need not be identical to the ones on the computer on which the image was generated.

The System Preparation tool can also be customized. Table 19.1 describes some of the switches you can use to customize SYSPREP.EXE.

Table 19.1??Switches for SYSPREP.EXE

For a complete list of the switches for SYSPREP.EXE, start a command prompt, change to the Deploy folder or the folder where you installed SYSPREP.EXE, type sysprep.exe /? and press Enter.

Practice:?Using the Windows XP Professional System Preparation Tool to Prepare a Master Image

In this practice, you use the Windows System Preparation tool to prepare a master image for disk duplication.

If you haven't completed Exercise 1 of Lesson 1 in this chapter, you must complete that exercise and extract the System Preparation tool from the Windows XP Professional CD-ROM before you can complete the following exercise.
If you complete the following exercise, you will have to reinstall Windows XP Professional on your computer.

To use the System Preparation tool

  1. Log on as Administrator.
  2. Double-click C:\Deploy\Sysprep.
    If you did not extract the deployment tools to C:\Deploy, use the correct path to Sysprep.

    A Windows System Preparation Tool dialog box appears, warning you that running Sysprep version 2.0 might modify some of the security parameters of this system.

    You should run Sysprep only if you are preparing your computer for duplication.
  3. If you are certain that you do not mind having to reinstall Windows XP Professional, click OK to continue.

    Sysprep displays a System Preparation Tool dialog box allowing you to configure Sysprep.

    To quit Sysprep, in the Flags box, click the down-pointing arrow in the Shutdown box, select Quit, and then click Reseal to stop System Preparation from running on your computer.
  4. In the Flags box, select Mini-Setup and then click Reseal.

    Sysprep displays a Windows System Preparation Tool message box, telling you that you have chosen to regenerate the SIDs on the next reboot. You only need to regenerate SIDs if you plan on imaging after shutdown.

    If you did not want to regenerate SIDs, you would click Cancel, select the NoSIDGEN check box in the Flags box, and then click Reseal.
  5. Click OK.

    Sysprep displays a Sysprep Is Working message box telling you that the tool is removing the system-specific data on your computer.

  6. Your computer shuts down and prompts you that it is now safe to turn off the computer.
  7. Turn your computer off.
You can run Setup Manager to create a SYSPREP.INF file, which provides answers to the Mini-Setup program on the destination computers. You can also use this file to specify customized drivers. Setup Manager creates a Sysprep folder at the root of the drive image and places SYSPREP.INF in this folder. The Mini-Setup program checks for SYSPREP.INF in the Sysprep folder at the root of the drive in which Windows XP Professional is being installed.

Installing Windows XP Professional from a Master Disk Image

After running Sysprep on your test computer, you are ready to run a third-party disk image copying tool to create a master disk image. Save the new disk image on a shared folder or CD-ROM and then copy this image to the multiple destination computers.

End users can then start the destination computers. The Mini-Setup Wizard prompts the user for computer-specific variables, such as the administrator password for the computer and the computer name. If a SYSPREP.INF file was provided, the Mini-Setup Wizard is bypassed and the system loads Windows XP Professional without user intervention. You can also automate the completion of the Mini-Setup Wizard further by creating a SYSPREP.INF file.

When you use disk duplication, the mass storage controllers and HALs for the test computer and all destination computers must be identical.

Practice:?Installing Windows XP Professional from a Master Image

In this practice, you use a master disk image, which you created earlier, to install Windows XP Professional. Normally you would use a third-party tool to copy this disk image to another computer. For the purposes of this practice, you reinstall using the master disk image as if it were a computer that had the disk image copied to it.

To install Windows XP Professional from a master disk image

  1. Power on your computer.

    Setup displays the following message: Please Wait While Windows Prepares To Start.

    After a few minutes, Setup displays the Welcome To The Windows XP Setup Wizard page.

  2. Click Next to continue with Setup.

    The Windows XP Professional Setup Wizard displays the License Agreement page.

  3. Read through the license agreement, click I Accept This Agreement, and then click Next.

    The Windows XP Professional Setup Wizard displays the Regional And Language Options page.

  4. Ensure the Regional And Language Options and Text Input Languages settings are correct, and then click Next.

    The Windows XP Professional Setup Wizard displays the Personalize Your Software page.

  5. In the Name text box, type your name. In the Organization text box, type your organization name, and then click Next.

    The Windows XP Professional Setup Wizard displays the Your Product Key page.

  6. Enter your product key, and then click Next.

    The Windows XP Professional Setup Wizard displays the Computer Name And Administrator Password page.

  7. In the Computer Name text box, type PRO1.
  8. In the Password and Confirm Password text boxes, type password, and then click Next.

    The Windows XP Professional Setup Wizard displays the Modem Dialing Information page.

    If you don't have a modem, you might not get this page. If you do not get the Modem Dialing Information page, skip to step 13.
  9. Select the appropriate setting for What Country/Region Are You In.
  10. Select the appropriate setting for What Area Or City Code Are You In.
  11. Select the appropriate setting for If You Dial A Number To Access An Outside Line, What Is It.
  12. Select the appropriate setting for The Phone System At This Location Uses, and then click Next.

    The Windows XP Professional Setup Wizard displays the Date And Time Settings page.

  13. Ensure the settings for Date, Time, Time Zone, and Daylight Saving Changes are correct and then click Next.

    The Windows XP Professional Setup Wizard displays the Networking Settings page.

  14. Ensure the default setting of Typical Settings is selected and then click Next.

    The Windows XP Professional Setup Wizard displays the Workgroup Or Computer Domain page.

  15. Ensure that No, This Computer Is Not On A Network Or Is On A Network Without A Domain is selected.
  16. Ensure that WORKGROUP appears in the Workgroup Or Computer Domain Box, and then click Next.

    The Windows XP Professional Setup Wizard displays the Performing Final Tasks page and then it displays the Completing The Windows XP Setup Wizard page.

  17. Click Finish.

    The system will reboot and the Welcome screen appears.

  18. Log on as you normally would.

Lesson Review

The following questions will help you determine whether you have learned enough to move on to the next lesson. If you have difficulty answering these questions, review the material in this lesson before beginning the next lesson. The answers are in Appendix A, "Questions and Answers."

  1. What is disk duplication?
  2. What is the purpose of the System Preparation tool?
  3. What does the /quiet switch do when you run SYSPREP.EXE?

Lesson Summary

  • The System Preparation tool (SYSPREP.EXE) prepares the master computer to be duplicated.
  • One of the primary functions of the System Preparation tool is to delete security identifiers (SIDs) and all other user-specific or computer-specific information.
  • After you run SYSPREP.EXE on the master computer, you can use a third-party tool to capture the image and copy it to the destination computers.
  • When the user restarts the destination computer, the Windows Setup Wizard appears but requires very little input to complete. You can automate the completion of the Windows Setup Wizard by creating a SYSPREP.INF file.