Windows logon screen shows the user name of the last logged in user. If you do not want the user name to be displayed you can disable it by modifying registry keys or by changing the security policy on the system.
Open registry editor and set the below registry key to 1.
Using Group/Security policy settings:
- Open security policy console by running
secpol.mscfrom Run window. This console can also be viewed in Group policy editor(
gpedit.msc) under the node
Computer Configuration -> Windows Settings -> Security settings -> Local Policies
- Double click on the setting ‘Interactive logon: Do not display last user name‘
- Disable the setting by selecting ‘Disabled’ check button.
If you want to provide shutdown option in the Windows logon screen, check this. How to enable shutdown button in Logon screen.