Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

Articles are written in English. The Thai translation button opens Google Translate; code and commands stay in their original form.

IT Support Playbooks / IT Support Guides

Collect application crash evidence before reinstalling

Find Windows Application events around the time a program closed unexpectedly.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Everyday IT support · Windows PowerShell examples unless specified

Understand the problem

Note the application name and version, the action taken, and the approximate crash time. Run the check on the affected computer.

Gather the evidence

The shown PowerShell command reads up to 50 Application log entries from the last hour. Adjust the time window if the crash happened earlier.

Get-WinEvent -FilterHashtable @{LogName='Application'; StartTime=(Get-Date).AddHours(-1)} -MaxEvents 50 | Select-Object TimeCreated, Id, ProviderName, LevelDisplayName, Message

Check the result

Look for an event that matches the crash time and application name. Record the provider, event ID, and any faulting module or exception code shown in the message.

Choose the next step

If the event is missing from the returned entries, narrow the time window or use the application’s own log. Match the details against a second occurrence if you can reproduce it safely.

Document the outcome

Save the relevant event before changing the installation. After a fix, repeat the original action to check whether the application stays open.

Source & further reading

Microsoft Learn — get-winevent

Independently written summary reviewed on 2026-11-01. The example illustrates a possible application; it is not a client case study.

Share this article

Back to all articles