Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

Why can't my Windows 7 machines 'see' each other on my network?

Question:

I just replaced my router and now all of a sudden my machines can’t see each
other. They were working fine before the replacement and I could regularly
access files and make remote desktop connections between the machines. They all
see the internet just fine, just not each other. What gives?

That was actually me a few days ago.

I replaced my router to address a network performance issue and all of a
sudden, my machines couldn’t see each other.

My opinion of Windows networking for the average consumer isn’t very high, so when I
discovered what was happening, how easy it is to miss, and how easy it is to
fix, I realized that it was time to write up my discoveries.

]]>

The error

My error manifested this way:

Computer not found

That machine is a Windows 7 machine on which I have several external USB drives connected and I use it as a kind of network attached storage device, or NAS – hence the name.

But network attached storage isn’t very helpful if you can’t connect to it.

As it turns out, the machine was working fine. Windows was simply being paranoid and protecting itself.

The solution

I walked down to my basement and did the following:

  • I clicked the network icon in the taskbar notification area (this machine insists on showing an ‘X’ on the connection, even though the connection is working):

    Windows 7 network icon in the taskbar notification area

  • I clicked Open Network and Sharing Center:

    Open Network and Sharing Center link

  • I saw the problem – the network connection had been classified as a Public Network:

    Network classified as a 'Public' network

  • I clicked Public Network to change it to something else:

    Windows 7 Set Network Location dialog

    I clicked Home Network.

  • I was then presented with the “Do you want to create a Homegroup?” dialog:

    Windows 7 Create a Homegroup dialog

    I clicked Cancel.

I could now, once again, access this machine remotely from other machines.

And to be clear, this is a setting that you confirm on the machine that you are connecting to.

“Home” versus “Public”

The difference between telling Windows that you’re connected to a home network versus a public one is a matter of security and trust.

On a public network, you can trust no one. In places like coffee shops or other open Wifi hotspots, you have no idea what other computers are sharing the internet connection with you and thus, you can’t be certain that they’re not malicious in some way.

As a result, when making this choice, Windows configures its firewall to be as secure as possible. All non-essential incoming services are blocked by default. This includes remote desktop, as I experienced, as well as file sharing.

The idea behind a Home network is that you can trust everyone sharing the local network behind your router. You control, or know, all of the connected computers and can presumably make sure that they’re all operated securely. With that as an assumption, Windows then opens up to allow several services through the firewall – including remote desktop and file sharing.

(To be honest, I’m not sure the nuances behind the third option, a Work Network. For the vast majority of people, Home and Public are really the only options to be concerned with.)

So how’d it change?

The real question is how does Windows determine that you’re on a new network? When I took my laptop to Starbucks and connected there for the first time, Windows popped up the Set Network Location dialog and asked me whether it was a home, work, or public network. (Naturally, I said public.)

How’d it know I’d changed networks?

Your first reaction might be to say, “Well, the wireless network has a different name or SSID.” True. But consider this: the same thing happens for a wired connection. Move a computer to a new location and connect it with a cable, and Windows will again ask: “Home, work or public?”

I don’t know how Windows does it, but I can guess.

I would guess that it remembers the MAC address of the router that you’re connecting to.

A MAC address is supposed to be unique for every device connected to any ethernet network. As a result, when you connect to a new network, your machine is connecting to a different router with a different MAC address. As long as you stay connected to that same router, Windows believes that you’re on the same network.

I could be wrong about the details, but my theory also explains one other thing…

Why it happened to me.

Remember what I said I did when this all started? I changed my router.

New router means new MAC address, and that means “A new network!” from Windows’ point of view.

Why it’s easy to miss

When Windows first connects to what it considers to be a new network – which you’ll most commonly see when you setup a new machine or connect a new machine to your network for the first time – it does two things:

  • It displays the Set Network Location dialog, asking you whether this is a home, work, or public network.

  • Until you say otherwise, it assumes public.

The assumption that the network is public is for security reasons. For example, if Windows assumed that the network was a home network but in reality you were connected to a public network, your computer would be at risk.

There’s an additional step, though, where it gets tricky.

Let’s say that you’re not around to notice that it’s asking you for the network location or that for some reason, you just don’t notice.

And then let’s say the machine reboots.

When it comes back online:

  • It continues to assume public.

  • It does not ask again what you want.

In other words, it simply defaults to public.

And until I walked down to my basement and told it otherwise, I could not remotely access my machine or access the files on it.

The big take-away

