Sunday, August 2, 2015

Change Windows 2012 R2 Server Edition without Re Installing Windows from Media

Just started a new project today for a customer where I will be building a 2 node DAG on Server 2012.
Got the Exchange server bits installed and then tried creating the DAG which failed.
After a bit of analysis it transpires that the customer built the base OS with Windows 2012 Standard and not DataCenter (Server 2012 doesn’t include an Enterprise Edition any more)
Luckily we can convert between editions of Windows Server on the fly via DISM (Deployment Image Service & Management)
TechNet documentation on converting between server 2012 versions can be found here
To determine the current edition of Windows Server installed run the following
  • DISM /online /Get-CurrentEdition
image
To determine which versions the server can be upgraded to run
  • DISM /online /Get-TargetEditions
image
As can be seen from the above screenshot this version of Windows Server can be upgraded toTarget Edition : ServerDatacenter
To complete the conversion between editions we use the DISM command with the following format
  • DISM /online /Set-Edition:<Version> /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEULA
In the above example the target edition is ServerDatacenter
image
A reboot of the server and a check of the server edition reveals that is has indeed been successfully upgraded to DataCenter
image

No comments:

Post a Comment