To change the product key on windows server 2012 and activate it via command line run the following commands below.
Windows server 2012 r2 standard product key activation cmd.
Windows server 2012 r2 evaluation is valid for 180 days.
Extend windows server 2012 r2 evaluation.
You can rearm windows server 2012 r2 evaluation up to 5 times.
Windows server 2019 windows server semi annual channel windows server 2016 windows server 2012 r2.
So open command prompt or windows powershell in elevated mode run as administrator and type dism online get currentediton as shown below.
To add the new key run the command below.
Slmgr vbs ipk xxxxx xxxxx xxxxx xxxxx xxxxx obviously change xxxxx xxxxx xxxxx xxxxx xxxxx with your actual key.
Right click anywhere on blank space in the start launch or ctrl tab.
Activate windows server 2012 evaluation to full version.
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.
Run command prompt with administrator privileges and run following command.
If you are converting a computer from a kms host mak or retail edition of windows to a kms client install the applicable setup key gvlk from the following tables.
In such cases the operating system has been installed with a 120 day trial key.
If you haven t already configured a kms host see deploy kms activation for steps to set one up.
As you can see the current edition is datacenter evaluation.
Following command will rearm your trial windows server 2012 r2.
To remove all installed keys run the following command.
Hover mouse in the bottom left hand corner to get the start icon or use ctrl esc or windows key command key.
To use the keys listed here which are gvlks you must first have a kms host running in your deployment.