How to find as when the server was last shutdown and when it was powered on again

Hi

We have windows 2008 server and I want to find out as when the server was last shutdown and when it was powered on again.

Any help would be great.
Thanks
lianne143Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

systechadminConsultantCommented:
you can check the event logs on the server, but for that you need to first power on the server and check the system event logs.
0
Tahir QureshiSystem AnalystCommented:
trough event viewer


Event ID 6005: “The event log service was started.” This is synonymous to system startup.
Event ID 6006: “The event log service was stopped.” This is synonymous to system shutdown.
Event ID 6008: "The previous system shutdown was unexpected." Records that the system started after it was not shut down properly.
Event ID 6009: Indicates the Windows product name, version, build number, service pack number, and operating system type detected at boot time.
Event ID 6013: Displays the uptime of the computer. There is no TechNet page for this id.
Add to that a couple more from the Server Fault answers listed in my OP:

Event ID 1074: "The process X has initiated the restart / shutdown of computer on behalf of user Y for the following reason: Z." Indicates that an application or a user initiated a restart or shutdown.
Event ID 1076: "The reason supplied by user X for the last unexpected shutdown of this computer is: Y." Records when the first user with shutdown privileges logs on to the computer after an unexpected restart or shutdown and supplies a reason for the occurrence.
0

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
Leo FarnsworthSimplifying your collaboration experienceCommented:
Check event logs for Event I'Ds 6005, 6009, and 6013 to see these types of events . If you just want to know the last time it was booted up, you can just open the task manager on the server and look at the "Performance" tab, which should show you the systems uptime.
0
Tahir QureshiSystem AnalystCommented:
Windows Server 2008 RC2 – and all the previous versions – gives the user the option to setup a native e-mail alert: all we need to do is to right-click the log file/event where we want to attach the notification upon and select the Attach a task to this log/event… command: then, in the Action panel, choose Send an e-mail and fill up the required fields: sender, address, SMTP server info,etc.

event-viewer-send-email.jpg
0
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 2012

From novice to tech pro — start learning today.