If you’re having trouble connecting to a Windows 7 machine across your local network, check the network location setting on that machine as I’ve described above. It could very well be Windows trying to protect you.

Do this

Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

I'll see you there!

18 comments on “Why can't my Windows 7 machines 'see' each other on my network?”

  1. I don’t know what, exactly, Windows does while it goes through “identifying network”, but it must be more than just checking the router’s MAC address. Every time I connect to my wireless router, it spends something like 10-15 seconds “identifying” the network. (It does this with every Vista and Win7 system I’ve used here.)

    That’s a different kind of “identifying network” – you’re talking about wireless networks getting connected. That’s really unrelated to what’s being discussed here.

    Leo
    01-Feb-2012
    Reply
  2. Leo
    Why did you cancel the ‘Create HomeGroup’ option? Is there reason not to use this option on a home network?

    bill

    It’s fine, I suppose, if you have a Windows 7 only network. The problem is that HomeGroup works only with Windows 7. In my case (and I dare say in most cases still today) networks often contain a variety of machines and OS’s – particularly Windows XP. Setting up a HomeGroup has little value in mixed networks.

    Leo
    03-Feb-2012
    Reply
  3. I second Bill McCollough’s inquiry…I’d like to know more about “Home group”. Perhaps an article idea?

    Thanks for all you do Leo. Love the site.

    Reply
  4. I finally discovered the difference between HOME and WORK networks. Both support sharing files and printers but WORK networks don’t have the simplified sharing available with HomeGroups. I’ve actually found HomeGroups useful in small office settings where all systems are on Windows 7.

    Reply
  5. This doesn’t solve my issue. I have home network on my pc – which 4 other home computers/laptops can join. My husbands PC has set up its own homegroup and cannot join my homegroup – how do we remove the homegroup his computer set up and get his to join this one?

    Reply
  6. Can’t see what so difficult about this one. This is straightforward and explained well on Windows. Maybe some folks need better reading skills.

    As for myself I think now Window has it right with this networking matter. My only addition would be to make managing Rights, Privileges, and sharing in a more structured manner and to better explain it. A little Console dedicated to managing file access privileges would be welcomed.

    Reply
  7. When Microsoft confuses people like Leo, you know why Apple is king of the hill.

    Not to mention the Windows 7 machine that always displays the red X even when all is well. I’ve seen a similar bug on many WinXP machines which say they are waiting to be assigned an IP address forever.

    Reply
  8. @Michael
    Apple has its networking problems too. Probably even more than a Windows PC simply because of compatibility. Someone on my network has a Macbook Pro, and whenever he needs to print something, he has to plug his machine into the printer. The software to run the remote printer simply doesn’t exist for the Mac. He phoned the router company and they told him there is no other other solution. This isn’t to put down the Mac, it’s simply to show that there are pros and cons to everything.

    Reply
  9. In my modem cum router, there is a setting called “Intra-BSS” which when set to “Enabled” will allow windows PCs to see each other. If set to “Disabled”, Windows networking will not work. However this setting is related particularly to my Huawei MT841 model. I have not seen this setting under any other router.

    Just my two cents for someone who might be facing a similar problem.

    Ravi.

    Reply
  10. I cannot agree more about the network implementation problems. I have network issues that may be related : my LAN consists of a PC/XP and a PC/W7 through a modem/router and a Workgroup (not Homegroup). Whereas I can access XP folders using the W7 pc, the converse is refused. When trying to troubleshoot the network on my W7 PC (Network Sharing Center > See full Map), Windows tells me it cannot create the map. The proposed solutions (installing LLTD on the XP PC, allowing my Kaspersky firewall for local Networks) do not work. What gives ?

    Reply
  11. quick fix Dom P put your files to share in the win7 public folders and then use your xp machine to map to the public folders.
    Hope it helps.

    Reply
  12. I have set up a wireless net work under the impression there is no other network there later i found a second router under a table hidden after inspection i found this to be also linked to a 3g lan connection and also the community printer this is quite a problem for me as the one is linked to a tracking system on vehicles and cannot be removed how do i go about fixing this does any one have an idea?
    thanks Chris

    Reply
  13. What fixed my problem of not being able to see to Windows 7 shares on wire LAN connected desktop from a wirelessly connected Win 7 laptop was to bridge the two networks that Win 7 set up on my laptop. They had two different names and the had to be selected (wired and wireless network) and then select bridge the connection. I do not have a homegroup set up, only a workgroup.

    Reply
  14. a little basic, may be right for simple users. The main result for this is actually the firewall. Turn it off and check then go from there.

    Reply

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.