There is two visual studio solutions opened, both have discreete names but under the umbrella of Microsoft Visual Studio 2019 name. How can I specifically close one, without closing another?

Using TASKKILL /fi "IMAGENAME eq win32*" produce no result.

enter image description here

  • Why do you want to kill a Visual Studio instance using a cmd?
    – Seth
    Commented Oct 14, 2019 at 9:16

1 Answer 1


Or if you want to do it on the basis of Solution opened, which is usually the title of window:

taskkill /FI "WINDOWTITLE eq win32*"

For more filter options check taskkill help.

To see all values check:

tasklist /FI "WINDOWTITLE eq win32*" /v

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .