Link to home
Start Free TrialLog in
Avatar of Dawn_Bl
Dawn_Bl

asked on

Display last successful logon....

Hello,

When a user logs on to the network, is it possible to somehow display the date/time of the last successful logon from that computer? I want it to be displayed to the current user logging in so if by chance someone logged in with their user name they would be aware of it.

I am running a single Active Directory domain on Windows 2000 Server.

Thanks,
Dawn
Avatar of dew_associates
dew_associates
Flag of United States of America image

Hi Dawn,

This is difficult to do from the users perspective and is much easier as a domain admin through the use of auditing, but let's see if we can come up with both for you.

Usrstat.exe from the NT resource kit displays user name, full name, and last logon date and time for each user account across all domain controllers. This can be run from a batch file.

Use regedit to make the following change:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
 
Value: DontDisplayLastUserName
Type: REG_SZ
Default: 0 : Displays last user name
Other: 1 : Does not display last user name

If you need more let me know.

Dennis
Avatar of Navid
Navid

Hi Dennis and Dawn!
The answer from Dennis will work 100% on windows NT but not on win2k even if win registry guide is claiming on its home page.
The solution for win2k as we have done to our computers is to active the key on local security settings:
Goto run type in MMC (Microsoft Management Console)
"Add a snap" from the menu called group policy, then goto windows settings, security settings, local policy, security options then there is one relating to the logon screen called 'Do not display
last user name in logon screen'
Avatar of Dawn_Bl

ASKER

Hi again...

Sorry to keep this question going on so long... what I was really trying to do was allow a user, when logging on to see who and when last logged into their desktop. I have the "who" I just can't figure out the when. Is the only way to acheive this part through auditing and not have it displayed to the user?\

Thanks again,
Dawn
ASKER CERTIFIED SOLUTION
Avatar of dew_associates
dew_associates
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dawn_Bl

ASKER

Thanks Dennis....

I guess that's what I was trying to accomplish which you did suggest to me in your first reponse. Thanks also Navid for your comments.... I have been using Group Policy to display the last user name already so I guess that's as close as I'm going to get to what I wanted to do.

Dawn