How do I block a specific program for Windows?

Things You Should Know

  • Open Firewall. Click Advanced settings > Outbound Rules > New Rule… > Next. Check "Program" > Next.
  • Select a program and copy its path. Click Open and paste in the copied path. Click Next three times, enter a name for your rule, and hit Finish.
  • To temporarily disable a program, open Firewall and click Allow an app or feature through Windows Firewall > Change settings. Check the box next to the program you wish to block and save.

  1. How do I block a specific program for Windows?

    1

    Open Start

    How do I block a specific program for Windows?

    . Click the Windows logo in the bottom-left corner of the screen.

  2. How do I block a specific program for Windows?

    2

    Open Firewall. Type in Windows Defender Firewall, then click Windows Defender Firewall at the top of the Start window.

    Advertisement

  3. How do I block a specific program for Windows?

    3

    Click Advanced settings. It's a link in the upper-left corner of the Windows Firewall window.

  4. How do I block a specific program for Windows?

    4

    Click Outbound Rules. This tab is on the left side of the window.

  5. How do I block a specific program for Windows?

    5

    Click New Rule…. It's in the upper-right corner of the window. Doing so opens a new window in which you'll create your Firewall rule.

  6. How do I block a specific program for Windows?

    6

    Check the "Program" box. You'll find this option at the top of the page.

  7. How do I block a specific program for Windows?

    7

    Click Next. It's at the bottom of the window.

  8. How do I block a specific program for Windows?

    8

    Select a program. Before you can block a program, you'll need to select the program in order to find its path:

    • Check the "This program path" box and click Browse....
    • Click This PC on the left side of the window.
    • Scroll down and double-click your hard drive's name (e.g., OS (C:)).
    • Double-click the Program Files folder.
      • If the program you want to block is elsewhere, go to the program's folder instead.
    • Find the folder for your program, then double-click the folder.
    • Select the program file by clicking it once.

  9. How do I block a specific program for Windows?

    9

    Copy the program's path. Click the address bar at the top of the window to select the path there, then press Ctrl+C to copy the path.

    • This is necessary because Windows will restructure the path to the file once you open the file in Firewall, thus breaking your outbound rule. You can bypass this problem by manually pasting in the path to the file.

  10. How do I block a specific program for Windows?

    10

    Click Open. It's in the bottom-right corner of the window.

  11. How do I block a specific program for Windows?

    11

    Replace the path before the app's name with your copied one. Highlight the path in the "This program path" text box all the way up to the last backslash before the app's name, then press Ctrl+V to paste in your copied path.

    • For example, if you wanted to block Chrome in the path "C:\Program Files\Google\Application\chrome.exe", you would select all but the "\chrome.exe" section and replace it with your copied text.
    • Leaving the app's name and extension at the end of the path is crucial, as failing to do so will leave you with a rule that doesn't block anything.

  12. How do I block a specific program for Windows?

    12

    Click Next three times. This button is in the lower-right side of the window on each page. Doing so takes you to the final page.

  13. How do I block a specific program for Windows?

    13

    Enter a name for your rule. Type whatever you want to name your rule into the top text box on the page.

    • For example, if you're blocking Google Chrome on your computer, you might name your rule "Chrome Block" here.

  14. How do I block a specific program for Windows?

    14

    Click Finish. It's at the bottom of the window. Doing so saves and applies your rule; from now until you delete or disable the rule, your program will not be able to access the Internet.

  15. Advertisement

  1. How do I block a specific program for Windows?

    1

    Open Start

    How do I block a specific program for Windows?

    . Click the Windows logo in the bottom-left corner of the screen or press the Win key.

  2. How do I block a specific program for Windows?

    2

    Open Firewall. Type in Windows Defender Firewall, then click Windows Defender Firewall at the top of the Start window.

    Advertisement

  3. How do I block a specific program for Windows?

    3

    Click Allow an app or feature through Windows Firewall. This link is at the top-left side of the Firewall window.

  4. How do I block a specific program for Windows?

    4

    Click Change settings. It's at the upper-right side of the window, just above the list of programs on your computer.

    • You may have to click Yes on a pop-up window after doing this before you can continue.
    • If you don't have administrator privileges on your computer, you won't be able to do this.

  5. How do I block a specific program for Windows?

    5

    Locate a program you wish to block. The list of programs in the middle of the page displays all programs that Windows Firewall is either blocking or allowing; you can scroll down it to find your specific program.

  6. How do I block a specific program for Windows?

    6

    Add a program to the list if necessary. If you can't find your program in the list, you can add it by doing the following:

    • Click Allow another app... below the list.
    • Click Browse....
    • Go to the location of the app or program file (usually an EXE) that you want to block.
    • Select the app or program file.
    • Click Open, then select the program's name in the window and click Add if it doesn't automatically add.

  7. How do I block a specific program for Windows?

    7

    Click the checkmark to the left of the program. Doing so should remove the checkmark, thereby blocking the program through Windows Firewall.

    • If there is no checkmark to the left of the program, Windows Firewall is already blocking the program.
    • Leave the two checkboxes to the right of the program ("Home/Work (Private)" and "Public") alone.

  8. How do I block a specific program for Windows?

    8

    Click OK. It's at the bottom of the window. This will both save your changes and prevent the program from connecting through the network (and/or from running properly on your computer).

  9. Advertisement

