The solution of course is to not use Windows, without ifs and buts. It was a bad idea coming to its conclusion.
Check out the DEFCON 2018 talk "Through the Eyes of the Attacker" to see to what lengths the TRITON attackers went. These guys were dumping eeproms from boards running obscure MIPS processors and were looking at raw ethernet packets in Wireshark and flipping bits in the packets to see what would happen. That their command&control was running on Windows was just coincidence.
Very few adversaries have enough resources to break anything. The threshold for roughing up a Windows setup is the lowest in the industry.