Microsoft (MSFT -1.27%), like many of the "old tech" names lately, has gotten a lot of love during the last year. Multiple expansion, coupled with healthy profit growth, have propelled Microsoft to levels not seen since the tech bubble. Best of all, Microsoft still isn't all that expensive, trading at just 16.78 times trailing 12-month earnings. And it's even cheaper if you net out its gigantic cash position.

However, Microsoft made a huge mistake that cost its shareholders dearly during the last decade, one that new CEO Satya Nadella is taking bold action to correct.

What's Microsoft really good at?
Ask yourself -- what's Microsoft's core competency? (Hint: it's in the name --- Microsoft.)

Software. Microsoft's core competency has traditionally been -- and will likely continue to be for decades to come -- the development of fast, well-designed software, as well as the tools that go into the development of software -- which, OK, is software, too. For example, whether one likes or loathes the interface of Windows Phone, it's hard to ignore the fact that the platform is very smooth and efficient under the hood. 

Unfortunately for Microsoft, Apple (AAPL -1.22%) envy clouded the company's judgment.

Apple envy drives Microsoft to do strange things
If you look at Apple's financial statements, you'll see that there's plenty to be envious about -- this is the world's most-profitable technology company, and not by a small amount, either. This vast profitability has been the product of -- frankly -- a revolutionary set of products (iPhone, iPad), an unmatched retail presence, a beautiful subsidy model for high-cost smartphones and, of course, fantastic products. Microsoft's big mistake was in trying to -- pardon the phrasing -- ape Apple.

The Surface flop
For the longest time, Microsoft has tried to double down again and again on developing and marketing its own hardware, instead of doing what it does best. The Microsoft Surface RT -- intended to go head-to-head against the iPad -- was such an abject failure, that the company ultimately ended up dumping them for dirt cheap.

Not only did Microsoft make a product that nobody wanted -- Windows RT couldn't run any traditional Windows applications -- but imagine how Microsoft's longtime OEM partners felt. These companies, already living on shoestring margins as Microsoft and Intel capture the majority of the value in PCs, now had to worry about getting completely cut out!

The Nokia hookup wasn't much better
Microsoft's purchase of Nokia's handset business wasn't much better. Nokia, which was at one point the "Samsung" of the feature-phone world, was in rough shape after the smartphone revolution left its handset business in shambles.

After initially partnering with Intel to deploy MeeGo-based smartphones, Nokia left the chip giant to work with Microsoft in trying to get its Windows Phone more broadly deployed. Surprising to few, the Nokia-designed Windows Phones largely flopped. A few years later, Microsoft outright bought Nokia's handset division in a bid to become even more like Apple.

This purchase may have made sense to anybody who believed Microsoft's financial projections, which were given following this acquisition. However, the reality of the situation is that the low-end and mid-range of the smartphone market is a profitability nightmare, and even Samsung -- one of the few companies in this space that's actually making money -- is beginning to see significant margin/competitive pressures. CEO Satya Nadella sees this madness for what it is, and appears to be putting a stop to it.

Satya Nadella – Microsoft's savior?
It's no secret that Satya Nadella, Microsoft's new CEO, was against the Nokia handset business purchase. He's cutting much of the fat that came with the Nokia purchase, is bringing Microsoft's software and services, like Office, to successful mobile platforms -- i.e. iOS -- and may finally make the next Windows palatable to traditional PC users.

With Microsoft's relatively cheap valuation, and with costs cut in areas that aren't essential to the core business and strengths of the company, Satya Nadella appears to be taking a different path to delivering shareholder value. Bringing to market the world's best software and services, regardless of platform, will be Nadella's legacy, for better or worse.