The fastest native solution seems to be Win + Tab and then middle-click the Apps to close them.
The best 3rd party solution I found is 7+ Taskbar Tweaker. You can configure it to close Tasks by middle-click to the tasks entry immediately in the task bar. Unfortunately, Taskbar Tweaker seems to be tailor-fit very closely to Windows and broke with every major update (Anniversary, Creator). The maintainer each time fixed it within some weeks, but meanwhile everything defaults to the old behavior of opening new instances instead of closing old ones.
Answer from Sascha on Stack ExchangeHow can I gracefully close all open apps except Explorer with one click or keystroke?
Is there a Windows 10 shortcut to force quit apps? (for programs that prevent Alt+F4)
Is there a way to force close an app in windows
How to close all background programs in Windows?
Videos
I'm doing some testing and frequently need to gracefully close all open apps either before running a program or rebooting. The batch file and PowerShell methods I've tried shut down chrome improperly, so I need to restore all open tabs. I want to simulate closing the app manually.
The main apps I typically have open are Chrome, Word, Titan Mail, Thunderbird, an image management program, Photoshop, possibly other Office or Adobe programs, and Notepad.
The fastest native solution seems to be Win + Tab and then middle-click the Apps to close them.
The best 3rd party solution I found is 7+ Taskbar Tweaker. You can configure it to close Tasks by middle-click to the tasks entry immediately in the task bar. Unfortunately, Taskbar Tweaker seems to be tailor-fit very closely to Windows and broke with every major update (Anniversary, Creator). The maintainer each time fixed it within some weeks, but meanwhile everything defaults to the old behavior of opening new instances instead of closing old ones.
In my case, I simply open the task manager, then in the tab Application, I select the Apps to close, then I click the End task button.