Last Reboot Command

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

Richhall

Guest
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
 
Re: Last Reboot Command

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

John

Richhall wrote:

> 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
 
Re: Last Reboot Command

"Richhall" <rje.hall@yahoo.co.uk> wrote in message
news:d50eef4b-3733-449b-9ce6-85ac92e9c721@y21g2000hsf.googlegroups.com...
> 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.
 
Re: Last Reboot Command

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.
 
Back
Top