Installing Windows XP Professional by Using the System Preparation Tool (Sysprep)
Objective:Perform and troubleshoot an unattended installation of Windows XP Professional.Install Windows XP Professional by using the System Preparation Tool.Another means of performing automated deployment of Windows XP Professional is to use the System Preparation Tool (Sysprep) together with a means of disk imaging. You can create an image of a typical Windows XP Professional installation, including a standard set of applications, and copy this image to multiple destination computers. Such a procedure can save considerable time when a large rollout is performed. In addition, should you encounter problems with a computer at a later time, you can re-image the computer from the disk image that you originally created to return the computer to a baseline configuration.
About the System Preparation Tool
Sysprep is found Step by Step 2.1 to install the Setup Manager, you also extracted the Sysprep.exe utility plus another required program named Setupcl.exe.Sysprep works security identifiers (SIDs) that satisfy the requirement that all computers on the network must have a unique SID. Hardware imaging solutions are also available.
When to Use Sysprep
Sysprep is a handy Chapter 7.Certain situations are not supported for the use of Sysprep:Upgrades You cannot use Sysprep for upgrading computers running older versions of Windows to Windows XP.Production environment Use of Sysprep for creating an image of a computer that has been used in a production environment is not recommended. In other words, you should use a freshly installed version of Windows XP when preparing the computer to be imaged.Incompatible HAL As already mentioned, you should not use Sysprep if the target computers possess a different HAL compared to the computer being imaged. See Microsoft Knowledge Base article 309283 for more information.OEM installation image Microsoft does not support the use of Sysprep for imaging a computer that was originally set up from original equipment manufacturer (OEM) installation images or media.Default user profile has been overwritten You should not use Sysprep if you have copied another user profile over the default user profile.In these instances, you may be able to use RIS if your network meets the requirements for using RIS.Several optional switches are provided with Sysprep:-factory Runs Sysprep.exe in factory floor mode (Factory.exe), which uses a Bill of Materials file that automates software and driver installations and updates, including .inf files such as Sysprep.inf.-audit Runs Sysprep.exe in audit mode, which verifies hardware and software installation after you have run Sysprep.exe in factory floor mode. This enables the computer to reboot to verify proper hardware and software installation.-reseal Prepares a computer for delivery to a customer after Sysprep.exe has been run in factory floor mode.-clean Cleans the critical device database, which is a registry listing of services and devices that must start for Windows XP to boot properly. This mode removes devices that are not physically present in the computer from this database.-quiet Runs Sysprep.exe without user interaction.-nosidgen Runs Sysprep.exe without creating SIDs for the target computers.-pnp Forces a scan of the PnP hardware.-reboot Forces the computer to reboot after completion of disk imaging.-noreboot Performs all required modifications to the registry but does not reboot the computer.-forceshutdown Forces a shutdown rather than powering off the computer.Creating an Image with Sysprep
Creation of the image for Sysprep deployment involves preparation of the computer and running the Sysprep.exe utility, followed by shutting down the system and running the disk imaging program. You must be logged on as an administrator to perform these steps. Follow the steps outlined in Step by Step 2.8 to prepare and image the reference computer.
Step by Step: 2.8 Creating a Sysprep Image
1. Install and configure Windows XP Professional as a clean installation on a newly formatted hard disk.2.
Figure 2.14. Sysprep displays this warning when you start to prepare the image.

Figure 2.15. Sysprep enables you to invoke many of the options from the System Preparation Tool dialog box.

Figure 2.16. Sysprep informs you it will regenerate SIDs on the next reboot.

You can store the image created by this procedure on a CD-ROM or a shared folder that is accessible to the target computers. It is also good practice to perform a test deployment and ensure that the operating system and all applications are properly installed and configured before deploying the image to production computers. Should any problems occur, you can reconfigure the source computer and re-create the image.
Note
Sysprep.inf works with the resealed image You can perform a fully unattended installation of Windows XP Professional by using Sysprep.inf together with an image prepared with the aid of the reseal parameter.Deploying an Image with Sysprep
After you have Mini-Setup Wizard that runs on the target computer. This wizard copies the image to the target computer and adds computer-specific information, including an appropriate SID. Step by Step 2.9 shows you how.
Step by Step: 2.9 Installing Windows XP Professional from a Sysprep Image
1. Turn the computer on. When the Windows XP Professional splash screen appears, insert the floppy disk containing the Sysprep.inf file.2. Wait while the computer detects and enumerates Plug and Play devices, completes installation of Windows XP Professional, and then starts the Mini-Setup Wizard by displaying a Welcome to Microsoft Windows screen. Click Next.3. On the End User License Agreement screen, read the agreement, click Yes, I accept it, and then click Next.4. Type your product key on the next screen, and then click Next.5. On the Computer Name screen, accept the name provided or type another name. The name provided should be unique on the network. You may also type an optional computer description if you desire. Click Next.6. On the Administrator Password screen, type and confirm the Administrator password, and then click Next.7. If a modem is installed on the computer, the Telephony Applications Programming Interface (TAPI) settings screen is displayed. Type the required information, and then click Next.8. On the Is This Computer in a Domain screen, click Yes and type the domain name if the computer is to be joined to a domain (see Figure 2.17).
Figure 2.17. The Mini-Setup Wizard asks you whether you want to join a domain.
Chapter 11.
Figure 2.18. You can specify TCP/IP configuration parameters on the Setting Up a High Speed Connection page.
[View full size image]

If you need to modify your source computer configuration after you have tested the deployment on a test computer, you can turn the source computer on and follow the same procedure on this computer. You can also follow this procedure if you want to use the source computer as a production computer.