Jump to content

Block a software from internet access by one click


Ehsan

Recommended Posts

one way to block a software from Internet access is to add the url of the destination site to the Host file of Windows;

another way is to use personl firewalls

and this is cool...

Copy/paste these statements in a notepad file and save it as .REG and name it Firewall.reg for example;

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\""

Double click on it and yes/Ok....

now you have 2 added options in your right click menu:

[Add To Firewall]

and

[Delete From Firewall]

Use first one to block and 2nd to unblock your software;

To remove these 2 options from right click menu, make a .REG file with these statements_name it UninstallFirewall.reg for example

Windows Registry Editor Version 5.00

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

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

BUT before Merging UninstallFirewall.reg, make sure you have unlocked all softwares that you locked by this way :)

Link to comment
Share on other sites


  • Replies 8
  • Views 2.9k
  • Created
  • Last Reply

moved to guides & tutorials forum.

very useful information. :rolleyes:

Link to comment
Share on other sites


Very handy .reg files, thanks buddy! ... for now I am using Internet lock. ;)

+1

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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