banner

Unattend.txt

Unattend.txt is the answer file for Setup. An answer file is a way to script the answers for a series of graphical user interface (GUI) dialog boxes. Unattend.txt tells Setup how to interact with the distribution folders and files you create, and supplies Setup with all of the information that the end user provides during a typical Microsoft® Windows® setup. For example, Unattend.txt contains a FullName entry in the [UserData] section that instructs Windows Setup to prompt the end user to provide a full name.

Although the answer file for Setup is commonly called Unattend.txt, for a network preinstallation you can name the file anything you like. For a CD-based Setup, you must name the answer file Winnt.sif.

You can create or modify an Unattend.txt file by using a text editor or Setup Manager.

Note

Required Sections and Entries

A fully unattended Setup requires the following sections and entries:

Required section Required entries in that section Comments
[GuiUnattended] AdminPassword Required for all products except Windows XP Home Edition.
TimeZone
[Identification] JoinWorkgroup For all products except Windows XP Home Edition, you may instead specify JoinDomain, DomainAdmin, and DomainAdminPassword.
[LicenseFilePrintData] AutoMode Required only for the Windows Server 2003 family.
AutoUsers Required only for the Windows Server 2003 family. Requires AutoUsers if AutoMode = PerServer.
[Networking] No entries in this section. Required if you want to configure network protocols.
[Unattended] UnattendMode
TargetPath
[UserData] ComputerName
FullName

All Unattend.txt Sections

In Unattend.txt, you can include the following sections, which are grouped by category. Many sections and entries in Unattend.txt are interdependent.

Hardware Configuration

Setup Configuration

Operating System Configuration

Internet Explorer Configuration

Networking Configuration

Services Configuration

Optional Components

Similarities and Differences Between Unattend.txt Syntax and Sysprep.inf Syntax

The [Unattended] and [GuiUnattended] sections support the following entries in Unattend.txt and Sysprep.inf:

Section Comparison between Unattend.txt and Sysprep.inf
[Unattended] Both Unattend.txt and Sysprep.inf support the following entries:

Only Unattend.txt supports the following entries:

[GuiUnattended] Both Unattend.txt and Sysprep.inf support the following entries:

Only Unattend.txt supports the following entries:

The following sections and entries are exactly the same in both Unattend.txt and Sysprep.inf:

Important

Similarities and Differences Between Unattend.txt Syntax and Winbom.ini Syntax

The [Shell] section supports the following entries in Unattend.txt and Winbom.ini:

Section Comparison between Unattend.txt and Winbom.ini
[Shell] Both Unattend.txt and Winbom.ini support the following entries:

Only Winbom.ini supports the following entries:

  • DefaultClientStartMenuInternet
  • DefaultClientMail
  • DefaultClientMedia
  • DefaultClientIM
  • DefaultClientJavaVM
  • MSNExplorer