Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

This Itechguide teaches you how to block a program from accessing the internet on Windows 10.

To stop a program from accessing the internet, you need to create a firewall rule. However, to create the firewall rule, you require the path to the program’s exe file. The first section in this Itechguide teaches you how to find the path to the exe of a program.

Step 1: Find the Path to the Exe for the Program

  1. Type the name of the program in the Windows 10 search box. In this example, I want to find the path to the exe for Skype for Business.
  2. Then, from the search results, right-click the program and select Open file location.
How to Block a Program from Accessing the Internet on Windows 10 - Find the Path to the Exe for the Program
  1. On the file location, right-click the program and select Properties. The program Properties will open the Shortcuts tab.
How to Block a Program from Accessing the Internet on Windows 10 - Find the Path to the Exe for the Program
  1. The full path to the exe for the program will be displayed in the Target field. Copy this path into a text file. You will require it for block the program from accessing the internet in the next step.

Step 2: Use a Windows Firewall Rule to Block the Program

Once you have the path to the exe for the program you want to block, follow the steps below to block a program from accessing the internet on Windows 10:

  1. Type control panel in the Windows 10 search. Then, from the search results, click Control Panel App.
How to Block a Program from Accessing the Internet on Windows 10
  1. On the top right of Control Panel, if the View by is set to Category, click the drop-down and select Small icons or Large icons.
How to Block a Program from Accessing the Internet on Windows 10
  1. Then, on the modified Control Panel view, click Windows Defender Firewall.
  1. On the left pane of Windows Defender Firewall, click Advanced settings.
How to Block a Program from Accessing the Internet on Windows 10
Now that you have opened Windows Defender Firewall with Advanced Security, the next step to block a program from accessing the internet on Windows 10 is to create an outbound firewall rule.
  1. On the left pane of Windows Defender Firewall with Advanced Security, click Outbound Rules.
How to Block a Program from Accessing the Internet on Windows 10
  1. Then, on the top right of Outbound Rules, click New Rule. The New Rule wizard will open.
  1. On the first screen of the New Rule wizard, select Program (selected by default) and click Next.
How to Block a Program from Accessing the Internet on Windows 10
  1. Then, on the Program screen, select This program path: (selected by default). Paste the path to the exe you copied in the last section – REMOVE the quotes in the exe path. To proceed to the next step, click Next.
  1. On the Action screen, select Block the connection (default selection).
How to Block a Program from Accessing the Internet on Windows 10
  1. Then, on the Profile screen, check ALL the options and click Next.
  1. Finally, to block a program from accessing the internet on Windows 10, give the firewall rule a name, an optional description and click Finish.

The rule will be created and activated. If you wish to disable the rule, right-click it and select Disable Rule.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Conclusion

You can use the steps covered in this Itechguide to block a program from accessing the internet on Windows 10! I hope you found this Itechguide helpful.

If you were able to fix your PC’s problem with the steps in this guide, click on “Yes” beside the “Was this page helpful” question below.

You may also express your thoughts and opinions by using the “Leave a Comment” form at the bottom of this page.

Finally, for more Windows 10 Itechguides, visit our WINDOWS 10 HOW-TO page. You may also find our Work from Home page very helpful.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Also popular on Amazon
9th & Vine Compatible Driver Pack Dvd for Windows 10, 8.1, 8, 7, Vista, XP in 32/64 Bit for Most Computers and Laptops
  • Drivers Pack for Internet, Wireless, Lan Ethernet, Video Graphics, Audio Sound, USB 3.0, Motherboard, Webcams, Bluetooth, Chipset. It will scan your Windows and install the latest drivers. No Internet connection is required. Perfect to update drivers, installing new hard drive or installing a missing driver. Supports Windows 10, 7, 8, 8.1, Vista, & XP in 64 & 32 Bit. In 42 Languages
Also popular on Amazon
9th & Vine Compatible with Windows 10 Home 32/64 DVD with Key Install, Recover, Restore, Repair DVD Plus Drivers Pack and Open Office 2023, 3PK
  • Win 10 Home 32/64 Bit Install Repair Recover & Restore DVD with key, plus Open Office 2023 & Drivers pack DVD. Win 10 Home can used to re-install the operating system or upgrade from Win 7 Home Premium & it is a great program to repair boot manager or black / blue screen or recover or restore your operating system

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.