22 April 2013

Determine Windows system up-time

Knowing how long a Windows server or even desktop has been up for can be very useful.  These command lines will help you find the relevant info you are after.

   net stats srv | find "since"


   systeminfo | find "System Boot Time"

Both will return the system boot or running time and from there you can just work out the up-time.  Easiest is just to put the boot date and the current date into Excel subtract the one form the other and it will give you the amount of days.

No comments:

Post a Comment