Unable to upgrade Windows Serial Number using DISM utility ?

Hi,

When I tried to upgrade the existing HP physical server Windows Server 2008 R2 SP1 Standard Edtion to Enterprise Edition using the below DISM command, I got it stuck into error:

PS C:\Windows\system32> DISM /Online /Set-Edition:ServerEnterprise /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Deployment Image Servicing and Management tool
Version: 6.1.7600.16385

Image Version: 6.1.7601.18489

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
PS C:\Windows\system32>

Key deleted - MASQ

Open in new window


The Serial Number is the correct one MAK serial from Microsoft licensing website.
LVL 9
Senior IT System EngineerIT ProfessionalAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Senior IT System EngineerIT ProfessionalAuthor Commented:
here's the DISM.LOG excerpt:

2015-07-13 13:03:02, Info                  DISM   DISM.EXE: 
2015-07-13 13:03:02, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
2015-07-13 13:03:02, Info                  DISM   DISM.EXE: 
2015-07-13 13:03:02, Info                  DISM   DISM.EXE: Host machine information: OS Version=6.1.7601, Running architecture=amd64, Number of processors=24
2015-07-13 13:03:02, Info                  DISM   DISM.EXE: Executing command line: "C:\Windows\system32\Dism.exe"  /Online /Set-Edition:ServerEnterprise /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX
2015-07-13 13:03:02, Info                  DISM   DISM Provider Store: PID=6200 Getting Provider FolderManager - CDISMProviderStore::GetProvider
2015-07-13 13:03:02, Info                  DISM   DISM Provider Store: PID=6200 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:02, Info                  DISM   DISM Provider Store: PID=6200 Loading Provider from location C:\Windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:02, Info                  DISM   DISM Provider Store: PID=6200 Connecting to the provider located at C:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2015-07-13 13:03:02, Info                  DISM   DISM Provider Store: PID=6200 Getting Provider FolderManager - CDISMProviderStore::GetProvider
2015-07-13 13:03:02, Info                  DISM   DISM Provider Store: PID=6200 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:04, Info                  DISM   DISM Manager: PID=6200 Successfully loaded the ImageSession at "C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710" - CDISMManager::LoadImageSession
2015-07-13 13:03:04, Info                  DISM   DISM Image Session: PID=7048 Instantiating the Provider Store. - CDISMImageSession::get_ProviderStore
2015-07-13 13:03:04, Info                  DISM   DISM Provider Store: PID=7048 Initializing a provider store for the IMAGE session type. - CDISMProviderStore::Final_OnConnect
2015-07-13 13:03:04, Info                  DISM   DISM Provider Store: PID=7048 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:04, Info                  DISM   DISM Provider Store: PID=7048 Loading Provider from location C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\OSProvider.dll - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:04, Info                  DISM   DISM Provider Store: PID=7048 Connecting to the provider located at C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\OSProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2015-07-13 13:03:04, Info                  DISM   DISM OS Provider: PID=7048 Defaulting SystemPath to C:\ - CDISMOSServiceManager::Final_OnConnect
2015-07-13 13:03:04, Info                  DISM   DISM OS Provider: PID=7048 Defaulting Windows folder to C:\Windows - CDISMOSServiceManager::Final_OnConnect
2015-07-13 13:03:04, Info                  DISM   DISM Provider Store: PID=7048 Attempting to initialize the logger from the Image Session. - CDISMProviderStore::Final_OnConnect
2015-07-13 13:03:04, Info                  DISM   DISM Provider Store: PID=7048 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:04, Info                  DISM   DISM Provider Store: PID=7048 Loading Provider from location C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\LogProvider.dll - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Connecting to the provider located at C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\LogProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Getting Provider OSServices - CDISMProviderStore::GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Loading Provider from location C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\PEProvider.dll - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Warning               DISM   DISM Provider Store: PID=7048 Failed to Load the provider: C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\PEProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Manager: PID=6200 Image session successfully loaded from the temporary location: C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710 - CDISMManager::CreateImageSession
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Getting Provider OSServices - CDISMProviderStore::GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  CSI    00000001 Shim considered [l:256{128}]"\??\C:\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\pkgmgr.exe" : got STATUS_OBJECT_PATH_NOT_FOUND
2015-07-13 13:03:05, Info                  CSI    00000002 Shim considered [l:250{125}]"\??\C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\pkgmgr.exe" : got STATUS_SUCCESS
2015-07-13 13:03:05, Info                  DISM   DISM.EXE: Target image information: OS Version=6.1.7601.18766, Image architecture=amd64
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Getting the collection of providers from an image provider store type. - CDISMProviderStore::GetProviderCollection
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Loading Provider from location C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\CbsProvider.dll - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Connecting to the provider located at C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\CbsProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2015-07-13 13:03:05, Info                  CSI    00000001 Shim considered [l:256{128}]"\??\C:\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\pkgmgr.exe" : got STATUS_OBJECT_PATH_NOT_FOUND
2015-07-13 13:03:05, Info                  CSI    00000002 Shim considered [l:250{125}]"\??\C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\pkgmgr.exe" : got STATUS_SUCCESS
2015-07-13 13:03:05, Info                  DISM   DISM Package Manager: PID=7048 Finished initializing the CbsConUI Handler. - CCbsConUIHandler::Initialize
2015-07-13 13:03:05, Info                  CSI    00000001 Shim considered [l:256{128}]"\??\C:\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\pkgmgr.exe" : got STATUS_OBJECT_PATH_NOT_FOUND
2015-07-13 13:03:05, Info                  CSI    00000002 Shim considered [l:250{125}]"\??\C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\pkgmgr.exe" : got STATUS_SUCCESS
2015-07-13 13:03:05, Info                  DISM   DISM Package Manager: PID=7048 CBS is being initialized for online use. More information about CBS actions can be located at: %windir%\logs\cbs\cbs.log - CDISMPackageManager::Initialize
2015-07-13 13:03:05, Info                  DISM   DISM Package Manager: PID=7048 Loaded servicing stack for online use only. - CDISMPackageManager::RefreshInstanceAndLock
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Loading Provider from location C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\MsiProvider.dll - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Connecting to the provider located at C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\MsiProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Loading Provider from location C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\IntlProvider.dll - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Connecting to the provider located at C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\IntlProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Loading Provider from location C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\DmiProvider.dll - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Connecting to the provider located at C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\DmiProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2015-07-13 13:03:05, Info                  CSI    00000001 Shim considered [l:256{128}]"\??\C:\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\pkgmgr.exe" : got STATUS_OBJECT_PATH_NOT_FOUND
2015-07-13 13:03:05, Info                  CSI    00000002 Shim considered [l:250{125}]"\??\C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\pkgmgr.exe" : got STATUS_SUCCESS
2015-07-13 13:03:05, Info                  DISM   DISM OS Provider: PID=7048 Successfully loaded the hive. - CDISMOSServiceManager::DetermineBootDrive
2015-07-13 13:03:05, Info                  DISM   DISM Driver Manager: PID=7048 Further logs for driver related operations can be found in the target operating system at %WINDIR%\inf\setupapi.offline.log - CDriverManager::Initialize
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Loading Provider from location C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\UnattendProvider.dll - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Connecting to the provider located at C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\UnattendProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Loading Provider from location C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\SmiProvider.dll - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Connecting to the provider located at C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\SmiProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Loading Provider from location C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\TransmogProvider.dll - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Connecting to the provider located at C:\Users\Administrator\AppData\Local\Temp\2\F8D7ADB9-CAC7-46FC-9AA8-AA0C28A9F710\TransmogProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Getting Provider DISM Package Manager - CDISMProviderStore::GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Getting Provider DISM Unattend Manager - CDISMProviderStore::GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2015-07-13 13:03:05, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Package Manager
2015-07-13 13:03:05, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: DISM Package Manager.
2015-07-13 13:03:05, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: OSServices
2015-07-13 13:03:05, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: MsiManager
2015-07-13 13:03:05, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: MsiManager.
2015-07-13 13:03:05, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: IntlManager
2015-07-13 13:03:05, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: IntlManager.
2015-07-13 13:03:05, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DriverManager
2015-07-13 13:03:05, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: DriverManager.
2015-07-13 13:03:05, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Unattend Manager
2015-07-13 13:03:05, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: DISM Unattend Manager.
2015-07-13 13:03:05, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2015-07-13 13:03:05, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: SmiManager
2015-07-13 13:03:05, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Edition Manager
2015-07-13 13:03:05, Info                  DISM   DISM Transmog Provider: PID=7048 Current image session is [ONLINE] - CTransmogManager::GetMode
2015-07-13 13:03:05, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Edition Manager.
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Getting Provider Edition Manager - CDISMProviderStore::GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Provider Store: PID=7048 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2015-07-13 13:03:05, Info                  DISM   DISM Transmog Provider: PID=7048 Current image session is [ONLINE] - CTransmogManager::GetMode
2015-07-13 13:03:05, Info                  DISM   DISM Transmog Provider: PID=7048 Current image session is [ONLINE] - CTransmogManager::GetMode
2015-07-13 13:03:05, Info                  DISM   DISM Transmog Provider: PID=7048 GetProductType: ProductType = [ServerNT] - CTransmogManager::GetProductType
2015-07-13 13:03:05, Info                  DISM   DISM Transmog Provider: PID=7048 Setting an edition online is supported on Server editions. - CTransmogManager::ExecuteCmdLine
2015-07-13 13:03:05, Info                  DISM   DISM Transmog Provider: PID=7048 Processed modifier argument: [productkey] - CTransmogManager::ExecuteCmdLine
2015-07-13 13:03:05, Info                  DISM   DISM Transmog Provider: PID=7048 Upgrading to EditionID [ServerEnterprise] - CTransmogManager::ExecuteCmdLine
2015-07-13 13:03:05, Info                  DISM   DISM Transmog Provider: PID=7048 Current image session is [ONLINE] - CTransmogManager::GetMode
2015-07-13 13:03:05, Info                  DISM   DISM Transmog Provider: PID=7048 Trying to open package for edition id [ServerStandard]... - CTransmogManager::GetCurrentEdition
2015-07-13 13:03:05, Info                  DISM   DISM Transmog Provider: PID=7048 Determined WinDir path = [C:\Windows] - CTransmogManager::GetWinDirPath
2015-07-13 13:03:05, Info                  DISM   DISM Transmog Provider: PID=7048 Trying to open package: [Microsoft-Windows-ServerStandardEdition~31bf3856ad364e35~amd64~~6.1.7601.17514]... - CTransmogManager::OpenPackageFromEditionId
2015-07-13 13:03:06, Info                  DISM   DISM Transmog Provider: PID=7048 Successfully opened package for edition id [ServerStandard]. - CTransmogManager::GetCurrentEdition
2015-07-13 13:03:06, Info                  DISM   DISM Transmog Provider: PID=7048 Checking install state for edition id [ServerStandard]. - CTransmogManager::GetCurrentEdition
2015-07-13 13:03:06, Info                  DISM   DISM Package Manager: PID=7048 Package Microsoft-Windows-ServerStandardEdition~31bf3856ad364e35~amd64~~6.1.7601.17514 with CBS state 7(CbsInstallStateInstalled) being mapped to dism state 5(DISM_INSTALL_STATE_INSTALLED) - CDISMPackage::LogInstallStateMapping
2015-07-13 13:03:06, Info                  DISM   DISM Transmog Provider: PID=7048 Checking release type for edition id [ServerStandard]. - CTransmogManager::GetCurrentEdition
2015-07-13 13:03:06, Info                  DISM   DISM Transmog Provider: PID=7048 GetCurrentEdition: EditionId = [ServerStandard] - CTransmogManager::GetCurrentEdition
2015-07-13 13:03:06, Info                  DISM   DISM Transmog Provider: PID=7048 Determined WinDir path = [C:\Windows] - CTransmogManager::GetWinDirPath
2015-07-13 13:03:06, Info                  DISM   DISM Transmog Provider: PID=7048 Upgrading to edition ID [ServerEnterprise]... - CTransmogManager::TransmogrifyWorker
2015-07-13 13:03:06, Info                  DISM   DISM Transmog Provider: PID=7048 Current image session is [ONLINE] - CTransmogManager::GetMode
2015-07-13 13:03:06, Info                  DISM   DISM Transmog Provider: PID=7048 Validating that the selected OS can upgrade to [ServerEnterprise] - CTransmogManager::ValidateTransmogrify
2015-07-13 13:03:06, Info                  DISM   DISM Transmog Provider: PID=7048 Current image session is [ONLINE] - CTransmogManager::GetMode
2015-07-13 13:03:06, Info                  DISM   DISM Transmog Provider: PID=7048 Determined WinDir path = [C:\Windows] - CTransmogManager::GetWinDirPath
2015-07-13 13:03:17, Error                 DISM   DISM Transmog Provider: PID=7048 Product key is keyed to [], but user requested transmog to [ServerEnterprise] - CTransmogManager::ValidateTransmogrify
2015-07-13 13:03:17, Error                 DISM   DISM Transmog Provider: PID=7048 [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
2015-07-13 13:03:17, Warning               DISM   DISM Transmog Provider: PID=7048 The selected OS *cannot* upgrade to [ServerEnterprise] - CTransmogManager::TransmogrifyWorker
2015-07-13 13:03:17, Error                 DISM   DISM Transmog Provider: PID=7048 Failed to Upgrade! - CTransmogManager::TransmogrifyWorker(hr:0x80070645)
2015-07-13 13:03:17, Error                 DISM   DISM Transmog Provider: PID=7048 Failed to upgrade! - CTransmogManager::ExecuteCmdLine(hr:0x80070645)
2015-07-13 13:03:17, Info                  DISM   DISM Image Session: PID=7048 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Finalizing the servicing provider(DISM Package Manager) - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:17, Info                  DISM   DISM Package Manager: PID=7048 Finalizing CBS core. - CDISMPackageManager::Finalize
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Disconnecting Provider: DISM Package Manager - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Finalizing the servicing provider(MsiManager) - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Disconnecting Provider: MsiManager - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Finalizing the servicing provider(IntlManager) - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Disconnecting Provider: IntlManager - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Found the PE Provider.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Finalizing the servicing provider(DriverManager) - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Disconnecting Provider: DriverManager - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Finalizing the servicing provider(DISM Unattend Manager) - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Disconnecting Provider: DISM Unattend Manager - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Finalizing the servicing provider(SmiManager) - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Disconnecting Provider: SmiManager - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Finalizing the servicing provider(Edition Manager) - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Disconnecting Provider: Edition Manager - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Releasing the local reference to OSServices. - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Disconnecting Provider: OSServices - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:17, Info                  DISM   DISM Provider Store: PID=7048 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:18, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
2015-07-13 13:03:18, Info                  DISM   DISM.EXE: 
2015-07-13 13:03:18, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
2015-07-13 13:03:18, Info                  DISM   DISM.EXE: 
2015-07-13 13:03:18, Info                  DISM   DISM Image Session: PID=6200 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect
2015-07-13 13:03:18, Info                  DISM   DISM Provider Store: PID=6200 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2015-07-13 13:03:18, Info                  DISM   DISM Provider Store: PID=6200 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2015-07-13 13:03:18, Info                  DISM   DISM Provider Store: PID=6200 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider

Open in new window

0
McKnifeCommented:
1st... unless you would like to share your key with the whole world, remove it.
2nd retry using slmgr.vbs /ipk aaaaa-aaaaa-aaaaa....
1
☠ MASQ ☠Commented:
Editing out your private MAK Key!

Use DISM with the default KMS key from Microsoft, then restart and in Server Manager then change the key to the one you were given.  Your original installation media is OEM (non-SP) and doesn't match the MAK so gets rejected locally and you have to upgrade via this "two-step" process.

From your logfile:
2015-07-13 13:03:17, Error                 DISM   DISM Transmog Provider: PID=7048 Product key is keyed to [], but user requested transmog to [ServerEnterprise] - CTransmogManager::ValidateTransmogrify
2015-07-13 13:03:17, Error                 DISM   DISM Transmog Provider: PID=7048 [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.

Open in new window


Default public keys here (for installation only - these won't activate):
https://technet.microsoft.com/en-gb/library/jj612867.aspx use the key for the version you are upgrading to.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Senior IT System EngineerIT ProfessionalAuthor Commented:
ok, so my steps would be:

From https://technet.microsoft.com/en-gb/library/jj612867.aspx?f=255 - Windows Server 2008 R2 Enterprise

1.

DISM /Online /Set-Edition:ServerEnterprise /ProductKey:489J6-VHDMP-X63PK-3K798-CPX3Y

2.

Reboot server

3.

DISM /Online /Set-Edition:ServerEnterprise /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
is that correct or do I have to use:
slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Open in new window

0
☠ MASQ ☠Commented:
That's the correct public key.
Both methods should work once you've got around the installation media version/activation upgrade key conflict.  I don't think the either will work unless you've previously run DSIM with the public key though  (i.e. with slmgr you'd still need to use the public key and then your own)
0
Senior IT System EngineerIT ProfessionalAuthor Commented:
ok, so in thiscase there should be no data or configuration loss after the server reboot ?
0
☠ MASQ ☠Commented:
No, at worst the server will be temporarily unlicensed but no data will be affected by changing the key.
0
Senior IT System EngineerIT ProfessionalAuthor Commented:
Thanks !
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.