How Microsoft Made Its Stock Great Again by Adam Lashinsky @FortuneMagazine October 21, 2016, 10:30 AM EDT E-mail Tweet Facebook Linkedin Share icons Seventeen years is a long time to wait to regain one’s glory, yet that’s exactly what Microsoft has done. With its solid quarterly earnings report, released Thursday, the software giant’s shares traded up after regular market hours, for the first time exceeding their 1999 peak levels. This is quite an achievement, and quite a satisfying one for anyone who likes a riches-to-not-so-many-riches redemption story. Like many legitimate companies of the dot-com era—and a whole slew of fakers—Microsoft’s shares raced to astronomical highs just before the turn of the century. It was pumping out prodigious amounts of cash, a growing economy needed its productivity software, and the dreaded Y2K computer meltdown was a glorious opportunity to sell upgraded server software. Oh, and Microsoft msft was a monopoly, controlling the market for the Windows operating system for PCs and the Office applications that ran on top of it. Get Data Sheet, Fortune’s technology newsletter, where this essay originated. At the time Apple aapl was an after-thought, Google goog a toddler, and Facebook fb not yet a glimmer in Mark Zuckerberg’s high school eye. The first copies of Microsoft’s Windows 2000 roll out on an assembly line in Utah on December 14, 1999.Jeff Christensen — Getty Images Then came the bust, competition for desktop prominence from Google, the second coming of Steve Jobs, lousy investments and myriad other problems. It long irked former Microsoft CEO Steve Ballmer that his company remained profitable but wasn’t rewarded for it by investors. Microsoft had lost its sheen and its growth, and the stock petered along the length of time it took a child born when the bubble burst to get her driver’s license. Happily for Microsoft, and those who like competition, the no longer feared or hated monopolist is back, along with its market value. New CEO Satya Nadella has moved aggressively into cloud infrastructure services, where Microsoft is second only to Amazon amzn . And he has winnowed Microsoft’s product lines, killing off everything from most of its phones to a fitness tracker nobody wanted. For more on Microsoft, watch: Microsoft’s core business remains an unexciting yet steady contributor. Even there, the online Office365 is a winner, the preferred email/word-processing program for corporations that value consistency, service, and security. Tech industry comebacks are rare, but when they happen, they’re a cause for celebration because consumers benefit along with partners, shareholders, and employees. And we get to ask: What will a rejuvenated Microsoft do next?