Windows 2000 Server Event Viewer

M

Mark J

I am currently using windows 2000 server. My problem is that I need to
create a report on the amount of times the server is rebooted/restarted. Does
anybody know what the event id would be when the server is shutting down or
restarting/rebooting?.
 
P

Pegasus \(MVP\)

Mark J said:
I am currently using windows 2000 server. My problem is that I need to
create a report on the amount of times the server is rebooted/restarted.
Does
anybody know what the event id would be when the server is shutting down
or
restarting/rebooting?.

There is a very, very simple way to find out: Reboot the server,
then examine the Event Log. You will find several numbers in
the 600x range that are meaningful.

To create your report automatically in future, use the Task
Scheduler to run the following batch file at boot time::
@echo off
if not exist c:\Logs md c:\Logs
echo %date% %time% %ComputerName% rebooted >> c:\Logs\Boot.log
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top