SoftRyva / Engineering Lab · Home
ENGINEERING LAB · V1.0 PUBLIC BETA · READ ONLY

Windows Crash Intelligence — Free Crash & Event Log Analyzer

Correlate unexpected restarts, bugcheck evidence and hardware warnings. Inspect the evidence before replacing hardware.

1. Collect & analyze

Import a V1.0 diagnostic snapshot or a legacy Windows event JSON export. Analysis stays in this browser. No logs are uploaded. Use the demo to explore a synthetic case.


Collect full diagnostic snapshot (Windows PowerShell)

Review this read-only command, then paste it into Windows PowerShell. It collects selected System events and available hardware and driver metadata, without serial numbers, device IDs for drivers, full messages or dump contents. Some queries may be unavailable. It writes a new timestamped JSON file in your user folder. Review before sharing.

& {
# SoftRyva V1.0 - read-only local diagnostic export. Review before executing.
param([ValidateRange(1,90)][int]$Days=14,[ValidateRange(0,90)][int]$EndDaysAgo=0,[string]$OutputPath='')
$ErrorActionPreference='Stop'
if(-not $OutputPath){$OutputPath=Join-Path $env:USERPROFILE ('softryva-diagnostics-'+(Get-Date -Format 'yyyyMMdd-HHmmss')+'.json')}
$end=(Get-Date).AddDays(-$EndDaysAgo); $start=$end.AddDays(-$Days)
$ids=41,17,18,19,20,46,47,1001,1074,6008,7,51,55,129,153,4101
try {$events=@(Get-WinEvent -FilterHashtable @{LogName='System';Id=$ids;StartTime=$start;EndTime=$end} -ErrorAction Stop)} catch {if($_.FullyQualifiedErrorId -like 'NoMatchingEventsFound*'){$events=@()}else{throw}}
$records=@(foreach($e in $events){
  $x=[xml]$e.ToXml(); $b=@($x.Event.EventData.Data | Where-Object {$_.Name -eq 'BugcheckCode'}) | Select-Object -First 1
  $code=$null; if($null -ne $b){$code=[string]$b.'#text'}
  [pscustomobject]@{time=$e.TimeCreated.ToUniversalTime().ToString('o');provider=$e.ProviderName;id=[int]$e.Id;record=$e.RecordId;bugcheck=$code}
})
$notes=New-Object 'System.Collections.Generic.List[string]'
function Read-Inventory([string]$Label,[scriptblock]$Query){try { & $Query } catch {$notes.Add("$Label unavailable (permissions, provider or device support).")}}
$os=@(Read-Inventory 'OS' {Get-CimInstance Win32_OperatingSystem | Select-Object Caption,Version,BuildNumber,OSArchitecture})
$computer=@(Read-Inventory 'Computer' {Get-CimInstance Win32_ComputerSystem | Select-Object Manufacturer,Model,TotalPhysicalMemory})
$cpu=@(Read-Inventory 'CPU' {Get-CimInstance Win32_Processor | Select-Object Name,NumberOfCores,NumberOfLogicalProcessors})
$memory=@(Read-Inventory 'Memory' {Get-CimInstance Win32_PhysicalMemory | Select-Object Capacity,Speed,ConfiguredClockSpeed})
$disks=@(Read-Inventory 'Physical disks' {Get-PhysicalDisk | ForEach-Object {
  $d=$_; $r=$null; $state='Unavailable'; try {$r=$d | Get-StorageReliabilityCounter -ErrorAction Stop; if($null -ne $r){$state='Returned by Windows'}}catch{}
  [pscustomobject]@{DeviceId=[string]$d.DeviceId;Model=[string]$d.FriendlyName;MediaType=[string]$d.MediaType;BusType=[string]$d.BusType;Size=$d.Size;HealthStatus=[string]$d.HealthStatus;OperationalStatus=($d.OperationalStatus -join ', ');CounterStatus=$state;Temperature=$r.Temperature;Wear=$r.Wear;PowerOnHours=$r.PowerOnHours;ReadErrorsUncorrected=$r.ReadErrorsUncorrected;WriteErrorsUncorrected=$r.WriteErrorsUncorrected}
}})
$drivers=@(Read-Inventory 'Drivers' {Get-CimInstance Win32_PnPSignedDriver | Select-Object DeviceName,DriverProviderName,DriverVersion,DriverDate,DeviceClass,IsSigned})
$oldest=$null;try{$oldest=(Get-WinEvent -LogName System -Oldest -MaxEvents 1 -ErrorAction Stop).TimeCreated.ToUniversalTime().ToString('o')}catch{$notes.Add('Oldest retained System event unavailable.')}
$payload=[ordered]@{schema='softryva-diagnostics-v1';collectedAt=(Get-Date).ToUniversalTime().ToString('o');coverage=[ordered]@{start=$start.ToUniversalTime().ToString('o');end=$end.ToUniversalTime().ToString('o');oldestRetained=$oldest;filter='system-selected-v1'};events=$records;inventory=[ordered]@{os=$os;computer=$computer;cpu=$cpu;memory=$memory;disks=$disks;drivers=$drivers;notes=@($notes.ToArray())}}
if(Test-Path -LiteralPath $OutputPath){throw 'Output already exists; choose a new output path.'}
ConvertTo-Json -InputObject $payload -Depth 8 | Set-Content -LiteralPath $OutputPath -Encoding UTF8
Write-Host "Exported $($records.Count) records and available inventory to $OutputPath"

}
Export diagnostic events from Windows (PowerShell)

