Microsoft could easily make one of the best general purpose OSes. They have a lot of cool stuff in Windows, especially for devs. There's native git integration in file explorer coming, PowerToys has great utilities (peek, fancy zones, command palette), WSL & WSL w/ graphics, terminal, native SSH now, sudo, winget & automation with it using DSC from a simple yaml file, and some of the best backwards compatibility in the industry.
Yet they squander it all by violating their users trust and consent, and consistently ignoring their users feedback.
That's what makes Windows 11 so frustrating for me, even though I've already switched to macOS ever since the M1 air. I would go back to Windows in a heart beat if they got their act together. I always liked Windows. It's been my main OS for a long time, even though I've always kept a Linux machine around and macs here and there, Windows was my go to.
Normally I would say all MS needs to do is focus on putting out a good OS, keep focusing on all the dev QOL stuff they put in and dump the user hostile behavior, but I think its too late for them at this point. They've burned every bridge.