How to pre-populate the username field, regardless of the last user who logged in
This document (7013447) is provided subject to the disclaimer at the end of this document.
Windows 2008 R2
In some environments, neither of these options are desirable, and instead having a specific username always come up as the default username is desired. For example, a school may have a single username for all students, such as "student." As long as a student always logs in there no problem. But if a teacher logs in, the next student that logs in will be faced with the Credential Provider username field populated with the teacher's username.
- Last Logged On user - Specifies whether the last logged on user is displayed along with the Novell Logon when logging on to the computer.
- Last Logged On User Default User - If specified, forces the "Last Logged On User" presented by Novell Client to always be the user specified, regardless of which other user may have actually logged on last. When not specified, the default behavior is to remember whichever user had previously logged on.
- Last Logged On User Default Profile - If specified, indicates which Novell Client Login Profile should be used in conjunction with the "Last Logged On User Default User". When not specified, the default behavior is to use whichever Novell Client Login Profile was previously selected for the user, if more than one Novell Client Login Profile is available. For example, when configuring a specific "Last Logged On User Default User" that should always be shown by default, it may be desirable to configure "Last Logged On User Default Profile" as "Default" (or a different Novell Client Login Profile name that has been created) so that a specific Novell Client Login Profile will always be selected by default, too.
Define the UserName (Required)
Using Regedit.exe, create the following registry REG_SZ value, defining the UserName:
Replace "SomeUserName" with the username you want to always appear in the "Username" field.
This value specifies the Username, which can be used for either Computer only logon or Network logon. If this key is present, the defined Username will be displayed. If this key is not present, "Last Logged On Username" will be displayed.
In order for the ForceLastUserName policy to be used, the Novell Client "Last Logged On User" setting (and/or the Microsoft "DontDisplayLastUserName" policy, which is the same thing) must be set to ALLOW the last logged on user
information to be displayed. In other words, if "DontDisplayLastUserName" / "Last Logged On User" is set to hide last logged-on user information, the last user will be hidden even if a ForceLastUserName policy is present.
Define the User Profile (Optional)
Using Regedit.exe, create the following registry REG_SZ value, defining the User Profile:
Replace "SomeProfileName" with the User Profile you want to use when logging on.
This value specifies the User Profile to be used. If not present, the System Default Profile will be used.
The optional ForceLastUserNameLoginProfile policy, to specify a specific Novell Client login profile that should also be selected by default, must specify a Novell Client login profile which already exists. Specifying an arbitrary or new login profile name in the ForceLastUserNameLoginProfile policy will not cause a profile by that name to be created. The Novell Client login profile specified in the optional ForceLastUserNameLoginProfile policy must be one the user could have selected during login already, same as when performing an interactive login without ForceLastUserName active.
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7013447
- Creation Date:14-OCT-13
- Modified Date:28-JAN-16
Did this document solve your problem? Provide Feedback