Windows 7 : uptime, last user logged in time and date, last rebooted

Is there a command or a GUI tool in Windows 7 to get the following?

  1. uptime
  2. last user logged in time and date
  3. machine last rebooted

Solution 1:

I know that login/logout times can be found under the Security section of Windows Logs in Event Viewer. It's worth looking around on Event Viewer to find other information you require.

Found in: Control Panel (Classic view) > Administrative Tools

or hit start and type "event viewer" into the search.

This may also help.

Solution 2:

Go to command prompt (type cmd into start menu) and enter quser. It shows the dates of all [current] users' logins. administrator will show the time the computer was last booted.

This will still display the correct logon times even if the workstation's screen has been locked some time during the session.

You may then use a net date calculator to figure out how long they (or the computer) has been on.

Solution 3:

Surely when you know 1 you can work out 3?

You can find out the uptime from the command line using this command:

net statistics server | find "Statistics since"