Windows stopped having serious malware problems at least 10 years ago
the ransomware campaigns would have happened on any OS enterprises use, because they were not security flaws in the OS