1. Home
  2. Knowledge Base
  3. Getting Started
  4. How to check when the windows server / system had restarted?

How to check when the windows server / system had restarted?

Often due to uncertain reason, your windows server gets crashed. In that case, you might need to check when the server got crashed and commerce the further investigation. In this article, you will learn about, How to check when a windows server/system had crashed?

Method 1 – By using Event Viewer

1. Login to Windows Server → Search for “Event Viewer“.

Even Viewer

2. Now navigate to Even Viewer → Windows Logs → System.

How to check when the windows server / system had restarted

3. Click on Filter Current Logs and Set Custom Filters to get specific information. In this article, we will search the logs of the last 12 hours, following with Event id 6005 > Click on OK.

click-on-filter-from-windows-logs

4. Now, Click on any particular result and check the details of that event, you can check the Date & Time for better clearance about when that service got started after boot.

check-the-final-result-of-the-finding


Method 2 – By using Powershell

1. Login to Windows Server and search for Windows Powershell.

search powershell

2. Run the following command in the Windows PowerShell,

Get-EventLog -LogName System |? {$_.EventID -in (6005,6006,6008,6009,1074,1076)} | ft TimeGenerated,EventId,Message -AutoSize –wrap

How to check when the windows server / system had restarted using Powershell

3. You could find the result with Time, Event ID and information of a particular Event. Check the time of Event ID 6005, through which you can determine when the server got started/booted recently.

how-to-check-when-server-got-crashed-restarted

Updated on September 20, 2021

Was this article helpful?

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
CONTACT SUPPORT