Windows Server Event ID for system shutdown and restart ?

Posted on 2011-10-23
Last Modified: 2012-08-14
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 5

    Assisted Solution

    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.

    LVL 6

    Author Comment

    by:Senior IT System Engineer
    thanks mate, however which one is telling me the exact time before the system got restarted by the WSUS ?
    LVL 5

    Assisted Solution

    look at the time for 6009 6005 or 6013 see which one is first.
    LVL 5

    Assisted Solution

    •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
    LVL 57

    Accepted Solution

    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.




    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
    Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
    This tutorial will give a short introduction and overview of Backup Exec 2014 and the additional features that have been added over its predecessor Backup Exec 2012. As with Backup Exec 2012, the Backup Exec button in the upper left corner. From her…
    This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now