I think Microsoft's problem has been the fact that they keep getting pushed against the wall in every consumer electronics market they try to break into. Why can't they bring their A game to start with?
Ballmer knew how to deal with corporate clients & infrastructure, he didn't know how to deal with the general population. Combine that with wanting Apple margins without knowing how to deal with consumers, you get all the blunders that have happened over the past couple years.