Windows 10: DISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2

Discus and support DISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 in Windows 10 Software and Apps to solve the problem; Hello,I’m encountering an issue while using DISM to unmount a WIM image. Despite running the commands with administrative privileges, the unmount... Discussion in 'Windows 10 Software and Apps' started by Thiru Candane, Nov 15, 2024 at 6:07 AM.

  1. DISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2


    Hello,I’m encountering an issue while using DISM to unmount a WIM image. Despite running the commands with administrative privileges, the unmount operation fails with the following errors:csharpCopy code[5104.4116] Received unmount request. [5104.4116] Unmount complete. [5104.2476] Wimserv exiting per terminate event. [5104.2476] Wimserv stopped. [4696.2188] [0x80070005] FIOEnumerateReparsePoints:627: Access is denied. [4696.2188] [0x80070005] CleanupExtractRemainingStubs:534: Access is denied. [4696.2188] [0x80070005] WIMUnmountImageHandle:1683: Access is denied.

    :)
     
    Thiru Candane, Nov 15, 2024 at 6:07 AM
    #1

  2. Applying WIM image Error: 5 Access is denied

    Hey guys, please i could really use some help with this. So i was using Windows 11, made a backup where i got 3 WIM files. I went back to Windows 10 because the TPM 2.0 requirements, could not play League of Legends, Valorant because of the Vanguard Anti-Cheat needed TPM 2.0 support and my motherboard does not support it. Now that i am on Windows 10, i would like to get my stuff back from the backup i made on Windows 11. I did looked on internet and found some link to microsoft answers.

    I followed the instructions on a post where someone had a similar issue. I used, dism /Apply-Image /ImageFile:G:\sources\Reconstruct.WIM /Index:1 /ApplyDir:C:\

    Then it showed me "Deployment Image Servicing and Management Tool Version: 10.0.19041.1

    Error: 5

    Access is denied.

    The DISM log file can be found at X:\windows\Logs\DISM\dism.log

    G: is my USB where the WIM files are and C: where is Windows installed

    I tried using the command in Safe mode, Safe mode with command prompt and Safe mode with networking. Same Error: 5 Access denied.

    I can post the log here

    2024-06-17 13:04:53, Info DISM PID=3628 TID=3084 Scratch directory set to 'C:\Users\jojon\AppData\Local\Temp\'. - CDISMManager:DISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :put_ScratchDir

    2024-06-17 13:04:53, Info DISM PID=3628 TID=3084 DismCore.dll version: 10.0.19041.3636 - CDISMManager::FinalConstruct

    2024-06-17 13:04:53, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log

    2024-06-17 13:04:53, Info DISM PID=3628 TID=3084 Successfully loaded the ImageSession at "C:\Windows\system32\Dism" - CDISMManager::LoadLocalImageSession

    2024-06-17 13:04:53, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log

    2024-06-17 13:04:53, Info DISM DISM Provider Store: PID=3628 TID=3084 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger

    2024-06-17 13:04:53, Info DISM DISM Provider Store: PID=3628 TID=3084 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect

    2024-06-17 13:04:53, Info DISM DISM Provider Store: PID=3628 TID=3084 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect

    2024-06-17 13:04:53, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log

    2024-06-17 13:04:53, Info DISM DISM Manager: PID=3628 TID=3084 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession

    2024-06-17 13:04:53, Info DISM DISM.EXE:

    2024-06-17 13:04:53, Info DISM DISM.EXE: <----- Starting Dism.exe session ----->

    2024-06-17 13:04:53, Info DISM DISM.EXE:

    2024-06-17 13:04:53, Info DISM DISM.EXE: Host machine information: OS Version=10.0.19045, Running architecture=amd64, Number of processors=8

    2024-06-17 13:04:53, Info DISM DISM.EXE: Dism.exe version: 10.0.19041.3636

    2024-06-17 13:04:53, Info DISM DISM.EXE: Executing command line: dism /Apply-Image /ImageFile:G:\sources\Reconstruct.WIM /Index:1 /ApplyDir:C:\

    2024-06-17 13:04:53, Info DISM DISM Provider Store: PID=3628 TID=3084 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection

    2024-06-17 13:04:53, Info DISM DISM Provider Store: PID=3628 TID=3084 Connecting to the provider located at C:\Windows\system32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider

    2024-06-17 13:04:53, Warning DISM DISM Provider Store: PID=3628 TID=3084 Failed to load the provider: C:\Windows\system32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

    2024-06-17 13:04:53, Info DISM DISM Provider Store: PID=3628 TID=3084 Connecting to the provider located at C:\Windows\system32\Dism\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider

    2024-06-17 13:04:53, Info DISM DISM Provider Store: PID=3628 TID=3084 Connecting to the provider located at C:\Windows\system32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider

    2024-06-17 13:04:54, Info DISM DISM Provider Store: PID=3628 TID=3084 Connecting to the provider located at C:\Windows\system32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider

    2024-06-17 13:04:54, Info DISM DISM Provider Store: PID=3628 TID=3084 Connecting to the provider located at C:\Windows\system32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider

    2024-06-17 13:04:54, Warning DISM DISM Provider Store: PID=3628 TID=3084 Failed to load the provider: C:\Windows\system32\Dism\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

    2024-06-17 13:04:54, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.

    2024-06-17 13:04:54, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider

    2024-06-17 13:04:54, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager

    2024-06-17 13:04:54, Info DISM DISM.EXE: Attempting to add the commands from provider: FfuManager

    2024-06-17 13:04:54, Info DISM DISM.EXE: Succesfully registered commands for the provider: FfuManager.

    2024-06-17 13:04:54, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager

    2024-06-17 13:04:54, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.

    2024-06-17 13:04:54, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager

    2024-06-17 13:04:54, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager

    2024-06-17 13:04:54, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.

    [3628] [0x80070020] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2627): The process cannot access the file because it is being used by another process.

    [3628] [0x8144012d]

    2024-06-17 13:04:54, Warning DISM DISM WIM Provider: PID=3628 [RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2633) -> Error restoring directory metadata] C:\Windows (HRESULT=0x80070020) - CWimManager::WimProviderMsgLogCallback

    [3628] [0x80070020] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2793): The process cannot access the file because it is being used by another process.

    [3628] [0x8144012d]

    2024-06-17 13:04:54, Warning DISM DISM WIM Provider: PID=3628 [RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2803) -> Error restoring directory metadata - ignoring failure] C:\Windows (HRESULT=0x80070020) - CWimManager::WimProviderMsgLogCallback

    [3628] [0x80070020] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2627): The process cannot access the file because it is being used by another process.

    [3628] [0x8144012d]

    2024-06-17 13:04:54, Warning DISM DISM WIM Provider: PID=3628 [RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2633) -> Error restoring directory metadata] C:\Windows\System32 (HRESULT=0x80070020) - CWimManager::WimProviderMsgLogCallback

    [3628] [0x80070020] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2793): The process cannot access the file because it is being used by another process.

    [3628] [0x8144012d]

    2024-06-17 13:04:54, Warning DISM DISM WIM Provider: PID=3628 [RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2803) -> Error restoring directory metadata - ignoring failure] C:\Windows\System32 (HRESULT=0x80070020) - CWimManager::WimProviderMsgLogCallback

    [3628] [0x80070005] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2627): Access is denied.

    [3628] [0x8144012d]

    2024-06-17 13:05:00, Warning DISM DISM WIM Provider: PID=3628 [RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2633) -> Error restoring directory metadata] C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe (HRESULT=0x80070005) - CWimManager::WimProviderMsgLogCallback

    [3628] [0x80070005] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2793): Access is denied.

    [3628] [0x80070005] WimCreateDirectoryDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(3355): Access is denied.

    [3628] [0xc144012e]

    2024-06-17 13:05:00, Error DISM DISM WIM Provider: PID=3628 C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe (HRESULT=0x80070005) - CWimManager::WimProviderMsgLogCallback

    [3628] [0x80070005] RestoreDirTreeDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(3606): Access is denied.

    [3628] [0x80070005] WIMApplyImageInternalDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(777): Access is denied.

    2024-06-17 13:05:00, Error DISM DISM WIM Provider: PID=3628 TID=3084 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:967 - CWimManager::Apply(hr:0x80070005)

    2024-06-17 13:05:00, Error DISM DISM Imaging Provider: PID=3628 TID=3084 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:2829 - CGenericImagingManager::InternalCmdWimApply(hr:0x80070005)

    2024-06-17 13:05:00, Error DISM DISM Imaging Provider: PID=3628 TID=3084 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:537 - CGenericImagingManager::ExecuteCmdLine(hr:0x80070005)

    2024-06-17 13:05:00, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.

    2024-06-17 13:05:00, Info DISM DISM.EXE:

    2024-06-17 13:05:00, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->

    2024-06-17 13:05:00, Info DISM DISM.EXE:

    2024-06-17 13:05:00, Info DISM DISM Provider Store: PID=3628 TID=3084 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect

    2024-06-17 13:05:00, Info DISM DISM Provider Store: PID=3628 TID=3084 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider

    2024-06-17 13:05:00, Info DISM DISM Provider Store: PID=3628 TID=3084 Disconnecting Provider: FfuManager - CDISMProviderStore::Internal_DisconnectProvider

    2024-06-17 13:05:00, Info DISM DISM Provider Store: PID=3628 TID=3084 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider

    2024-06-17 13:05:00, Info DISM DISM Provider Store: PID=3628 TID=3084 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider

    2024-06-17 13:05:00, Info DISM DISM Provider Store: PID=3628 TID=3084 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider

    2024-06-17 13:05:00, Info DISM DISM Provider Store: PID=3628 TID=3084 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider

    2024-06-17 13:11:47, Info DISM PID=1056 TID=2020 Scratch directory set to 'C:\Users\jojon\AppData\Local\Temp\'. - CDISMManager:DISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :put_ScratchDir

    2024-06-17 13:11:47, Info DISM PID=1056 TID=2020 DismCore.dll version: 10.0.19041.3636 - CDISMManager::FinalConstruct

    2024-06-17 13:11:47, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log

    2024-06-17 13:11:47, Info DISM PID=1056 TID=2020 Successfully loaded the ImageSession at "C:\Windows\system32\Dism" - CDISMManager::LoadLocalImageSession

    2024-06-17 13:11:47, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log

    2024-06-17 13:11:47, Info DISM DISM Provider Store: PID=1056 TID=2020 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger

    2024-06-17 13:11:47, Info DISM DISM Provider Store: PID=1056 TID=2020 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect

    2024-06-17 13:11:47, Info DISM DISM Provider Store: PID=1056 TID=2020 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect

    2024-06-17 13:11:47, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log

    2024-06-17 13:11:47, Info DISM DISM Manager: PID=1056 TID=2020 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession

    2024-06-17 13:11:47, Info DISM DISM.EXE:

    2024-06-17 13:11:47, Info DISM DISM.EXE: <----- Starting Dism.exe session ----->

    2024-06-17 13:11:47, Info DISM DISM.EXE:

    2024-06-17 13:11:47, Info DISM DISM.EXE: Host machine information: OS Version=10.0.19045, Running architecture=amd64, Number of processors=8

    2024-06-17 13:11:47, Info DISM DISM.EXE: Dism.exe version: 10.0.19041.3636

    2024-06-17 13:11:47, Info DISM DISM.EXE: Executing command line: dism /Apply-Image /ImageFile:G:\sources\Reconstruct.WIM /Index:1 /ApplyDir:C:\

    2024-06-17 13:11:47, Info DISM DISM Provider Store: PID=1056 TID=2020 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection

    2024-06-17 13:11:47, Info DISM DISM Provider Store: PID=1056 TID=2020 Connecting to the provider located at C:\Windows\system32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider

    2024-06-17 13:11:47, Warning DISM DISM Provider Store: PID=1056 TID=2020 Failed to load the provider: C:\Windows\system32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

    2024-06-17 13:11:47, Info DISM DISM Provider Store: PID=1056 TID=2020 Connecting to the provider located at C:\Windows\system32\Dism\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider

    2024-06-17 13:11:47, Info DISM DISM Provider Store: PID=1056 TID=2020 Connecting to the provider located at C:\Windows\system32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider

    2024-06-17 13:11:47, Info DISM DISM Provider Store: PID=1056 TID=2020 Connecting to the provider located at C:\Windows\system32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider

    2024-06-17 13:11:47, Info DISM DISM Provider Store: PID=1056 TID=2020 Connecting to the provider located at C:\Windows\system32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider

    2024-06-17 13:11:47, Warning DISM DISM Provider Store: PID=1056 TID=2020 Failed to load the provider: C:\Windows\system32\Dism\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

    2024-06-17 13:11:47, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.

    2024-06-17 13:11:47, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider

    2024-06-17 13:11:47, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager

    2024-06-17 13:11:47, Info DISM DISM.EXE: Attempting to add the commands from provider: FfuManager

    2024-06-17 13:11:47, Info DISM DISM.EXE: Succesfully registered commands for the provider: FfuManager.

    2024-06-17 13:11:47, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager

    2024-06-17 13:11:48, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.

    2024-06-17 13:11:48, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager

    2024-06-17 13:11:48, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager

    2024-06-17 13:11:48, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.

    [1056] [0x80070020] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2627): The process cannot access the file because it is being used by another process.

    [1056] [0x8144012d]

    2024-06-17 13:11:48, Warning DISM DISM WIM Provider: PID=1056 [RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2633) -> Error restoring directory metadata] C:\Windows (HRESULT=0x80070020) - CWimManager::WimProviderMsgLogCallback

    [1056] [0x80070020] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2793): The process cannot access the file because it is being used by another process.

    [1056] [0x8144012d]

    2024-06-17 13:11:48, Warning DISM DISM WIM Provider: PID=1056 [RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2803) -> Error restoring directory metadata - ignoring failure] C:\Windows (HRESULT=0x80070020) - CWimManager::WimProviderMsgLogCallback

    [1056] [0x80070020] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2627): The process cannot access the file because it is being used by another process.

    [1056] [0x8144012d]

    2024-06-17 13:11:48, Warning DISM DISM WIM Provider: PID=1056 [RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2633) -> Error restoring directory metadata] C:\Windows\System32 (HRESULT=0x80070020) - CWimManager::WimProviderMsgLogCallback

    [1056] [0x80070020] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2793): The process cannot access the file because it is being used by another process.

    [1056] [0x8144012d]

    2024-06-17 13:11:48, Warning DISM DISM WIM Provider: PID=1056 [RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2803) -> Error restoring directory metadata - ignoring failure] C:\Windows\System32 (HRESULT=0x80070020) - CWimManager::WimProviderMsgLogCallback

    [1056] [0x80070005] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2627): Access is denied.

    [1056] [0x8144012d]

    2024-06-17 13:11:54, Warning DISM DISM WIM Provider: PID=1056 [RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2633) -> Error restoring directory metadata] C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe (HRESULT=0x80070005) - CWimManager::WimProviderMsgLogCallback

    [1056] [0x80070005] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2793): Access is denied.

    [1056] [0x80070005] WimCreateDirectoryDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(3355): Access is denied.

    [1056] [0xc144012e]

    2024-06-17 13:11:54, Error DISM DISM WIM Provider: PID=1056 C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe (HRESULT=0x80070005) - CWimManager::WimProviderMsgLogCallback

    [1056] [0x80070005] RestoreDirTreeDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(3606): Access is denied.

    [1056] [0x80070005] WIMApplyImageInternalDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(777): Access is denied.

    2024-06-17 13:11:54, Error DISM DISM WIM Provider: PID=1056 TID=2020 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:967 - CWimManager::Apply(hr:0x80070005)

    2024-06-17 13:11:54, Error DISM DISM Imaging Provider: PID=1056 TID=2020 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:2829 - CGenericImagingManager::InternalCmdWimApply(hr:0x80070005)

    2024-06-17 13:11:54, Error DISM DISM Imaging Provider: PID=1056 TID=2020 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:537 - CGenericImagingManager::ExecuteCmdLine(hr:0x80070005)

    2024-06-17 13:11:54, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.

    2024-06-17 13:11:54, Info DISM DISM.EXE:

    2024-06-17 13:11:54, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->

    2024-06-17 13:11:54, Info DISM DISM.EXE:

    2024-06-17 13:11:54, Info DISM DISM Provider Store: PID=1056 TID=2020 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect

    2024-06-17 13:11:54, Info DISM DISM Provider Store: PID=1056 TID=2020 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider

    2024-06-17 13:11:54, Info DISM DISM Provider Store: PID=1056 TID=2020 Disconnecting Provider: FfuManager - CDISMProviderStore::Internal_DisconnectProvider

    2024-06-17 13:11:54, Info DISM DISM Provider Store: PID=1056 TID=2020 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider

    2024-06-17 13:11:54, Info DISM DISM Provider Store: PID=1056 TID=2020 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider

    2024-06-17 13:11:54, Info DISM DISM Provider Store: PID=1056 TID=2020 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider

    2024-06-17 13:11:54, Info DISM DISM Provider Store: PID=1056 TID=2020 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider

    2024-06-17 13:12:29, Info DISM PID=1740 TID=1736 Scratch directory set to 'C:\Users\jojon\AppData\Local\Temp\'. - CDISMManager:DISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :put_ScratchDir

    2024-06-17 13:12:29, Info DISM PID=1740 TID=1736 DismCore.dll version: 10.0.19041.3636 - CDISMManager::FinalConstruct

    2024-06-17 13:12:29, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log

    2024-06-17 13:12:29, Info DISM PID=1740 TID=1736 Successfully loaded the ImageSession at "C:\Windows\system32\Dism" - CDISMManager::LoadLocalImageSession

    2024-06-17 13:12:29, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log

    2024-06-17 13:12:29, Info DISM DISM Provider Store: PID=1740 TID=1736 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger

    2024-06-17 13:12:29, Info DISM DISM Provider Store: PID=1740 TID=1736 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect

    2024-06-17 13:12:29, Info DISM DISM Provider Store: PID=1740 TID=1736 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect

    2024-06-17 13:12:29, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log

    2024-06-17 13:12:29, Info DISM DISM Manager: PID=1740 TID=1736 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession

    2024-06-17 13:12:29, Info DISM DISM.EXE:

    2024-06-17 13:12:29, Info DISM DISM.EXE: <----- Starting Dism.exe session ----->

    2024-06-17 13:12:29, Info DISM DISM.EXE:

    2024-06-17 13:12:29, Info DISM DISM.EXE: Host machine information: OS Version=10.0.19045, Running architecture=amd64, Number of processors=8

    2024-06-17 13:12:29, Info DISM DISM.EXE: Dism.exe version: 10.0.19041.3636

    2024-06-17 13:12:29, Info DISM DISM.EXE: Executing command line: dism /Apply-Image /ImageFile:E:\RECOVERY\sources\Reconstruct.WIM /Index:1 /ApplyDir:C:\

    2024-06-17 13:12:29, Info DISM DISM Provider Store: PID=1740 TID=1736 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection

    2024-06-17 13:12:29, Info DISM DISM Provider Store: PID=1740 TID=1736 Connecting to the provider located at C:\Windows\system32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider

    2024-06-17 13:12:29, Warning DISM DISM Provider Store: PID=1740 TID=1736 Failed to load the provider: C:\Windows\system32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

    2024-06-17 13:12:29, Info DISM DISM Provider Store: PID=1740 TID=1736 Connecting to the provider located at C:\Windows\system32\Dism\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider

    2024-06-17 13:12:29, Info DISM DISM Provider Store: PID=1740 TID=1736 Connecting to the provider located at C:\Windows\system32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider

    2024-06-17 13:12:29, Info DISM DISM Provider Store: PID=1740 TID=1736 Connecting to the provider located at C:\Windows\system32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider

    2024-06-17 13:12:29, Info DISM DISM Provider Store: PID=1740 TID=1736 Connecting to the provider located at C:\Windows\system32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider

    2024-06-17 13:12:29, Warning DISM DISM Provider Store: PID=1740 TID=1736 Failed to load the provider: C:\Windows\system32\Dism\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

    2024-06-17 13:12:29, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.

    2024-06-17 13:12:29, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider

    2024-06-17 13:12:29, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager

    2024-06-17 13:12:29, Info DISM DISM.EXE: Attempting to add the commands from provider: FfuManager

    2024-06-17 13:12:29, Info DISM DISM.EXE: Succesfully registered commands for the provider: FfuManager.

    2024-06-17 13:12:29, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager

    2024-06-17 13:12:29, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.

    2024-06-17 13:12:29, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager

    2024-06-17 13:12:29, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager

    2024-06-17 13:12:29, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.

    [1740] [0x80070020] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2627): The process cannot access the file because it is being used by another process.

    [1740] [0x8144012d]

    2024-06-17 13:12:29, Warning DISM DISM WIM Provider: PID=1740 [RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2633) -> Error restoring directory metadata] C:\Windows (HRESULT=0x80070020) - CWimManager::WimProviderMsgLogCallback

    [1740] [0x80070020] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2793): The process cannot access the file because it is being used by another process.

    [1740] [0x8144012d]

    2024-06-17 13:12:29, Warning DISM DISM WIM Provider: PID=1740 [RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2803) -> Error restoring directory metadata - ignoring failure] C:\Windows (HRESULT=0x80070020) - CWimManager::WimProviderMsgLogCallback

    [1740] [0x80070020] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2627): The process cannot access the file because it is being used by another process.

    [1740] [0x8144012d]

    2024-06-17 13:12:29, Warning DISM DISM WIM Provider: PID=1740 [RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2633) -> Error restoring directory metadata] C:\Windows\System32 (HRESULT=0x80070020) - CWimManager::WimProviderMsgLogCallback

    [1740] [0x80070020] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2793): The process cannot access the file because it is being used by another process.

    [1740] [0x8144012d]

    2024-06-17 13:12:29, Warning DISM DISM WIM Provider: PID=1740 [RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2803) -> Error restoring directory metadata - ignoring failure] C:\Windows\System32 (HRESULT=0x80070020) - CWimManager::WimProviderMsgLogCallback

    [1740] [0x80070005] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2627): Access is denied.

    [1740] [0x8144012d]

    2024-06-17 13:12:32, Warning DISM DISM WIM Provider: PID=1740 [RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2633) -> Error restoring directory metadata] C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe (HRESULT=0x80070005) - CWimManager::WimProviderMsgLogCallback

    [1740] [0x80070005] RestoreDirMetadataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2793): Access is denied.

    [1740] [0x80070005] WimCreateDirectoryDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(3355): Access is denied.

    [1740] [0xc144012e]

    2024-06-17 13:12:32, Error DISM DISM WIM Provider: PID=1740 C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe (HRESULT=0x80070005) - CWimManager::WimProviderMsgLogCallback

    [1740] [0x80070005] RestoreDirTreeDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(3606): Access is denied.

    [1740] [0x80070005] WIMApplyImageInternalDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(777): Access is denied.

    2024-06-17 13:12:32, Error DISM DISM WIM Provider: PID=1740 TID=1736 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:967 - CWimManager::Apply(hr:0x80070005)

    2024-06-17 13:12:32, Error DISM DISM Imaging Provider: PID=1740 TID=1736 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:2829 - CGenericImagingManager::InternalCmdWimApply(hr:0x80070005)

    2024-06-17 13:12:32, Error DISM DISM Imaging Provider: PID=1740 TID=1736 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:537 - CGenericImagingManager::ExecuteCmdLine(hr:0x80070005)

    2024-06-17 13:12:32, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.

    2024-06-17 13:12:32, Info DISM DISM.EXE:

    2024-06-17 13:12:32, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->

    2024-06-17 13:12:32, Info DISM DISM.EXE:

    2024-06-17 13:12:32, Info DISM DISM Provider Store: PID=1740 TID=1736 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect

    2024-06-17 13:12:32, Info DISM DISM Provider Store: PID=1740 TID=1736 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider

    2024-06-17 13:12:32, Info DISM DISM Provider Store: PID=1740 TID=1736 Disconnecting Provider: FfuManager - CDISMProviderStore::Internal_DisconnectProvider

    2024-06-17 13:12:32, Info DISM DISM Provider Store: PID=1740 TID=1736 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider

    2024-06-17 13:12:32, Info DISM DISM Provider Store: PID=1740 TID=1736 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider

    2024-06-17 13:12:32, Info DISM DISM Provider Store: PID=1740 TID=1736 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider

    2024-06-17 13:12:32, Info DISM DISM Provider Store: PID=1740 TID=1736 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
     
    georgian panainte, Nov 15, 2024 at 6:09 AM
    #2
  3. DISM on build 14332 fails to apply image that has bash installed: Access Denied C:\Users\Eric\AppData\Local\lxss\rootfs\usr\share\perl

    I made a WIM with DISM of build 14332 on my computer. Trying to apply this image on my computer, DISM /Apply-Image fails with an Access Denied error. This happens applying the bash rootfs folder in the local AppData in the user profile.

    I managed to open the WIM file with 7-zip and remove the rootfs folder, after which it succeeded to apply the image.

    But since 7-zip needs to write the WIM from scratch as a temporary file, excluding the removed files meanwhile and then renaming the newly created WIM file afterwards, and happened to do it in-place on the same disk without an option to do it differently,
    that took several hours and almost 250GB disk space in total to complete.

    The DISM log shows the following:

    2016-05-06 18:03:21, Info DISM DISM Provider Store: PID=1104 TID=1684 Getting Provider GenericImagingManager - CDISMProviderStore::GetProvider

    2016-05-06 18:03:21, Info DISM DISM Provider Store: PID=1104 TID=1684 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

    2016-05-06 18:03:21, Info DISM DISM Provider Store: PID=1104 TID=1684 Getting Provider WimManager - CDISMProviderStore::GetProvider

    2016-05-06 18:03:21, Info DISM DISM Provider Store: PID=1104 TID=1684 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

    [1104] [0x80070005] RestoreFileNodeListDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2122): Access is denied.

    [1104] [0xc144012e]

    2016-05-06 18:06:42, Error DISM DISM WIM Provider: PID=1104 C:\Users\Eric\AppData\Local\lxss\rootfs\usr\share\perl\5.18.2\Pod\Checker.pm (HRESULT=0x80070005) - CWimManager::WimProviderMsgLogCallback

    [1104] [0x80070005] RestoreFilesCallbackDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(3638): Access is denied.

    [1104] [0x80070005] EnumImageDataEntriesDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(1047): Access is denied.

    [1104] [0x80070005] GetImageErrorCodeDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2833): Access is denied.

    [1104] [0x80070005] GetImageErrorCodeDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(2833): Access is denied.

    [1104] [0x80070005] ImageWorkerThreadDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(187): Access is denied.

    [1104] [0x80070005] ImageWorkerThreadDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(187): Access is denied.

    [1104] [0x80070005] RestoreAllDataDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(985): Access is denied.

    [1104] [0x80070005] WIMApplyImageInternalDISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 :(704): Access is denied.

    2016-05-06 18:06:42, Error DISM DISM WIM Provider: PID=1104 TID=1684 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:1046 - CWimManager::Apply(hr:0x80070005)

    2016-05-06 18:06:43, Error DISM DISM Imaging Provider: PID=1104 TID=1684 base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:2500 - CGenericImagingManager::InternalCmdWimApply(hr:0x80070005)

    2016-05-06 18:06:43, Error DISM DISM Imaging Provider: PID=1104 TID=1684 base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:535 - CGenericImagingManager::ExecuteCmdLine(hr:0x80070005)

    2016-05-06 18:06:43, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.

    2016-05-06 18:06:43, Info DISM DISM.EXE:

    2016-05-06 18:06:43, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->

    2016-05-06 18:06:43, Info DISM DISM.EXE:
     
  4. DISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2

    error 0x80070005 access is denied

    error 0x80070005 access is denied
     
    Elizabeth Taiwo, Nov 15, 2024 at 6:09 AM
    #4
