Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Set login screen username

Posted on 2010-09-20
6
Medium Priority
?
657 Views
Last Modified: 2012-05-10
I'm looking for a way to set the username field on the login screen to always default to the same login name. So for instance, if the login name I want displayed by default in the username filed is tuser,  and user logs in with username jsmith, when they logoff or the computer is restarted the username field will automatically go back to tuser.

Thank you
0
Comment
Question by:heydude
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 32

Expert Comment

by:DrDamnit
ID: 33721814
As far as I know, no.

This would be a huge security issue if we could programatically set the login screen usernames.

But let's see if someone else has a better (working) idea.
0
 
LVL 6

Accepted Solution

by:
Jarrod earned 1400 total points
ID: 33722000
I cant say ive done it but the first that springs to mind is running a command on logout to set the registry key at HKLM\Software\Microsoft\Windows NT\Current Version\Winlogon and adjust the defaultusername field. Dont see if being to big a security issue if its just a basic username for a kiosk style environment. Hope this helps
0
 
LVL 2

Expert Comment

by:sushil_dias
ID: 33722907
Does this answer your query?
1. Click Start, click Run, type mmc, and then click OK.
2. On the Console menu, click Add/Remove Snap-in.
3. Click Add.
4. Click the Group Policy snap-in, and then click Add.
5. Click the target Group Policy object (GPO). The default setting is the local computer. Click Browse to select other GPOs that are available on the network. Click Finish.
6. Click Close, and then click OK.
7. Expand the Computer Configuration node, the Windows Settings node, and the Security Settings node.
8. Expand the Local Policies node, and then click Security Options.
9. In the right pane, double-click the Do not display last user name in logon screen entry.
10. Click Enabled.
11. Click OK.
12. Close the Group Policy console and restart the computer.

 
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 1

Expert Comment

by:atuldelhi
ID: 33723040
Check User Accounts option first in Control panel to make sure the way you logon. Then you can follow below steps

Click Start, click Run, type mmc, and then click OK. . On the Console menu, click Add/Remove Snap-in.
. Click Add.  Click the Group Policy snap-in, and then click Add.  Click the target Group Policy object (GPO). The default setting is the local computer. Click Browse to select other GPOs that are available on the network. Click Finish. Click Close, and then click OK.  Expand the Computer Configuration node, the Windows Settings node, and the Security Settings node. Expand the Local Policies node, and then click Security Options.  In the right pane, double-click the Do not display last user name in logon screen entry.
Click Enabled. Click OK.

Reboot the computer and check. I hope this will resolve your problem.
0
 

Author Comment

by:heydude
ID: 33740594
I was a little confused about setting the Do not display last user name in logon screen option. I thought that just blanks out the username field. I set the option to see what would happen, and it just blanked out the username field. I'm looking to have the system default back to a certain login after the computer is logged off or shutdown. If user jsmith logs into the computer for example, I want the default user tuser if that was the name for example to pop back into the username field. So no mater who logs into the computers in the lab, it will always default back the username tuser
0
 

Author Closing Comment

by:heydude
ID: 33740659
I tried making this registry change for the user I want to display, and it worked. I didn't have to create a script.


Thank you
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Can you find a fax from a vendor you saved a decade ago in seconds? Have you ever cursed your PC under your breath during an audit because you couldn’t find the requested statement or driver history?  If you answered no to the first question or yes …
It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

730 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