Solved

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

Posted on 2004-03-23
5
915 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 32

Accepted Solution

by:
LucF earned 25 total points
ID: 10657689
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
ID: 10657821
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
ID: 10668851
"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
ID: 10668975
All better than what I was doing - cheers guys...

rd707
0
 
LVL 32

Expert Comment

by:LucF
ID: 10669052
Glad to help ;-)

LucF
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Choosing a core focus or particular set of features and options can be tough. To help out, we’re going to highlight a handful of things your business needs on one of your social media pages. In other words, if one of these is missing, you should imp…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

617 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