Solved

Last User Logon and Windows 2000

Posted on 2000-02-24
2
161 Views
Last Modified: 2010-04-14
Ayone notice that clearing the last user logon policy in Windows 2000 does not work.  I do not have AD or GPO's, I am using the old NT4.0 policies.


The following is from 2000 documentation from Microsoft showing the registry entry that needs to be changed.  The policy will change the value from 1 to 0 but this does not clear the username on the logon screen.  All my old NT4.0 workstations and servers work fine.

Any ideas?


DontDisplayLastUserName
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Data type Range Default value
REG_SZ or REG_DWORD  0 | 1 (decimal only)  0  

Description
Determines whether a user name appears in the Log On to Windows dialog box.

By default, Windows 2000 displays the user name of the last user who logged on successfully (as stored in the value of DefaultUserName) in the Log On to Windows dialog box. If the value of this entry is 1, the User name box in the Log On to Windows dialog box is blank.

Value Meaning
0 The name of the last user who logged on successfully is displayed in the Log On to Windows dialog box. This setting is designed to make logging on faster and easier.
1 The User name field in the Log On to Windows dialog box is blank. This setting is designed to enhance the security of the system by not displaying a valid user name.

 Note

This entry can be overriden by a Group Policy setting in Windows 2000. When the Do not display last user name in logon screen policy (Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options) is defined, this entry is ignored.



0
Comment
Question by:darrenburke
2 Comments
 
LVL 6

Accepted Solution

by:
Lermitte earned 50 total points
ID: 2556021
This issue occurs because Windows 2000 stores this information in a different
registry location than Windows NT 4.0. Because of this, the last logged on user
name may be visible in the logon dialog box. In Windows 2000, this registry key
is located at:
 
   HKEY_LOCAL_MACHINE\\Software\Microsoft\Windows\CurrentVersion\Policies\System
 
   Value Name: DontDisplayLastUserName
   Data Type:  REG_SZ
   Value:      0 = Display last logged on user name
               1 = Don't display last logged on user
0
 
LVL 4

Author Comment

by:darrenburke
ID: 2556197
Thank you,  this was driving me crazy.  So it was a "bug" is Microsft's documentation!!

Darren  

0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
The advancement in technology has been a great source of betterment and empowerment for the human race, Nevertheless, this is not to say that technology doesn’t have any problems. We are bombarded with constant distractions, whether as an overload o…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question