locked
DISM error 1620 removing Windows Media Player RRS feed

  • Question

  • Hello, I have some trouble using DISM to remove Windows Media Player from an admin command prompt,

    Here's the log :

    2017-08-02 15:21:39, Info                  DISM   PID=6412 Scratch directory set to 'D:\Users\Trololo\AppData\Local\Tem
    p\'. - CDISMManager::put_ScratchDir
    2017-08-02 15:21:39, Info                  DISM   PID=6412 Successfully loaded the ImageSession at "C:\Windows\System32
    \Dism" - CDISMManager::LoadImageSession
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Found and Initialized the DISM Logger.
    - CDISMProviderStore::Internal_InitializeLogger
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Failed to get and initialize the PE Pro
    vider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Finished initializing the Provider Map.
     - CDISMProviderStore::Final_OnConnect
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Getting Provider DISMLogger - CDISMProv
    iderStore::GetProvider
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Provider has previously been initialize
    d.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Getting Provider DISMLogger - CDISMProv
    iderStore::GetProvider
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Provider has previously been initialize
    d.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2017-08-02 15:21:39, Info                  DISM   DISM Manager: PID=6412 Successfully created the local image session a
    nd provider store. - CDISMManager::CreateLocalImageSession
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Getting Provider DISMLogger - CDISMProv
    iderStore::GetProvider
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Provider has previously been initialize
    d.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2017-08-02 15:21:39, Info                  DISM   DISM.EXE:
    2017-08-02 15:21:39, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
    2017-08-02 15:21:39, Info                  DISM   DISM.EXE:
    2017-08-02 15:21:39, Info                  DISM   DISM.EXE: Host machine information: OS Version=6.1.7601, Running arch
    itecture=amd64, Number of processors=2
    2017-08-02 15:21:39, Info                  DISM   DISM.EXE: Executing command line: "C:\Windows\system32\Dism.exe"  /on
    line /Disable-Feature /FeatureName:WindowsMediaPlayer
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Getting Provider FolderManager - CDISMP
    roviderStore::GetProvider
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Provider has not previously been encoun
    tered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Loading Provider from location C:\Windo
    ws\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Connecting to the provider located at C
    :\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Getting Provider FolderManager - CDISMP
    roviderStore::GetProvider
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Provider has previously been initialize
    d.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2017-08-02 15:21:39, Error                 DISM   DismHostLib: Failed to create dismhost.exe servicing process.
    2017-08-02 15:21:39, Error                 DISM   DISM Manager: PID=6412 Failed to create Dism Image Session in host. -
     CDISMManager::LoadImageSession(hr:0x800704ec)
    2017-08-02 15:21:39, Warning               DISM   DISM Manager: PID=6412 A problem ocurred loading the image session. R
    etrying...  - CDISMManager::CreateImageSession(hr:0x800704ec)
    2017-08-02 15:21:39, Error                 DISM   DismHostLib: Failed to create dismhost.exe servicing process.
    2017-08-02 15:21:39, Error                 DISM   DISM Manager: PID=6412 Failed to create Dism Image Session in host. -
     CDISMManager::LoadImageSession(hr:0x800704ec)
    2017-08-02 15:21:39, Error                 DISM   DISM Manager: PID=6412 Failed to load the image session from the temp
    orary location: D:\Users\Trololo\AppData\Local\Temp\B78940F5-24F3-4B7F-8B6E-16EE753DE030 - CDISMManager::CreateImageSes
    sion(hr:0x800704ec)
    2017-08-02 15:21:39, Error                 DISM   DISM.EXE: Could not load the image session. HRESULT=800704EC
    2017-08-02 15:21:39, Error                 DISM   DISM.EXE: Unable to start the servicing process for the image at 'C:\
    '. HRESULT=800704EC
    2017-08-02 15:21:39, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
    2017-08-02 15:21:39, Info                  DISM   DISM.EXE:
    2017-08-02 15:21:39, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
    2017-08-02 15:21:39, Info                  DISM   DISM.EXE:
    2017-08-02 15:21:39, Info                  DISM   DISM Image Session: PID=6412 Disconnecting the provider store - CDISM
    ImageSession::Final_OnDisconnect
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Disconnecting Provider: FolderManager -
     CDISMProviderStore::Internal_DisconnectProvider
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Found the OSServices.  Waiting to final
    ize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
    2017-08-02 15:21:39, Info                  DISM   DISM Provider Store: PID=6412 Releasing the local reference to DISMLo
    gger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider

    Here's the command run :

    dism /online /Disable-Feature /FeatureName:WindowsMediaPlayer
    Disabling software restriction GPO didn't help running this command successfully.

    Wednesday, August 2, 2017 1:27 PM

All replies

  • Hi,

    Error 1620 means “ Installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package”.

    You can run sfc /scannow in CMD as administrator, please help collect the CBS.log and post here for further research.

    In addition, you can logon with administrator account and run DISM command to see if the problem still exists. I consider the corrupted files, system image damaged or some third-party software factors may cause the failure. You can also clean boot to disable the third-party software and run the DISM command again.

    For further problems, feel free to contact me.

    Best regards,

    Vivian


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

    Friday, August 4, 2017 1:32 AM
  • Hello, doing the same task from GUI works without error.
    Saturday, August 5, 2017 11:28 AM
  • Hi

    It is actually an easier and direct way to deal with this issue. I am glad to hear that you have solved the problem. I do appreciate that you can make the post as answer to share the solution with others.

    Best regards,

    Vivian


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

    Monday, August 7, 2017 2:14 AM