The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Write time Text / Log file at system shutdown?

    Discussion in 'Windows OS and Software' started by HTWingNut, Nov 14, 2010.

  1. HTWingNut

    HTWingNut Potato

    Reputations:
    21,580
    Messages:
    35,370
    Likes Received:
    9,877
    Trophy Points:
    931
    Is there a quick and easy way to automatically write the time a PC shutdown into a log or text file? Thanks.
     
  2. michael_recycled

    michael_recycled Notebook Deity

    Reputations:
    329
    Messages:
    989
    Likes Received:
    0
    Trophy Points:
    30
    Windows does this automagically. Search Event Log (eventvwr.msc) for Event-ID 6006 "The Event log service was stopped.". This is the sutdown timestamp.

    Michael
     
  3. HTWingNut

    HTWingNut Potato

    Reputations:
    21,580
    Messages:
    35,370
    Likes Received:
    9,877
    Trophy Points:
    931
    Thanks. I had my machine put into hibernate, but using the log I figured it out, thanks, +1
     
  4. michael_recycled

    michael_recycled Notebook Deity

    Reputations:
    329
    Messages:
    989
    Likes Received:
    0
    Trophy Points:
    30
    You're Welcome :)

    Michael