10.14. Uninstalling Virtuozzo Guest Tools from Virtual Machines¶
If you find out that Virtuozzo guest tools are incompatible with some software inside a virtual machine, you can uninstall them from that VM. The steps you need to perform to remove guest tools differ depending on the guest operating system and are described in the sections below.
Note
Running virtual machines that do not have Virtuozzo guest tools installed cannot be configured from the physical server.
10.14.1. Uninstalling Guest Tools from Linux Virtual Machines¶
To uninstall Virtuozzo guest tools from a Linux guest, log in to the virtual machine and do as follows:
Remove the packages:
On RPM-based systems (CentOS and other):
# yum remove dkms-vzvirtio_balloon prl_nettool qemu-guest-agent-vz vz-guest-udev
On DEB-based systems (Debian and Ubuntu):
# apt-get remove vzvirtio-balloon-dkms prl-nettool qemu-guest-agent-vz vz-guest-udev
If any of the packages listed above are not installed on your system, the command will fail. In this case, exclude these packages from the command and run it again.
Remove the files:
# rm -f /usr/bin/prl_backup /usr/share/qemu-ga/VERSION /usr/bin/install-tools /etc/udev/rules.d/90-guest_iso.rules /usr/local/bin/fstrim-static /etc/cron.weekly/fstrim
Reload the
udev
rules:# udevadm control --reload
After removing Virtuozzo guest tools, restart the virtual machine.
Note
After Virtuozzo guest tools are removed from a virtual machine, their state is shown as possibly installed
.
10.14.2. Uninstalling Guest Tools from Windows Virtual Machines¶
To uninstall Virtuozzo guest tools for Windows, log in to the virtual machine and do as follows:
Remove virtualized device drivers:
Important
Do not remove the VirtIO/SCSI hard disk driver and NetKVM network driver. Without the former, the virtual machine will not boot; without the latter, it will lose network connectivity.
Open the Device Manager.
Double-click the device to expand the list of installed drivers.
Right-click the driver to be removed and select Uninstall from the drop-down menu.
Uninstall QEMU guest agent and Virtuozzo Guest Tools:
From the Windows Start menu, open Control Panel > Programs > Programs and Features.
Right-click QEMU guest agent and select Uninstall from the drop-down menu.
Right-click Virtuozzo Guest Tools and select Uninstall from the drop-down menu.
Stop and delete Guest Tools Monitor:
> sc stop VzGuestToolsMonitor > sc delete VzGuestToolsMonitor
Unregister Guest Tools Monitor from Event Log:
> reg delete HKLM\SYSTEM\CurrentControlSet\services\eventlog\Application\VzGuestToolsMonitor
Delete the autorun registry key for RebootNotifier:
> reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v VzRebootNotifier
Delete the
C:\Program Files\Qemu-ga\
directory.If
VzGuestToolsMonitor.exe
is locked, close all the Event Viewer windows. If it remains locked, restart theeventlog
service:> sc stop eventlog > sc start eventlog
After removing Virtuozzo guest tools, restart the virtual machine.
Note
After Virtuozzo guest tools are removed from a virtual machine, their state is shown as possibly installed
.