For Windows Server 2012/R2 and later versions:

  1. Check Your Server or AD

For most modern Windows Server setups, the key isn't stored in a text file; it’s managed through a specific GUI.

Microsoft 365 Admin Center

For most businesses, RDS licenses are purchased through Volume Licensing. Microsoft has migrated the old Volume Licensing Service Center (VLSC) into the . Where to go: Log in to the Microsoft 365 Admin Center.

  • If all else fails – contact Microsoft Licensing Support with your old server name, Key Pack ID, and proof of purchase.
    1. Check the Reseller Portal: Log in to the website of the company you bought the software from. Look under "Software Downloads" or "Licenses."
    2. Search Email: Search your inbox for "Microsoft," "Volume Licensing," or "RDS." Often, the license agreement confirmation email contains the key pack ID or a link to claim it.

    # Define output file $outputFile = "C:\RDSLicenseReport.txt"

    Preguntas / Soporte
    how to find rds license key