When Microsoft pivoted to security, they seemed to really mean it. They stopped shipping new features for something like 6 months, and spent the time hardening the OS. The results weren't perfect, but they made Windows not the total joke it had been.