

Start and stop an integration service from a Linux guest
VEEAM BACKUP FAILED TO INSTALL GUEST AGENT CONTROL WINDOWS
For example, to turn off Windows PowerShell Direct, run: Stop-Service -Name vmicvmsession Run either Start-Service or Stop-Service. Running vmicvss Hyper-V Volume Shadow Copy Requestor Stopped vmicvmsession Hyper-V PowerShell Direct Service Running vmictimesync Hyper-V Time Synchronization Service Running vmicshutdown Hyper-V Guest Shutdown Service Running vmicrdv Hyper-V Remote Desktop Virtualization Service Running vmickvpexchange Hyper-V Data Exchange Service Running vmicheartbeat Hyper-V Heartbeat Service Running vmicguestinterface Hyper-V Guest Service Interface The output should look similar to this: Status Name DisplayName To get a list of integration services, run: Get-Service -Name vmic* | FT -AutoSize Use PowerShell to start or stop an integration service within a Windows guest Right-click the service you want start or stop. Open Services manager by running services.msc as an Administrator or by double-clicking the Services icon in Control Panel.įind the services that start with Hyper-V. Use Windows Services to start or stop an integration service within a Windows guest If you disable the service in the guest, Hyper-V will be unable to start it. If you stop a service in the guest operating system that is enabled in Hyper-V, Hyper-V will eventually start it again. If you start a service in the guest operating system but it is disabled in Hyper-V, the service will stop. The matching service in the guest operating system will stop or start automatically when you change its status in Hyper-V. To work correctly, each integration service you want to use must be enabled on both the host and guest.Īs a best practice, you should only control integration services from Hyper-V using the instructions above. Stopping an integration service may severely affect the host's ability to manage your virtual machine. You can use the Services applet in Control Panel or PowerShell to stop and start these services. In Windows guests, each integration service is listed as a standard Windows service. In order for an integration service to be fully functional, its corresponding service must be running within the guest in addition to being enabled on the host. Start and stop an integration service from a Windows guest For example, Windows Server 2008 R2 guests cannot have the Hyper-V Guest Service Interface. To get the version information for Windows, sign in to the guest operating system, open a command prompt, and run this command: REG QUERY "HKLM\Software\Microsoft\Virtual Machine\Auto" /v IntegrationServicesVersionĮarlier guest operating systems will not have all available services. Some features may not work correctly or at all if the guest's integration services are not current. Turn off Guest Service Interface: Disable-VMIntegrationService -VMName "DemoVM" -Name "Guest Service Interface"Ĭhecking the guest's integration services version Verify that Guest Service Interface is enabled: Get-VMIntegrationService -VMName "DemoVM" Turn on Guest Service Interface: Enable-VMIntegrationService -VMName "DemoVM" -Name "Guest Service Interface" The output should look like this: VMName Name Enabled PrimaryStatusDescription SecondaryStatusDescription

Get a list of running integration services: Get-VMIntegrationService -VMName "DemoVM" The following examples demonstrate turning the guest file copy integration service on and off for a virtual machine named DemoVM. To do this in PowerShell, use Enable-VMIntegrationService and Disable-VMIntegrationService. Turn an integration service on or off using PowerShell The Integration Services pane lists all integration services available on the Hyper-V host, and whether the host has enabled the virtual machine to use them. Turn an integration service on or off using Hyper-V Managerįrom the center pane, right-click the virtual machine and select Settings.įrom the left pane of the Settings window, under Management, select Integration Services. The services can be turned on and off individually. All integration services except Hyper-V Guest Service Interface are on by default on Windows guest operating systems. Each service you want to use must be enabled in both the host and guest in order to function.
