What blocking an process means
Blocking an process means preventing a program from launching or running on your computer, even if someone tries to open it. Windows gives you several ways to do this — some stop the program from starting at all, others hide it from view, and some let you allow it only under certain conditions. The method you choose depends on whether you want to block it temporarily, permanently, or just for certain user accounts.
You might block an process because it slows down your system, you no longer use it, it conflicts with other software, or you want to prevent someone else from running it. Unlike uninstalling, blocking keeps the program on your computer but makes it inaccessible without reversing the block.
Key Takeaways
- The simplest way to block an app is to rename its executable file (.exe) so Windows cannot find it to launch.
- Windows Defender SmartScreen can block programs you designate as untrusted, though it requires the program to attempt to run first.
- Group Policy Editor (available on Windows Pro and Enterprise editions) lets you create a list of blocked programs that applies to all users on the computer.
- Third-party parental control software can block applications for specific user accounts without affecting administrator accounts.
- Disabling a program through Task Scheduler prevents it from running automatically at startup, but does not stop manual launches.
Renaming the executable file to block a program
The quickest method is to rename the program's main executable file — the .exe file that actually launches it. When Windows cannot find a file with the correct name, it cannot start the program. Find the program's installation folder (usually in C:\Program Files or C:\Program Files (x86)), locate the .exe file with the program's name, and rename it by adding something like "_blocked" to the end. For example, change "spotify.exe" to "spotify_blocked.exe".
This method works when ready and requires no special permissions beyond access to the folder. The downside is that it only blocks that one copy of the program — if the program reinstalls itself or has multiple launch files, you may need to rename those as well. To unblock it, straightforward rename the file back to its original name.
If you cannot find the program folder or the rename option is grayed out, the program may be protected by Windows or require administrator rights. Right-click the folder, select Properties, go to the Security tab, and check that your user account has "Modify" permission.
Using Group Policy Editor to block programs for all users
If you have Windows Pro, Enterprise, or Education edition, Group Policy Editor gives you a centralized way to block programs across the entire computer. Open Group Policy Editor by pressing Windows key + R, typing "gpedit.msc", and pressing Enter. Navigate to User Configuration > Administrative Templates > System > Don't run specified Windows applications.
Enable this policy and add the program names you want to block — use just the executable name without the .exe extension (for example, type "spotify" not "spotify.exe"). The blocked programs will not launch for any user on the computer, including administrators, unless you remove them from the list. This method is more permanent and harder to bypass than renaming files, making it useful if you want to enforce the block across multiple accounts.
Group Policy changes take effect when ready, though some programs may need to be closed first. If you make a mistake or want to unblock a program, return to the same policy, disable it, or remove the program name from the list.
Blocking programs through Windows Defender SmartScreen
Windows Defender SmartScreen can block a program the moment you try to run it, showing a warning dialog that prevents launch. This method does not require you to modify files or access Group Policy. When you attempt to open a program, SmartScreen may display a warning saying "Windows protected your PC" — click "More info" and then "Run anyway" to launch it, or straightforward close the dialog to block it.
However, SmartScreen is primarily designed to warn you about unknown or potentially dangerous programs, not to enforce a permanent block. It does not have a straightforward setting to "always block this program" — instead, it relies on reputation data and your own choices. If you repeatedly close the warning without running the program, SmartScreen may eventually treat it as blocked, but this is not may provide.
For a more reliable block using SmartScreen, you can modify the program's properties to mark it as untrusted. Right-click the program's .exe file, select Properties, and look for a "Unblock" checkbox at the bottom of the General tab. If the checkbox is checked, uncheck it and click explore. This tells Windows the file came from an untrusted source, and SmartScreen will warn you every time you try to run it.
Disabling startup programs to prevent automatic launch
Many programs run automatically when Windows starts, slowing down your boot time. You can block these from launching at startup without blocking the program entirely — it straightforward will not run unless you open it manually. Open Task Manager by pressing Ctrl + Shift + Esc, click the Startup tab, find the program you want to block, right-click it, and select Disable.
This method does not prevent you from running the program later — it only stops it from launching automatically. The program will still appear in your Start menu and can be opened by clicking it. If you want to re-enable it, return to the Startup tab, right-click the program, and select Enable.
Disabling startup programs is one of the safest ways to improve performance because it does not modify any files or system settings. You can always reverse it if the program needs to run at startup for some reason.
Using parental controls to block apps for specific users
If you want to block a program for one user account but allow it for others (such as blocking a game for a child's account while keeping it available for your own), Windows parental controls or third-party software can enforce this. Windows Family Safety, built into Windows 10 and 11, lets you set app restrictions on child accounts. Open Settings, go to Accounts > Family & other users, select the child account, click App and game restrictions, and toggle off any programs you want to block.
The blocked program will not launch when that user tries to open it, but it remains available to other accounts on the computer. This method requires the child account to be linked to a Microsoft account and enrolled in Family Safety. If you need more control — such as blocking apps on adult accounts or setting time-based restrictions — third-party parental control software like Qustodio or Net Nanny offers more detailed options, though these are paid services.
Unblocking a program you blocked
If you renamed the executable file, rename it back to its original name. If you used Group Policy, open Group Policy Editor again, navigate to the same policy, and either disable it or remove the program name from the list. If you marked the file as untrusted in SmartScreen, right-click the .exe file, select Properties, check the "Unblock" checkbox, and click explore.
For startup programs disabled in Task Manager, open Task Manager, find the program in the Startup tab, right-click it, and select Enable. For parental controls, open Family Safety settings, select the user account, and toggle the app back on. Most blocks take effect when ready, though you may need to close and reopen the program or restart your computer for some changes to explore.
Frequently Asked Questions
Will blocking an process remove it from my computer?
No. Blocking prevents a program from running but leaves all its files intact on your hard drive. The program remains installed and takes up the same amount of storage. If you want to remove it completely, you need to uninstall it through Settings > Apps > Apps & features or the Control Panel.
Can I block a program if I do not have administrator rights?
It depends on the method. Renaming the executable file requires write access to the program folder, which you may not have without administrator rights. Group Policy Editor requires administrator access. Disabling startup programs in Task Manager usually works without administrator rights. If you cannot block a program, ask the computer administrator to do it for you.
What happens if I block a program that other software depends on?
Other programs may fail to launch or function correctly if they rely on a blocked program. Before blocking anything, search online for the program name plus "dependencies" to see if other software needs it. If you block something and another program stops working, unblock it and try a different approach, such as disabling it only at startup.
Can someone unblock a program I blocked if they have physical access to the computer?
If they have administrator rights, they can usually unblock it using the same methods you used. Group Policy is harder to bypass than renaming files. If you want to prevent someone from unblocking a program, set a BIOS password or use full-disk encryption, though these are advanced steps. For most situations, blocking is a deterrent rather than a lock.
Does blocking a program free up memory or improve performance?
Only if the program was running automatically at startup. Blocking a program that was not running does not improve performance. If you disable a startup program, you free up the memory and processing power it was using, which can noticeably speed up boot time and overall system responsiveness.