

Open multiple Windows Explorer windows, and then click on that desktop shortcut to close them. Now there will be a shortcut on the desktop as below. That opens the window below where you should enter the following: C:\Enter\Folder\Location\nircmd.exe win close class “CabinetWClass.” Of course, you must delete enter, folder and location from that and replace it with the actual location of the extracted NirCmd folder location.Ĭlick Next, give the shortcut a suitable title and then select Finish. Now right-click on the Windows desktop, and select New > Shortcut from the context menu. Then select a destination for the extracted folder and click Extract. As it saves as a Zip file, you should extract it by right-clicking the file and selecting Extract All. To add it to your software library, click on the Download NirCmd option at the bottom of this page. The NirCmd software is available for most versions of Windows. Although Windows doesn’t include options to set up custom keyboard shortcuts, the NirCmd command-line utility software does the trick. For a shortcut to close all those Windows Explorer windows, you can set up a hotkey that will close them. It's also been officially updated for Windows 11, whereas SuperF4 hasn't.When browsing files and folders, you might open multiple Windows Explorer windows. ProcessKO is a good option for advanced users, as it offers extras like the ability to kill a specific process after a set time interval. If none of the above options work for you, you'll find other third-party tools that can force-close Windows programs.


Other Third-Party Apps for Force-Closing Programs Then simply press Win + Alt + Q to kill the current window.ĪutoHotkey is a powerful program that's capable of doing pretty much anything you dream up, so check out our AutoHotkey beginner's guide if you want to set up a more advanced script. Move the finished file into your Startup folder (enter shell:startup into the File Explorer address bar to get there) so it runs every time you log on. You'll need to download AutoHotkey, then create a script with this line: #!Q::WinKill,A This is a little overkill if you don't use AutoHotkey for anything else, but with the program's power, you're sure to find other uses for it. You can also create a basic AutoHotkey script to force-close windows. How to Force-Close Programs With AutoHotkey If you're looking for an alternative way to close a program because the Task Manager won't work, see our guide on fixing the "Task Manager has been disabled" error.
