If you’re a Windows 10 user, you may be wondering how to disable apps from running in the background. This is a common question because many people find it difficult to keep track of which apps are running in the background and which ones are not. There are a few ways to disable apps from running in the background on Windows 10. You can use the System32\cmd.exe command to disable all apps, or you can use the SetAppTimeout command to disable specific apps for a certain amount of time. To Disable All Apps on Windows 10:

  1. Open System32\cmd.exe and type “netstat -an | grep app_name” to see all active app connections on your computer.
  2. Type “netstat -an | grep app_name” again and press Enter to list all inactive app connections as well.
  3. Type “netstat -an | grep app_name” again and press Enter again to list all active app connections but exclude those that have been disabled by previous steps.
  4. Type “netstat -an | grep app_name” and hit Enter to list all active app connections and their status (connected, stopped, or paused). If any of the listed apps are enabled in step 3 (or if they have been disabled by previous steps), then they will be listed as enabled in step 4.

Have you ever had dozens of application windows open and wanted to just close them all? There’s a bunch of freeware apps that will close them all for you, but you don’t need extra software—and here’s how to do it.

What we’ll do is use the taskkill command with a bunch of custom arguments that specify to kill everything other than Explorer—but you can really customize it to anything you’d like, and keep in mind you should really read this carefully before proceeding.

Create the Nuke Everything Command

The first thing you’ll want to do is open up a command prompt and then type taskkill /? so you can see the syntax. Loads of options!

We’ll be using a couple of operators to accomplish what we want, including these two:

/F – force closes the applications (this is optional, keep in mind force closing will lose unsaved data) /FI – uses a filter, which is where the magic is

The filter command takes a set of arguments, which you can see in the help, but we’ll put them here as well:

Now that we’ve seen the possible arguments for the filters, it’s time to put them together. For example, if you wanted to kill every app by your username, you’d use taskkill like this to check where your username is “eq” (equal) to geek.

The only problem with this is that it would also kill explorer.exe and dwm.exe, so your whole screen would flash and the Start Menu would completely disappear—probably not what you want. Thankfully we can chain together multiple instances of the /FI argument to fix this problem, and we’ll use the IMAGENAME, which is the name of the executable, and the “ne” for “Not Equal” to the ones we don’t want to kill.

You can customize this even further if you’d like, adding extra processes that you don’t want to close into the list. It’s really up to you—just keep in mind that if you accidentally kill Explorer.exe you can always use Ctrl+Shift+Esc to open Task Manager, and restart the process from the File –> Run menu.

Note: if you don’t want to force kill the applications, you should remove the /F argument.

Create the Nuke Windows Shortcut

Once you’ve got the command figured out, it’s easy enough to create the shortcut—just right-click anywhere and choose New Shortcut. Once you’re there, drop the full command into the location box.

Give it an icon and put the shortcut somewhere, and you’re all done. Now you can kill everything in one shortcut, with no added software!

In case you’re wondering, you can find this icon in the Windows\System32\imageres.dll file.

Note: use of this shortcut should be done at your own risk, and if your computer explodes don’t blame us. We warned you.