Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase fails

When i try to run the utility I get this error

C:\WINDOWS\system32>Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
Deployment Image Servicing and Management tool
Version: 6.3.9600.16384
Image Version: 6.3.9600.16384
[============               22.0%                          ]
Error: 1726
The remote procedure call failed.
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

013-11-13 15:20:08, Info                  DISM   DISM Package Manager: PID=5468 TID=1156 CBS session options=0x10402100! - CDISMPackageManager::Internal_Finalize
2013-11-13 15:20:19, Error                 DISM   DISM Package Manager: PID=5468 TID=1156 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800706be)
2013-11-13 15:20:19, Error                 DISM   DISM Package Manager: PID=5468 TID=1156 Failed processing package changes - CDISMPackageManager::StartComponentCleanup(hr:0x800706be)
2013-11-13 15:20:19, Error                 DISM   DISM Package Manager: PID=5468 TID=1156 Failed to start component cleanup. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x800706be)
2013-11-13 15:20:19, Error                 DISM   DISM Package Manager: PID=5468 TID=1156 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800706be)
2013-11-13 15:20:19, Info                  DISM   DISM Package Manager: PID=5468 TID=1156 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
2013-11-13 15:20:19, Error                 DISM   DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800706BE

013-11-13 15:31:07, Info                  CBS    Scavenge: Start CSI
2013-11-13 15:31:07, Info                  CSI    00000003@2013/11/13:11:31:07.225 CSI Transaction @0xf34e20280 initialized for deployment engine {d16d444c-56d8-11d5-882d-0080c847b195} with flags 00000002 and client id [10]"TI6.0_0:0/"

2013-11-13 15:31:07, Info                  CBS    Scavenge: Begin CSI Store
2013-11-13 15:31:07, Info                  CSI    00000004 Performing 1 operations; 1 are not lock/unlock and follow:
  (0)  Scavenge (8): flags: 00000067
2013-11-13 15:31:07, Info                  CSI    00000005 Scavenge: Begin processing lists
2013-11-13 15:31:07, Info                  CSI    00000006@2013/11/13:11:31:07.225 Rebasing - ignore all menu options
2013-11-13 15:31:07, Info                  CSI    00000007 Scavenge: Begin planning
2013-11-13 15:31:09, Info                  CSI    00000008 Scavenge: Planning Complete.
The following actions will be performed:
    Regeneration Candidates: 0
    Removal Candidates: 0
    Superseded/LDR (Delta Compression) Candidates: 0
    NTFS Compression Candidates: 0
    Null-Delta Compression Candidates:
        Mutable file Candidates: 0
        Boot-Recovery Candidates: 0
    Deletion Candidates (Non Driver): 29
    Driver Deletion Candidates: 9

2013-11-13 15:31:10, Info                  CSI    00000009 Creating NT transaction (seq 1), objectname [6]"(null)"
2013-11-13 15:31:10, Info                  CSI    0000000a Created NT transaction (seq 1) result 0x00000000, handle @0x3c8
2013-11-13 15:31:10, Info                  CSI    0000000b Unable to move file to pendingDeletes. Filename: [l:16{8}]"dxgi.dll". Path: [ml:216{108},l:214{107}]"\SystemRoot\WinSxS\x86_microsoft-windows-directx-dxgi_31bf3856ad364e35_6.3.9600.16419_none_cf6eefa639e90749".
2013-11-13 15:31:10, Info                  CBS    Failed to FinalizeEx using worker session [HRESULT = 0x800706be]

 

Question Info


Last updated June 24, 2019 Views 52,303 Applies to:
Answer
Answer
I've found the problem with the help of Process Explorer: it is MSI afterburner + riva statistics server, they have locked the "dxgi.dll" file (found in CBS.log) in system32 folder. So I've exited the apps and the process went fine.

96 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.