AutoLogonOptionsCount Property

Gets or sets the number of times automatic log-on will be used.

Definition

Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.1.0+446b05628b4ec6933ca1b84b1f778ac43fb60ce9
C#
public int Count { get; set; }

Property Value

Int32
The automatic log-on count. The default value is 1.

Remarks

A workaround is applied for an issue where Windows adds 1 to the count specified in the answer file. If the count is 1, a first-log-on command is used to clear the count to ensure exactly one log-on. If the count is larger than 1, the count written to the answer file will be one less than the value specified here.

See Also