Forum posts for taskmgr.exe

Create batch file to block specific programs

How to create an autorun batch file to block/close portable programs?

For example:
if (xxx.exe is running)
then (close it immediately OR block access to internet)

Thank you.

I have tested this batch command:

@echo off
:TOP
tasklist /FI 'IMAGENAME eq taskmgr.exe' /FO | grep taskmgr.exe
if ERRORLEVEL == 0 taskkill /f /im taskmgr.exe
GOTO TOP


but it's failed to run, what is the problem?

View complete forum thread with replies

Other posts related to taskmgr.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

Access to different versions of taskmgr.exe for analysis
Is it possible to add functionality to Vista/7 taskmgr.exe?
Why are SYSTEM and taskmgr.exe taking up 100% of my CPU? [closed]
How to #define hard coded strings when L prefix (Visual C++ compiler) is used?
OutOfMemoryException when I hit 1GB
Create batch file to block specific programs

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.