# DISM Cleanup Image Pending Operations

## DISM Cleanup Image Pending Operations

I'll write more on this topic in the next few days. The main takeaway is that you cannot run a

```
Dism /Image:<MountPath> /Cleanup-Image /StartComponentCleanup /ResetBase
```

if you have a Windows Capability with Install Pending

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LIK42GVjHYdfqf-Z6FX%2F-LIK4B2LmF1HVJe-8PUI%2F2018-06-28_15-28-02.png?generation=1532583272557016\&alt=media)

You can run Get-WindowsCapability on a Mounted Windows Image to see what the problem is

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LIK42GVjHYdfqf-Z6FX%2F-LIK4B2PdEnIE_FogJ5w%2F2018-06-28_15-31-10.png?generation=1532583265344327\&alt=media)

Last updated Thu Jul 26 2018 05:33:58 GMT+0000 (UTC)
