Windows Server Event ID for system shutdown and restart ?

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.

LVL 11
Senior IT System EngineerSenior Systems EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

Senior IT System EngineerSenior Systems EngineerAuthor Commented:
thanks mate, however which one is telling me the exact time before the system got restarted by the WSUS ?
look at the time for 6009 6005 or 6013 see which one is first.
•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
Mike KlineCommented:
Look for event 4608 in your security logs

Attached an example from my test server.

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




Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.