Jump to content

Block/Allow Internet Access


nightwolf

Recommended Posts

Sometime you just need to block internet access from a certain application in order to prevent your serial from being blacklisted or preventing any application from auto-updating or for any other reason, this is one way to do it, enjoy

1- Open Notepad

2- Copy & paste the following into notepad

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\exefile\shell]

[HKEY_CLASSES_ROOT\exefile\shell\Block Internet Access]

[HKEY_CLASSES_ROOT\exefile\shell\Block Internet Access\command]

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

[HKEY_CLASSES_ROOT\exefile\shell\Allow Internet Access]

[HKEY_CLASSES_ROOT\exefile\shell\Allow Internet Access\command]

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

3- Save it as Install.reg

4- Open Notepad again

5- Copy & paste the following into notepad

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\exefile\shell\Block Internet Access]

[-HKEY_CLASSES_ROOT\exefile\shell\Allow Internet Access]

6- Save it as Uninstall.reg

7- Now you have 2 files Install.reg & Uninstall.reg

Install.reg

Is used to integrate 2 options into right-click context explorer menu, the 2 options are Allow Internet Access & Block Internet Access. Double-click on Install.reg then click Yes to integrate them.

Uninstall.reg

Is used to uninstall the previously mentioned context explorer menu options. Double-click on Uninstall.reg then click Yes to remove integration.

How To Use It:

From now on, when you need to block internet access from an application just right-click on it and choose Block Internet Access. To allow internet access right-click on the application and choose Allow Internet Access

Note: When you want to uninstall the integration from the context explorer menu make sure that you allowed internet access for all application if previously you blocked it.

To download Install.reg and Uninstall.reg as 2 ready-to-use files use the 2 following links:

For Install.reg

Site: http://www.mediafire.com

Sharecode: /?e3vvbftd2l60dmt [?]

For Uninstall.reg

Site: http://www.mediafire.com

Sharecode: /?40y7pr3jwntf362 [?]

Link to comment
Share on other sites


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

I'm assuming this only works if I'm using windows firewall? or is this totally different?

Thanks btw. Will come in handy.

Link to comment
Share on other sites


Yup the reference is to Windows firewall.

Great tool for TuneUp Utilities, Windows 7 Manager and Adobe products.

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...