Last updated 7th July 2022
Objective
When you install a Windows Server operating system, the product key – also known as a KMS [Key Management Service] key – may not be installed correctly. In such cases, the operating system has been installed with a 120-day trial key. Once this time period elapses, the operating system can no longer be used.
This guide will show you how to change the product key for your Windows Server environment.
Requirements
- A dedicated server with Windows installed in your OVHcloud account
- A Windows SPLA licence in your OVHcloud account
- Administrative access to your server via remote desktop connection
Instructions
Uninstall the default product key
When
your operating system is in trial mode, a default product key is installed. To modify it, open the Run
dialogue box by pressing the Windows key on your keyboard + R
.
In this box, enter the following command:
cscript.exe c:\windows\system32\slmgr.vbs -upk
Install the new product key
You can now install the new product key. To do so, go back to the Run
box, and
enter the following command:
cscript.exe c:\windows\system32\slmgr.vbs -ipk PRODUCT KEY
Below is a list of the product keys available for each operating system:
Windows Server 2008 Standard | TM24T-X9RMF-VWXK6-X8JC9-BFGM2 |
Windows Server 2008 Enterprise | YQGMW-MPWTJ-34KDK-48M3W-X4Q6V |
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 |
Windows Server 2019 Standard | N69G4-B89J2-4G8F4-WWYCC-J464C |
Windows Server 2019 Datacenter | WMDGN-G9PQG-XVVXX-R3X43-63DFG |
Windows Server 2022 Standard | VDYBN-27WPP-V4HQT-9VMD4-VMK7H |
Windows Server 2022 Datacenter | WX4NM-KYWYW-QJJR4-XV3QB-6VM33 |
Source: Microsoft
Core versions use the same product keys as non-core versions.
Associate your product key
To associate your key with our automated activation system, enter the command below in the Run
dialogue box:
cscript.exe c:\windows\system32\slmgr.vbs -skms kms.ovh.net
If you are using a VPS or Public Cloud instance, you will need to use
kms.cloud.ovh.net
.
Activate the system
Lastly, to activate your Windows operating system, simply enter the command below:
cscript.exe c:\windows\system32\slmgr.vbs -ato
Go further
Join our community of users on //community.ovh.com/en/.
Did you find this guide useful?
Please feel free to give any suggestions in order to improve this documentation.
Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.
Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.
Thank you. Your feedback has been received.
These guides might also interest you...
지침
AVMA keys can be found here. //docs.microsoft.com/en-us/windows-server/get-started-19/vm-activation-19
KMS Keys can be found here. //docs.microsoft.com/en-us/windows-server/get-started/kmsclientkeys
Example of command with Server 2019 KMS key. Substitute product key with product key on customer's COA sticker if available.
dism /online /set-edition:ServerStandard /productkey:N69G4-B89J2-4G8F4-WWYCC-J464C /accepteula
If customer is trying to activate VM and they are running Datacenter version of operating system on the host they can use AVMA keys for VMs but the AVMA keys will not work to convert from EVAL so we must use KMS key to convert then after it is converted update the VM with the AVMA key with this command.
slmgr /ipk
Note: Windows Server Standard Core cannot be converted from EVAL. EVAL Standard Core installs can only be converted to Windows Server Datacenter Core which requires a Datacenter product key. Also, you can't have the Active Directory role installed, it will prevent converting so have to remove the role, convert then reinstall the role.
비디오
Microsoft Windows Server 2016, Microsoft Windows Server 2019, Microsoft Windows Server 2022, Microsoft Windows HPC Server 2008 Service Pack 2, Microsoft Windows Small Business Server 2008, Microsoft Windows Small Business Server 2011 Essentials자세히 보기