The PC maker waited too long to enter the fight, but it’s finally winning back some of its user base.