# How to check when the Windows server crashed?

Open **Event Viewer** on your Windows server.

<figure><img src="/files/TnQjb0NbrJFC4xBaYzzg" alt=""><figcaption></figcaption></figure>

On the **Event Viewer** window, expand the drop-down on the left menu for **Windows Logs** and select **System.** Then on the right menu click **Filter Current Log**.

<figure><img src="/files/jQRBHMr97q8BND72UXLz" alt=""><figcaption></figcaption></figure>

On the **Filter Current Log** window, check the boxes for **Critical**, **Warning**, and **Information**. For the event ID, enter **6005** and click **OK**.

<figure><img src="/files/1Pzf3VvnfrrJdVMuxbCO" alt=""><figcaption></figcaption></figure>

Now you will see the logs for all events with event ID **6005**, you can click them and read the description and details of each event to find the reason for the unexpected crash.

<figure><img src="/files/5ngFQWtEIwtVFX65G92O" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-servers.zesty.group/troubleshoot/how-to-check-when-the-windows-server-crashed.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
