I review for BookLook Bloggers

Monday, April 7, 2014

In Place Upgrade Of Windows Server 2008 R2 Standard To Enterprise Or Datacenter Edition without media

 
If you need to upgrade a server running Windows Server 2008 R2 Standard to either the Enterprise, or Datacenter editions, it’s possible to do so online, without re-installing Windows.
Open an elevated command prompt and type DISM /Online /Get-CurrentEdition.  This will return the current Windows version.




Type DISM /Online /Get-TargetEditions to list the Windows editions to which this server can be upgraded.


If you type DISM /Online /Set-Edition:ServerDataCenter you’ll get the message in the screenshot below.  This is because even if you’re using a KMS server for internal activation, you have to provide a product key.  Fortunately, Microsoft have a page that lists the KMS client setup keys http://technet.microsoft.com/en-us/library/ff793421.aspx.  On this page you can find keys for Windows Server 2008 R2 Enterprise and Datacenter.


Typing DISM /Online /Set-Edition:ServerDataCenter /ProductKey:xxxxxx will upgrade the operating system.  All that’s required to complete the upgrade is a reboot.





 

Rick's Tech Gab

A little Gab about this and that, but mainly Technology!!

DISM Windows Server 2008 R2 Change Edition

Hit a little issue in my lab today, It happens that I went ahead and installed Windows Server 2008 R2 Standard for a bunch of my Lab VM’s. Now the issue is that I need Windows Server 2008 R2 Enterprise Edition to support the Windows Failover Clustering feature.
So long story short, I didn’t want to have to fully rebuild my Lab VM’s. So I went looking around and found a very nice way to in place upgrade to Enterprise Edition.
The command that we are going to use is the DISM.exe command (Deployment Image Servicing and Management Tool), that is available in Windows 7 and Windows Server 2008 R2. You can find out more about the Tool HERE
  • First of all go ahead and on the server you want to run this command open up PowerShell as an administrator.
  • Click on the “Start Button” Type Power, PowerShell will then show under programs, Right Click the PowerShell Icon and select “Run as administrator.
image
  • Enter is this command in the window to find the version you are running, just to confirm. “DISM /online /Get-CurrentEdition”
image
    • Enter the following command to see which version you can in place upgrade too “DISM /online /Get-TargetEditions” You can see from the output of the command window, Windows Server 2008 R2 Standard can be upgraded to Enterprise and DataCenter.
image
  • Enter in the following command to upgrade your version of Windows Server. In my case I am going to be upgrading too Windows Server 2008 R2 Enterprise Edition, and the following command will do this. You need to have a key for Enterprise edition and fill in the XXXX with that information. Once the command is done running you will need to restart your computer, if you are ready just type “Y”.
DISM /online /Set-Edition:ServerEnterprise /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX”
image
  • Once the computer restarts, you can go ahead and look at your computer properties, and you will now see you are running Windows Server Enterprise. Well in my case anyways.
image
Errors: If you get an error while running this prodcedure, see if any of the below issue will resolve the issue.
  1. Setting an Edition is not supported with online images” More than likley the reason you are getting this error is because the server you are trying to inplace upgrade has the AD DS Role installed and is acting as a domain controller. The only way to upgrade this one is to move the FSMO Roles to another server, then DCpromo the server, and make it a member server and then run the command, and then you can go ahead and make the server a Domain Controller once the edition of Windows has been changed.
  2. The specified product key is not valid for the target edition. Run this command again with a product key specific to the target edition.” I have no reason why this issue happens,(its key confusion of some sort) but to fix it you can go ahead and use the default KMS key provided by Microsoft 489J6-VHDMP-X63PK-3K798-CPX3Y, use this key in the command, and once the system reboots, go into the Server Manager and change and activate the softare with your own key.
Note: You cannot downgrade with this method, just upgrade. Also please do this at your own risk, I am doing this in a Lab Environment which is going to impact only one me. This is not a major upgrade, basically all it is doing is changing the product key if need be, and changing some registry values.


Verified in Production Environment

Original Link:

No comments:

Post a Comment