|Follow HP's installation directions.|
E.g.. These things are universal for USB connected printers or multi-function printer etc. devices, or scanners.....
DO NOT plug in the USB cable from the device into a USB port connected to the computer until you have installed at least some of the software for it ! Sometimes you are prompted to plug that in after some of the software is installed; sometimes all of the software must be installed and you Restart Windows before you plug in the USB cable.
DO NOT install drivers for it when Found New Hardware pops up for the device, BEFORE you have installed the software for the device !
If the software installation does not recognize the device properly when you plug in the USB cable, you may need to plug it into a different USB port, or use a better USB cable if the cable did not come with it. In rare cases with a desktop computer, you may need to fix an IRQ sharing problem.
Troubleshooting USB device problems including for flash drives, external drives, memory cards.
See Response 1:
Sometimes the resident module(s) (a program that runs all the time in the background looking for suspicious activity) of anti-malware software or third party software firewalls interferes with a software installation from installing properly, and usually there is no indication that's what happened, other than the software didn't install all the way or it installed but doesn't work properly.
. If you DISABLE that (those) from running BEFORE you install the software, you're a lot less likely to have problems
E.g. AVG 2011 (Resident Shield) , Microsoft Security Essentials, Spybot, AdAware all have a resident module. The free version of Malwarebytes does not; the paid or trial version does.
The paid version of AVG 2011 also has a third party firewall.
If you don't know how to do that, tell us which anti-malware or third party software firewall program you have installed.
Un-install any failed software installation, disable the resident module(s), BEFORE you try installing the software again.
After you're sure the software has installed properly, enable the resident module(s) again.