Solved

Last User Logon and Windows 2000

Posted on 2000-02-24
2
159 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

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…
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

932 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now