Export (0) Print
Expand All

[GuiUnattended] (Unattended Installation)

Updated: March 28, 2003

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) for unattended installation.

Answer File Entries for the [GuiUnattended] Section

 

Entry Description

AdminPassword

Sets the Administrator account password.

Arguments

Indicates that arguments or entries accompany the custom program that runs concurrently with Setup.

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.

DetachedProgram

Indicates the path of the custom program that runs concurrently with Setup.

EMSBlankPassword

Enables the use of a blank administrator password in unattended installations of Emergency Management Services.

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.

OEMSkipRegional

Enables unattended installation to skip the Regional and Language Options page in the final (GUI-mode) stage of Setup.

OEMSkipWelcome

Enables unattended installation to skip the Welcome page in the final (GUI-mode) stage of Setup.

ProfilesDir

Specifies the location of Windows XP or Windows Server 2003 profiles.

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 Mini-Setup. 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 during an unattended installation, 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).

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.

Arguments

Indicates that arguments or entries accompany the custom program that runs concurrently with Setup.

Syntax

                Arguments = 
                string
              
Example
[GuiUnattended]
Arguments = /n /s
Comments

This entry is required if you are using the DetachedProgram entry.

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.

Note

  • Encrypting the Administrator password in the EncryptedAdminPassword entry disables AutoLogon.

  • To skip Windows Welcome, set UnattendSwitch to Yes in the [Unattended] section of the answer file.

  • If you wish to log on automatically after running Sysprep in Factory mode, set AuditAdminAutoLogon to Yes in the [ComputerSettings] section of Winbom.ini.

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.

DetachedProgram

Indicates the path of the custom program that runs concurrently with Setup.

Syntax

                DetachedProgram = 
                DetachedProgram
              
Example
[GuiUnattended]
DetachedProgram = "%systemdrive%\extras\install.exe"
Comments

If the program requires any arguments, you must specify them in the Arguments entry.

EMSBlankPassword

Enables the use of a blank administrator password in unattended installations of Emergency Management Services.

Syntax

                EMSBlankPassword = Yes | No

 

Value Description

Yes

Enables the use of "*" with AdminPassword when installing Emergency Management Services.

No

Disables the use of "*" with AdminPassword when installing Emergency Management Services .

Example
[GuiUnattended]
EMSBlankPassword = Yes
Comments

The default value is No.

This entry applies only to Windows Server 2003. By default, blank administrator passwords (AdminPassword = "*") are not allowed in unattended installations of Emergency Management Services.

Note

  • If you create a password that starts with an asterisk (*), Windows sets the password to Null. A null password could be a security risk and is not recommended.

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.

OemSkipRegional

Enables unattended installation to skip the Regional and Language Options page in the final (GUI-mode) stage of Setup.

Syntax

                OEMSkipRegional = 0 | 1

 

Value Description

0

Displays the Regional and Language Options page in the final (GUI-mode) stage of Setup.

1

Skips the Regional and Language Options page in the final (GUI-mode) stage of Setup.

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

Enables unattended installation to skip the Welcome page in the final (GUI-mode) stage of Setup.

Syntax

                OemSkipWelcome = 0 | 1

 

Value Description

0

Displays the Welcome page in the final (GUI-mode) stage of Setup.

1

Skips the Welcome page in the final (GUI-mode) stage of Setup.

Example
[GuiUnattended]
OemSkipWelcome = Yes
Comments

You must also set OemPreinstall = Yes if you use this entry.

If OemPreinstall = Yes in the [Unattended] section of the answer file, unattended installation automatically stops on the Welcome page. To avoid this pause, set OemSkipWelcome = 1.

ProfilesDir

Specifies the location of Windows XP or Windows Server 2003 profiles.

Syntax

                ProfilesDir = 
                path_to_profile_folder
              
Example
[GuiUnattended]
ProfilesDir = "%systemroot%\Profiles"
Comments

The default is systemdrive\Documents and Settings.

This entry is useful if you require new installations to use the same profile folder as Windows NT 4.0 or Windows 2000. This entry is valid only on clean installations of Windows XP or Windows Server 2003. Setup ignores this entry during upgrades.

The specified directory can contain an environment variable such as systemdrive or systemroot. Enclose path_to_profile_folder in quotation marks if it is a long file name or if it contains an environment variable.

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)."

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft