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.
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:21-MAR-14
Did this document solve your problem? Provide Feedback