Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: How to block one computer from LAN without blocking everyone else

29 Aug 2010   #11

Win 7 Pro x64

what an intriguing question! since you were using the name, i figured you could intentionally screw up netbios name resolution by adding your roomate's computer name to your LMHOSTS file and pointing it to however, in my tests, it didn't matter. besides, this wouldn't help you if he connected based on your IP address.

if you control your router that your roommate connects to, and he doesn't have your password, you can set a DHCP reservation for his MAC address. then, set it to some IP that you'd block in your firewall. but if he knows networking, all he'd have to do is statically set an address on his box... if you had some super funky subnet mask, it would be harder for him to guess at a valid address, but even that's a long shot.

i was also going to suggest using ARP to force his MAC address to go to an invalid address on your PC (to intentionally confuse networking), but the problem is that you can have a single MAC pointing to multiple addresses. even if you delete the current instance, once you do any netbios broadcast, your ARP table gets rebuilt.

if there were a firewall app you could download that could block based on a MAC, you'd be set.

My System SpecsSystem Spec

30 Aug 2010   #12

Windows 7 Ultimate X64

Thank you guys for the responses! I sincerely did try and google this problem before bothering anyone on this forum, but google turned up nothing (probably my wording...). I did exactly what barman58 said and set up a username and password specifically to give out to people that randomly drop by my house. While my roommate isn't a computer geek such as ourselves , I'm sure he would have tried to find a way to get into my stuff again.

The router I have is a pretty amazing thing, I had no idea the amount of options this thing is packed with, I mean it even does its own brute-force speed test once rebooted. I may try and play around with that later to see about blocking his mac address, and since I am a nosey person... I decided to sign up for and block a couple websites I know hes been going to. Lets just say I do not need the cops banging on my door for his...Illegal activities. Hopefully this will be a temporary fix until I can convince someone else to move in and kick this little pest out.

Thanks again for the replies guys! With what knowledge I have I'll attempt to help some others out on this forum as well. Who knows, a stubborn person like me may learn a thing or two
My System SpecsSystem Spec
30 Aug 2010   #13

Windows 8.1 x64 x3 + Windows 10 Preview

Quote   Quote: Originally Posted by TooCrooked View Post

if there were a firewall app you could download that could block based on a MAC, you'd be set.
Just in case you ever need this Comodo Firewall will allow you to set this up based on the MAC address which would allow you to block a specific NIC from access to a machine whilst still allowing them internet access and allowing others access.

I can see an advantage in this where the router is shared and subnets set by others
My System SpecsSystem Spec

30 Aug 2010   #14

Windows 7 Ult, Windows 8.1 Pro,

The guide I posted is in fact the only way to accomplish this. It's not too difficult to set up if you try.
My System SpecsSystem Spec
17 Aug 2014   #15

Windows 7 Ultimate 64-bit

WAY OLD REPLY but for those still looking..
Open the advanced firewall configuration. In the left panel, choose Inbound or Outbound rules.

1. Click New rule in the right panel.

2. Choose Custom.

3. In the left, go to "Scope." Choose “These IP addresses”, click Add button and add the IP range.

4. Go to Action, choose Block the connection.

Hope it helps.
My System SpecsSystem Spec

 How to block one computer from LAN without blocking everyone else

Thread Tools

Similar help and support threads for2: How to block one computer from LAN without blocking everyone else
Thread Forum
RSA Key Blocking is Here Security News
Solved How to unblock/block a specific computer? Network & Sharing
Solved IE9 - Blocking Ads? Browsers & Mail
WLM blocking senders Browsers & Mail
I want to block all access from a computer in the LAN System Security
block video playing on computer General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 12:25 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33