People is actively opting to use a shitty OS like Windows. The easiest solution is using another OS.
I hate saying this but at this point MacOS is even better in that regard, but my preferred choice is GNU/Linux.
Obviously, in your personal computer you have the freedom to choose an OS that fits your needs, in a enterprise/work enviroment this is harder because the company using Windows is the one who should consider changing the OS to avoid this shit, if possible.