Windows XP Community - XPHeads



Last Reboot Command

microsoft.public.windowsxp.general


Reply
  #1 (permalink)  
Old 09-29-2008, 09:28 AM
Richhall
 
Posts: n/a
Last Reboot Command
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-29-2008, 09:46 AM
John John (MVP)
 
Posts: n/a
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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-29-2008, 10:18 AM
Richhall
 
Posts: n/a
Re: Last Reboot Command
Thanks, thats great.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 09-29-2008, 10:30 AM
Olórin
 
Posts: n/a
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.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 09-29-2008, 03:01 PM
Terry R.
 
Posts: n/a
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/s.../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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:34 AM.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74