Microsoft wins some and loses some