Showing results for 
Search instead for 
Did you mean: 
New member
1 0 0 0
Message 1 of 2
Flag Post

Scanner on HP Envy printer not working. Error message "Failed to open a connection to device -21345

HP Recommended
HP Envy 7640
macOS 10.15 Catalina

I cannot use the scanner function of my HP Envy 7640 series all in one device.  When I try to scan a window opens with the following message:

"HP Scanner 3" will damage your computer.

This file was downloaded at an unknown date

Report malware to Apple to protect other users


After I click OK another window pops up and has the following: Failed to open a connection to the device (-21345).

I believe I have to uninstall the printer software and reinstall a later version.  When I try to run the HP uninstaller I'm asked for a password.  I do not know what that is.  I've tried a couple of passwords and it doesn't work.


Suggestions?  Thanks.


HP Support Agent
HP Support Agent
13,093 13,078 701 534
Message 2 of 2
Flag Post
HP Recommended



Welcome to the HP Support Community.


Uninstall and reinstall the HP Drivers:


Also, try other scanning option like HP Smart and Image Capture:


Let me know if this helps.


If the information I've provided was helpful, give us some reinforcement by clicking the Accepted Solution and Kudos buttons, that'll help us and others see that we've got the answers!




Have a great day!

I am an HP Employee

0 Kudos
Warning Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation