How to Display User Information or Not when a Windows Session is Locked
Information
This will show you how to have the user name to show or hide when a user locks the computer in Vista and Windows 7. If set to be hidden, users will be required to enter both their user name and password when logging back in from the locked computer screen.
You must be logged in as an administrator to be able to do the steps in this tutorial.
You must be logged in as an administrator to be able to do the steps in this tutorial.
EXAMPLE: Locked Computer Screen




OPTION ONE
Using a REG File Download
1. To Set as "Not Defined"
NOTE: This is the default setting. It does the same as the setting in step 2.
A) Click on the Download button below to download the file below.
Locked-Not_Defined.reg
Download
B) Go to step 5.
2. To Set as "User display name, domain and user names"
A) Click on the Download button below to download the file below.
Locked-User_display_name_domain_and_user_names.reg
Download
B) Go to step 5.
3. To Set as "User display name only"
A) Click on the Download button below to download the file below.
Locked-User_display_name_only.reg
Download
B) Go to step 5.
4. To Set as "Do not display user information"
A) Click on the Download button below to download the file below.
Locked-Do_not_display_user_information.reg
Download
B) Continue on to step 5.
5. Click on Save, and save the .reg file to the Desktop.
6. Right click on the downloaded .reg file and click on Merge.
7. Click on the Run, Yes (UAC-Windows 7) or Continue (UAC-Vista), Yes, and then OK when prompted.
8. When done, you can delete the .reg file on desktop if you like.
9. Lock the computer (Windows Key + L) to see the change.
10. You may also wish to set the same setting for the Windows logon screen: How to Make Windows 7 Require a User Name and Password in Logon Screen
OPTION TWO
Using Local Security Policy
1. Open the Local Security Policy editor.
2. In the left pane, expand Local Policies, and click on Security Options. (see screenshot below)
3. In the right pane, double click on Interactive logon: Display user information when the session is locked. (see screenshot above)
4. Select the option you want, and click on OK. (see screenshot below)

5. Lock the computer (Windows Key + L) to see the change.
6. You may also wish to set the same setting for the Windows logon screen: How to Make Windows 7 Require a User Name and Password in Logon Screen
That's it,
Shawn
Attachments
Last edited: