Re: Find out when the computer was rebooted?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Pegasus (I.can_at_fly.com)
Date: 07/30/04


Date: Sat, 31 Jul 2004 01:24:41 +1000


"FLX" <nospam@hotmail.com> wrote in message
news:%23Usp9fkdEHA.1000@TK2MSFTNGP12.phx.gbl...
> Hi there,
>
> How can I find out the time when the computer(Win2000/XP) was rebooted?
Will
> such event be written into the Event Log? I did not see any such event in
> the Event Viewer. Any clue?
>
> Thanks in advance,
> - LX
>
>
>
>

Have a look at events 6009 & 6005! You could also maintain your
own log, by using 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% starting up >> c:\Logs\Boot.log



Relevant Pages

  • Re: Service will not start after a reboot
    ... and the whole point of writing it as a service was to ... clues in the Event log and there are no dependencies on other services. ... Use the Task Scheduler to run the following batch file at boot ... echo %date% %time%>>c:\Waldy.log ...
    (microsoft.public.windowsxp.general)
  • Re: Parsing file using FOR command not working correctly
    ... @echo off ... I'm trying to extract just the Event Log ... >Here's the output of my batch file: ... Windows: General MVP ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: event logs
    ... I use task scheduler to run it and email it to me from the server. ... @echo off ... P.S. Dumpel does not export the DNS event log. ...
    (microsoft.public.win2000.security)
  • Windows event log event not being emailed
    ... event is seen in Nagios event log, ... nagios server service definition is below: ... @echo off ... echo Anhalten und Deinstallieren des Service "eventlog_agent" ...
    (RedHat)
  • Re: Find out when the computer was rebooted?
    ... >> such event be written into the Event Log? ... by using the Task Scheduler to run the following batch file ... > at boot time: ... > @echo off ...
    (microsoft.public.windows.server.general)