Microsoft's focus on cloud computing has helped it deliver better-than-expected quarterly profits, sending its shares to an all-time high.
The software giant posted a $4.7bn (£3.8bn) profit for the three months to September.
Chief executive Satya Nadella has focused on building Microsoft's expertise in cloud-based services amid slowing PC sales.
Shares rose 6% to $60.73 in after-hours trading.
The previous high was $59.97 in December 1999, close to the peak of the dot-com boom, shortly before Steve Ballmer replaced Bill Gates as chief executive.
When Mr Nadella succeeded Mr Ballmer in 2014, Microsoft's shares were trading below $37.
Changing environment
Investor confidence in Microsoft has been restored by focusing on mobile and cloud computing rather than its traditional hardware like its Windows operating system and its Office software.
Individuals and businesses are increasingly accessing computing services such as servers, databases, software and storage that are provided over the internet ("the cloud").
And Mr Nadella said the changing business environment meant this was paying off.
"It's not just the Silicon Valley startups anymore; it is the core enterprise that is also becoming a digital company. And we are well-positioned to serve them," Mr Nadella said.
Revenue from Microsoft's Office 365 cloud service increased 8% in the quarter while revenue from its Surface tablet - pitched as a rival to the iPad - rose 38%.
And while revenue from its flagship Xbox - Microsoft's games console - fell, the number of people playing online rose to 47 million from 39 million a year.
Latest Stories
-
World-first gonorrhoea vaccine launched by NHS England as infections soar
35 minutes -
EU plans €2 fee on small parcels in hit to Shein and Temu
52 minutes -
Doubts over whether Brits can use EU e-gates this summer
1 hour -
Trump pressures Republicans to back his ‘big beautiful’ tax bill
1 hour -
Zelensky accuses Russia of ‘buying time’ to stall truce talks
1 hour -
Man who helped smuggle more than 3,000 people into Europe jailed
2 hours -
Jennifer Lopez sued in copyright case for posting photos of herself
2 hours -
US congresswoman charged with assault outside immigration centre
2 hours -
Court orders mental evaluation for extradited Togolese robbery suspect
2 hours -
Police destroy 120 changfang machines at Wassa Gyapa
4 hours -
‘Order from above’ keeps traders on the streets – Dr Oduro Osae
4 hours -
Lax bylaw enforcement to blame for traders’ street chaos – Dr Oduro Osae
5 hours -
Dram Oil requires recoveries from Alfapetro Ghana Ltd in alleged contract breach
5 hours -
Reduce squad size or I’ll quit – Guardiola to Man City
5 hours -
Talensi schoolgirls abandon classrooms for ‘wife duties’ at illegal mining sites
5 hours