I am currently working on a little side project and spun up a virtual machine based on a Microsoft Windows Server 2016 image. I attemtped to install the Storage Replica feature to it and kept getting an error that the feature did not exist. Comes to find out that Storage Replica is only available on Datacenter edition and my image was based on Standard edition. I am in no mood to build out a new virtual machine so decided to use DISM to convert Standard to Datacenter and here is how you do it.
I launched PowerShell as an administrator and ran the following command:
dism /online /Set-Edition:ServerDatacenter /ProductKey:Datacenter-Product-Key /AcceptEula
Replace Datacenter-Product-Key with an actual product key and press the Enter key. DISM will do its thing and you should see something that looks like this when all is said and done:
C:\Windows\system32>dism /online /Set-Edition:ServerDatacenter /ProductKey:AAAAA-BBBBB-CCCCC-DDDDD-EEEEE /AcceptEula Deployment Image Servicing and Management tool Version: 10.0.14393.0 Image Version: 10.0.14393.0 Starting to update components... Starting to install product key... Finished installing product key. Removing package Microsoft-Windows-ServerStandardEdition~41ae3845ad363d45~amd64~~10.0.14393.0 [==========================100.0%==========================] Finished updating components. Starting to apply edition-specific settings... Restart Windows to complete this operation. Do you want to restart the computer now? (Y/N) y
Your server will reboot and come back up as Datacenter edition