Please block the .exe file with Firewall

  • MiniTool
  • MiniTool News Center
  • How to Block a Program with Windows Firewall in Windows 10

By Alisa | Follow | Last Updated September 14, 2022

Please block the .exe file with Firewall

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.

On This Page :

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.

You can also click Start, type control panel and choose the top result to open Windows Control Panel. Then click System & Security -> Windows Defender Firewall 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.

Please block the .exe file with Firewall

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.

Please block the .exe file with Firewall

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.

Please block the .exe file with Firewall

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.

Please block the .exe file with Firewall

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.

Related: 3 Ways to Disable Windows Defender Antivirus on Windows 10

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.

Please block the .exe file with Firewall

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

Please block the .exe file with Firewall

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.

How do I block all EXE files in my firewall?

Open the Run window (Windows key + R)..
Type "WF. ... .
Click on Outbound Rules in the left sidebar..
Select New Rule in the right sidebar..
Check if Program selected, click on Next..
Browse and locate your executable. ... .
Select Block the connection..

How do I block an exe in Windows 10 firewall?

How to Block a Program with Windows Firewall Windows 10.
Open Windows Firewall window. You can click Start, and type Windows Defender Firewall..
Click Advanced settings. ... .
Enter into Firewall rule creation window. ... .
Create a new Firewall rule. ... .
Select the target program. ... .
Name the Firewall rule..

How do I block an EXE?

You can block exe using two ways : Using Path Rule: Based on the name of the executable and its file extension, all the versions of the specified application are blocked. Using Hash Value: After locating the executable on the server, the hash value of the executable is calculated.

How do I unblock exe in firewall Windows 10?

Allow apps through firewall on Windows 10.
Open Windows Security..
Click on Firewall & network protection..
Click the Allow an app through firewall option. ... .
Click the Change settings button..
Check the app or feature you want to allow through the Windows 10 firewall..