While you may want most programs on your laptop to be connected, there are occasions when you’ll need to know how to stop Windows 10 apps from connecting to the internet — for example, if you want to prevent automatic updates of a particular app, or block ads on an app that works perfectly fine offline. Whatever your intention, here’s the best way to block programs from connecting to the internet in Windows 10.

How to Block a Program From Connecting to the Internet in Windows 10

1. Type “Windows Defender Firewall” into the Windows 10 search bar and click on the first result.

1. windows defender firewall2. Look toward the left hand-side of the app and click on Advanced Settings.

2. advanced settings

3. Once the Advanced Security app is open, click on Outbound Rules, located on the left side.

3. outbound rules

4. Now click on New Rule, which will appear on the right-hand side.

4. new rule

5. The New Outbound Rule Wizard will open; select Program and continue.

5. program

6. You’ll have to click This Program Path and hit Browse to select the program you want to block.

6. this program path

7. In the next screen, simply select Block The Connection.

7. block the connection

8. You’ll be asked when you want this rule to apply. If they’re not all selected already, click Domain, Private and Public.

8. domain, private, public rules

9. All you have to do now is name the rule, add a description if you want, and hit Finish.

9. name the rule

Now you know how to block programs from connecting to the internet in Windows 10. If you’re looking for other helpful tips, take a tour through our Windows 10 guide, as well as our numerous Out of the Box Tips to use when you buy a laptop.