- How to Block a Program with Windows Firewall in Windows 10 [MiniTool News]
- Summary :
- How to Block a Program with Windows Firewall Windows 10
- How to Temporarily Disable a Program
- Bottom Line
- ABOUT THE AUTHOR
- Fix problems that block programs from being installed or removed
- What it fixes
- Prevent Users From Running Certain Programs
- Option 1 – Apply Group Policy
- Option 2 – Apply Via Registry
- You Might Also Like
- Block or Unblock Programs in Windows Defender Firewall
- You Might Also Like
- Reader Interactions
- Comments
- Did this help? Let us know! Cancel reply
- Primary Sidebar
- Recent Posts
- Who’s Behind Technipages?
How to Block a Program with Windows Firewall in Windows 10 [MiniTool News]
By Alisa | Follow | Last Updated March 22, 2021
Summary :
Sometimes you may want to prevent an application from accessing the Internet. This tutorial gives a step-by-step guide to teach you how to block a program with Windows firewall in Windows 10.
Normally you would want your applications to have free access to the network. However, no matter for what reason, you wish to block a program from accessing the Internet, you can check the step-by-step guide below to block program with Windows firewall in Windows 10.
How to Block a Program with Windows Firewall Windows 10
Step 1. Open Windows Firewall window
You can click Start, and type Windows Defender Firewall. Choose the top result to open Windows Defender Firewall.
Step 2. Click Advanced settings
In the Windows Defender Firewall, you can click Advanced settings to enter into Windows Defender Firewall with Advanced Security app.
Step 3. Enter into Firewall rule creation window
Next you can click Outbound Rules in the left column and it will display all existing outbound Windows firewall rules in middle window.
In the right Outbound Rules Actions column, you can click New Rule option to open a new window in which you can create a new Firewall rule by your own.
Step 4. Create a new Firewall rule
In the new window, you can choose “What type of rule would you like to create?”
You can click Program to get ready to rule controls connections for a program, and click Next.
Step 5. Select the target program
You can tick This program path and click Browse to find path of the target program you want to block.
You can click This PC in the left column, select the hard drive, and open the program’s folder and select the target program.
If you open the program in Firewall, Windows will restructure the path of the file. You can avoid this problem by manually coping and pasting the file path to the box.
Click the address bar to copy the path of the program, and paste it to the box. Please do contain the app’s name and extension at the end of the path.
Step 6. Name the Firewall rule
You can click Next button three times, and input a name for the new Firewall rule. Then click Finish button to create the new Firewall rule to block the program with Windows Firewall in Windows 10 and prevent the program from accessing the Internet.
How to test internet speed? Here are the top 8 free internet speed test tools for you. Check the internet speed on your Windows 10 PC.
How to Temporarily Disable a Program
Step 1. You can click Start and type Windows Defender Firewall. Choose Windows Defender Firewall to open it.
Step 2. Click Allow an app or feature through Windows Firewall in the left column. And click Change settings.
Step 3. Find the target program you want to block. If you can’t find the program in the list, you can click Allow another app…-> Browse, locate the program and open it, select the program name and click Add to add it to the list.
Step 4. Make sure the target program is not checked in the left. If a program is not checked, then it means Windows Firewall already blocks the program. Finally, click OK to save the changes and prevent the program from running on your Windows 10 computer.
Bottom Line
With the step-by-step guide above, hope you can easily block a program with Windows Firewall in Windows 10 now.
ABOUT THE AUTHOR
Position: Columnist
Alisa is a professional English editor with 4-year experience. She loves writing and focuses on sharing detailed solutions and thoughts for computer problems, data recovery & backup, digital gadgets, tech news, etc. Through her articles, users can always easily get related problems solved and find what they want. In spare time, she likes basketball, badminton, tennis, cycling, running, and singing. She is very funny and energetic in life, and always brings friends lots of laughs.
Fix problems that block programs from being installed or removed
Note: Use these steps for Windows programs. If you’re having problems with an app you got from Microsoft Store, go to Fix problems with apps from Microsoft Store.
The Program Install and Uninstall troubleshooter helps you automatically repair issues when you’re blocked from installing or removing programs. It also fixes corrupted registry keys.
First, you’ll need to download the troubleshooter.
If you see the File Download box when you start downloading, select Run or Open.
The troubleshooter provides steps for you to follow. If a program isn’t listed in the uninstall options, you’ll be asked for that program’s product code. To access the code, you’ll need a tool for reading MSI files—which is typically available to IT professionals. You’ll find the product code in the property table of the MSI file.
What it fixes
The troubleshooter helps fix problems that:
Corrupt registry keys on 64-bit operating systems.
Corrupt registry keys that control the update data.
Prevent new programs from being installed.
Prevent existing programs from being completely uninstalled or updated.
Block you from uninstalling a program through Add or Remove Programs (or Programs and Features) in Control Panel.
If you’re trying to remove malware, you can use Windows Security (or another antivirus tool), or you can use the Windows Malicious Software Removal tool.
Prevent Users From Running Certain Programs
By Mitch Bartlett 16 Comments
If you’re a system administrator, you may have problems with your users running programs like iTunes or BitTorrent in your Microsoft Windows environment? If you want to stop such programs from running, here’s how to use Group Policy or the Registry to prevent users from running certain programs.
Option 1 – Apply Group Policy
- Hold down the Windows Key and press “R” to bring up the Run dialog box.
- Type “gpedit.msc“, then press “Enter“. The Group Policy Editor appears.
- Expand “User Configuration” > “Administrative Templates“, then select “System“.
- Open the policy “Don’t run specified Windows applications“.
- Set the policy to “Enabled“, then select “Show…”
- Add the programs you would like to prevent the user from running to the List of disallowed applications. Use the name of the application launching file such as “itunes.exe“, “bittorent.exe“, etc.
Option 2 – Apply Via Registry
- Hold down the Windows Key and press “R” to bring up the Run dialog box.
- Type “regedit“, then press “Enter“. The Registry Editor appears.
- Expand the following:
- HKEY_CURRENT_USER
- SOFTWARE
- Microsoft
- Windows
- CurrentVersion
- Policies
- Explorer
- Right-click a blank area on the right side and add a new “DWORD (32-bit) Value” named “DisallowRun“.
- Open “DisallowRun” and give it a Value of “1“.
- Right-click and add a new “Key“, also named “DisallowRun“. The folder is then created.
- Select the “DisallowRun” folder on the left pane.
- Right-click a blank area on the right side and add a new “DWORD (32-bit) Value” named “1“.
- Open “1” and give it a Value with the application you would like to block, like “itunes.exe“.
- Repeat steps 8 and 9 with any additional applications you wish to block, only increase the number used in the “DWORD (32-bit) Value” each time (2, 3, 4 ,5, etc)
So if I wanted to block two applications, “itunes.exe” and “bittorrent.exe“, my Registry Editor would look like this…
From now on the user will get a message “This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.” when he tries to run the programs you added.
I should mention that if the user is smart enough to rename the program file, they will be able to run the program again.
If this tutorial does not meet your needs, you might be able to use Applocker for your needs. Using Applocker allows you to deny access to applications based on publisher, path, or file hash. See more info about Applocker at Microsoft Technet.
You Might Also Like
Filed Under: Windows Tagged With: Windows 10
Block or Unblock Programs in Windows Defender Firewall
By Mitch Bartlett 15 Comments
In Microsoft Windows 10 you can set the Windows Defender Firewall to block or unblock certain applications. Here’s how.
- Select the “Start” button, then type “firewall“.
- Select the “Windows Defender Firewall” option.
- Choose the “Allow an app or feature through Windows Defender Firewall” option in the left pane.
- Unchecking the box to the left of the application name disallows it from accessing network resources, while checking it allows access. You can also check the boxes to the right of the name labeled “Private” or “Public” to allow and disallow the app on private or public networks respectively.
- If the program you wish to block or unblock is not listed, you can click the “Allow another app…” button to add it. Choose the application in the list and select “Add“. If the program is not in this list, use the “Browse…” button to select the program file manually.
You Might Also Like
Filed Under: Windows Tagged With: Windows 10
Reader Interactions
Comments
Susan Olson says
No…I am definitely not a pro…so a little more explanation would be great…say, what about gallery or settings….?
Susan Olon says
Could you give me an example as to what applications should NOT cross the firewall??
Any application can block any crack microsoft office .. can you help me how to block any crack microsoft on my laptop ..
Richard Jordan says
The firewall is blocking access to open areas of the United Nations website. Even public press releases. How do I uninstall Micrsoft Edge, if that is what is blocking me.
So, what’s the meaning of a checked box and an unchecked box?
I am trying to allow zoom to have access but firewall is blocking it.
I’m trying to block Microsoft family features so it won’t send me the annoying pop-ups about signing in.
I’m on the correct thing but I can’t uncheck the box beside it. If I click the box it does nothing,
Do we have any registry settings for the same.
Thanks, it worked
What if when you click “Allow another app” and then Choose the app in the directory and it gives an error about a possible virus?
Josh Everett says
Is there any way to do this without Administrator rights?
Settings for some pro, doesn’t change!
its somehow locked, as if a registry rule is overriding this windows rules.
Richard S Nye says
I have been trying for hours to Block “Fortnite” from my PC windows 10
Edwin Wetzel says
nothing helps. i’ve been trying to hook up my wifi scanner and i’ve been doing this for hours without any success. i’ve followed all the different procedures on line including going into the defender advanced settings and allowing file and printer sharing rules and still does not work.
What if you cant click the “Allow the app or feature through windows defender firewall”?
Mike Bading says
Mitch,
First, I hope this note finds all well with you and yours.
Second, thank you for your effort here.
Third, my question(s):
What do you do when Windows Defender keeps resetting Microsoft Apps you have unchecked/deselected in Windows 10 Home or Windows 10 Pro?
Example: Let’s say I wish to block Cortana (or any other app). I then follow your instructions here and uncheck/deselect all the boxes pertaining to Cortana and then close the window.
Let’s say, that for whatever reason(s), I return to the window in your example only to find that Windows has reset/unblocked Cortana without notice and without my permission. This would happen all the time in Win10Home; and I would like to know if this would happen in Win10Pro and what to do about it if it does.
Respectfully,
Mike Bading
Did this help? Let us know! Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Primary Sidebar
Recent Posts
Who’s Behind Technipages?
My name is Mitch Bartlett. I’ve been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.
Follow me on Twitter, or visit my personal blog.