danjar2014 GitHub avatar

Analyze-MDMDiagReport

danjar2014

A single-file PowerShell tool that converts Windows MDMDiagReport bundles into a self-contained HTML root-cause report for Autopilot, ESP, and Intune Management Extension failures.

Stars

4

7-day growth

No data

Forks

0

Open issues

0

License

MIT

Last updated

2026-07-29

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It saves engineers hours of manual log analysis by automatically correlating hundreds of MDM errors against the ESP’s explicit inventory, pinpointing the exact blocking step and its fix.

Who it is for

  • Windows Autopilot deployment engineers
  • Intune administrators troubleshooting enrollment failures
  • IT support staff dealing with stuck ESP screens
  • System administrators managing device provisioning at scale

Use cases

  • Diagnosing why a device is stuck on the ESP during OOBE
  • Identifying which app or policy blocked enrollment after an Autopilot failure
  • Detecting reboots that kill installers and cause misleading exit codes
  • Analyzing MSI transaction integrity to resolve lingering installation errors

Strengths

  • Reconstructs the authoritative ESP sub‑step sequence from CloudExperienceHost events
  • Provides a plain‑language root‑cause verdict at the top of the HTML report
  • Consolidates per‑app install errors with decoded error codes and recommended fixes
  • Auto‑collects the diagnostic bundle when run without arguments during OOBE (Shift+F10)

Considerations

  • Requires Windows PowerShell 5.1+ (no Linux/macOS support)
  • Auto‑collection needs elevation (e.g., SYSTEM context) for complete logs
  • The noise classifier may occasionally mislabel findings; manual review of lower‑severity items is still recommended

README quick start

Usage

Related repositories

Similar projects matched by category, topics, and programming language.

Korben00
Korben00 GitHub avatar

no-gdid

no-gdid is a PowerShell-based tool to audit and block the Windows Global Device Identifier (GDID), a per-account device ID used by Microsoft and shared with law enforcement, based on verified reverse engineering.

PowerShell
241
LewdM3at
LewdM3at GitHub avatar

PC-Cartridge-System

A hobby project that turns 2.5" SATA SSDs into physical game cartridges for your Steam library, automatically launching games or custom actions when inserted.

PowerShell
219
gd03gd031
gd03gd031 GitHub avatar

Windows-GDID-Changer

A PowerShell script for Windows 10/11 that regenerates the Global Device Identifier (GDID) by removing local session tokens and forcing a new device registration with Microsoft servers.

PowerShell
149