AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
The best advice I can give you for Windows 10 is if all of a sudden host-to-guest stops working repeatedly it may be some other program that you have open that set a hook that is actually the cause and NOT VMware. Unfortunately lots of programs set WH_CBT and not all of them do it properly, even Microsoft. I never officially released a 64-bit version because I couldn't get it working with Windows 10 圆4, but it can be built for 64-bit from source for older versions of Windows.ĭevenv.exe (Visual Studio) is another program that sets CBT hooks but it usually does them properly so unless your Visual Studio hangs or something it is probably not the cause. Through the process of elimination I've found a 100% reproducible disconnect on host-to-guest by opening Windows Firewall on the host (wf.msc which runs from mmc.exe). After that host-to-guest started working again. I used my program to scan the host desktop for hooks and killed all programs that used WH_CBT hooks. ![]() As it happens, today I was using VMware Workstation and the host-to-guest clipboard just wouldn't stay working more than a few seconds after run-in-background and restart. One hook I used to find that often causes trouble with other applications is the WH_CBT hook. Many years ago I wrote a program to identify Windows hooks. However, if it happens continually then you likely have a problem in an app other than vmware.exe. If host-to-guest clipboard doesn't work but guest-to-host does then the restart vmware.exe trick in the other answers will work. The first thing you should do is determine which way is broken because they are controlled separately. The same general methods may work in other guest OSes, but I don't have the details of how to do that. There are various ways to insert delays, and Rob van der Woude has a rather darn comprehensive list of those ways. I use this in a batch file with a 1-second delay between each line. ![]() Maybe its startup parameters are the same, maybe not. I know the "vmtoolsd.exe" used to be called something else in previous versions. Of course your mileage may vary, and if you have comments on my answer please let me know. Start "" "C:\Program Files\VMware\VMware Tools\vmtoolsd.exe" "-n" "vmusr" My Fix: Stop the vmware tools service "VMTools," exit/kill the vmware tools tray app, restart the service, restart the vmware tools tray app.Ĭommands to run in Windows guests, as Administrator: (tested in powershell and CMD) net.exe stop vmtools (Though, this clipboard working and then suddenly not working has been happening in previous versions of MacOS and previous updates to Fusion 8.) (And yeah, I am aware I'm using different VMWare, different host OS, and different guest OS compared to those specified in this question, but it really seems to be a vmware tools thing, so hopefully it will help some people who land on this page like I did.) Of course you have to have VMWare Tools installed - update them first probably - and the guest isolation options must allow copy/paste as others have mentioned. It looks like there are a number of possibilities to cause this copy/paste dropout failure between hosts, so I'll add my fix here. Running `ps aux | grep -v vmtoolsd | grep vmtoolsd' will show ps aux | grep -v grep | grep vmtoolsd is the one that makes copy-paste and drag-and-drop to work. Both are needed and the one with args: -n vmusr. ![]() You can also check that two (2) vmtoolsd daemons should be now running in your system. The script /usr/bin/vmware-user-suid-wrapperstarts the user-space daemon of vmtoolsd and it can also be run manually ] & /usr/bin/vmware-user-suid-wrapperĪfter you add that in your Linux/Ubuntu $HOME folder, just log out and restart Ubuntu/Linux-guest OS, log in. # Note: this should run automatically with xdg/desktop entry, but it doesn't :( # VMware: make copy/paste and drag/drop to work in Ubuntu Desktop guest The most general and thus the best way to make copy/paste to work in VMware (version 14 atleast) running Linux/Ubuntu Desktop guests is to add the below bash-script to your $HOME/.profile:
0 Comments
Read More
Leave a Reply. |