Notifications
Clear all

shutdowntime

7 Posts
6 Users
0 Reactions
1,303 Views
(@influanza)
New Member
Joined: 16 years ago
Posts: 3
Topic starter  

hi. I'm trying to learn last shutdowntime of computer. I look system/controlset001/control/windows shutdowntime but there is last written time not shutdowntime. how can I learn?


   
Quote
(@rich2005)
Honorable Member
Joined: 19 years ago
Posts: 541
 

Bear in mind that a recorded shutdown might not be the the last point a computer was used. (holding the power button, for a hard power off, or pulling the plug etc, would mean nothing was recorded)
If its a vista box, you may be looking for event 1074 in the system event log.


   
ReplyQuote
(@douglasbrush)
Prominent Member
Joined: 16 years ago
Posts: 812
 

You can use the Event Viewer to see recorded shutdown times.
Control Panel ->Administrative Tools ->Event Viewer
Event ID 6006 in the system log will show when the service was stopped.


   
ReplyQuote
(@gkelley)
Estimable Member
Joined: 21 years ago
Posts: 128
 

If you have an improper shutdown, you can look at the last recorded event log, the last time a registry file was updated or the last date on any file. Realize, though, if the hard drive was connected as a slave to another computer, the file dates may not be reliable.


   
ReplyQuote
Logg
 Logg
(@logg)
Eminent Member
Joined: 16 years ago
Posts: 42
 

EV message 6006 is a "'graceful' shutdown." As gkelley mentioned, there are also improper shutdowns; there are seg faults, power interruptions (cord/battery pulled), etc..

If you run Helix's PC On-Off, it parses the Windows Event Logs looking only for specific event enumerations … you'll see just how unreliable taking an automated look at Event Viewer will be, and just how little help relying on finding proper shutdown numbers provides.

Reading through the logs yourself and then referencing http//www.microsoft.com/technet/support/ee/ee_advanced.aspx is your best bet.

A faster (though unreliable) DB is here http//www.eventid.net/

-Ryan


   
ReplyQuote
(@patrick4n6)
Honorable Member
Joined: 16 years ago
Posts: 650
 

If the PC wasn't shutdown cleanly, then assuming any kind of regular disk activity, you can parse the $logfile to see when the PC was last used prior to dirty shutdown.


   
ReplyQuote
(@influanza)
New Member
Joined: 16 years ago
Posts: 3
Topic starter  

thank everybody


   
ReplyQuote
Share: