windows 2012 change key from evaluation to standard
get current version;
dism /online /get-currentedition
Deployment Image Servicing and Management tool Version: 6.2.9200.16384
Image Version: 6.2.9200.16384
Current edition is:
Current Edition : ServerStandardEval
dism /online /set-edition:ServerStandard /ProductKey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx /AcceptEula
Deployment Image Servicing and Management tool Version: 6.2.9200.16384
Image Version: 6.2.9200.16384
Starting to update components… Starting to install product key… Finished installing product key.
Removing package Microsoft-Windows-ServerStandardEvalEdition31bf3856ad364e35amd64~~6.2.9200.16384 [==========================100.0%==========================] Finished updating components.
Starting to apply edition-specific settings… Finished applying edition-specific settings.
The operation completed successfully. Restart Windows to complete this operation. Do you want to restart the computer now? (Y/N)