How to get rid of “HPDeviceMonitoring.framework will damage your computer” pop-ups on your Mac

Updated November 1st, 2022.

If you have an HP printer and macOS Catalina you may have seen a scary message saying something like “HP something or another will damage your computer.”

HPDeviceMonitoring.framework will damage your computer
Scary pop-up message about HP printing software

Here’s a variation.

HPDM.framework will damage your computer
Another scary pop-up about HP printing software

There are others, including one about the “”Matterhorn.framework,” but they all have two things in common: they came out of nowhere all of a sudden, and they don’t go away for long when you click the OK button.

The first thing to know is, these error messages are themselves erroneous! These files aren’t going to damage your computer. They’ll make it impossible to use, because as soon as you click “OK” they pop right back up again, but they will not damage your computer.

You might think that Malwarebytes would fix this, but it can’t. This is a different kind of problem. It’s not malware.

The cause of these pop-ups is a clerical error: HP let the certificates for the software expire (this is like letting your driver license expire– you’re still you, but you can’t prove it to the TSA). So there’s nothing damaging about these files, they just can’t verify themselves with the macOS. Still, you want to get rid of these pop-ups. That’s what this article’s about.

If you go to HP’s site for help you’ll find a twelve-step process for getting rid of these pop-ups… and in my experience, it doesn’t work. So skip that, and follow my THREE-step process, which does work.

How to fix the problem

Step 1: Delete all of your HP printers

Go to System Preferences/Printers & Scanners and click on your HP printer in the list on the left. Then click the minus sign near the bottom left corner of the Printers & Scanners box. That deletes the printer. Repeat for every HP printer in the list.

If all you have in the Printers & Scanners preference pane are HP printers, and you want to get a really clean start, hold the Control key down and click in the white space in the list of printers on the left. The select “Reset printing system…” from the little menu that appears.

Resetting printing system in macOS 10.15.
Resetting the printing system with a Control-click in macOS 10.15

Resetting the printing system sounds really drastic but for most people (the ones with just a few printers) it’s not much trouble to re-add printers, which we will be doing in Step 3. If you have some really old, special, not-made-anymore printer, and it works now, I’d avoid resetting the printing system. Otherwise, it’s a good option.

For more information about resetting the printing system, and when you might want to do it, click here.

Step 2: Delete the hp folder

There’s an “hp” folder, inside the Printers folder, inside the Library folder, inside your Mac’s hard drive. Find that folder and delete it. You’ll be asked to supply your Mac user’s password because they want to be sure you have permission to do such a thing.

The hp folder
The hp folder in the Printers folder, in the Library folder, on the hard drive

Just find that hp folder, click on it once, and press Command-delete (that’s the easy way to send something to the Trash). Now you’ve gotten rid of the bad hp software. Wouldn’t hurt to restart before moving on to Step 3.

Step 3: Add your printer(s) again

Open up the Printers & Scanners preference pane again. It should still be blank on the left. Click the plus sign at bottom left and you’ll get a list of printers that your Mac can find (either on the network, or via USB, or some other way). Click on a printer, make it say “AirPrint” at the bottom, then click the Add button. That’s easy. You’re done.

Adding a printer via the macOS Printers & Scanners preference pane
Adding a printer (yes I know this is not an HP printer, but I don’t have one)

If you click where it says “AirPrint” before you click the Add button you may be able to choose “HP xyz software” (where xyz is the name of your printer). If so, choose that, and Apple will download the newest HP software to your machine, and install it.

Note: if you use the AirPrint driver, you’ll be able to print, but you may not be able to scan. If you use the HP driver, you’ll be able to print and scan.

If the AirPrint driver isn’t available, and if your Mac doesn’t automatically download HP software for your printer, you might have one more option. That option is “Gutenprint,” which provides drivers for a giant list of printers whose manufacturers no longer support them. Download, install, and see how it goes. (Gutenprint drivers are print-only– no scanning. FYI.)

That should do it– no more pop-ups, and a functioning printer. If it does, leave a message in the comments. If it doesn’t, leave a message in the comments!

Copyright 2008-2024 Christian Boyce. All rights reserved.

Did this article help you?

Maybe you'd like to contribute to the
Christian Boyce coffee fund.




Want some some quick iPhone how-tos?
Visit me at iPhoneinaminute.com.

Looking for quick tips about Macs?
See my One-Minute Macman website!



Please use the “Sharing” buttons to share what’s interesting with your friends. It helps your friends and it helps me too. Thank you very much!

Sincerely,
Christian signature
Christian Boyce

Christian Boyce is a Mac and iPhone expert with over 30 years' experience in the field. His specialty is teaching people how to get more out of their Macs and iPhones using the software and apps already installed. He is the author of several books, a guest speaker for Mac and iPhone user groups worldwide, and a former rocket scientist. He splits time between homes in Santa Monica, California and Round Rock, Texas.

7 thoughts on “How to get rid of “HPDeviceMonitoring.framework will damage your computer” pop-ups on your Mac

Add yours

  1. Hi, I have an HP OfficeJet 3830. I went through a similar process, driving down into the Applications folder to get rid of all HP remnants. When I did add, it selected AirPrint, which is fine, even though I also have a USB direct line. You can scan with AirPrint; I use HP Easy Scan, which I also uninstalled and then reinstalled. The only thing with AIrPrint and scanning is that the OfficeJet slows to a crawl near the end of each sheet fed page, probably waiting on the buffer to clear before sending an “end of page” note to the MacBook (my guess, anyway). I haven’t been able to use it in the USB direct connect mode; most likely, I’d have to re-download the HP software from the web site.

  2. I did the procedure you indicated and it worked. But as you indicate, scan does not work. But in the printer setting I disabled IPv6. Then in the router I enabled it. I reset the laptop and it managed to scan fine. I was not prepared to see what it was that solved. Whether to disable IPv6 in the printer setting or enable it in the router. But apparently that it’s the setup issue. Take into account that the printer is connecting to the second Wi-Fi signal. For some reason it does not connect with the main signal. And I think that has something to do with the IPv6 configuration. I didn’t want to touch the laptop anymore because it wasn’t mine. But I think IPv6 should be enabled on both the printer and the router.

    1. I think the printer is “listening” for IPv6, and when it is, that’s ALL it listens for. It doesn’t do both. That’s how it seems to me.

      If you delete the printer, and re-add it using the newest HP driver (just choose “automatic” and see if the Mac installs it for you) then you’ll get the scanning back.

  3. I have no AirPrint option. HP Laserjet Pro 400dne, with Big Sur. I downloaded HP easy start but then I kept getting the popups. So I tried what you said here, but no AirPrint.

  4. Brilliant! Worked like a charm for my HP Color Laserjet CM1312nfi MFP. I had to install 3rd party software for the scanning fucntions, but the printer working with no goofy errors is a win!

    I’m in Catalina – will I have any issues updating to Big Sur now?

    Thanks for this information. Very very helpful.

Please Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

Read our Privacy Policy