Jump to content

Program that attempts taskkill on all running background applications?

Does anyone know of a portable program that attempts to taskkill all running background applications?

 

I don't want to create a batch file myself because new programs will run in the background over time that would need adding to it, so a program that kills all current applications is better in my circumstances.

Link to post
Share on other sites

5 hours ago, ItsTheDuckAgain said:

what for? most services can be deactivated so they don't even start. Same goes for auto start applications.

If you kill ALL background applications Windows becomes unusable pretty fast :-)

Sorry, I meant user tasks only.

Link to post
Share on other sites

Well you can in powershell (as admin mode) with this ugly looking one-line I just tested. It ends all user processes that are not system / other system process that are required to run.

It could probably be better, and made even better/more portable if complied with a real language, but my attention span is starting to fade & it works.

 

Get-Process -IncludeUserName | where {$_.username -notlike "*SYSTEM" -and $_.username -notlike "*NETWORK SERVICE" -and $_.username -notlike "*LOCAL SERVICE" -and $_.username -notlike $null -and $_.username -notlike "*UMFD*" -and $_.username -notlike "*DWM*"} | Stop-Process -Force

 

Link to post
Share on other sites

21 hours ago, kingmustard said:

Sorry, I meant user tasks only.

There's a lot of Windows services that should be running that run under your user account.

 

So the question I ask is why do you want this?

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×