Features missing or incorrect memory reported after using dism /set-edition to upgrade computer


Symptoms


When doing an upgrade from Windows Server 2008 R2 Standard to Windows Server 2008 R2 Enterprise or higher edition like Datacenter using DISM /set-edition you may see the following error when your system is currently configured for MAK activation:

Error: 1605

The specified product key is not valid for the target edition.
Run this command again with a product key specific to the target edition.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

For example if upgrading to Enterprise and using a MAK key, the DISM log would contain the following entry.

dism /online /Set-Edition:ServerEnterprise /ProductKey:[abcde-abcde-abcde-abcde-abcde]

Error DISM DISM Transmog Provider: PID=5728 Product key is keyed to [], but user requested transmog to [ServerEnterprise] - CTransmogManager::ValidateTransmogrify

CTransmogManager::ValidateTransmogrify

Error DISM DISM Transmog Provider: PID=3880 [Upgrading system]: The specified product key is not valid for the target edition.

Run this command again with a product key specific to the target edition.

[hrError=0x80070645] - CTransmogManager::EventError

Warning DISM DISM Transmog Provider: PID=3880 The selected OS *cannot* upgrade to [ServerEnterprise] - CTransmogManager::TransmogrifyWorker

Error DISM DISM Transmog Provider: PID=3880 Failed to Upgrade! - CTransmogManager::TransmogrifyWorker(hr:0x80070645)

Error DISM DISM Transmog Provider: PID=3880 Failed to upgrade! - CTransmogManager::ExecuteCmdLine(hr:0x80070645)

Cause


This upgrade cannot be done with MAK keys since the MAK keys are associated with multiple editions of product.  You have to use a product key that is unique for the edition of Windows Server 2008 R2 that you are upgrading to.

Resolution


Run the following commands from a elevated cmd prompt:

Note:  If the computer is currently configured as Domain Controller you must demote in order to do the upgrade first.  After the upgrade is completed you can run dcpromo

  1. Dism /online /Get-TargetEditions to get the <Edition ID> that are available to upgrade to
  2. Dism /online /Set-Edition:<Edition ID> /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX where Product key is set to the KMS client setup key for that edition.  The KMS client setup keys are documented here: http://technet.microsoft.com/en-us/library/ff793421.aspx

After the upgrade completes run the following commands from an elevated CMD prompt to convert the computer back to the original MAK key

  1. cscript.exe %windir%\system32\slmgr.vbs /IPK <your MAK key>
  2. cscript.exe %windir%\system32\slmgr.vbs /ato

You must reactivate the machine otherwise you may see some features of the higher edition not available in the operating system.  For example

  • Remote Desktop is disabled
  • Installed memory (RAM) may show correct amount but it will only show 4.00 GB or 16.00 GB usable
  • Other features specific to the higher edition may not function or be enabled

More Information


For additional information on the dism /set-edition command see http://technet.microsoft.com/en-us/library/dd744380(WS.10).aspx