XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Uninstall VMware Tools

    Scheduled Pinned Locked Moved Solved Migrate to XCP-ng
    2 Posts 1 Posters 5.0k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • johandrJ Offline
      johandr
      last edited by

      I have a number of Ubuntu 22.04LTS vm's to migrate.

      All of them are running VMware Tools version 12325 and are guest-managed.

      From Google, I learned that you need to run:

      sudo vmware-uninstall-tools.pl
      

      to uninstall VMware tools.

      Except there is no such script anywhere on my Ubuntu vm.

      Any advice how to do this removal?

      1 Reply Last reply Reply Quote 0
      • johandrJ Offline
        johandr
        last edited by

        Created a simple bash script to remove VMware Tools;

        sudo apt remove open-vm-tools
        
        sudo rm -r /etc/vmware-tools
        sudo rm /etc/systemd/system/open-vm-tools.service
        sudo rm /etc/systemd/system/vmtoolsd.service 
        sudo rm -r /etc/systemd/system/open-vm-tools.service.requires
        sudo rm -r /etc/vmware-tools
        
        sudo apt autoremove
        
        1 Reply Last reply Reply Quote 1
        • johandrJ johandr marked this topic as a question on
        • johandrJ johandr has marked this topic as solved on
        • First post
          Last post