From the doc: 'Start Spy is a nice little application which basic goal is to keep a trace of the Windows sessions that occured on your computer. The program records a log containing, for each session, the name of the user who logged in, the date and time at login and logout, and the total session duration.'
start spy.exe