Hewlett-Packard Co. Chairwoman Patricia Dunn resigned Friday effective immediately in the wake of the companyâs ill-fated investigation of boardroom media leaks.