VMware Horizon Community
g0dMAn
Enthusiast
Enthusiast

Horizon 7.5.0 - Clipboard Redirection Stops

Horizon 7.5.0, with UAG, using pcoip, ADMX templates injected for GPO to enable bidirectional clipboard.  Windows 10 VM.

I've been working remotely due to covid and using VDI full-time.

It works great, but then after several days, the bidrectional clipboard becomes nondirectional (doesn't work in either direction).  The clipboard works locally on my local desktop and within VDI, but not through the pcoip session.

I've tried connecting to my VM from another desktop, but it doesn't help.  The only solution is to restart the VM.  I've tried disconnecting session and reconnecting, gpupdate /force, restarting the horizon agent on the VM (which boots me off so then i reconnect), and other versions of the Horizon client.  Nothing fixes it, but a VM reboot.

I even looked in the registry and see the flag set appropriately.  I think I've even uninstalled and reinstalled the Horizon agent.

Any ideas?

When I look at gpresult, I see "Configure clipboard redirection" set to enabled in both directions and the winning GPO is there.  I also see, under Extra Registry Settings, "software\policies\teradici\pcoip_admin\pcoip.server_clipboard_state" flag set to 1 via the winning GPO.

Again, it works, but after several days it completely stops working and requires a VM reboot.

0 Kudos
5 Replies
Shreyskar
VMware Employee
VMware Employee

Hi g0dMAn

What is the clipboard memory size configured in HKLM\Software\VMware, Inc.\VMware VDPService\Plugins\MKSVchan\ClientClipboardSize Or in group policy?

PCoIP Clipboard Settings

Copying and pasting an image from a remote desktop to the client system, or from the client system to a remote desktop, can fail because the clipboard memory size is not large enough to accommodate the image you are copying. Can you increase it to 16MB and try again?

0 Kudos
g0dMAn
Enthusiast
Enthusiast

I'm not trying to copy anything big at all.  Once it breaks, I open up notepad and try to copy a few letters as a test, in both directions.  It does not work.  When I do try to paste in either machine, it's pasting only the local clipboard, so that's why I'm certain pcoip clipboard itself is broken.

0 Kudos
Shreyskar
VMware Employee
VMware Employee

Can you reinstall the view agent once and check just in case if pcoip component itself is corrupted or something?

0 Kudos
g0dMAn
Enthusiast
Enthusiast

I have reinstalled it.

Again, clipboard redirection works, both ways.  Eventually, say after a week, it stops working.  I have to reboot the VM to get it working again.  Literally all I do is after the clipboard between the Horizon client and the VM breaks, I just reboot the VM.

The clipboard on the VM locally works... it's the cilpboard redirection that stops and requires a VM reboot.  That's what doesn't make sense.

0 Kudos
australis
Contributor
Contributor

It happens to me from time to time. And I finally found a quick fix for it. Open Windows task manager (within VDI), kill the process for "VMwareViewClipboard.exe". And run it again from within "C:\Program Files\Common Files\VMware\Remote Experience\x64". Voila!

0 Kudos