Home

Failed to upgrade from Windows Server standard to datacenter by DISM

%3CLINGO-SUB%20id%3D%22lingo-sub-363246%22%20slang%3D%22en-US%22%3EFailed%20to%20upgrade%20from%20Windows%20Server%20standard%20to%20datacenter%20by%20DISM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-363246%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20to%20upgrade%20our%20server%20from%20Windows%20Server%202016%20Standard%20to%20Datacenter%20and%20I%20followed%20the%20guide%20from%20Microsoft%20Support%20by%20the%20DISM%20command.%20However%2C%20I%20got%20the%20error%20code%205023.%3C%2FP%3E%3CP%3EFrom%20the%20log%20file%2C%20it%20seems%20the%20upgrade%20was%20partially%20executed%20but%20not%20finished.%20So%20the%20system%20has%20been%20identified%20as%20%22Data%20Center%22%20with%20the%20old%20activated%20%22Standard%22%20product%20key.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EError%20from%20the%20DISM%20Log%3C%2FP%3E%3CP%3E2019-03-08%2019%3A47%3A58%2C%20Error%20DISM%20DISM%20Transmog%20Provider%3A%20PID%3D8408%20TID%3D9500%20The%20package%20for%20edition%20id%20%5BServerDatacenter%5D%20is%20not%20in%20a%20valid%20state.%20hr%20%3D%20%5B0x8007139f%5D%20-%20CTransmogManager%3A%3AGetCurrentEdition%3CBR%20%2F%3E2019-03-08%2019%3A47%3A58%2C%20Error%20DISM%20DISM%20Transmog%20Provider%3A%20PID%3D8408%20TID%3D9500%20GetCurrentEdition%3A%20Error%20%5B0x8007139f%5D%20retrieving%20current%20EditionId%20value.%20-%20CTransmogManager%3A%3AGetCurrentEdition%3CBR%20%2F%3E2019-03-08%2019%3A47%3A58%2C%20Error%20DISM%20DISM%20Transmog%20Provider%3A%20PID%3D8408%20TID%3D9500%20Failed%20to%20get%20current%20edition!%20-%20CTransmogManager%3A%3AExecuteCmdLine(hr%3A0x8007139f)%3CBR%20%2F%3E2019-03-08%2019%3A47%3A58%2C%20Error%20DISM%20DISM.EXE%3A%20Edition%20Manager%20processed%20the%20command%20line%20but%20failed.%20HRESULT%3D8007139F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-363246%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWindows%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-364146%22%20slang%3D%22en-US%22%3ERe%3A%20Failed%20to%20upgrade%20from%20Windows%20Server%20standard%20to%20datacenter%20by%20DISM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-364146%22%20slang%3D%22en-US%22%3E%3CP%3EWhat%20is%20the%20result%20of%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EDISM%20%2Fonline%20%2FGet-CurrentEdition%3CBR%20%2F%3EDISM%20%2Fonline%20%2FGet-TargetEditions%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
wuyiL
New 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

 

 

 

Related Conversations