Solved

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

Posted on 2004-03-23
5
911 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adprep 12 94
auto copy 8 618
schedule script execution in windows 2000 3 142
Upgrade dos 4.00.1111 11 30
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…
Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 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