Solved

How to set last user on logon screen

Posted on 2013-06-08
8
532 Views
Last Modified: 2013-07-09
Hi All,

Something that my team and I have noticed is that upon logging off of Windows, as an administrator, the username remains present as the default profile to log onto.

I remember in XP there was an application that I used to use to set it to a different profile that is on the machine.  Is there away to do this in Windows 7 or 8?
0
Comment
Question by:blastississimo
8 Comments
 
LVL 10

Expert Comment

by:Sam Simon Nasser
ID: 39232017
you can do this through secpol.msc

1. Click Start->Run->secpol.msc
2. Navigate to Local policies -> Security settings
3. Find the entry "Interactive Logon: Hide last user..." and set it to activated.
4. Reboot the machine

or

To remove the last logged name, add this line in a .cmd script

reg add HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DontDisplayLastName /t REG_DWORD /d 1 /f

If you prefer then in GPO

   1. Click on Start button, and type secpol.msc into Start Search box, and hit Enter to open the Local Security Policy Editor.
   2. Navigate to Security Settings -> Local Policies -> Security Options.
   3. In the right pane, double click on Interactive Logon: Do not display last user name.
   4. Select and set the radio button of Enabled.
0
 
LVL 91

Expert Comment

by:John Hurst
ID: 39232024
For Windows 7, Start, Run Control Userpasswords2, go the Advanced Tab and select (check) Require users to press Ctrl Alt Del to log on.

Now right click on Computer, select Manage, go to Admin Tools, Local Security Policy, Local Policy, Security Options. Under Interactive Login enable Do not display last user name.

Now on login the user id will always be blank.

.... Thinkpads_User
0
 

Author Comment

by:blastississimo
ID: 39232031
Thank you both for your response.  I apologize for the miscommunication.

We'd actually prefer that the username remain at the log in screen in order to make it so that it is pre populated for our users.  My question is this:

How can one log on and log off and not have the admin username remain as the last profile logged onto?
0
 
LVL 91

Expert Comment

by:John Hurst
ID: 39232036
I have only ever found an option to have (a) no user name as described above, or (b) let the system use the last user name (which you didn't want because it is "administrator".  It could have been a third user also.

... Thinkpads_User
0
Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

 
LVL 10

Expert Comment

by:Sam Simon Nasser
ID: 39232042
simple answer, after you logout from the admin account, log in with the desired user account, in this case the user username will be the last entered username.

i will search for alternatives.
0
 
LVL 10

Expert Comment

by:Sam Simon Nasser
ID: 39232044
alternative, you can use Auto-login feature, this require registry editing to make the windows auto-login to particular account, and if another user log in, all what you have to do is restart.

here is the auto log in for xp / vista / 7
http://pcsupport.about.com/od/tipstricks/f/auto-login-windows.htm
0
 
LVL 14

Accepted Solution

by:
Rob Miners earned 500 total points
ID: 39232160
Check this link to see if it is of any help

Automatically Reset Last Logged On User - Windows Domain

http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28090635.html
0
 
LVL 53

Expert Comment

by:McKnife
ID: 39233059
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

929 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

11 Experts available now in Live!

Get 1:1 Help Now