I don’t think things are quite so dire for Windows. People (including me) have been predicting the end of Windows due to losing mindshare with builders since the turn of the century, and it still hasn’t happened.
The harsh truth is that most consumers pick Windows because PCs cost less than Macs. Businesses pick them for employee computers for the same reason.
And Windows Server more or less became a moot point when the cloud took over. They don’t want you hosting your own Exchange server anymore, they want you in Office 365. And they’ll just as happily sell you Linux compute instances on Azure because lower COGS means more profit.
> most consumers pick Windows because PCs cost less than Macs
And that's why the MacBook Neo exists now. Apple is coming for the lower-end market.
At that point the only thing keeping people on Windows is software lock-in. Which Valve is in the process of working towards dismantling for gaming at least.
Consumers and businesses pick Windows because it’s difficult to buy a PC that doesn’t have Windows installed. At least in part.
The other important factor is that the share of PCs in general is a fraction of Android and iOS devices.
> The harsh truth is that most consumers pick Windows because PCs cost less than Macs.
Ever since the MacBook Neo, that's no longer the case. And frankly... Apple has now demonstrated that an old iPhone SoC is enough to drive macOS. I think that it should be feasible for them to run macOS on iDevices as a hypervisor-style guest, yielding you the full macOS experience when plugged into an USB-C dock.
> The harsh truth is that most consumers pick Windows because PCs cost less than Macs. Businesses pick them for employee computers for the same reason.
As a Microsoft sysadmin with a stable of homelab machines of all types and brands (and favorites that are definitely not Microsoft), enterprise mostly buys Microsoft because of the built in endpoint and end user management stacks.