Solved

A better way of finding out the last reboot time on Windows 2000 server

Posted on 2004-03-23
5
904 Views
Last Modified: 2010-05-18
Is there anything in the standard Windows 2000 server OS that can tell me when a server was last rebooted.

At the moment I'm just looking in the events log to find out when the event log was started.

There must be something like the Unix "uptime" command surely...?

Thanking you in advance...

rd707
0
Comment
Question by:rd707
5 Comments
 
LVL 32

Accepted Solution

by:
Luc Franken earned 25 total points
Comment Utility
Hi rd707,

What you might want to do (this is the way I check the uptime) is to take the properties of the local area connection and let it put an icon on the taskbar. Just doubleclick it to see how long the connections is established. (of course, if you disconnect the network-cable and reconnect it, this doesn't give the right time, but appart from that it works pretty good)

Greetings,

LucF
0
 
LVL 16

Assisted Solution

by:JammyPak
JammyPak earned 25 total points
Comment Utility
try this from a command line:

"net statistics server"

this will feedback stats on the server service, and the first line says "Statistics Since" and then the date and time that the server service last started.
0
 
LVL 7

Assisted Solution

by:4auHuk
4auHuk earned 25 total points
Comment Utility
"net statistics server" is a good way but since it shows Server service statistics it will list the time the service was started which is much the same as startup event log. As I understand rd707 need to determine *shutdown* time instead.
For this uptime.exe utility from Resource Kit can be used since it shows both shutdown and boot events.

Uptime Reliability and Availability Information Tool:
http://www.microsoft.com/ntserver/nts/downloads/management/uptime/default.asp

SYNTAX:
C:\>uptime.exe /?

UPTIME, Version 1.01
(C) Copyright 1999, Microsoft Corporation

Uptime [server] [/s ] [/a] [/d:mm/dd/yyyy | /p:n] [/heartbeat] [/? | /help]
        server          Name or IP address of remote server to process.
        /s              Display key system events and statistics.
        /a              Display application failure events (assumes /s).
        /d:             Only calculate for events after mm/dd/yyyy.
        /p:             Only calculate for events in the previous n days.
        /heartbeat      Turn on/off the system's heartbeat
        /?              Basic usage.
        /help           Additional usage information.

P.S. WIndows 2000 Resource Kit Supplement One contains uptime version 2.00


Regards,
4auHuk
0
 
LVL 4

Author Comment

by:rd707
Comment Utility
All better than what I was doing - cheers guys...

rd707
0
 
LVL 32

Expert Comment

by:Luc Franken
Comment Utility
Glad to help ;-)

LucF
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now