Last Reboot Command

  • Thread starter Thread starter Richhall
  • Start date Start date
R

Richhall

Is there a command line command that tells you when a server was last
rebooted? I know the event log shows this, but just wondered if you
can type something in that would display it.

Cheers

Rich
 
net statistics server (or net stats srv) will give you that information.

John
 
Richhall said:
Is there a command line command that tells you when a server was last
rebooted? I know the event log shows this, but just wondered if you
can type something in that would display it.

Cheers

Rich

What server? This is an XP group.... But for XP, this works from Start > Run
(well, it doesn't *directly* tell you time of last reboot, you need to do
some maths...):

cmd /k systeminfo | find "Up Time"

or without the "cmd /k " part if already in a command prompt window. It
needs the capital U and T.
 
The date and time was 9/29/2008 2:28 AM, and on a whim, Richhall pounded
out on the keyboard:
Is there a command line command that tells you when a server was last
rebooted? I know the event log shows this, but just wondered if you
can type something in that would display it.

Cheers

Rich

Hi Rich,

I use BGInfo on servers I admin. With a shortcut in the Startup folder,
you can configure a background on the Desktop that refreshes each time
the server is rebooted. Or you can launch it manually to update if needed:

http://technet.microsoft.com/en-us/sysinternals/bb897557.aspx

Among the options is last reboot date.

--
Terry R.

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top