Login Popup – Last login date and time Share on Facebook Post on reddit Tweet on Twitter Share on LinkedIn Home › Forums › Scripting › General Scripting › Login Popup – Last login date and time This topic has 1 reply, 1 voice, and was last updated 8 years, 2 months ago by shades. Viewing 1 post (of 1 total) Author Posts shadesMember Jun 06, 2012 at 9:30 am #158949 Hi, Does anyone know how to create a script that would display the last true login date and time in a popup message (AD environment) to the user? I’ve found many variations but none display the true date and time. They display only the current login date and time because they’re run after the login occurs. http://www.rlmueller.net/Logon5.htm http://community.spiceworks.com/scripts/category/3 I currently use the following for logon and logoff: @echo off echo %USERNAME% has logged on to %COMPUTERNAME% on %DATE% at %TIME% >> [URL=”file://\serverlogslogon%USERNAME%.log”]\serverlogslogon%USERNAME%.log[/URL] Author Posts Viewing 1 post (of 1 total) You must be logged in to reply to this topic.