Q. How can I quickly find any WIM files that are mounted using the Deployment Image Servicing and Management (DISM) tool?

A. DISM has a great /get-mountedwiminfo option that gives basic information about any mounted WIM, including the folder the WIM is mounted at and if it's writable. This is all the info you need to dismount it.