Sorry for being (slightly?) off-topic: Is there a decent way to buy this LTSC edition of Windows?

Just use the well know script to activate it and send a donation to MS or something. The margin of profit from individual keys is nothing.

(Can I post the link, to the open source repo? Is it against the rules? I mean MS owns github and has no problem hosting it)

yet windows defender flags these files as trojan

> Is there a decent way to buy this LTSC edition of Windows?

If you are a student or work at a supported educational institution: I think Windows 11 Education is to my knowledge basically identical to Windows 11 Enterprise (at least for Windows 10, this was the case). In these versions, you can use LTSC updates if you want.

There's two flavors of Windows for Education. One is more or less Windows Professional, the other is more or less Windows Enterprise. Both disable some stuff by default, I think the Microsoft Store and Clippy/Cortana/Copilot, maybe some other things... But you can do that with policy editor too.

It depends on your definition of "decent". Legal: yes, simple: maybe not. Search in past threads.

Not really. Even for smaller companies it's basically impossible to get 10-20 LTSC or IoT licenses.

Only way is usually to buy devices that have such a license included.