How to prevent the name of the last logged-on user from being displayed in the Log On to Windows dialog box in Windows Server 2003
This article describes how to prevent the name of the last logged-on user from being displayed in the Log On to Windows dialog box.
Applies to: Windows 10 - all editions, Windows Server 2012 R2
Original KB number: 324740
By default, Windows displays the name of the last user who successfully logged on to the computer. This name is displayed in the Log On to Windows dialog box. Security administrators may prefer that the last logged-on user name not be displayed in the Log On to Windows dialog box. Although this configuration requires that users must type their user name (and password) each time that they sign in, it can help to prevent attempts by unauthorized users to gain access to the computer.
You can use Group Policy to prevent the name of the last logged-on user from being displayed in the Log On to Windows dialog box. The group policy can apply to the local computer, sites, domains, and organizational units (OU).
- Select Start, select Run, type mmc in the Open box, and then select OK.
- On the File menu, select Add/Remove Snap-in.
- Select Add.
- Select Group Policy Object Editor, and then select Add.
- Select the target Group Policy object (GPO). The default GPO is Local Computer. Click Browse to select the GPO that you want, and then select Finish.
- Select Close, and then select OK.
- Expand the group policy object, expand Computer Configuration, expand Windows Settings, and then expand Security Settings.
- Expand Local Policies, and then select Security Options.
- In the right pane, double-click Interactive logon: Do not display last user name.
- Click to select the Define this policy setting check box (if it's present), and then select Enabled.
- Select OK.
Microsoft Windows NT 4.0-based computers don't support Windows Server 2003 Group Policy.
For more information about working with Group Policy in Windows Server 2003, see Group Policy Help. To do it, select Help on the Action menu in the Group Policy Object Editor snap-in, select the Contents tab, and then select Group Policy.