Solved

Set login screen username

Posted on 2010-09-20
6
653 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

679 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