At OVHcloud, our mission is to allow flexibility in how our customers use our products. For this reason, we strive to provide our customers with as many options as possible when purchasing products, bringing their own licenses or using an OVHcloud template. When registering a Windows VM in an HPC (Hosted Private Cloud) environment, you are able to create a VM using our OVF template or install a new product key on a VM and activate it against our KMS (Key Management Services). If for any reason you have difficulties with your default Windows Product Key, activating a new product key against our KMS will solve it. In this article, we will be covering activating your own license against our KMS. If you would like more information about using an OVF template to install Windows, please consult our Creating a VM Using a Windows OVF article.
Uninstall the Default Product Key
When Windows is installed without a license or if the license provided during installation is invalid, a trial license will be installed in its stead. We will need to uninstall this default product key before we can install our new license. To do so, click on the "magnifying glass" in the bottom-left corner, type "run", and select the Run application.
In the text box for the "Run" application, type
cscript.exe c:\windows\system32\slmgr.vbs -upk and select OK.
Install and Activate the New Product Key
To install our new product key we must first locate what product key we need for our Windows environment. Below is a list of product keys corresponding with each Windows Server OS you may be running. For more information on these product keys, please consult Microsoft's documentation.
|Operating System||Product Key|
|Windows Server 2008 Standard||TM24T-X9RMF-VWXK6-X8JC9-BFGM2|
|Windows Server 2008 Enterprise||YQGMW-MPWTJ-34KDK-48M3W-X4Q6W|
|Windows Server 2008 Datacenter||7M67G-PC374-GR742-YH8V4-TCBY3|
|Windows Server 2008 R2 Standard||YC6KT-GKW9T-YTKYR-T4X34-R7VHC|
|Windows Server 2008 R2 Enterprise||489J6-VHDMP-X63PK-3K798-CPX3Y|
|Windows Server 2008 R2 Datacenter||74YFP-3QFB3-KQT8W-PMXWJ-7M648|
|Windows Server 2012 Standard||XC9B7-NBPP2-83J2H-RHMBY-92BT4|
|Windows Server 2012 Datacenter||48HP8-DN98B-MYWDG-T2DCC-8W83P|
|Windows Server 2012 R2 Standard||D2N9P-3P6X9-2R39C-7RTCD-MDVJX|
|Windows Server 2012 R2 Datacenter||W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9|
|Windows 8.1 Professional||GCRJD-8NW9H-F2CDX-CCM8D-9D6T9|
|Windows Server 2016 Datacenter||CB7KF-BWN84-R7R2Y-793K2-8XDDG|
|Windows Server 2016 Standard||WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY|
|Windows Server 2016 Essentials||JCKRF-N37P4-C2D82-9YXRT-4M63B|
Navigate back to the Run application and type in the following command:
cscript.exe c:\windows\system32\slmgr.vbs -ipk PRODUCT KEY replacing "PRODUCT KEY" with the key that corresponds to the operating system you have chosen to run.
Next, we need to associate the product key with OVHcloud's automated KMS system. In the Run application, write the following command:
cscript.exe c:\windows\system32\slmgr.vbs -skms kms.ovh.net. Next, click on the OK button.
Finally, to activate the new product key for the Windows OS, enter
cscript.exe c:\windows\system32\slmgr.vbs -ato in the Run application and click OK to complete.
Contact OVH US Support
To get your Windows VMs appropriately tagged, you will need to reach out to our support team. During this process, the VMs will need to be powered down. When you reach out to our support team, schedule a maintenance window during which you are able to power off your VMs. For more information on how to contact OVH US Support, please consult our Contacting OVH US Support article.
Whether you wish to install Windows using an OVF template or install it using a new product key, OVHcloud has you covered. Having read this article, you are now able to install and activate your new product key.