I've had to do odd things like find a HP Printer Driver cleaner from hp.com. Example at:

"Be aware, if you have other HP All-in-one, Deskjet or Photosmart printers or HP ScanJet scanners and Photosmart camera software connected and installed on the your computer, this utility may also remove components of those products and require you to reinstall the software included with those products. Before running this utility, uninstall the software for these products."

The whine noise could be the CPU fan. You didn't write enough about this PC so I'll offer this link:

The safe mode boot makes me think there are other issues but let's start with these two ideas.