Open Windows PowerShell. This command reads selected System events from the last 14 days and writes a JSON file in your user folder. It does not alter system settings. Review the file before sharing it with anyone.

$Days=14
$OutputPath=Join-Path $env:USERPROFILE "softryva-crash-events.json"
$ids=41,17,18,19,20,46,47,1001,1074,6008,7,51,55,129,153,4101
try {
  $events=@(Get-WinEvent -FilterHashtable @{LogName='System'; Id=$ids; StartTime=(Get-Date).AddDays(-$Days)} -ErrorAction Stop)
} catch {
  if ($_.FullyQualifiedErrorId -like 'NoMatchingEventsFound*') {$events=@()} else {throw}
}
$records=@(foreach($e in $events){
  $x=[xml]$e.ToXml()
  $b=@($x.Event.EventData.Data | Where-Object {$_.Name -eq 'BugcheckCode'}) | Select-Object -First 1
  $code=$null
  if($null -ne $b){$code=[string]$b.'#text'}
  [pscustomobject]@{time=$e.TimeCreated.ToUniversalTime().ToString('o');provider=$e.ProviderName;id=[int]$e.Id;record=$e.RecordId;bugcheck=$code}
})
ConvertTo-Json -InputObject $records -Depth 4 | Set-Content -LiteralPath $OutputPath -Encoding UTF8
Write-Host "Exported $($records.Count) records to $OutputPath"

If access is denied, run PowerShell as administrator. An empty export means no matching records were returned for the selected period; it does not rule out a fault. Select the JSON file above.

How to investigate Windows unexpected restarts

Open the demo to explore a synthetic case, or export your own selected System log events using the supplied Windows PowerShell collector. Import the JSON above, review the evidence and diagnostic priorities, then download a report. The full collector can include hardware and driver inventory and available storage counters. Review files before sharing them.

What does Kernel-Power 41 mean?

Windows records this event after an unclean shutdown. The event alone cannot identify the faulty component or prove a power-supply problem.

Can the analyzer identify the cause of a blue screen?

It decodes supported bugcheck codes and groups nearby events. Use the original crash dump and WinDbg to investigate the actual faulting stack.

Does this website scan my PC automatically?

No. Run the optional read-only Windows collector yourself, then select the resulting JSON file. Your imported data is processed locally. The demo requires no collector, and no account is required.

Can I compare results before and after a repair?

Yes, when the selected snapshots have compatible observation windows and the same PC and comparable use are confirmed. A lower event count is not proof of repair.

Explore more SoftRyva technology guides.

Interpretation and limits

Event 41 is recorded on the next boot, not necessarily at the moment of failure. Event 6008 is an unexpected shutdown record; it is not counted as a second crash. This beta groups evidence within the selected time window before or after an Event 41, not a validated root-cause diagnosis. Corrected hardware events are not proof of faulty hardware. No event is not proof of no problem. Only selected System log events are collected. Available Windows storage reliability counters and driver inventory are displayed if collected. No full SMART, EVTX or DMP parsing, automatic driver attribution or hardware health score is provided.

For actual crash dump analysis, use WinDbg. See Microsoft's Event ID 41 guidance.