Windows 2000 Windows 2000 Server Event Viewer

  • Thread starter Thread starter Mark J
  • Start date Start date
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?.
 
"Mark J" <MarkJ@discussions.microsoft.com> wrote in message
news:5EC6529D-6182-410F-B961-3AA3FC8907DA@microsoft.com...
>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
 
Back
Top