Solved

How to set last user on logon screen

Posted on 2013-06-08
8
537 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
[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
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 95

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
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
LVL 95

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
 
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 54

Expert Comment

by:McKnife
ID: 39233059
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.
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.

737 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