Share via


SetAutoLogon

Note  This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

Use the SetAutoLogon parameter to enable the auto-logon feature on the client computer.

Syntax

wttcmd.exe /setautologon [/lluname:<LLUName>][/user:<username> /domain:<domain> /password:<password>] /autologoncount:<value>
Argument Description

/LLUName:<LLUName>

The name of the Local Logical User (LLU) to be used with auto-logon.

/User:<Username>

The user name.

/Domain:<Domain>

The domain that the user belongs to. This will be the name of the client computer if the user account exists on the computer itself.

/Password:<Password>

The password for the user.

/AutoLogonCount:<value>

The number of logoffs for which auto-logon is enabled.

 

Examples

wttcmd.exe /setautologon /lluname:LLU_LADU /autologoncount:1 

Remarks

The SetAutoLogon parameter requires either an LLU name or a user/domain/password triplet, but not both.

 

 

Build date: 9/14/2012