Windows Server

How to install Qemu Guest Agent on Proxmox Windows VM

The Qemu-guest-agent is a helper daemon, which is installed in the guest. It is used to exchange information between the host and guest and to execute commands in the guest.

In Proxmox VE, the Qemu-guest-agent is used for mainly two things:

  1. To properly shutdown the guest, instead of relying on ACPI commands or Windows policies
  2. To check the server IP on the console section (Public and private IPs)

Check Also:-

Installation

In an installation of Qemu-Guest-agent, we need to install Host and guest installer

Install Host Installer

Host installer can be installed via GUI or CLI both method

Via GUI-

You have to enable the guest agent per VM, either set it in the GUI to “Yes” under options (see screenshot):

or via CLI:

Run below mentioned command on the server terminal

qm set VMID --agent 1
Install Guest Installer

First of all, Install the agent with virtio-serial driver (download from rdp.serversctrl.com/ guestagent.zip)

Then install the virtio-serial driver:

  1. Go to the Windows Device Manager
  2. Look for “PCI Simple Communications Controller”
    1. Right Click -> Update Driver and select on the mounted iso in DRIVE:\vioserial<OSVERSION>\ where is your Windows Version (e.g. 2k16 for Windows 2016)

After that, you have to install the Qemu-guest-agent:

  1. Go to the vioserial (which you download) in Explorer
  2. Execute the installer with a double click (either qemu-ga-x64.msi (64-bit) or qemu-ga-x86.msi (32-bit)

After that, the Qemu-guest-agent should be up and running. You can validate this in the list of Window Services, or in a PowerShell with:

PS C:\Users\Administrator> Get-Service QEMU-GA

Status   Name               DisplayName
------   ----               -----------
Running  QEMU-GA            QEMU Guest Agent

——————————————————EOD—————————————————–

**Services Cloudtechtiq offers:** 
Contact Us

Related Articles

Leave a Reply

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

Back to top button