Steve Ballmer, who announced his retirement from the head of Microsoft Corp on Friday, had the misfortune to follow Bill Gates at the helm just as the company hit the end of its explosive growth period.