![]() |
Answer File = Sysprep.inf
The [GuiUnattended] section for Sysprep.inf contains entries for preparing the graphical user interface (GUI) for unattended Setup.
For the Unattend.txt version, see [GuiUnattended] (Unattend.txt).
Entry | Description |
---|---|
AdminPassword | Sets the Administrator account password. |
AutoLogon | Configures the computer to log on automatically with the Administrator account on the first reboot. |
AutoLogonCount | Specifies the number of times that the computer automatically logs on using the specified Administrator account and password. |
EMSSkipUnattendProcessing | Prevents Windows Setup from processing Unattend.txt or Sysprep.inf during an unattended installation to a remotely administered server. |
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 unattended Setup skips the Regional and Language Options page in GUI-mode Setup and Mini-Setup. |
OEMSkipWelcome | Specifies whether unattended Setup skips the Welcome page in GUI-mode Setup and Mini-Setup. |
TimeZone | Specifies the time zone of the computer's location. |
This sample demonstrates one use of the [GuiUnattended] section of Sysprep.inf.
[GuiUnattended] AdminPassword = "TG33hY" AutoLogon = Yes AutoLogonCount = 3 EMSSkipUnattendProcessing = 1 EncryptedAdminPassword = Yes OEMDuplicatorString = "My Duplication Utility" OEMSkipRegional = 1 OEMSkipWelcome = 1 TimeZone = 030
Sets the Administrator account password.
Syntax | AdminPassword = password |
---|---|
Values | "password" The password may 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 | AdminPassword = "TG33hY" |
Registry subkey | HKEY_LOCAL_MACHINE\Software\Microsoft\ Windows\CurrentVersion\WinLogon\DefaultPassword |
Dependencies | If AdminPassword is set to blank, null, or not set, the registry subkey HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\ CurrentVersion\WinLogon\AutoAdminLogon (controlled by AutoLogon) is set to 0 (false) which disables the automatic Administrator account logon feature. |
Comments | If you specify a password in 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 the Administrator password was initially blank (either manually or through an unattended Setup), you can use the AdminPassword entry to change it to a non-blank password. Important
|
Configures the computer to log on automatically with the Administrator account on the first reboot.
Syntax | AutoLogon = Yes | No |
---|---|
Values | Yes Configures the computer to log on automatically with the Administrator account on the first reboot. NoDefault. Does not automatically log on to the computer. |
Example | AutoLogon = Yes |
Registry subkey | HKEY_LOCAL_MACHINE\Software\Microsoft\ Windows NT\CurrentVersion\WinLogon\AutoAdminLogon |
Dependencies | If AdminPassword is set to blank, null, or not set, the registry subkey HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\ CurrentVersion\WinLogon\AutoAdminLogon (controlled by AutoLogon) is set to 0 (false) which disables the automatic Administrator account logon feature. |
Comments | The entry is not valid on upgrades. When you set the value of the AutoLogon entry 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 by using the AdminPassword entry, the computer uses that password when you automatically log on. After the installation finishes, Setup deletes the password from the copy of the answer file left on the computer. |
Specifies the number of times that the computer automatically logs on using the specified Administrator account and password.
Syntax | AutoLogonCount = integer |
---|---|
Value | integer |
Example | AutoLogonCount = 3 |
Registry subkey | HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\ CurrentVersion\WinLogon\AutoLogonCount |
Comments | The value decrements after each time someone logs on, and WinLogon disables the feature after the specified number of logon attempts. Requires If Important
|
Prevents Windows Setup from processing Unattend.txt or Sysprep.inf during an unattended installation to a remotely administered server.
Syntax | EMSSkipUnattendProcessing = 0 | 1 |
---|---|
Values | 0 Does not prevent Windows Setup from processing Unattend.txt or Sysprep.inf during an unattended installation to a remotely administered server. 1Prevents Windows Setup from processing Unattend.txt or Sysprep.inf during an unattended installation to a remotely administered server. |
Default Value | 0 |
Example | EMSSkipUnattendProcessing = 0 |
Comments | Applies only to the Windows Server 2003 family. |
Enables Setup to install encrypted passwords for the Administrator account.
Syntax | EncryptedAdminPassword = Yes | No |
---|---|
Values | Yes Instructs Setup to install the encrypted Administrator account password. NoDefault. Instructs Setup to keep the Administrator account password as clean text. |
Example | EncryptedAdminPassword = Yes |
Comments | To encrypt your Administrator passwords, use Setup Manager on the Windows OPK CD (in Tools) and in Deploy.cab. Important
|
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 = string |
---|---|
Value | user-defined_string Valid only for Sysprep.inf. The value can have a maximum of 255 characters. |
Example | OEMDuplicatorString = "My Duplication Utility" |
Registry subkey | HKEY_LOCAL_MACHINE\System\Setup\OemDuplicatorString |
Specifies whether unattended Setup skips the Regional and Language Options page in GUI-mode Setup and Mini-Setup.
Syntax | OEMSkipRegional = 0 | 1 |
---|---|
Values | 0 Displays the Regional and Language Options page in GUI-mode Setup and Mini-Setup. 1Skips the Regional and Language Options page in GUI-mode Setup and Mini-Setup. |
Example | OEMSkipRegional = 1 |
Comments | When providing values for the [RegionalSettings] section, set |
Specifies whether unattended Setup skips the Welcome page in GUI-mode Setup and Mini-Setup.
Syntax | OEMSkipWelcome = 0 | 1 |
---|---|
Values | 0 Displays the Welcome page in GUI-mode Setup and Mini-Setup. 1Skips the Welcome page in GUI-mode Setup and Mini-Setup. |
Example | OEMSkipWelcome = 1 |
Comments | If If the value of the OemPreinstall entry in the [Unattended] section of Unattend.txt is set to Yes, unattended Setup automatically stops at the Welcome page. To avoid this pause in your factory or testing environment, set the value of OEMSkipWelcome in the [GuiUnattended] section of Sysprep.inf to 1. However, do not deliver any computer with |
Specifies the time zone of the computer's location.
Syntax | TimeZone = index |
---|---|
Value | index |
Example | TimeZone = 030 |
Comments | If the entry is not present, the end user must select a time zone. For a list of valid time zones, see TimeZone in Unattend.txt. Note
|