Top 5 Benefits of Installing a Simple Run Blocker

Written by

in

To block programs from running on Windows, you can create a custom script that modifies the system registry in exactly 5 steps. This method natively prevents specific executable files (like msedge.exe or video games) from launching.

Alternatively, if you are looking to download a pre-built tool, you can use the free utility called Simple Run Blocker from Sordum. If you want to build your own lightweight version from scratch using a standard Windows batch script, follow the steps below. How to Build Your Own Run Blocker

This method leverages Windows’ built-in RestrictRun registry policy to block specified software without downloading third-party applications. 1. Open Notepad Open the Start Menu. Type Notepad. Hit Enter to open a blank text document. 2. Paste the Registry Code

Copy and paste the following script exactly as shown into your text document:

@echo off reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer” /v DisallowRun /t REG_DWORD /d 1 /f reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun” /v “1” /t REG_SZ /d “apptoblock.exe” /f taskkill /f /im explorer.exe && start explorer.exe Use code with caution.

(Note: Replace apptoblock.exe with the exact file name of the program you wish to restrict, such as msedge.exe or steam.exe.) 3. Save as a Batch File

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *