Windows Server Event ID for system shutdown and restart ?

Senior IT System Engineer
Senior IT System Engineer used Ask the Experts™
on
Hi All,

Can anyone please let me know what is the Windows Server 2008 Event ID for system shutdown and restart ?
both expected and unexpected, because I need to trackdown which server has been restarted unexpectedly by WSUS update.

Thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
For 08 servers I generally look for Event ID's: 6009, 6005 and 6013. There will be 3 sequential instances- so it is easier to spot when scrolling. Look within Windows Logs/System. The Source is: EventLog. I bilieve unexpected is 1076.

Author

Commented:
thanks mate, however which one is telling me the exact time before the system got restarted by the WSUS ?
Commented:
look at the time for 6009 6005 or 6013 see which one is first.
Commented:
•Event 6005 is logged at boot time noting that the Event Log service was started. It gives the message "The Event log service was started".
•Event 6006 is logged as a clean shutdown. It gives the message "The Event log service was stopped".
•Event 6008 is logged as a dirty shutdown. It gives the message "The previous system shutdown at time on date was unexpected".
•Event 6009 is logged during every boot and indicates the operating system version, build number, service pack level, and other pertinent information about the system. Depending on your current configuration,

same as 2003
Top Expert 2013
Commented:
Look for event 4608 in your security logs   http://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=4608

Attached an example from my test server.

I've also attached event 12 from the system log during startup.

Thanks


Mike

4608-startup.jpg
event-12-startup.jpg

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial