NEW YORK (

TheStreet

) -- There were plenty of naysayers when Meg Whitman took the reins of seriously troubled

HP

(HPQ) - Get Report

last year but the former

eBay

(EBAY) - Get Report

chief is now quietly answering her critics by making decisive moves aimed at getting the tech giant back on track.

HP shares climbed more than 3% to $21.78 on Thursday as investors responded to the firm's strong

second-quarter results

, released late on Wednesday. The no. 1 PC maker successfully side-stepped the weakness cited by rivals

Dell

(DELL) - Get Report

and

Cisco

(CSCO) - Get Report

, casting Whitman in a positive light.

HP CEO Meg Whitman is HP's unlikely turnaround star.

Already a Silicon Valley star thanks to her time at eBay, there were nonetheless some raised eyebrows when Whitman was chosen to

replace

ousted HP CEO Leo Apotheker in September. In particular, critics

questioned

Whitman's credentials for leading a company of HP's vast size and complexity, citing her lack of enterprise IT and supply chain expertise.

Since then, however, Whitman has proved her leadership skills as HP begins to distance itself from the brief but turbulent Apotheker era. Crucially, the new CEO quickly

nixed

Apotheker's contentious plan for a possible PC spinoff, and also won plaudits for HP's

support

ARM's

(ARMH)

low-power chips.

Whereas her predecessor left investors scratching their heads about HP's strategic direction, Whitman has cut a decisive figure. Last year, for example, the CEO opted to open source the acclaimed

webOS

operating system, seen as a shrewd bid to resurrect webOS technology. More recently, she took the

bold move

of merging the company's PC and printer divisions in an attempt to combat falling hardware sales.

Whitman is also willing to make tough personnel decisions, as evidenced by this week's announcement that the Dow component is cutting 27,000 jobs, 8% of its total workforce.

"We're introducing a lot of change, which is absolutely necessary to turn HP round," she explained, during a

CNBC

interview on Thursday. "We have a clear, focused strategy for the company, we have a clear, focused strategy for each of our operating groups."

Key areas of focus include the company's HP's under-performing printer business and the

Autonomy

software acquisition, which needs to scale up, according to the CEO.

Whitman, who can often be seen eating lunch amongst employees at the cafeteria in HP's HQ, has also performed well during public appearances. On TV, in particular, the HP leader has come across as composed and totally in control of the company's revamp.

Analysts, however, warn that, like Rome, the new HP won't be built in a day.

"Whitman appears to be taking the appropriate actions, in our view, but we don't expect to see a fundamental inflection point in the near term," explained Jayson Noland, an analyst at Robert W. Baird, in a note released on Thursday. "Whitman named cloud, big data and security as areas of strategic investment -- we see these areas as offering attractive growth, but execution matters given the level of competition."

Whitman herself acknowledges that HP's overhaul won't happen overnight. "I would say that we're at the beginning," she told

CNBC

on Thursday, adding that the company is about 10% to 15% down its turnaround path.

Nonetheless, Whitman deserves credit for halting the company's slide. Like a supertanker attempting a u-turn, long-term improvements will not happen immediately, although investors should be heartened by Whitman's first eight months in the job.

"The key takeaway is that HP's turnaround efforts appear to be progressing better than expected," explained Sterne Agee analyst Shaw Wu, in a note. "We believe HP has become a balance sheet story where improvements the company makes will likely be the biggest catalyst to shares as opposed to top-line growth, where expectations are fairly low."

Nonetheless, there are plenty of gaps in HP's product portfolio. Whitman has admitted that the company has not yet resolved its smartphone strategy, and, even with a

Microsoft

(MSFT) - Get Report

Windows 8 tablet planned for the back-to-school season, HP still needs to find a way to seriously compete with

Apple's

(AAPL) - Get Report

iPad.

Overall, though, Whitman deserves credit for stopping the rot at HP and laying the foundation for recovery.

--

Written by James Rogers in New York

.

>To follow the writer on Twitter, go to

http://twitter.com/jamesjrogers

.

>To submit a news tip, send an email to:

tips@thestreet.com

.

Check out our new tech blog,

Tech Trends

. Follow TheStreet Tech

on your wireless devices

.