The default Windows firewall in Windows 7 is pretty effective and simple to manage. It can recognize most well known applications/programs and can grant them access automatically which is convenient but sometimes a specific program or programs need to be blocked permanently from accessing internet for various reasons.
Here is how to do that :
Open Control Panel > Windows Firewall.
Select...