Restrict Windows7 execuatable from accessing Internet

ArealPerson

New member
Local time
12:46 PM
Messages
7
1. I have a Fresh Windows7 x64 Install
2. I want to be in control of my computer and restrict programs that I choose from accessing the internet.
e.g. There is a program (a single .exe filename) on my computer (in a directory I know) which must not
access the internet.
-------------------
I tried and verified the following steps but the program can still send and rcv. data using the internet.
I watch it using "Resource Monitor" and also observe it connecting on a port send and receive data.

I DID THIS BUT IT DOES NOT WORK...
----------------------------------------------------------------

  1. From start menu, search for "Firewall" and select Windows Firewall with Advanced Security
  2. Choose Outbound Rules from the tree at the left.
  3. Choose New Rule... from the menu at the right.
  4. New Outbound Rule Wizard opens. This is really easy now:
    a. Select Program as rule type.
    b. Select the program's EXE file.
    c. Choose Block the connection.
  5. Choose the profile this rule applies to. If in doubt, select all three.
  6. Add the descriptive name (you may want to delete this rule later).
----------------------------------------------------------------

The above process DOES NOT work.

QUESTION:

How can I prevent a program (I know the name and location of the program) on my computer from accessing the internet ?

Thank you,
 

My Computer

Computer Manufacturer/Model Number
ASUS
OS
Windows 7 x64
CPU
i7 920 2.67ghz Quad Core
Motherboard
ASUS P6T Deluxe V2 - motherboard - ATX - LGA1366 Socket
Memory
6 gigs
Graphics Card(s)
nVidia GTX 285 OC2
Sound Card
Onboard
Monitor(s) Displays
Dual Samsung 27 inch SyncMaster P2770
Hard Drives
4-Seagate 2TB (8 TB Total)
PSU
Antec 850watt Truepower Quattro
Case
A Big Antec Server Case
Cooling
Onboard Heat Pipes & Fans
The steps you posted are absolutely correct and the DO work, instructing Windows Firewall to block a specific program. I would check the following:

Verify that the intended program has a single exe file and no other process that is actually doing the connection (as the rule blocks a single exe, not anything called from it).
Check that no antivirus is interfering with the firewall. "Web scans" or something like that scans are techniques used to scan all the network traffic for viruses, but those are notorious for bypassing third party firewalls by their drivers. If you have one of those, try disabling it.
It goes without saying that Windows Firewall must be enabled. Or if you're using another firewall, your steps are meaningless and those must be reproduced in whatever program you're using.

For the matter of testing that the blocking is actually happening, try blocking your browser instead, as a test. It's quite easily to figure out if it works or not (Google will not open). After that is successful, applying the same procedure to your program will be easier.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
If you don't have any luck with Windows Firewall, I'd expect a lot more success with Private Firewall, which will pretty much name every process connecting to the internet, inbound or outbound, during it's 'learning/training' session after it's initial install...

It definitely errs on the side of popups to give you the option to "block" or "allow", which, I personally don't mind the little bit of interaction....

privacyware.com
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Home Premium 64 bit
CPU
AMD A4
Memory
5 GB
Graphics Card(s)
Integrated Radeon
Hard Drives
500 gb WD
Antivirus
360 TS
Browser
IE
It would be helpful to know what is accessing the internet that you don't want to access the internet.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home made Desktop
OS
Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
CPU
Intel i7-6800K @ 4.3
Motherboard
ASUS X-99 Deluxe II
Memory
Corsair Platinum 16 gig @2400
Graphics Card(s)
EVGA GTX 1070 OC
Monitor(s) Displays
Asus 27" LED LCD/VE278Q
Screen Resolution
1920-1080 or 1280-720 HDMI
Hard Drives
INTEL SSD 730-240 Gb Sata 3.0/
PSU
EVGA Platium 1200W
Case
Phanteks Luxe Tempered Glass 8 fans/ one radiator
Cooling
XSPC/ Water Cooled CPU
Keyboard
Das 4 Professional
Mouse
Logitech M705/MX Anywhere 2-S
Internet Speed
100 mbits
Antivirus
Microsoft Security Essentials/ Malwarebytes Premium 3.0/ SAS
Browser
I.E. 11 default/Firefox/ ISP Time Warner Cable/Spectrum
Other Info
LG BluRay Burner/
Sound system-KLipsch-THX/
Icy Dock ssd Hot Swap bays.
Back
Top