Thema:

DISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2

Loading...
  1. DISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2 - Similar Threads - DISM Fails Unmount

  2. DISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2

    in Windows 10 Gaming
    DISM Fails to Unmount WIM with "Access is Denied" Error 0x80070005 in Windows 11 24H2: Hello,I’m encountering an issue while using DISM to unmount a WIM image. Despite running the commands with administrative privileges, the unmount operation fails with the following errors:csharpCopy code[5104.4116] Received unmount request. [5104.4116] Unmount complete....
  3. error 0x80070005 access is denied

    in Windows 10 Gaming
    error 0x80070005 access is denied: error 0x80070005 access is denied https://answers.microsoft.com/en-us/windows/forum/all/error-0x80070005-access-is-denied/b6491657-4972-4856-a2aa-da6418ef5997
  4. error 0x80070005 access is denied

    in Windows 10 Software and Apps
    error 0x80070005 access is denied: error 0x80070005 access is denied https://answers.microsoft.com/en-us/windows/forum/all/error-0x80070005-access-is-denied/b6491657-4972-4856-a2aa-da6418ef5997
  5. error 0x80070005 access is denied

    in Windows 10 Drivers and Hardware
    error 0x80070005 access is denied: error 0x80070005 access is denied https://answers.microsoft.com/en-us/windows/forum/all/error-0x80070005-access-is-denied/b6491657-4972-4856-a2aa-da6418ef5997
  6. Windows Backup fails with non-specific "Access is denied. 0x80070005" error.

    in Windows 10 Installation and Upgrade
    Windows Backup fails with non-specific "Access is denied. 0x80070005" error.: Hi, I've been trying to figure this one out for over couple of months, and can't seem to nail it. I have a scheduled Windows Backup [a.k.a. Backup and Restore Windows 7], configured as backing up to a NAS Synology, With specified areas to back up instead of Win's...
  7. error 0x80070005 - access denied - network discovery

    in Windows 10 Network and Sharing
    error 0x80070005 - access denied - network discovery: I have been through most if not all of the messages regarding the subject error. I've tried every suggestion short of a reinstall of Windows. When I try and turn on Network discovery through Windows settings, network, it will not remain on. As such, I cannot seamlessly...
  8. InstallAssembly failed; code 0x80070005 Access is denied.

    in Windows 10 Installation and Upgrade
    InstallAssembly failed; code 0x80070005 Access is denied.: I recently was advised to upgrade my application for FTR to v6.5 due to the upcoming Windows 10 1903 upgrade. I did so. The install wizard uninstalled v6.2, then commenced installing 6.5 when i received the Access denied pop up. I have no idea how to fix this. Can anyone...
  9. UpdateAssistantWakeUpRun Error Access is Denied - 0x80070005

    in Windows 10 Installation and Upgrade
    UpdateAssistantWakeUpRun Error Access is Denied - 0x80070005: I have a weird problem. There is a task in the task scheduler that wakes up my PC every day at 1am. This task cannot be deleted or disabled. This task was there since I couldn't upgrade my windows 10 to 1803 for a long time. But recently someone helped me upgraded to...
  10. ipersistfile :: save failed code 0x80070005 access is denied

    in Windows 10 Software and Apps
    ipersistfile :: save failed code 0x80070005 access is denied: While trying to install ConvertXtoDVD I got this message near the end of the installation and the software will not work because of it I've ran sfc /scannow and I ran it in safe mode, it said it fixed files but I still get the error I've ran DISM which said there was...