Computer Performance, Windows Vista Registry

Guy recommends :
Free Solarwinds
VM Console

Solarwinds VM Console Free Download

Find out which of your VMs are a waste of space and which VMs need more resources.



Vista Registry Tweak - DontDisplayLastUsername

Vista Registry Tweak - DontDisplayLastUsername

The idea behind the DontDisplayLastUsername registry tweak is to tighten security, particularly on communal machines.  The default registry setting means that the logon dialog box displays the last username.  If it's your own machine, where no-one else ever logs on - fine, don't change the setting.  However, if it's a communal machine, then one user can inadvertently, or even deliberately, lockout another user's account.  Solution: DontDisplayLastUsername = 1.

Topics for DontDisplayLastUsername

 ♦

Instructions for Setting DontDisplayLastUsernameWindows Vista Regedit and DontDisplayLastUsername

  1. Launch Regedit. (See more details on starting regedit)
  2. Navigate to:
    HKLM\Software\Microsoft\Windows\CurrentVersion\ Policies\System\DontDisplayLastUserName
    Set: DontDisplayLastUsername = 1
  3. Tip: In regedit, click on the Edit menu, 'Find': DontDisplayLastUsername
  4. To see the effect, try a Logoff / Logon to the Vista Machine
  5. Double check the logic of 'don't display the last username' (1 = Yes: don't.  Whereas, 0 = No: Do)

Key Learning Points

  • Do you find the DontDisplayLastUsername value in HKCU** or HKLM?
    Answer: HKLM
  • Do you have to add a value, or modify an existing setting? 
    Answer: Modify 0 --> 1.
  • Is it a String Value or a DWORD?
    Answer: REG_SZ (String value).
  • Do you need to Restart, or merely Logoff / Logon?
    Answer: Restart
  • Special Note: In Vista the path to DontDisplayLastUsername is different from that in XP.  In a nutshell,
    Windows NT\CurrentVersion\winlogon has changed to:
    Windows\CurrentVersion\Policies\System\.  The full paths are:
    XP   : HKLM\Software\Microsoft\Windows NT\CurrentVersion\winlogon
    Vista: HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\

Virtualization ManagerGuy Recommends a Free Tool: VM Console

Virtual Machines are great for reducing hardware costs, but they can multiply fast and can get out of control.  Solarwinds' VM Console is the classic tool to answer the following questions:

  1. Which VM's are struggling and thus need more resources.
  2. Which VM's are idle, and so are literally a waste of (disk) space.

The benefit of a good utility such as Solarwinds Virtualization Manager is that you see the big picture yet drill down into the detail of disk, memory or CPU.

Download your free copy of VM Console

And a story goes with 'Guy's tip'.

The 1930's writer Damon Runyon, had a character called 'Harry the horse', who made a living out of giving tips. What distinguished Harry from the rest of the 1930's hustlers, was the story that went with his tips.  I would love to be the 'Harry the horse' of Vista tips, but normally my readers just don't have time for a story, they just want to cut to the chase.

In the case of DontDisplayLastUserName, my story is this.  On my training course I had a techie from a well-known British University, (or should I say Luniversity).  His students had a craze of locking out their lecturers accounts by typing the wrong password for the lecturer's username, 5 times.  What happened was they would spot a lecturer working at a communal machine, then when he logged off, they would try and logon with his username, but the wrong password.  Result: one lecturer's account gets locked out.

The consequence of the immature actions of these students was frustrating for the poor lecturers, and extra work for the IT technician.  It was a pleasure to suggest the solution, on the communal machines - edit the registry and set: DontDisplayLastUsername = 1.  Now, your brain may be racing ahead here.  Are you thinking, 'why don't they implement a Group Policy'.  Quite right.  A Group Policy is the way to go, configure all student and communal machines to prevent the display of the last user.  You may NOT want to have this setting on your own machine, or that of any trusted user because, let us face it, it is irritating to have to type the username in addition to the password at every logon.  Turn the argument around, it's lovely to have your own username displayed at the logon box at your own machine.

Creating a .Reg File

I exported this HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\  branch of the registry into a .reg file, which I then imported to each of the communal machines.  The result was no account lockout after that registry hack. Example DontDisplayLastUsername .reg file.

If you like this page then please share it with your friends

 


Windows Vista Registry Tweaks:

 

 *


Custom Search

Guy Recommends: SolarWinds Free IP SLA MonitorSolarwinds IP Sla Monitor

SolarWinds IP SLA Monitor offers so much more than just uncovering network bottlenecks, the real joy is learning about router traffic.

To find out what's happening on the network between your computers and their routers, download your free copy of the of IP SLA Monitor.

Home Copyright © 1999-2012 Computer Performance LTD All rights reserved

Please report a broken link, or an error.