If you’re in the systems administration/engineering field, you are most likely as obsessed with uptime as I am. From time to time, it’s fun to see how long a server has actually been up and running. This is simple on Linux machines via the ‘uptime’ command. However, on Windows it has never been as straight forward. Here are 3 ways that you can find out how long a Windows box has been up.
Open a cmd prompt (Start->Run->cmd) and type the following.
C:\>net statistics server | Find "since" Statistics since 10/24/2011 8:43:24 AM
C:\>systeminfo | find "Time" System Boot Time: 10/24/2011, 8:42:07 AM
Lastly, you can open the task manager (Alt+Shift+Esc, or Alt+Ctrl+Delete, or Start->Run->cmd->taskmgr). Under the “Performance” tab you will see a counter of system uptime.