Remove VMware Tools On Debian 7

In order to remove VMware Tools On Debian you will be employing a two step process. First you will need to right click on the Virtual Machine in vSphere and choose “guest” > “Install/Upgrade VMware Tools” pictured left. NoteĀ  that you will need to select interactive mode in order to prevent the installer from automatically running.vm-tools Next you will need to run the following commands in terminal. This procedure works for every version of Debian from 6 up through and including version 7.8. Please make note that these commands can easily be pasted into a bash script and run that way. Also note that line 1 of the script will remove OpenVM Tools if they are installed and line 10 will install VMware Tools with the default options and will not require user input.

apt-get remove --purge open-vm* -y && apt-get autoremove -y
sudo mkdir -p /media/cdrom
sudo mount /dev/cdrom1 /media/cdrom
cd /media/cdrom
sudo cp VM*.tar.gz /tmp
cd /tmp
sudo umount /media/cdrom
sudo tar xzvf VM*.tar.gz
cd vmware-tools-distrib/bin
sudo ./vmware-uninstall-tools
rm -r /media/cdrom
Did you find this article useful? Why not share it with your friends?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.