In this post, we see how DISM can be used to convert a Windows 2008 R2 Standard Edition to Enterprise Edition. The situation to upgrade OS occurs very often and many a times people end up reinstalling the OS. The reason for upgrade is obvious that there are many features that are locked out on the Standard Edition and one main limitation on the Standard Edition is the Memory limitation of 32GB and to make use of the licensing model for virtual machines using Hyper-V. So let’s see how the version can be upgraded without reimaging the OS.
Note: This works only for the upgrade, meaning you cannot downgrade a Datacenter Edition to Enterprise or Standard.
If you are running a virtual environment, it is recommended to take a snapshot of the VM before making any changes and in case of a physical server, having a full backup will not harm.
Let’s first check the version of OS that is currently on the server by using the below from an elevated command prompt.
systeminfo | find "OS Name:"
To find out which versions the server can be upgraded to, use the below command
DISM /online /Get-TargetEditions
From the above screen, we can see that the Target editions can be Enterprise or Datacenter. To proceed any further, we must make use of the public KMS keys to perform an upgrade. Below are the public keys that can be used during the upgrade process for different editions of OS. Since we are upgrading to Enterprise, we will use the below command.
Windows Server 2008 R2 HPC Edition – FKJQ8-TMCVP-FRMR7-4WR42-3JCD7
Windows Server 2008 R2 Datacenter – 74YFP-3QFB3-KQT8W-PMXWJ-7M648
Windows Server 2008 R2 Enterprise – 489J6-VHDMP-X63PK-3K798-CPX3Y
Windows Server 2008 R2 Standard – YC6KT-GKW9T-YTKYR-T4X34-R7VHC
Windows Web Server 2008 R2 – 6TPJF-RBVHG-WBW2R-86QPH-6RTM4
For the complete list of Windows Servers and their keys, click here.
Dism /online /Set-Edition:ServerEnterprise /ProductKey:489J6-VHDMP-X63PK-3K798-CPX3Y /NoRestart
Hit Y to reboot the machine. Once the server is up, verify the version using the systeminfo command.
Important thing to note after the version upgrade is to activate the windows license. Use the slmgr script to activate the license. you can check and activate the license using the below commands
If you have a KMS server in your environment, it should activate Windows smoothly, you can always activate windows manually. If you have more servers to upgrade, you can always automate the process by using the tools like psexec.
Hope this was informative. Thanks!