Failed to upgrade from Windows Server standard to datacenter by DISM

Copper Contributor

I want to upgrade our server from Windows Server 2016 Standard to Datacenter and I followed the guide from Microsoft Support by the DISM command. However, I got the error code 5023.

From the log file, it seems the upgrade was partially executed but not finished. So the system has been identified as "Data Center" with the old activated "Standard" product key.

 

Error from the DISM Log

2019-03-08 19:47:58, Error DISM DISM Transmog Provider: PID=8408 TID=9500 The package for edition id [ServerDatacenter] is not in a valid state. hr = [0x8007139f] - CTransmogManager::GetCurrentEdition
2019-03-08 19:47:58, Error DISM DISM Transmog Provider: PID=8408 TID=9500 GetCurrentEdition: Error [0x8007139f] retrieving current EditionId value. - CTransmogManager::GetCurrentEdition
2019-03-08 19:47:58, Error DISM DISM Transmog Provider: PID=8408 TID=9500 Failed to get current edition! - CTransmogManager::ExecuteCmdLine(hr:0x8007139f)
2019-03-08 19:47:58, Error DISM DISM.EXE: Edition Manager processed the command line but failed. HRESULT=8007139F

1 Reply

What is the result of;

 

DISM /online /Get-CurrentEdition
DISM /online /Get-TargetEditions