Weisler joined HP in 2012 and became CEO in 2015 when the company split is PC and printer operations from its businesses specializing in business software. That part is now known as Hewlett Packard Enterprise and was run by former California gubernatorial candidate Meg Whitman until her departure from that post last year.
HP's shares fell 6% to $17.72 in extended trading Thursday after the news of Weisler's impending departure came out. The reaction, however, may have been driven by the release of HP's financial results for its fiscal third quarter and outlook for the current three-month period ending in October.
The company's earnings for the past quarter exceeded analyst estimates that steer investor expectations, but HP's guidance might lag analyst projections for the current quarter.