SysPrep Topics | Next

Using SysPrep


When deploying Windows 2000, you can completely install the operating system and preconfigure the shell and applications to the degree required. You can then use SysPrep to enable user-specific customization when the computer is delivered or setup for the user. In this case, the first time the end user starts the computer, Mini-Setup runs to prompt the user for a minimal amount of information. The SysPrep folder is deleted from the hard drive after Mini-Setup completes.

The SysPrep tool can be used in three different contexts:

To manually restore the computer to an end-user ready state with SysPrep

  1. On the Start menu, click Run, and then type:

    cmd

  2. At the command prompt, change to the root of the system drive (%SystemDrive%) and then type: md sysprep
  3. From the directory where you installed the Resource Kit, copy Sysprep.exe and Setupcl.exe to the SysPrep folder you have created.
  4. At the command prompt, change to the SysPrep folder, and then type: sysprep -nosidgen
    with the parameters you choose. See SysPrep.exe Syntax for a list of command-line parameters.
  5. The computer will shut down if it is ACPI-compatible. If it is not ACPI-compatible, a message will appear telling you to shut down the computer when the process has completed.

To automate the process of restoring the computer to an end-user ready state with SysPrep when using distribution folders and answer files

  1. To the \$OEM$\$1 folder of your distribution folders create a subfolder called \Sysprep.
  2. Add Sysprep.exe and Setupcl.exe to the \$OEM$\$1\Sysprep folder from the directory where you installed the Resource Kit. A Sysprep.inf answer file can also be created and placed in this folder if desired.
  3. In your answer file, add the following line to the bottom of the [GuiRunOnce] section:
    %SystemDrive%\sysprep\sysprep.exe -quiet additional parameters as required
    

    See SysPrep.exe Syntax for a list of command-line parameters.

  4. After Windows 2000 Setup completes, the computer will shut down if it is ACPI-compatible. If it is not ACPI-compatible, a message will appear that instructs you to shut down the computer when the process has completed.

Notes  

In the current version of Windows 2000: