(Sysprep)

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

[GuiUnattended]

The [GuiUnattended] section contains entries for preparing the graphical user interface (GUI).

Answer File Entries for the [GuiUnattended] Section

Entry Description

AdminPassword

Sets the Administrator account password.

AutoLogon

Configures the computer to log on once with the Administrator account.

AutoLogonCount

Specifies the number of times that the computer automatically logs on with the specified Administrator account and password.

EMSSkipUnattendProcessing

Prevents Setup from processing Unattend.txt or Sysprep.inf during an installation of Emergency Management Services.

EncryptedAdminPassword

Enables Setup to install encrypted passwords for the Administrator account.

OEMDuplicatorString

Specifies a description of the duplication utility used, as well as any other information that an OEM or administrator wants to store in the registry.

OEMSkipRegional

Specifies whether to skip the Regional and Language Options page in the Mini-Setup stage.

OEMSkipWelcome

Specifies whether to skip the Welcome page in the Mini-Setup stage.

ServerWelcome

Specifies whether to install the Web Interface for Remote Administration at first logon on Windows Server 2003.

TimeZone

Specifies the time zone of the computer.

AdminPassword

Sets the Administrator account password.

Syntax
AdminPassword = password| *
Value Description

password

The password can contain as many as 127 characters. Passwords are case-sensitive and must be enclosed in quotes. Users cannot change or specify their own passwords in the Mini-Setup stage. You can enter a new password in the appropriate dialog box, but the password does not change.

*

The administrator password is blank or null.

Example
[GuiUnattended]
AdminPassword = "YhJ##3"
Comments

If you specify a password for the Administrator account, you cannot use the AdminPassword entry in the Sysprep.inf file to change it; the administrator password remains the same. However, if you specify a blank administrator password during an unattended installation, you can then use AdminPassword in Sysprep.inf to change it to a non-blank password.

If you specify a blank administrator password, you do not set the administrator password, or you set the administrator password to null, the automatic Administrator account logon feature is disabled (the AutoLogon entry is essentially set to No).

Do not specify the Administrator password in the Sysprep.inf file on computers delivered to users. Security breaches can occur if you use a common, non-blank administrator password for all computers provided to users. Prior to running Sysprep, we recommend that you use an automation process to set the administrator password to blank. Users can then specify their own passwords after receiving the computers.

In an unattended installation, Setup will force any password string that begins with an asterisk to null.

AutoLogon

Configures the computer to log on once with the Administrator account.

Syntax
AutoLogon = Yes | No
Value Description

Yes

Configures the computer to log on once with the Administrator account.

No

Does not automatically log on to the computer with the Administrator account.

Example
[GuiUnattended]
AutoLogon = Yes
Comments

The default value is No.

This entry is not available for upgrades.

This entry is dependent on the AdminPassword entry in the [GuiUnattended] section. If you specify a blank administrator password, you do not set the administrator password, or you set the administrator password to null, the automatic Administrator account logon feature is disabled (the AutoLogon entry is essentially set to No).

When you set AutoLogon to Yes, you cannot log off. If you try to log off, you will be logged back on automatically. The only way to log off is to reboot, which decrements the value of AutoLogonCount.

If you specify a password in the AdminPassword entry, Setup uses that password to log on automatically to the computer. After the installation finishes, Setup deletes the password from the copy of the answer file left on the computer.

AutoLogonCount

Specifies the number of times that the computer automatically logs on with the specified Administrator account and password.

Syntax
AutoLogonCount = integer
Example
[GuiUnattended]
AutoLogonCount = 5
Comments

The value of AutoLogonCount decrements after each logon, and WinLogon disables the feature after the specified number of logon attempts.

This entry requires that you set a value for the AdminPassword entry and that you use the entry AutoLogon = Yes. If you use the entry AutoLogon = Yes, WinLogon checks the value of AutoLogonCount. If the integer for AutoLogonCount is greater than 0, WinLogon decrements the count and then checks AdminPassword. If you use the entry AdminPassword = password, WinLogon uses this “password” to log on automatically. If you use the entry AdminPassword = “*”, the user must enter a password.

If AutoLogonCount = 0, WinLogon deletes the AutoAdminLogon, AutoLogonCount, and DefaultPassword entries from the registry. During the next restart, the user must log on manually.

Note

  • The function of this entry has changed slightly between Windows 2000 and Windows XP. Please review this entry carefully before using it in your answer file.

  • Make sure that the password for the master installation (that you plan to duplicate onto one or more destination computers) is blank.

  • You must restart the computer to decrement the value of AutoLogonCount.

EMSSkipUnattendProcessing

Prevents Setup from processing Unattend.txt or Sysprep.inf during an installation of Emergency Management Services.

Syntax
EMSSkipUnattendProcessing = 0 | 1
Value Description

0

Does not prevent Setup from processing Unattend.txt or Sysprep.inf during aninstallation of Emergency Management Services.

1

Prevents Setup from processing Unattend.txt or Sysprep.inf during an installation of Emergency Management Services.

Example
[GuiUnattended]
EMSSkipUnattendProcessing = 0
Comments

