How Microsoft is reclaiming its crown