Novell Home

My Favorites

Close

Please to see your favorites.

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.

Environment

Novell Client 2 SP3 for Windows (IR4)
Windows 7
Windows 8
Windows 2008 R2
Window 2012

Situation

By default, the Novell Client populates the login username with the username of the last user who logged on to the machine.  It is also possible, through the Novell Client "Last Logged On User" setting (or the Microsoft "DontDisplayLastUserName" policy, which is the same thing) to always display a blank username, instead of the last logged on user.
 
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.

Resolution

Beginning with Novell Client 2 SP3 for Windows (IR4), it is possible to configure the Novell Client such that a pre-defined username will be used to populate the "Username:" field when logging in.

Define the UserName (Required)
Using Regedit.exe, create the following registry REG_SZ value, defining the UserName:

[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Login]
"ForceLastUserName"="SomeUserName"

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:

[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Login]
"ForceLastUserNameLoginProfile"="SomeProfileName"

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.

Disclaimer

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
    • NovellClient

Did this document solve your problem? Provide Feedback