ns870152 Posted September 30, 2013 Share Posted September 30, 2013 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] [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 Quote Link to comment Share on other sites More sharing options...
ns870152 Posted October 3, 2013 Author Share Posted October 3, 2013 Can anyone help me ? Quote Link to comment Share on other sites More sharing options...
nanoman Posted October 3, 2013 Share Posted October 3, 2013 (edited) see this especially answers http://stackoverflow.com/questions/15606180/block-exe-in-windows-firewall-with-context-menu---------------------------------------------------------------------------------------------------------------------------------------------------alternativesI dont Know If this help as alternative same Windows Firewall Control - Managing Windows Firewall was never easierhttp://www.binisoft.org/wfc.phpWindows Firewall Control 4.0.2.0 full version http://www34.zippyshare.com/v/83508399/file.html √ 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 alsohttp://www.sordum.org/8125/firewall-app-blocker-fab-v1-3/ Edited October 3, 2013 by nanoman Quote Link to comment Share on other sites More sharing options...
ns870152 Posted October 3, 2013 Author Share Posted October 3, 2013 Thank you, but I want use a reg, not a programIf must use a program, I'd better use Windows Firewall Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.