Share via


Find last reboot or shutdown time

Question

Saturday, February 18, 2017 9:18 PM

What is the best way to find out the last reboot and shutdown times of a windows 10 computer?  I noticed that if I type systeminfo into the cli i get the last boot time but it doesn't register if the user shuts down only if they restarted. Is there a good way to show both?

Thanks,

All replies (4)

Saturday, February 18, 2017 9:57 PM ✅Answered | 1 vote

look at event viewer for event id 1074 ( shutdown )   and 6008 ( unexpected shutdown) , 6005 (power on)

MCSA exchange 2016 | MCTS exchange 2013 | MCTS-MCITP exchange 2010 | MCTS-MCITP Exchange: 2007 | MCSA Messaging: 2003 | MCP windows 2000


Saturday, February 18, 2017 9:58 PM ✅Answered | 1 vote

Hi Eddiesa.

You have to look for the event ID 1074 in the "System" log of the Windows Event Viewer: that event is associated with the system's shutdown; also check for the event ID 6006, which indicates that the Event log service was stopped (one of the latest operations performed by the OS before shutting down the PC) and event ID 6008 (unexpected shutdown).
On the other side, you can loom for the event IDs 6005 (starting of the Event log service) and/or 6009 (logged at each system's startup).
You can also read the Microsoft Knowledge Base article 196452 for a brief explanation of the Windows startup/shutdown events.

Bye.

Luigi Bruno
MCP, MCTS, MOS, MTA


Monday, February 20, 2017 3:12 AM ✅Answered | 2 votes

Hi Eddiesa,

Yes, 1074 and 6008 are also available on Windows 10.

Here is a guide for Windows 7 to view Details of Last Shutdown of Computer:

Shut Down - View Details of Last Shutdown of Computer

https://www.sevenforums.com/tutorials/160855-shut-down-view-details-last-shutdown-computer.html

Note: This is also applied to Windows 10.

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Friday, February 24, 2017 8:53 AM | 1 vote

Hi,

Was your issue resolved?

If yes, please mark the helpful reply as answer in order that other community members could find the helpful reply quickly.

If no, please reply and tell us the current situation in order to provide further help.

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].