The default value is 0.

This entry applies only to Windows Server 2003.

EncryptedAdminPassword

Enables Setup to install encrypted passwords for the Administrator account.

Syntax
EncryptedAdminPassword = Yes | No
Value Description

Yes

Instructs Setup to install the encrypted Administrator account password.

No

Instructs Setup to keep the Administrator account password as plaintext.

Example
[GuiUnattended]
EncryptedAdminPassword = Yes
Comments

The default value is No.

To encrypt your Administrator passwords, use Setup Manager.

Note

  • If you use this entry to install an encrypted Administrator password during an unattended installation, Setup disables Autologon.

OEMDuplicatorString

Specifies a description of the duplication utility used, as well as any other information that an OEM or administrator wants to store in the registry.

Syntax
OEMDuplicatorString = 0 | 1
Value Description

string

The value can have a maximum of 255 characters.

Example
[GuiUnattended]
OEMDuplicatorString = “My Duplication Utility”
Comments

This entry is valid only for Sysprep.inf.

OEMSkipRegional

Specifies whether to skip the Regional and Language Options page in the Mini-Setup stage.

Syntax
OEMSkipRegional = 0 | 1
Value Description

0

Displays the Regional and Language Options page in the Mini-Setup stage.

1

Skips the Regional and Language Options page in the Mini-Setup stage.

Example
[GuiUnattended]
OEMSkipRegional = Yes
Comments

If you set OemPreinstall = Yes in the [Unattended] section and provide values for the [RegionalSettings] section, set OemSkipRegional = 1 to ensure that Setup completes without prompting the user for regional information.

OEMSkipWelcome

Specifies whether to skip the Welcome page in the Mini-Setup stage.

Syntax
OemSkipWelcome = 0 | 1
Value Description

0

Displays the Welcome page in the Mini-Setup stage.

1

Skips the Welcome page in the Mini-Setup stage.

Example
[GuiUnattended]
OemSkipWelcome = Yes
Comments

If you use the entry OemPreinstall = Yes, Setup automatically stops at the Welcome page. To avoid this pause in your factory or testing environment, set OEMSkipWelcome = 1. However, do not distribute any computer with OEMSkipWelcome = 1.

If you use the entry OemPreinstall = Yes in the [Unattended] section of Unattend.txt, Setup automatically stops at the Welcome page. To avoid this pause in your factory or testing environment, use the entry OEMSkipWelcome = 1 in the [GuiUnattended] section of Sysprep.inf. However, do not deliver any computer with OEMSkipWelcome = 1. Instead, change the entry to OEMSkipWelcome = 0 in the Sysprep.inf file that you use before delivering the computer to the customer.

ServerWelcome

Specifies whether to install the Web Interface for Remote Administration at first logon on Windows Server 2003.

Syntax
ServerWelcome = Yes | No
Value Description

Yes

Installs the Web Interface for Remote Administration.

No

Does not install the Web Interface for Remote Administration.

Example
[GuiUnattended]
ServerWelcome = No
Comments

The default value is Yes.

On the Windows Server 2003, Web Edition, if ServerWelcome = Yes, then on first logon, Sasetup.msi is run from the hard disk, the Web Interface for Remote Administration s added to the Startup program group for the Administrator account, and the Web UI is started.

On Windows Server 2003, Standard Edition, Windows Server 2003, Enterprise Edition, Microsoft Small Business Server, and Windows Server 2003, Datacenter Edition, if ServerWelcome = Yes, then Configure Your Server wizard is run on first user logon.

If this ServerWelcome = No, then Configure Your Server Wizard does not run.

TimeZone

Specifies the time zone of the computer.

Syntax
TimeZone = index

Index values for TimeZone entry

Index Time Zone Description

000

Dateline Standard Time

(GMT-12:00) International Date Line West

001

Samoa Standard Time

(GMT-11:00) Midway Island, Samoa

002

Hawaiian Standard Time

(GMT-10:00) Hawaii

003

Alaskan Standard Time

(GMT-09:00) Alaska

004

Pacific Standard Time

(GMT-08:00) Pacific Time (US and Canada); Tijuana

010

Mountain Standard Time

(GMT-07:00) Mountain Time (US and Canada)

013

Mexico Standard Time 2

(GMT-07:00) Chihuahua, La Paz, Mazatlan

015

U.S. Mountain Standard Time

(GMT-07:00) Arizona

020

Central Standard Time

(GMT-06:00) Central Time (US and Canada)

025

Canada Central Standard Time

(GMT-06:00) Saskatchewan

030

Mexico Standard Time

(GMT-06:00) Guadalajara, Mexico City, Monterrey

033

Central America Standard Time

(GMT-06:00) Central America

035

Eastern Standard Time

(GMT-05:00) Eastern Time (US and Canada)

040

U.S. Eastern Standard Time

(GMT-05:00) Indiana (East)

045

S.A. Pacific Standard Time

(GMT-05:00) Bogota, Lima, Quito

050

Atlantic Standard Time

(GMT-04:00) Atlantic Time (Canada)

