triage-windows-bsod
Skill0 starsChanged 3 months agoMITView on GitHub
Diagnose why a Windows machine unexpectedly rebooted, blue-screened, or froze by
In this repository22 other files it gives its agents.
- acquire-graph-tokenSkill
- analyze-vulnerability-kpisSkill
- author-shared-skillSkill
- build-power-automate-flowSkill
- check-autopilot-serialsSkill
- create-fedex-labelSkill
- deploy-automox-workletSkill
- draft-it-announcementSkill
- enroll-apple-device-abm-intuneSkill
- freshservice-automation-builderSkill
- freshservice-service-catalogSkill
- it-operationsSkill
- manage-cato-clientSkill
- package-intune-win32-appSkill
- prepare-cab-change-ticketSkill
- query-crowdstrike-falconSkill
- retrieve-keeper-secretSkill
- review-intune-byod-app-protectionSkill
- run-intune-maa-teams-notifierSkill
- screenconnect-remote-diagnosticsSkill
- ssh-accessSkill
- switch-ai-toolsSkill
The file
Files
Triage Windows BSOD / unexpected reboot
1. Classify the reboot from the System log
Get-WinEvent -FilterHashtable @{LogName='System'; Id=41,1074,6005,6006,6008,1001} -MaxEvents 30- 1074 (User32) — someone/something called shutdown; message names the process and user. Not a crash.
- 41 (Kernel-Power) + 6008 — power was lost without clean shutdown: BSOD, hang, or power cut.
- 1001 (WER-SystemErrorReporting) right after boot — bugcheck: message has the stop code, params, and dump path.
- In event 41's EventData:
BugcheckCodeis decimal (127 = 0x7F);BugcheckCode=0means hard hang/power loss with no BSOD;WHEABootErrorCount>0means firmware logged a hardware error record — checkMicrosoft-Windows-WHEA-Loggerevents (mind the exact StartTime window; boundary misses are easy).
2. Get the dumps readable
C:\Windows\Minidump\*.dmp and MEMORY.DMP are Administrators-only; non-elevated reads fail with Access denied. Copy them out via one elevated hop (UAC prompt — tell the user to expect it):
Start-Process powershell -Verb RunAs -Wait -ArgumentList '-NoProfile','-Command',
'Copy-Item C:\Windows\Minidump\*.dmp "<readable dir>" -Force'3. Analyze with kd
kd lives at C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\kd.exe (verified 2026-07-08; install WinDbg/Debugging Tools from the Windows SDK if absent). Inline invocation mangles the -c "!analyze -v; q" argument under both PowerShell & and cmd /c quoting — write a .cmd wrapper and run that instead:
@echo off
"C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\kd.exe" -z "<dump path>" ^
-y "srv*C:\symbols*https://msdl.microsoft.com/download/symbols" -c "!analyze -v; q"First run downloads symbols (a minute or two); later dumps are fast. For a multi-dump pattern sweep, pipe each run through findstr /C:"FAILURE_BUCKET_ID" /C:"BUGCHECK_CODE" /C:"PROCESS_NAME" /C:"IMAGE_NAME" /C:"Debug session time".
4. Read the pattern, not one crash
PROCESS_NAMEis the victim context, not necessarily the culprit.- Same third-party driver in
FAILURE_BUCKET_IDacross crashes (e.g.AV_...csagent!...) → that driver. - Scattershot buckets inside
ntacross different processes,IP_MISALIGNED_*, recursiveKiDoubleFaultAbortexception-dispatch stacks,WHEABootErrorCount>0, or no-bugcheck freezes mixed in → suspect hardware, RAM first, then CPU/firmware. Get-WinEvent -FilterHashtable @{LogName='System'; ProviderName='Microsoft-Windows-MemoryDiagnostics-Results'}shows whether a memory test was ever run. Next steps for hardware suspicion: MemTest86/mdsched overnight, BIOS/firmware update, then Driver Verifier only if memory is clean.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

