AVD cannot licence Windows Server 2019 CIS Image

Neil Campbell 1 Reputation point


We're having issues with licencing on Windows Server 2019 CIS image using Azure Virtual Desktop.

The machine is Azure AD joined, and we can see it attempting to register at kms.core.windows.net over port 1688, a 7 packet each way communication takes place and finishes with a tcp reset from client. I can't see any other traffic being blocked from the machine in question.

We've deployed a raft of other Windows Servers and never encountered this issue, therefore initial thoughts are that this is something specific to either AVD or this Image.



Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
5,246 questions
Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,041 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Durkan 9,926 Reputation points MVP

    Hi Neil

    Is the image you are using for this one of the default CIS Images available in the Azure Marketplace:




    0 comments No comments

  2. Carlos Solís Salazar 11,606 Reputation points

    Hi @Neil Campbell

    Thank you for asking this question on the **Microsoft Q&A Platform. **

    If you could validate the connection in kms.core.windows.net:1688, run the following command.

    1..12 | ForEach-Object { Invoke-Expression "$env:windir\system32\cscript.exe $env:windir\system32\slmgr.vbs /ato" ; start-sleep 5 }  

    Source: https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-activation-problems

    If after following the troubleshooting guide you still have the issue, please open a Support Request https://azure.microsoft.com/en-us/support/create-ticket

    Hope this helps!


    Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.
    NOTE: To answer you as quickly as possible, please mention me in your reply.

    0 comments No comments