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:

  1. 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.

  2. Uninstall the QEMU guest agent and guest tools from the list of installed applications.

  3. Stop and delete Guest Tools Monitor:

    > sc stop VzGuestToolsMonitor
    > sc delete VzGuestToolsMonitor
  4. Unregister Guest Tools Monitor from Event Log:

    > reg delete HKLM\SYSTEM\CurrentControlSet\services\eventlog\Application\\
  5. Delete the autorun registry key for RebootNotifier:

    > reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v \
  6. 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.