Uninstalling guest tools from Windows virtual machines
To uninstall the guest tools for Windows, log in to the virtual machine, and then do the following:
-
Remove the QEMU device drivers from the device manager.
Do not remove the VirtIO/SCSI hard disk driver and NetKVM network driver. Without the former, the VM will not boot; without the latter, the VM will lose network connectivity.
-
Uninstall the QEMU guest agent and guest tools from the list of installed applications.
-
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 the
eventlog
service:> sc stop eventlog > sc start eventlog
After removing the guest tools, restart the virtual machine.