I review for BookLook Bloggers

Tuesday, April 8, 2014

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.

Original Link:

No comments:

Post a Comment