banner

[Data]

Answer File = Unattend.txt

The [Data] section contains entries for performing an unattended Setup directly from the Microsoft Windows product CD or with Winnt.exe.

Entry Description
AutomaticUpdates Specifies whether to enable Automatic Updates.
AutoPartition Installs Windows to the first available partition that has adequate space for a Windows installation and does not already contain an installed version of Windows.
DisableAdminAccountOnDomainJoin Disables the local Administrator account immediately after the Remote Installation Server (RIS) client successfully joins the domain.
MsDosInitiated Informs the Windows Setup Loader that an unattended Setup is running directly from the Windows product CD.
UnattendedInstall Informs the Windows Setup Loader that an unattended Setup is running directly from the Windows product CD.
UseBIOSToBoot Specifies whether Setup uses the basic input/output system (BIOS) to start the computer, even though Windows Setup might detect that it is best to use a device miniport driver to start the computer.

Sample

This sample demonstrates one use of the [Data] section of Unattend.txt.

[Data]
AutomaticUpdates = 1
AutoPartition = 1
MsDosInitiated = 0
UnattendedInstall = Yes
UseBIOSToBoot = 1

AutomaticUpdates

Specifies whether to enable Automatic Updates.

Syntax AutomaticUpdates = Yes | 1
Value Yes

Enables Automatic Updates. The Help Protect Your PC page does not display. Windows routinely verifies the latest important updates and installs them automatically.

1

Enables Automatic Updates. The Help Protect Your PC page does not display. Windows routinely verifies the latest important updates and installs them automatically.

Example
AutomaticUpdates = 1
Comments Use this setting to enable automatic downloads and installations from Windows Updates.

If this entry is missing or set to anything other than 1 or Yes, then the Help Protect Your PC page displays, enabling the end user to choose to schedule Automatic Updates.

If you set AutomaticUpdates in the [Data] section of the Unattend.txt file equal to 1 or Yes, the Help Protect Your PC page does not display. Windows routinely verifies the latest important updates and installs them automatically to the end user's computer. By taking this action, you are making a choice for the end user. Opt-in privacy laws in some states and local jurisdictions may require you to advise end users that you are making a choice on their behalf. For more information about consumer privacy guidelines, see the Federal Trade Commission Privacy Policy (http://www.ftc.gov/ftc/privacy.htm), the European Commission's Directive on Data Protection (http://europa.eu.int/comm/internal_market/privacy/index_en.htm), and the European Union's principles of "safe harbor" (http://www.export.gov/safeharbor/sh_overview.html).

icon Return to top

AutoPartition

Installs Windows to the first available partition that has adequate space for a Windows installation and does not already contain an installed version of Windows.

Syntax AutoPartition = 1
Value 1
Example
AutoPartition = 1
Comments Either omit the AutoPartition entry from your answer file or set the value of AutoPartition to 1. If AutoPartition = 1, the /tempdrive command-line option of Winnt32.exe is ignored during Setup. If you do not set the value, text-mode Setup installs Windows on the partition where $WIN_NT$.~LS is located.

icon Return to top

DisableAdminAccountOnDomainJoin

Disables the local Administrator account immediately after the Remote Installation Server (RIS) client successfully joins the domain.

Syntax DisableAdminAccountOnDomainJoin = 1
Value 1
Default Value 1, if Windows is installed using RIS.
Example
DisableAdminAccountOnDomainJoin = 1
Comments The value must always be set to 1. If you do not want the local Administrator account to be disabled after the RIS client joins the domain, you must completely remove the DisableAdminAccountOnDomainJoin entry from the unattended installation file.

icon Return to top

MsDosInitiated

Informs the Windows Setup Loader that an unattended Setup is running directly from the Windows product CD.

Syntax MsDosInitiated = 0
Value 0
Example
MsDosInitiated = 0
Comments The value must always be set to 0. If an unattended Setup is running directly from the product CD and you do not set the value to 0, then Setup fails at the beginning of GUI-mode Setup.

icon Return to top

UnattendedInstall

Informs the Windows Setup Loader that an unattended Setup is running directly from the Windows product CD.

Syntax UnattendedInstall = Yes
Value Yes
Example
UnattendedInstall = Yes
Comments The value must always be set to Yes if you preinstall Windows by using the CD Boot method.

If UnattendedInstall is Yes, set MsDosInitiated to 0.

Note

  • The UnattendedInstall entry is not the same as the UnattendSwitch entry in the [Unattended] section of the answer file. UnattendSwitch controls Windows Welcome; UnattendedInstall does not.

icon Return to top

UseBIOSToBoot

Specifies whether Setup uses the basic input/output system (BIOS) to start the computer, even though Windows Setup might detect that it is best to use a device miniport driver to start the computer.

Syntax UseBIOSToBoot = 0 | 1
Values 0

Setup uses the default behavior to start the computer.

1

Setup uses the BIOS to start the computer.

Default Value 0
Example
UseBIOSToBoot = 1
Comments On computers with large drives that support extended int13 BIOS calls, using the BIOS starts computers faster by eliminating possible delays caused by a miniport driver.

Important

  • Do not use this entry unless you are sure that the BIOS supports the extended int13 functions.

Note

  • The current generation of hardware uses the BIOS to start the computer, so this entry is rarely required.

icon Return to top