Microsoft has posted its first ever loss, shedding $US492 million ($476.26 million) in the fourth quarter due to a massive $US6.2 billion ($6.00 billion) write-down to reflect the slump in value of its online operations.
Microsoft still posted an annual profit of $US16.98 billion ($16.44 billion) and said the results reflected "solid revenue growth and rigorous cost discipline".
The Redmond, Washington-based firm had announced earlier this month it would take the $US6.2 billion ($6.00 billion) write-down, which is required by accounting rules and does not affect the company's cash position.
Taking out one-time charges, Microsoft showed a profit of 73 US cents a share, well ahead of Wall Street expectations of 62 US cents.
Revenue also beat expectations, rising four per cent to $US18 billion ($17.42 billion) in the quarter to June 30. For the full year, revenues were up five per cent at $US73.7 billion ($71.34 billion).
"We delivered record fourth quarter and annual revenue, and we're fast approaching the most exciting launch season in Microsoft history," said Steve Ballmer, chief executive of Microsoft.
The company is preparing to release a new version of its leading Windows operating system and a new tablet computer, while making an aggressive move into smartphones.
"The combination of solid revenue growth and rigorous cost discipline drove double-digit operating income growth for the quarter, adjusting for the goodwill impairment and deferred revenue," said Peter Klein, chief financial officer.
"We are focusing our resources in strategic areas that will deliver shareholder value and long-term growth opportunities."
Microsoft shares rose 2.14 per cent to $US31.32 ($30.32) in after-hours electronic trades.
The fourth quarter losses stemmed from a charge reflecting a write-down related to the 2007 acquisition of aQuantive, a digital advertising firm aimed at helping Microsoft compete against Google and others.
Microsoft announced the deal in August 2007 in a move aimed at seizing market share from rivals Yahoo! and Google in the lucrative market that tailors advertising to Internet search results.
Microsoft's Windows remains the dominant platform for personal computers, but it has lost ground to rivals such as Google and Apple in newer devices, which use rival operating systems.
The company's search and online services have struggled, while its Xbox gaming system has become among the hottest in the industry.
In its latest results, business services accounted for $US6.3 billion ($6.10 billion) in revenue and $US4.1 billion ($3.97 billion) in operating profits. Windows showed an operating profit of $US2.4 billion ($2.32 billion) on $US4.1 billion ($3.97 billion) in revenue.
But the entertainment unit showed an operating loss of $US263 million ($254.59 million) on revenues of nearly $US1.8 billion ($1.74 billion) .
And online services showing a whopping loss of $US6.6 billion ($6.39 billion) and revenues of just $US735 million ($711.49 million).
ninemsn is a joint-venture between Microsoft and Nine Entertainment Co.