055

S.A. Western Standard Time

(GMT-04:00) Caracas, La Paz

056

Pacific S.A. Standard Time

(GMT-04:00) Santiago

060

Newfoundland and Labrador Standard Time

(GMT-03:30) Newfoundland and Labrador

065

E. South America Standard Time

(GMT-03:00) Brasilia

070

S.A. Eastern Standard Time

(GMT-03:00) Buenos Aires, Georgetown

073

Greenland Standard Time

(GMT-03:00) Greenland

075

Mid-Atlantic Standard Time

(GMT-02:00) Mid-Atlantic

080

Azores Standard Time

(GMT-01:00) Azores

083

Cape Verde Standard Time

(GMT-01:00) Cape Verde Islands

085

GMT Standard Time

(GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London

090

Greenwich Standard Time

(GMT) Casablanca, Monrovia

095

Central Europe Standard Time

(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague

100

Central European Standard Time

(GMT+01:00) Sarajevo, Skopje, Warsaw, Zagreb

105

Romance Standard Time

(GMT+01:00) Brussels, Copenhagen, Madrid, Paris

110

W. Europe Standard Time

(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna

113

W. Central Africa Standard Time

(GMT+01:00) West Central Africa

115

E. Europe Standard Time

(GMT+02:00) Bucharest

120

Egypt Standard Time

(GMT+02:00) Cairo

125

FLE Standard Time

(GMT+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius

130

GTB Standard Time

(GMT+02:00) Athens, Istanbul, Minsk

135

Israel Standard Time

(GMT+02:00) Jerusalem

140

South Africa Standard Time

(GMT+02:00) Harare, Pretoria

145

Russian Standard Time

(GMT+03:00) Moscow, St. Petersburg, Volgograd

150

Arab Standard Time

(GMT+03:00) Kuwait, Riyadh

155

E. Africa Standard Time

(GMT+03:00) Nairobi

158

Arabic Standard Time

(GMT+03:00) Baghdad

160

Iran Standard Time

(GMT+03:30) Tehran

165

Arabian Standard Time

(GMT+04:00) Abu Dhabi, Muscat

170

Caucasus Standard Time

(GMT+04:00) Baku, Tbilisi, Yerevan

175

Transitional Islamic State of Afghanistan Standard Time

(GMT+04:30) Kabul

180

Ekaterinburg Standard Time

(GMT+05:00) Ekaterinburg

185

West Asia Standard Time

(GMT+05:00) Islamabad, Karachi, Tashkent

190

India Standard Time

(GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi

193

Nepal Standard Time

(GMT+05:45) Kathmandu

195

Central Asia Standard Time

(GMT+06:00) Astana, Dhaka

200

Sri Lanka Standard Time

(GMT+06:00) Sri Jayawardenepura

201

N. Central Asia Standard Time

(GMT+06:00) Almaty, Novosibirsk

203

Myanmar Standard Time

(GMT+06:30) Yangon (Rangoon)

205

S.E. Asia Standard Time

(GMT+07:00) Bangkok, Hanoi, Jakarta

207

North Asia Standard Time

(GMT+07:00) Krasnoyarsk

210

China Standard Time

(GMT+08:00) Beijing, Chongqing, Hong Kong SAR, Urumqi

215

Singapore Standard Time

(GMT+08:00) Kuala Lumpur, Singapore

220

Taipei Standard Time

(GMT+08:00) Taipei

225

W. Australia Standard Time

(GMT+08:00) Perth

227

North Asia East Standard Time

(GMT+08:00) Irkutsk, Ulaan Bataar

230

Korea Standard Time

(GMT+09:00) Seoul

235

Tokyo Standard Time

(GMT+09:00) Osaka, Sapporo, Tokyo

240

Yakutsk Standard Time

(GMT+09:00) Yakutsk

245

A.U.S. Central Standard Time

(GMT+09:30) Darwin

250

Cen. Australia Standard Time

(GMT+09:30) Adelaide

255

A.U.S. Eastern Standard Time

(GMT+10:00) Canberra, Melbourne, Sydney

260

E. Australia Standard Time

(GMT+10:00) Brisbane

265

Tasmania Standard Time

(GMT+10:00) Hobart

270

Vladivostok Standard Time

(GMT+10:00) Vladivostok

275

West Pacific Standard Time

(GMT+10:00) Guam, Port Moresby

280

Central Pacific Standard Time

(GMT+11:00) Magadan, Solomon Islands, New Caledonia

285

Fiji Islands Standard Time

(GMT+12:00) Fiji Islands, Kamchatka, Marshall Islands

290

New Zealand Standard Time

(GMT+12:00) Auckland, Wellington

300

Tonga Standard Time

(GMT+13:00) Nuku'alofa

Example
[GuiUnattended]
TimeZone = 030
Comments

If the entry is not present, the user must select a time zone.

If you do not configure a specific time zone setting, the default time zone depends on the language version of Windows that is installed. For example, in the Japanese version, the default time zone is “GMT+9 (Osaka, Sapporo, Tokyo).”