Jump to content

[HELP] How to block an exe file with firewall by context menu


Recommended Posts

In Windows 7, to block an exe file with Windows firewall by context menu

can use this reg:

Windows Registry Editor Version 5.00


[HKEY_CLASSES_ROOT\exefile\shell\Add To Firewall]

[HKEY_CLASSES_ROOT\exefile\shell\Add To Firewall\command]

@="netsh advfirewall firewall add rule name=\"%1\" dir=out action=block program=\"%1\""

[HKEY_CLASSES_ROOT\exefile\shell\Delete From Firewall]

[HKEY_CLASSES_ROOT\exefile\shell\Delete From Firewall\command]

@="netsh advfirewall firewall delete rule name=\"%1\""

to remove context menu:

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\exefile\shell\Add To Firewall]

[-HKEY_CLASSES_ROOT\exefile\shell\Delete From Firewall]

How to do that in Windows 8.1 ?

Thank you in advance

Link to comment
Share on other sites

  • Replies 3
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

  • ns870152


  • nanoman


Top Posters In This Topic

see this especially answers




I dont Know If this help as alternative same

Windows Firewall Control - Managing Windows Firewall was never easier


Windows Firewall Control full version

√ Shell integration into the right click context menu of the executable files. :)

after installation just enable shell integration in options and you will get it



and this also


Edited by nanoman
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...