scottjones74
Contributor
Contributor

VMWare Horizon usb redirect not working for printers

printing to USB printers has stopped working since upgrading to horizon 2206 (have upgraded to 2209 to see if that helped and it did not).

we are non-persistent instant clones, print drivers are installed in the image, USB redirect is installed with the agent, USB is allowed in horizon admin.   Even checked GPO's and registry ([HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\Installer\Features_HorizonAgent] "PrintRedir"="Local" for VMware printing )

It was working on previous versions of horizon 8.  We are using windows 10 enterprise version 21H2.

The issue occurs on zero clients, thin clients, and horizon client from a windows laptop, so I know its something with the image or a setting.  I have built two new master images from scratch to try and find the issue but cannot.  The printer is “seen” in the control panel, but it does not load the driver.  If I run the master image, the driver is loaded immediately.  

any help or direction is appreciated, this should be a simple fix but i cannot find it. 

Labels (3)
Tags (2)
0 Kudos
11 Replies
ofox
VMware Employee
VMware Employee

"The printer is “seen” in the control panel, but it does not load the driver."

I'm not sure if I fully understand it. Did you mean you could see the redirected printer in the control panel of the remove desktop Windows, but the printer did not work?

If my understanding above is correct, I have a couple of questions.

1. What did you mean by "it does not load the driver"? How did you tell?

2. Did you try the print-a-test-page functionality that the printer itself offers?

3. Did you try VIP(VMware Integrated Printing) rather than USB-R? VIP is recommended solution for printers.

0 Kudos
normeyj
Contributor
Contributor

Did you ever find the issue with this i am running into the same issue with the driver not loading on 21h2.  

0 Kudos
scottjones74
Contributor
Contributor

No resolution as of yet.

0 Kudos
scottjones74
Contributor
Contributor

If you go to devices and printers in control panel, the printer is recognized as connected (its there), but the driver will not load.  Its showing up as an unrecognized device.  The drivers are installed in the master image and the master image works fine, its the clones through zero clients.  

You cant use VMware Integrated Printing with zero clients.  We have used these printers and zero clients for years.

0 Kudos
Cortez_C_Cortez
Contributor
Contributor

Hi Scott, any fix yet?  We have the same issue in our organization with 21H2 and 22H2 with USB attached laserjet printers with ThinOS and Teradici thin clients and windows devices with our instant clones.  We also tried attaching the printer to the base image which was able to print successfully, and the correct driver was applied.  Please post back if you find a fix.  We have tickets open with Microsoft and VMware but also no fix yet.  I am subscribed to this issue and will also post a fix when found. 

0 Kudos
Daniel_Pro
Contributor
Contributor

we have a similar problem with usb printers and usb redirection. the problem occurs with windows 10 cumulative updates 07-2022 to 12-2022 and horizon usb redirection. the virtual usbxxx ports are not automatically created by usbmon.dll. a test with a physical windows 10 computer and cumulative update 12-2022 and vmware agent installed:

- usb printer connected directly usbxxx ports are created correctly.

- usb printer connected via horizon usb redirection usbxxx ports are not created.

means this error happens due to a combination of windows update 12-2022 and horizon usb redirection

0 Kudos
ofox
VMware Employee
VMware Employee

The engineering team is looking into the issue. Will post once we find out something.

0 Kudos
jhol5
Enthusiast
Enthusiast

Do you have windows update kb5015807 (released July 12th) or newer installed? I found that, that update breaks usb printers when using Teradici Zeros.

0 Kudos
Cortez_C_Cortez
Contributor
Contributor

We have installed the latest service stack update and cumulative update every month since we encountered this issue and haven't found any resolution.  KB5015807 has been superseded by several updates since July, the newest of which we have installed from December (KB5021233).  In our case printing in 21H2 and 22H2 has never worked despite having the latest updates installed every month, but we did start deploying 21H2 in July of 2022.  If we test the same USB printing in Windows 1909 it works perfectly.  Interestingly with 21H2, if you plug in a second USB LaserJet printer after the first one fails to get a USB001 port and gets stuck as an unspecified device, the second printer works perfectly fine and gets USB002 and the correct driver from the base image. 

0 Kudos
scottjones74
Contributor
Contributor

We have not found a true fix as of yet, my fix was to create a new image with zero windows updates installed.  The minute I installed updates using windows updates, printing broke.  This is only still an issue with VMware.  I have used laptops, desktops, etc and printing is not an issue anymore as Microsoft released a fix.  I did not have the issue with vmware horizon BEFORE I updated to version 2206 (2209 didn't fix either).  My same image on the old horizon versions didn't have the issue after Microsoft issued their update fix, but it may have been timing that I didn't notice. 

The issue is microsoft/vmware.  They point the finger at each other.  I have a ticket open with VMWare, but they have not responded much.

0 Kudos
scottjones74
Contributor
Contributor

Well that didn't work well for long.  We started getting all kinds of security errors on windows so we reverted back to the old image were printing is not working.  VMware still has yet to respond to anything. 

0 Kudos