"Cameron" <cambennett[ at ]gmail.com> wrote in message news:1176836530.863753.53690[ at ]n59g2000hsh.googlegroups.com...
[Quoted Text] >I have a Windows 2000 server that I want to determine the last time a > user logged into it. I have found some scripts that query the domain > but this has all users, not just the ones i am looking for.
.... and it typically does not indicate where each user logged in...
> Any suggestions are greatly appreciated.
Try logging on to the server with an adminstrative account, and typing this command:
([ at ]for /f "delims=~" %X in ('dir/a/s/b ntuser.dat') do [ at ]echo %~tX "%X")|[ at ]sort
Assuming the server is configured with a date and time format that is sortable as text, this will display a list of all profiles with the most recently logged in to one at the last.
/Al
|