If you’re anything like me, you have several dozen Putty sessions open at any given time.
At some point, they time-out and become “inactive”.
Right clicking the group on the taskbar and trying to close all the sessions fails.. Which normally leaves you to close them one at a time – Tedious!
Running the below in an elevated cmd prompt, is a faster route. I’d recommend saving it as a .bat on your desktop 😉
taskkill /f /im putty.exe /T