Auto populate the logon box with default user

G

Guest

Is it possible to make the same default user name appear in the windows logon box each time, regardless of who logged on last time. I dont need it to auto logon, I just need the same name to be in the username box at logon. I'm assuming there should be a registry value for this but I havent found anything yet. I also assume its possible to automatically populate the domain part of the logon box also, so by default the same domain name is specified each time and not just the last one used.

Thank

john
 
T

Tim Rains [MSFT]

Hello. Thank-you for your post.

Windows 2000 allows you to configure the behavior of this dialog box two
ways:
1) By default, the last user name used to logon the system is displayed.
2) The user name is blank.

In Windows 2000, this behavior is controlled using this registry key:

HKEY_LOCAL_MACHINE\\Software\Microsoft\Windows\CurrentVersion\Policies\Syste
m

Value Name: DontDisplayLastUserName
Data Type: REG_DWORD
Value: 0 = Display last logged on user name
1 = Don't display last logged on user

If you want behavior different from this, you need to build your own custom
msgina.dll. More details on this are available at this link:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/se
curity/winlogon_and_gina.asp

I hope this helps.

Tim Rains
Product Support Services
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top