r/Intune • • Jun 10 '26 • Heartwarming 1

Tips, Tricks, and Helpful Hints We built a browser-based CMTrace because we needed it ourselves during an Autopilot deployment

A while back we had one of those classic moments. Brand new device, ESP stuck, needed to read the IME log. CMTrace not installed yet. No access to the machine. You know how it goes.

So we built a web version of CMTrace: https://cmtrace.dev/

It is a full CMTrace log viewer that runs 100% in your browser. No install, no upload, no account required. Everything is processed locally on your machine, which means it is safe to use even for sensitive production logs.

What it does:

  • Opens CMTrace format, from legacy SCCM/ConfigMgr to Intune logs

  • Severity color coding (errors, warnings, info)

  • Find, filter and highlight across the full log

  • Built-in error code lookup for Win32, HRESULT and SCCM codes with links to Microsoft Learn

  • Compare feature

  • Multi Tab

The feature we use most:

Drop in two logs at once, a good run and a failing one, and it diffs them side by side like a Git diff. The exact line where your deployment went wrong becomes impossible to miss. We use this constantly for Win32 app troubleshooting and task sequence failures.

It is free, open, and built by two Intune admins who were tired of the "CMTrace not installed" problem.

Give it a try: cmtrace.dev

302 Upvotes

51 comments sorted by

3

u/rgsteele Jun 10 '26

This is awesome. I don't suppose it's possible to make it work with a Windows file association, huh?

1

u/msnugget_com Jun 12 '26

that would be awesome, but i havent found a way to do that...

62

u/sandwichpls00 Jun 10 '26

How tf did Microsoft not make this

38

u/MadMacs77 Jun 10 '26

Or why isnโ€™t CMTrace just the default log reader in Windows?

14

u/RikiWardOG Jun 10 '26

Because they'd rather just eat our money than do anything actually productive these days

27

u/holoholo-808 Jun 10 '26

Awesome. Is it possible to self-host? Any GitHub Link available?

11

u/StigaPower Jun 10 '26

Yeah I'm also interested in this. Need this for environment without internet connectivity!

2

u/Conscious_Report1439 Jun 15 '26

As is...feel free to clone and or use the release...

There are docker images, and standalone binaries for all platforms with optional service install.

https://github.com/Grace-Solutions/CMTrace.Dev.Docker

3

u/nkasco Jun 10 '26

It's 100% local, nothing stops you from taking it and running a version you trust.

1

u/StigaPower Jun 12 '26

Yeah thinking the extra thought I see, I ended up saving it as a website to a local folder and transferred the content to my air gapped servers, now running it fully offline.

I'll make sure to add this to my OSD and WinPE image!

32

u/New-Rough4719 Jun 10 '26

fuck this is almost too good to be true

1

u/brazzala Jun 10 '26

Hahahahaha LMAO ๐Ÿ˜‚

11

u/likwidtek Jun 10 '26

I guess Iโ€™m the first to ask, but, whatโ€™s the catch and whatโ€™s in it for you? How will the site monetize? If not now, then when and how? What data is kept, logged, share, or sold?

15

u/UnhappyDrummer3254 Jun 10 '26

This is actually genius - that comparison feature for diffing good vs failed runs would save me hours of staring at logs trying to spot where things went sideways

The browser-based approach makes so much sense too, especially when you're dealing with locked down environments where installing anything is a hassle

6

u/bukkithedd Jun 10 '26

INSTANTLY bookmarked. Having spent three days head down in logfiles to understand why the absolute hell the amount of muppetry a company (NShift) can build into one installer, I get spasms going up my back due to having to sift through yet another session of CMTrace, useful as it might be.

9

u/brothertax Jun 10 '26

Holy shit

8

u/callumn Jun 10 '26

You absolte legend! Thank you so much!

4

u/Katu93 Jun 10 '26 edited Jun 10 '26

We gave it hug of death already? ๐Ÿ˜…

Edit: nah it was just new domain filter that dropped the connection

4

u/mmvvpp Jun 10 '26

I love all the community tools, but I must admit I seldom use them, this however will be a go to. Really awesome

1

u/MasterAndyWan Jun 11 '26

Amazing tool!! Maybe the button should be renamed though? It says nothing ever gets uploaded, but the button says upload. ๐Ÿ‘€

2

u/msnugget_com Jun 12 '26

good point, will change it to just "load" ๐Ÿ˜‰

1

u/probablydnsibet Jun 11 '26

This rocks, great work. I have a suggestion. In dark mode, when you filter Error logs the blue highlighted rows make the text hard to read. Can the color of the rows be changed for easier readability?

1

u/msnugget_com Jun 12 '26

Thanks for the feedback! We'll implement that in the next update.

3

u/stellarsapience Jun 10 '26

This is awesome! It's kinda like what CMOneTrace would be if it wasn't total garbage. Would love to self-host it.

2

u/Oiram_Saturnus Jun 10 '26

Thank you!!!

2

u/chevyman142000 Jun 10 '26

This is amazing! Thank you!!

2

u/I_miss_your_momma Jun 10 '26

Beautiful job. Thank you.

2

u/Naads Jun 10 '26

Thank you for your service

2

u/fgarufijr Jun 10 '26

This is amazing! Thank you for such a great tool

2

u/TaiGlobal Jun 10 '26

That delta comparison feature would get my money alone.

2

u/PCN1nja Jun 11 '26

That is too good

2

u/neotearoa Jun 12 '26

Read to the bottom of the page. See Florian and Jannik. Dang.

Thank you both.

1

u/Old_Equivalent5845 Jun 11 '26

Love it! But unfortunatelly the live tail is not working for me ๐Ÿ˜ž
Any idea why this is the case?

1

u/AliasGenis Jun 11 '26

Is there a way to adjust the Date format for different geographical regions that use a different standard. I.e. DD-MM-YYYY, YYYY-MM-DD etc...

Or is there a way to submit an enhancement request for the functionality to be added?

-6

u/Grouchy-Western-5757 Jun 10 '26

I'm just curious why most of the comments here have so many errors in deployment that they even need a tool like this with Intune. I think the better question is to look at the architecture. I have like a 98% success rate with Autopilot deployments and all the apps and configs coming over. And there's a lot.

-1

u/khromtx Jun 11 '26

You're getting downvoted but I largely agree with you that it's an architecture issue.

1

u/[deleted] Jun 10 '26

[removed] โ€” view removed comment

4

u/LaZyCrO Jun 10 '26

Why is https://patchmypc.com/cmtrace frustrating to install?

2

u/BlackV Jun 10 '26

Because you would have to know that the Microsoft tool is housed on some random url .....

1

u/LaZyCrO Jun 11 '26

I simply searched earlier today and on Firefox it gave me PmyPCs site. Though on my phone right now it's not giving me that via chrome ๐Ÿซก

1

u/BlackV Jun 11 '26

Ya Google, duckduck go and bing, all show no links to that site for me, so probably at least a little frustrating to install

2

u/[deleted] Jun 10 '26

[removed] โ€” view removed comment

1

u/thefinalep Jun 10 '26

I will say, there is an installable version of cmtrace. Support Center OneTrace.

I still prefer cmtrace over that though.

1

u/[deleted] Jun 10 '26

[removed] โ€” view removed comment

3

u/thefinalep Jun 10 '26

Yeah. I always just copy it off of the site server.

1

u/LaZyCrO Jun 10 '26

I don't have a config mgr environment anymore so just use cmtrace hah

1

u/thefinalep Jun 10 '26

Fair. I donโ€™t have cloud anymore, so I only have config manager. Cloud is too expensive