2009年8月25日 星期二

How to use the Sysprep tool to automate successful deployment of Windows XP

How to use the Sysprep tool to automate successful deployment of Windows XP
http://support.microsoft.com/kb/302577/en-us

[以下節錄from上面的微軟KB]
Prepare a reference computer for Sysprep deployment

To prepare a reference computer for Sysprep deployment in Windows XP, follow these steps:
1.On a reference computer, install the operating system and any programs that you want installed on your destination computers.

2.Click Start, click Run, type cmd, and then click OK.

3.At the command prompt, change to the root folder of drive C, and then type md Sysprep.

4.Insert the Windows XP operating system CD into the appropriate CD-ROM or DVD-ROM drive, and then open the Deploy.cab file in the \Support\Tools folder.

Note To make sure that you are using the correct version of the Deploy.cab file for your service pack, use the Deploy.cab file that is distributed with that service pack. Visit the following Microsoft Web site to download the correct version for your service pack:
http://www.microsoft.com/windowsxp/downloads/default.mspx (http://www.microsoft.com/windowsxp/downloads/default.mspx)

5.Copy the Sysprep.exe file and the Setupcl.exe file to the Sysprep folder.

Note If you use the Sysprep.inf file, copy this file to the Sysprep folder also. For the Sysprep tool to function correctly, the Sysprep.exe file, the Setupcl.exe file, and the Sysprep.inf file must all be in the same folder.

6.Remove the Windows XP operating system CD.

7.At the command prompt, type cd Sysprep to change to the Sysprep folder.

8.To run the Sysprep tool, type the following command at the command prompt:
Sysprep /optional parameter
Note For a list of parameters, see the "Sysprep parameters" section.

If you run the Sysprep.exe file from the %systemdrive%\Sysprep folder, the Sysprep.exe file removes the whole folder and the contents of the folder after it finishes.

9.Microsoft recommends that after you run the Sysprep.exe file on a reference computer, isolate the reference computer from the local network where the image will be subsequently deployed to avoid any NetBIOS conflicts. This permits the Sysprep tool to complete the Setup program, join the domain that is specified, and use the new computer name that is specified in the Sysprep.inf answer file.

[Other Reference]
http://technet.microsoft.com/en-us/library/bb457073.aspx

沒有留言: