Today marks a sad day in the history of Fatmin. Today I post my first Windows related blog post. Trust me, its not that I want to. Rather it is more a matter of necessity as I have found myself administering more and more Windows Servers (thanks VMware).
Anyway to find your uptime in Windows 2003 Server you first need to assume that your server just rebooted for no apparent reason, as its running windows. Second, you need to open a cmd prompt and type the following.
>net statistics server
Look for the line that starts with… Statistics since …
That is when the server was last booted.
You could also use…
systeminfo | findstr “System Boot Time”
Rob
Wow, thanks. Thats cool. I’ll have to play around with that command.
I use Taskmanager in Windows 2003 to check uptime but your command is also good for creating a batchscript to get uptime on email.