Article ID: 298491 - Last Review: March 27, 2007 - Revision: 4.3 How To Use the System Preparation Tool (Sysprep.exe) to Perform Disk DuplicationThis article was previously published under Q298491 On This PageSUMMARY This step-by-step article describes how to use the System
Preparation tool (Sysprep.exe) to perform disk duplication. You can use the
cloning process to use an image of a Windows 2000 installation with its
installed programs and data, for mass deployment of exactly the same
installations throughout your organization. One problem from duplicating an
installation of Windows 2000 is that each cloned computer has the same security
identifier (SID) and computer name. This may prevent the cloned computers from
functioning correctly in a workgroup or a domain. To work around this problem,
administrators use the System Preparation Tool (Sysprep.exe) to remove
configuration settings that are unique to the computer such as the computer
name and SID. The resulting image can then be safely reused for installation on
other computers. How to Prepare Windows 2000 for CloningTo prepare an installation of Windows 2000 for cloning:
How to Create the Sysprep.inf Answer FileTo create the Sysprep.inf answer file, type setupmgr.exe at the command prompt, and then press ENTER. Follow the on-screen instructions to complete the wizard. You can also use a text editor to either create a new answer file, or modify an existing one.For a more information, view the Unattend.doc file in the Deploy.cab file in the Support\Tools folder on your Windows 2000 CD-ROM, or visit the following Microsoft Web site: http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/deploy/dggb_aut_noen.mspx?mfr=true
(http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/deploy/dggb_aut_noen.mspx?mfr=true)
RequirementsThe following conditions must exist for you to run Sysprep.exe and use the Sysprep.inf answer file:
Sysprep.exe SwitchesSysprep.exe accepts the following switches:
223757
(http://support.microsoft.com/kb/223757/
)
Unattended promotion and demotion of Windows 2000 and Windows Server 2003 domain controllers
The Sysprep folder is deleted at the end of
Mini-Setup. Sysprep.exe can also perform other tasks before the computer is
shut-down. To make it possible for Sysprep to work with components that are
already installed, a Minioc.inf file is put in the %windir%\Inf folder. This
file references component-specific dynamic link libraries (DLLs) that perform
the necessary tasks to prepare components for duplication. When Sysprep.exe
runs, it opens the %windir%\Inf\Miniproc.inf file, and then processes the
[SysprepBeforeExecute] section. When a cloned computer starts, Mini-Setup opens
the Minioc.inf file, and then processes the [SysprepInitExecute] section.
The Sysprep folder may also contain the Provider.inf file. This file is used by third-party component providers to make sure that their components can be cloned by using Sysprep.exe. Format of the Sysprep.inf file.The format of the Sysprep.inf file follows the same format as the format of the Unattend.txt file that is used in automating the installation of Windows 2000. However, only the following sections and parameters are supported:[Unattended]
[GuiUnattended]
[LicenseFilePrintData] • All keys are supported [GuiRunOnce] [Display] • All keys are supported [RegionalSettings] • All keys are supported if the files are available on the computer hard disk. If regional settings are specified, you can refer to the location of the files by using the InstallFilesPath key in the [Unattended] section. [Networking] • Only the installation of the default components are supported. The section only needs to exist in the Sysprep.inf file. Note that the installDefaultComponents values do not work, it always assumes "yes." [Identification] • All keys are supported [NetClients] • All keys for Client Services for Microsoft Networks and Client Services for NetWare are supported. [TapiLocation] • All keys are supported. The values are valid only if the computer has a modem. For additional references, review the Microsoft Windows 2000 OEM Preinstallation Kit OPK users Guide. REFERENCES
For additional information about Sysprep, click the following article numbers
to view the articles in the Microsoft Knowledge Base: 216937
(http://support.microsoft.com/kb/216937/EN-US/
)
Windows 2000 System Preparation Tool and Answer File Usage
240126
(http://support.microsoft.com/kb/240126/EN-US/
)
Best Practices for Using Sysprep with NTFS Volumes
216680
(http://support.microsoft.com/kb/216680/EN-US/
)
How to Identify an Installation Created with the Sysprep Tool
216915
(http://support.microsoft.com/kb/216915/EN-US/
)
Using the System Preparation Tool on Dissimilar Computers
238955
(http://support.microsoft.com/kb/238955/EN-US/
)
How to Use Cmdlines.txt File During Sysprep.exe Setup Wizard
The third-party products that are
discussed in this article are manufactured by companies that are independent of
Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the
performance or reliability of these products.
| Article Translations
|
Back to the top