Add New Question

  • Question

    What do I do if the name of the program doesn't appear on the list?

    How do I block a specific program for Windows?

    Choose the option "Allow another app," and find your program on the computer.

  • Question

    I unchecked the program, but soon it is checked again. Why is that?

    How do I block a specific program for Windows?

    When the program is unchecked, it means it's only temporarily blocked. It will unblock after a certain period of time. If you wish to fully block it, remove it from the list.

  • Question

    How do I block cookies?

    How do I block a specific program for Windows?

    Cookies can be blocked via your browser settings. Additionally you can deselect the option to store cookies on your computer, and clear existing ones by getting a legitimate anti-malware program.

See more answers

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

Advertisement

  • Blocking a program through the Firewall is a good way to prevent persistent malware or bloatware from slowing down your computer.

    Thanks! We’re glad this was helpful.
    Looking for more fun ways to learn on wikiHow?
    Learn about yourself with Quizzes or try our brand new Train Your Brain word game.

  • If you don't know where the program you want to block is, you can find it by right-clicking the program's shortcut, clicking Open file location, and repeating until you get to the program's folder.

    Thanks! We’re glad this was helpful.
    Looking for more fun ways to learn on wikiHow?
    Learn about yourself with Quizzes or try our brand new Train Your Brain word game.

Thanks for submitting a tip for review!

Advertisement

  • Blocking a Windows program through Firewall may cause some Windows processes to stop working.

    Thanks! We’re glad this was helpful.
    Looking for more fun ways to learn on wikiHow?
    Learn about yourself with Quizzes or try our brand new Train Your Brain word game.

Advertisement

About This Article

Article SummaryX

1. Type "defender" into the Windows Search bar.
2. Click Windows Defender Firewall.
3. Click Advanced settings.
4. Click Outbound rules.
5. Click New rule.
6. Select Program and click Next.
7. Select the program.
8. Follow the on-screen instructions.
To learn how to temporarily disable a program, keep reading!

Did this summary help you?

Thanks to all authors for creating a page that has been read 1,809,021 times.

Is this article up to date?

How do I block certain programs?

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

How do I block a program in Windows?

How to Restrict Access to Specific Apps in Windows 10.
Go to “Start” in the bottom-left corner of your screen..
Click on the Settings icon on the left sidebar..
Scroll down until you find “Privacy.”.
Go to “App Permissions” on the left sidebar..
Scroll down until you find the app you want to restrict access to..

How do I restrict a program in Windows 10?

In Windows 10, use the Privacy page to choose which apps can use a particular feature. Select Start > Settings > Privacy. Select the app (for example, Calendar) and choose which app permissions are on or off. The Privacy page won't list apps with permission to use all system resources.

How do I temporarily block a program on my computer?

Click Add Session > Session Type > Session Time and then add Block Apps to block the desktop apps you previously selected. Add any other blocklists you wish to add and then select Start. Your blocked desktop apps will now hide or quit when you try to open them during your session.