Change Windows Edition version
I am wondering if you ever asked to change your operating system edition,
Last week, I should have done this task on one of my customer servers, initially, I tried just to enter the project key on the activation window and thought maybe It will be known changed, eventually, it fails. the task was just to change the Windows Server 2012R2 from standard to data-center.
I would like to share with you the following command which you will be able to change your OS without losing data:
Open “cmd” with elevated permissions:
dism /online /set-edition:ServerDatacenter /productkey:<Datacenter key. AAAAA-BBBBB-CCCCC-DDDDD-EEEEE> /AcceptEula
Then you will be asked to perform a restart, confirm that and restart the machine.
If you want to check your OS version with DISM you can use this:
dism /online /get-targeteditions
guys just to let you it doesn’t work for Domain Controller.