Skip to content

106 [sw][virtual machine] vmware install on windows

  • https://support.broadcom.com/group/ecx/productdownloads?subfamily=VMware%20Workstation%20Pro&freeDownloads=true
  • https://softwareupdate.vmware.com/cds/vmw-desktop/ws/

get vm-tools automatically


Comments

konosubakonoakua · 2024-10-04T15:33:48Z

ubuntu22 freezes or has black screen after inactivity

[!CAUTION] Don't use vmware 17.6.0 version with linux kernel 6.8 Freeze confirmed also on 17.5.2

broadcom community threads

Try to disable 3d acceleration. (IDK whether it works)

konosubakonoakua · 2024-10-04T18:27:44Z

vmware shared folder on windows

  • offcial guide
  • Setting->shared folder->new->properties->fill name&path->ok

    ![image](../assets/106/1.png)

  • Linux Side:

    sudo mkdir -p /mnt/winshared
    sudo chown rf:rf /mnt/winshared
    /usr/bin/vmhgfs-fuse .host:/ /mnt/winshared -o subtype=vmhgfs-fuse
    

  • In case that you want to use systemd: https://github.com/konosubakonoakua/blog/issues/117#issue-2607557649

konosubakonoakua · 2024-10-04T20:46:02Z

Disk Optimization

  • Fragment cleanup & Compact (on host, not helpful)
  • both need extras disk space on host, be careful

  • disk shrink (on guest, helpful)

    sudo vmware-toolbox-cmd disk shrink /
    

    ![image](../assets/106/2.png)

  • References

  • https://www.cnblogs.com/fensnote/p/13436463.html

konosubakonoakua · 2024-10-05T12:41:49Z

clipboard not synced when connected via RDP

https://github.com/vmware/open-vm-tools/issues/740

konosubakonoakua · 2024-10-08T08:32:24Z

Turn off Hyper-V if getting sluggish

virtualization-apps-not-work-with-hyper-v

bcdedit /set hypervisorlaunchtype off
or
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor
then reboot.

konosubakonoakua · 2024-10-25T08:23:15Z

VMware Workstation cannot connect to the virtual machine

[!CAUTION] VMware Workstation cannot connect to the virtual machine. Make sure you have rights to run the program, access all directories the program uses, and access all directories for temporary files.

The system cannot find the file specified.

[!CAUTION] Failed to connect pipe to virtual machine: The system cannot find the file specified.

Solutions

  • run vmware as admin
  • install common vcredist
    winget install Microsoft.VCRedist.2015+.x86
    winget install Microsoft.VCRedist.2015+.x64
    

The VMX process exited prematurely

[!CAUTION] The VMX process exited prematurely

Solutions

  • run vmware-vmx.exe manually to find out the real error
  • missing RESAMPLEDMO.DLL, download them here: resampledmo.dll.zip

konosubakonoakua · 2024-10-31T02:56:34Z

optimization for performance

Fit all virtual machine memory into reserved host RAM

  • Edit->Preferences->Memory->Fit all virtual machine memory into reserved host RAM

    Disable memory page trimming & Input grabbed

  • Virtual Machine Settings->Options->Advanced->Process priorites->Input grabbed:->High

  • Virtual Machine Settings->Options->Advanced->Process priorites->Input ungrabbed:->Low

  • Virtual Machine Settings->Options->Advanced->Settings->Dsiable memory page trimming

konosubakonoakua · 2024-10-31T03:01:27Z

Vmware Networking

Bridged mode (vm has its own IP)

  1. Edit->Virtual Network Editor

  2. VMnet Information->Bridged(connect VMs directly to the external network)->Bridged to:->Intel(R) Ethernet Controller (3) I225-V

mdns not working

- check if vm select `bridged mode` ![Image](../assets/106/3.png)

konosubakonoakua · 2025-05-14T10:52:17Z

damaged file system restore (e.g. powerloss)

![Image](../assets/106/4.png)
  • fsck
    fsck -y /dev/sda1
    

konosubakonoakua · 2026-01-17T14:53:39Z

Virtualbox export to VMware

  • In Host OS
    VBoxManage clonehd "PYNQ3.1.vdi" "PYNQ3_1.vmdk" --format VMDK
    
  • In guest OS
    sudo systemctl disable vboxadd-service
    sudo systemctl disable vboxadd
    sudo /opt/VBoxGuestAdditions-*/uninstall.sh