Thursday, July 31, 2008

How to find Uptime for a Windows machine

I have used Microsoft Windows for a long time now. But the other day when someone asked me how to find out the uptime for a Windows machine (how much time the machine has been running), I was stumped :-).

A little bit of Googling has revealed 2 ways to do this.

  1. Open a command prompt. (Start --> Run --> cmd).
    Type "net statistics server" and press "Enter".
    The line that start with "Statistics since …" provides the time that the server was up from.

  2. Open a command prompt.
    Type systeminfo | find "Up Time". You get the uptime.