Solved

Set login screen username

Posted on 2010-09-20
6
648 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
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:
Porka earned 350 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

762 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now