Windows License error

Vishnu Anand 65 Reputation points

We have a Windows 11 Enterprise Edition device that was activated and delivered to our employee for their work. A few months ago, we reinstalled it and added the device to Azure AD + Intune for management, and the license was activated. However, the user is now receiving a "Your Windows license will expire soon" message every time they boot up or restart.

Screenshot 2024-06-21 160403.png

MicrosoftTeams-image (15).png

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,904 questions
Microsoft Intune Enrollment
Microsoft Intune Enrollment
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Enrollment: The process of requesting, receiving, and installing a certificate.
1,314 questions
Windows Licensing
Windows Licensing
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Licensing: Rules, regulations, and restrictions that define how software can be used and distributed.
61 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Darrell Gorter 1,471 Reputation points

    The Windows Enterprise machine was activated using KMS and it has not been able to reach a your corporate KMS host or was AD activated on a domain that is not reachable currently. The activation was good for 180 days an dis now down to the remaining 17 days to reach your KMS host or your AD activated domain.

    Do you have a KMS host?

    Open an elevated CMD prompt.

    Run slmgr /DLV.

    This will tell you the KMS host that previously activated this machine and you can check if that machine is still accessible from this client machine.

    See this link to trouble-shooting KMS, which includes the Event log entries and what they mean.


    0 comments No comments

  2. Hania Lian 10,931 Reputation points Microsoft Vendor


    According to the picture, it seems that the system has been activated to KMS server. But not display the KMS server name and not available. So I consider the client could not connect KMS to be activated always.

    Did this client activate by VLCS key or retail key? If you don't use a KMS key to activate, try to reactivate it by using your correct key.

    Uninstall the current product key: In the Command Prompt, enter the following command:

    slmgr.vbs /upk

    This will uninstall the currently installed product key from your system.

    Install the new product key: Enter the following command in the Command Prompt, replacing “XXXXX-XXXXX-XXXXX-XXXXX-XXXXX” with your new product key:


    The new product key will be installed on your system.

    Activate Windows: Finally, activate Windows using the newly installed product key by entering the following command:

    slmgr.vbs /ato

    Best Regards,

    Hania Lian


    If the Answer is helpful, please click "Accept Answer" and upvote it.