Link to home
Start Free TrialLog in
Avatar of joemeree
joemeree

asked on

How to install HP photosmart printer/scanner on windows 7 virtual machine?

I'm trying to install the drivers and software for my printer/scanner on a windows 7 virtual machine (VM) running under windows 2008 R2 hyper-V.  The problem I'm having is the software expects the printer to be plugged into a USB port on the computer and the VM apparently does not support USB connections.  This printer is a photosmart 3210 all in one printer/scanner.  The printer is network enabled so I'm not using the USB connection.  The software version is for windows 7 and is named AIO_CDB_Net_Full_Win_WW_130_141.exe.  I want to do this because this HP software is a pig.  I don't want to run it on the host OS, but I like the scanning and OCR capabilities...

Does anybody know a way to disable this USB check in the installer so I can get the software installed?  I'm thinking it might also work to setup some sort of virtual USB loopback adapter so the software thinks there is USB even if it isn't physically there.  I tried logging in to the windows 7 VM through remote desktop because I've find that sound works this way, but not when directly launching the VM from hyper-V.

I do have the printer and scanner both working across the network (tcp port) with the basic windows 7 drivers, but it might also work if I can find a good, free scanning/OCR client.

Joe
Avatar of joemeree
joemeree

ASKER

The error dialog the hp installer puts up:  This computer does not have the necessary USB software support to allow completion of a USB installation.  The installation cannot continue until this is resolved.  and
Required Action: Click Cancel to exit this software installation.  In order to install this device as a USB device, please refer to your computer documentation or USB add-in card documents for more information about USB drivers.
In the virtual machine plug the printer into the usb. Go to the start menu and click Devices and printers.  Click add a printer.  choose add a local printer.  use the existing port and click next.  choose your printer driver, click next.  give your printer a name and finish the rest of the wizard.  

information from

http://res2.windows.microsoft.com/resbox/en/Windows%207/Main/2/6/26e46139-6979-42f7-94d6-994886e130c2/26e46139-6979-42f7-94d6-994886e130c2.wmv

print a test page to make sure it works.
joemeree,
your VM needs to have USB support for the one time installation.
But it doesn't look like your VM program supports USB, what a pita. Here are some potential workarounds, which include using RDP,  http://connect.microsoft.com/WindowsServerFeedback/feedback/details/390443/hyper-v-needs-usb-support

I use VirtualBox from Sun and it works with USB, once you tell it to.
Avatar of Philip Elder
Run the HP tool and leave it up and running while searching for the printer.

Dive into your profile's TEMP folder and find the install files. Copy them out to C:\Temp. You could also run a switch to extract the contents of the HP file if it allows for that.

In Windows 7:
 Start --> Printer Management [Enter] (you should see the window come up that is attached)
 Print Servers --> [ComptuerName] --> Drivers
 Right click under the list of drivers and ADD DRIVER
 Find the directory you have the extracted drivers in and select any *.inf
 Load the driver.

Now, anytime you TS into the VM you will have the HP printer listed.

Caveats:
 + Driver must be 64bit if the VM is running a 64bit version of Windows
 + Printer (Driver) names on the target VM _absolutely must_ match the Printer name on the local machine.

Philip

 File
10-02-05-Print-Managment.png
Now, if you want to connect to the printer directly via IP, then under Print Servers is a Ports node. Add a Port for the IP address of your printer and then use the Add Printer under the Printer node to connect to the printer via that port. Driver is already installed, so you are flying! :)

Philip
Hi Folks,  I appreciate the suggestions, but the problem isn't how to get the USB working in the VM.  The VM doesn't support USB and I was unable to the the USB working with RDP.  What I really want to know is how to bypass the check for USB in the HP installer since it is a network enabled printer.  Either
1. how to fake out the hp installer or
2. how to run the installer on the command line with a switch to have it bypass the USB check or
3. how to set something in the installer config files to have it not check for USB.
Please reread my comment 26497862 as that is the instruction set you are looking for.

Philip
Sorry MPECSInc, I wasn't clear.  I have a printer defined (by using the tcp port).  Didn't have to use the HP setup disk at all.  I'm trying to setup the hp software for the scanner in network mode to get the more useful hp scanning utilities (scan to pdf, ocr).  I appreciate your time and help.
Joe
ASKER CERTIFIED SOLUTION
Avatar of Philip Elder
Philip Elder
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That printer does not support scan to a network folder.
Actually the correct answer to the question is hereHP website

One just needs to use ctrl Shift and click cancell to bypass the USB check.
Beware depending on the version the USB check is done many times so you may have to ctrl Shift Click cancel - many times.

http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&taskId=110&prodSeriesId=3204782&prodTypeId=18972&objectID=c01324925