1 min read
Created on

Azure Local – VM Guest License Activation - Fix


Cause

The VMIntegrationService Guest Service Interface for the VMs were not enabled and the license key had not been applied to the guest OS.

Resolution

Check that Guest Service Interface VM Integration server is enabled by running the following command from an Azure Local node in the stack:

Get-VMIntegrationService -VMName "<VMName>" | Where-Object {$_.Name -eq "Guest Service Interface"}

If not enabled then enabled this with the following command:

Enable-VMIntegrationService -VMName "<VMName>" -Name "Guest Service Interface"

After that, log into the VM and add the license key inside of the VM using the correct key based on the following link using this command:

slmgr /ipk <licensekey>