Process Blocker is a command-line tool developed in C++ that allows users to block unwanted processes on their computer. With this tool, users can prevent certain applications from running, thus improving the performance of their system and preventing security threats.
Process Blocker offers the following features:
- Block any process by its executable name
- Unblock previously blocked processes
- View a list of currently blocked processes
- Set up a list of processes to automatically block on startup
Process Blocker can be installed by following these steps:
- Download the latest version of Process Blocker from the project's GitHub repository.
- Extract the contents of the downloaded ZIP file to a directory of your choice.
- Open a command prompt or terminal window and navigate to the directory where Process Blocker was extracted.
- Edit Process.txt file to either block or allow the process.
- Compile the file ad run the process-blocker executable file to start the program.
Process Blocker can be used by running the process-blocker executable file from a command prompt or terminal window. The following commands are available:
- Compilation - Compile the C++ file named as processBlocker.cpp
- Process.txt - Edit this file in the manner like.
- allow/block - first argument is either allow or block.
- allowlist - edit the next line of text as like this { process1.exe , process2.exe }. Add the file name as extension in the list.
- blocklist - edit the next line of txt file like this { process1.exe , process2.exe }. Add the file name as extension in the list.
- Execute - Run the complied file and block the process which you want.
To block a process named notepad.exe, run the following command:
for the txt file - Process.txt
allow
{ brave.exe , explorer.exe , Code.exe , WindowsTerminal.exe }
{ notepad.exe , wordpad.exe , Taskmgr.exe }
block
{ brave.exe , explorer.exe , Code.exe , WindowsTerminal.exe }
{ notepad.exe , wordpad.exe , Taskmgr.exe }
Open the windows terminal in the same folder and type -
$ g++ processBlocker.cpp -o processBlocker
$ ./processBlocker.exe
Contributions to Process Blocker are welcome!