Click to Rate and Give Feedback
TechNet
TechNet Library
Windows
Windows Vista
Deployment
Components
AutoLogon
 LogonCount

  Switch on low bandwidth view
LogonCount

LogonCount specifies the number of times the account has been used. This value decrements each time someone logs on. You must restart the computer to reset the value of LogonCount. LogonCount must be specified if AutoLogon is used.

Values

 

Logon_count

Specifies the number of times someone has logged on to the computer, by using autologon. Logon_count is an integer.

Valid Passes

Parent Hierarchy

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML Example

The following XML output shows how to set autologon.

<AutoLogon>
   <Password>
      <Value>MyPassword</Value>
      <PlainText>true</PlainText>
   </Password>
   <Domain>FabrikamDomain</Domain>
   <Enabled>true</Enabled>
   <LogonCount>2</LogonCount>
   <Username>MyUserName</Username>
</AutoLogon>

See Also

Concepts

AutoLogon

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker