IIS settings are missing after you run Sysprep with the -nosidgen command-line switch

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article has been archived. It is offered "as is" and will no longer be updated.
After you install Microsoft Internet Information Services (IIS) and then run the Sysprep tool with the -nosidgen command-line switch, the IIS settings and IIS components are missing from the resulting Sysprep image. For example, when you open the Internet Information Services snap-in, the Default Web Site and the Default FTP Site entries that were previously configured on the computer are missing.
This problem occurs because information that is required for Windows to access the IIS metabase is incorrectly deleted when you run Sysprep with the -nosidgen switch. As a result, Windows cannot access the IIS configuration information.

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft Windows XP. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
322389 How to obtain the latest Windows XP service pack

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

File Information

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

This hotfix contains two packages.
  • The following table lists the file information for the package (PKG50050) that installs the hotfix on the Windows XP Service Pack 1 (SP1)-based computer:
    Date         Time   Version            Size    File name    Platform--------------------------------------------------------------------19-Aug-2003  19:53  6.0.2600.1260     468,480  Iis.dll      x8619-Aug-2003  19:53  6.0.2600.1260   1,281,024  Iis.dll      IA-64
  • The following table lists the file information for the package (PKG50263) that extracts the Sysprep.exe tool:
    Date         Time   Version            Size    File name    Platform--------------------------------------------------------------------15-Aug-2003  01:54  5.1.2600.1260     114,176  Sysprep.exe  x8615-Aug-2003  01:54  5.1.2600.1260     277,504  Sysprep.exe  IA-64
Note Because of file dependencies, this update requires Windows XP Service Pack 1 (SP1)..
To work around this problem, manually install the IIS components that you want after the Sysprep operations have finished running. To do so:
  1. Click Start, and then click Control Panel.
  2. Click Add or Remove Programs, and then click Add/Remove Windows Components.
  3. In the Components box, click Internet Information Services (IIS) (but do not click to select the check box), and then click Details.
  4. In the Subcomponents of Internet Information Services (IIS) box, click to select the check boxes next to the IIS components that you want to install, and then click OK.
  5. Click Next, and then click Finish.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Windows XP Service Pack 2.
For more information about the Sysprep tool, see the Microsoft Windows Corporate Deployment Tools User's Guide (Deploy.chm file). The Deploy.chm file is located in the Deploy.cab file in the Support\Tools folder of the Windows XP CD-ROM.

Article ID: 827385 - Last Review: 12/08/2015 04:27:14 - Revision: 4.1

Microsoft Windows XP Professional, Microsoft Windows XP Home Edition

  • kbnosurvey kbarchive kbautohotfix kbhotfixserver kbqfe kbwinxpsp2fix kbqfe kbwinxppresp2fix kbfix kbbug KB827385