How do I get a Windows authentication code for a PC that cannot upgrade from Windows 10 to Windows 11?

tj nam 0 Reputation points
2025-10-14T06:17:54.19+00:00

How do I get a Windows authentication code for a PC that cannot upgrade from Windows 10 to Windows 11?

Microsoft Teams | Microsoft Teams for business | Chats | Search messages and conversations
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Huy-K 6,865 Reputation points Microsoft External Staff Moderator
    2025-10-14T07:01:50.7733333+00:00

    Dear @tj nam,

    Thank you for posting your question in the Microsoft Q&A forum.

    We apologize for any inconvenience you may encounter when using our services/ products. Based on your description:

    Windows authentication code is a product key or digital license

    • A product key is a 25-character code (XXXXX-XXXXX-XXXXX-XXXXX-XXXXX) used for activation.
    • A digital license is tied to your Microsoft account and does not require entering a key manually.

    Kindly try these following steps:

    Use PowerShell to retrieve the product key

    Run PowerShell (Run as Administrator) > type:

    slmgr /dlv
    

    You will see activation status and whether it is using a digital license or a product key.

    To get a product key, run:

    (Get-CimInstance -Query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
    

    If blank, your PC uses a digital license tied to your Microsoft account or enterprise activation.

    User's image

    Note: A digital license is activated and linked to your Microsoft account. You do not need a product key.

    Refer to this article to find your Windows authentication code (product key): Find your Windows product key - Microsoft Support


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    User's image


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.