Solve the problem that the win11 system virtual machine cannot copy files after installing vmtools after installing ubuntu

The win11 system was initially installed with vmware16pro and ubuntu20.04 versions. The normal installation of vmtools still fails to copy files. The option of vmware "reinstall vmtools" is also grayed out. I tried various methods but could not solve the problem. Finally, I only had to try to reinstall vm and ubuntu. Because of the incompatibility of the win11 version, after two days of various attempts, I finally achieved normal file copying without setting up a shared folder.

The final solution is as follows:

1. Install the latest version of vmware vmware17

Download URL: Download VMware Workstation Pro | CN

After downloading, you can install it normally, and you need an activation code to search directly on the Internet

2. Install ubuntu18.04 version

Just follow the tutorials written by other authors to install, so I won’t go into details here

You can refer to: Install Ubuntu18.04 (linux release version) in VMware virtual machine [super detailed graphic tutorial]_Jiang_hf_3906's blog-CSDN blog_virtual machine installation ubuntu18.04

3. VMware installs vmtools

 Just finished installing ubuntu, here is the display "Install vmware tools", after the installation, as shown in my picture, it is "Reinstall vm tools"

For the specific installation method of vmtools, please refer to the installation tutorials of other authors, and I will not repeat them here

You can refer to: Ubuntu virtual machine to install VMware Tools

Generally, other authors introduced that the installation to the above steps will solve the problem that cannot be copied, but it still has no effect on my win11 system

4. [Key steps] Install vmtools and vmtools-desktop on the terminal command line

First uninstall the old version of vmtools that may exist

sudo apt-get autoremove open-vm-tools

Then install the latest version of vmtools

sudo apt-get install open-vm-tools

Note: Because vmtools was installed with vmware itself before, the command line installation here will ask whether to overwrite the previously installed vmtools. You must choose yes, that is, enter yes after the pop-up query sentence, because the author has already installed it. There is no Display, when you install it and then enter the above installation statement, the same display as mine will pop up

 Then install vmtools-desktop

sudo apt-get install open-vm-tools-desktop

The desktop can be installed normally because there is no problem of overwriting installation. If there are options, press Enter by default. Also because the author has already installed it, I can only screenshot the installed picture.

5. Restart ubuntu to verify the installation effect

Enter reboot to restart ubuntu directly

reboot

 The author's pasting here is finally no longer gray, the file can be copied directly from the host to ubuntu, or you can directly drag and drop the file to copy

The above has completed the solution to the problem that the win11 virtual machine cannot copy files

Finally, the pit PS that the author has stepped on in the past few days:

1. Win11 is not compatible with versions below vmware16. For example, vm15.5 will directly cause the win11 system to crash and blue screen when the virtual machine is turned on.

2. Install vmtools to take snapshots and store them in time to avoid problems later

3. If the above still cannot solve the problem of direct copying of files, you can refer to the following author's blog and use the indirect method of sharing folders to achieve copying

Solve the problem that the Vmware virtual machine still cannot copy, paste and drag files after installing Vmware Tools_Svran7的博客-CSDN Blog_vmwaretools installed successfully but cannot copy

Guess you like

Origin blog.csdn.net/qq_46314573/article/details/128203272