locked
Trying to change the licence from 2016 standard to Datacenter and I alway get error 87. RRS feed

  • Question

  • I seem to get error 87 when checking the current edition as well.

    C:\Windows\system32>dism /online /get-targeteditions

    Deployment Image Servicing and Management tool Version: 10.0.14393.3750 Image Version: 10.0.14393.3241 Error: 87

    The get-targeteditions option is unknown. For more information, refer to the help by running DISM.exe /?. The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    C:\Windows\system32>

    C:\Windows\system32>Dism /online /Set-Edition:ServerDatacenter /AcceptEula /ProductKey:MyVerifiedWorkingKeyHERE

    Deployment Image Servicing and Management tool Version: 10.0.14393.3750 Image Version: 10.0.14393.3241 Error: 87

    The set-edition option is unknown. For more information, refer to the help by running DISM.exe /?. The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    C:\Windows\system32>

    Looking into the logs and I see this after running the TargetEditions. 

    2020-07-07 09:05:39, Info                  DISM   DISM Transmog Provider: PID=13304 TID=13272 Current image session is [ONLINE] - CTransmogManager::GetMode

    2020-07-07 09:05:39, Info                  DISM   DISM Transmog Provider: PID=13304 TID=13272 Audit Mode: [No] - CTransmogManager::Initialize

    2020-07-07 09:05:39, Error                 DISM   DISM Transmog Provider: PID=13304 TID=13272 GetProductType: Error [0x80070002] retrieving current ProductType value. - CTransmogManager::GetProductType

    2020-07-07 09:05:39, Warning               DISM   DISM Provider Store: PID=13304 TID=13272 Failed to call Initialize method on IDismServicingProvider Interface - CDISMProviderStore::Internal_LoadProvider(hr:0x80070002)

    2020-07-07 09:05:39, Warning               DISM   DISM Provider Store: PID=13304 TID=13272 Failed to Load the provider: C:\Users\HS1139~1\AppData\Local\Temp\B099C144-E6B0-492F-8E86-484EA966549B\TransmogProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007000 2)

    2020-07-07 09:05:39, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table. 2020-07-07 09:05:39, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider

    And this arround the time I try to change the license. 

    2020-07-07 09:08:43, Info                  DISM   DISM Transmog Provider: PID=4044 TID=10148 Current image session is [ONLINE] - CTransmogManager::GetMode

    2020-07-07 09:08:43, Info                  DISM   DISM Transmog Provider: PID=4044 TID=10148 Audit Mode: [No] - CTransmogManager::Initialize

    2020-07-07 09:08:43, Error                 DISM   DISM Transmog Provider: PID=4044 TID=10148 GetProductType: Error [0x80070002] retrieving current ProductType value. - CTransmogManager::GetProductType

    2020-07-07 09:08:43, Warning               DISM   DISM Provider Store: PID=4044 TID=10148 Failed to call Initialize method on IDismServicingProvider Interface - CDISMProviderStore::Internal_LoadProvider(hr:0x80070002)

    2020-07-07 09:08:43, Warning               DISM   DISM Provider Store: PID=4044 TID=10148 Failed to Load the provider: C:\Users\HS1139~1\AppData\Local\Temp\4E17B1A0-E481-41AE-8E61-FC6A08E1A676\TransmogProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x80070002 )

    2020-07-07 09:08:43, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.

    2020-07-07 09:08:43, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider 2020-07-07 09:08:43, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: OSServices

    Tuesday, July 7, 2020 4:15 PM

All replies

  • I'd try checking the health

    • sfc /scannow
    • dism /online /cleanup-image /restorehealth

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Tuesday, July 7, 2020 4:27 PM
  • We'll have to do that durring one of our maintenance window. 

    Thanks Dave! 

    Tuesday, July 7, 2020 5:52 PM
  • Sounds good, you're welcome.

     

    (please don't forget to mark helpful replies as answer)

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Tuesday, July 7, 2020 6:02 PM
  • Hi,

     

    You could try these methods to fix your problem:

     

    1. Check your command to see if there is any typo.

    2. Error 87 may be caused by the pending Windows update. So in order to solve this error 87 DISM, you need to install all pending updates.

    3.  Checking system health

    sfc /scannow

    dism /online /cleanup-image /restorehealth

     

    Hope above information can help you.


    Please remember to mark the replies as answers if they help.
    "Windows 10 Installation, Setup, and Deployment" forum will be migrating to a new home on Microsoft Q&A (Preview)!
    We invite you to post new questions in the "Windows 10 Installation, Setup, and Deployment" forum’s new home on Microsoft Q&A (Preview)!
    For more information, please refer to the sticky post.

    Wednesday, July 8, 2020 7:45 AM
  • Hi,

     

    Just checking in to see if the information provided was helpful.

     

    If the reply helped you, please remember to mark it as an answer.

    If no, please reply and tell us the current situation in order to provide further help.


    Please remember to mark the replies as answers if they help.
    "Windows 10 Installation, Setup, and Deployment" forum will be migrating to a new home on Microsoft Q&A (Preview)!
    We invite you to post new questions in the "Windows 10 Installation, Setup, and Deployment" forum’s new home on Microsoft Q&A (Preview)!
    For more information, please refer to the sticky post.

    Monday, July 13, 2020 2:58 AM
  • Hi,

     

    Just want to confirm the current situations.

    Please feel free to let us know if you need further assistance.

     

    If you have any questions,  please feel free to contact us.

     


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Wednesday, July 15, 2020 7:51 AM
  •  we will temporarily archive this post.

    Wondering how you will do this?

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Thursday, July 16, 2020 2:23 AM