Restricting local network file sharing to a specific network adapter

oscarh325 21 Reputation points
2023-01-05T03:27:52.897+00:00

I have two windows 10 pc's connected to my home router via wifi. I want to xfer files between them via hardwire rj45 ports, so i connect a crossover cable and set up workgorup file share, setting a static IP to each wired NIC. Now when i transfer files, sometimes it goes via wifi, and sometimes wired (based on the NIC activity in task manager).

I disabled "file and printer sharing for Microsoft networks" on the wireless nics, (which would cause other issues) but it didn't seem to do anything as I can still access my NAS and a third windows 10 pc file share over wifi and file xfers between the two pc's still sometime run over wifi.

Thanks

Unfortunately disabling the wireless nic wouldn't work as the one computer is headless and accessed strictly via remote desktop (from many computers), as well as no internet access.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,701 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426.1K Reputation points MVP
    2023-01-05T03:55:43.86+00:00

    what about setting the ipv4 settings for each wired nic to a different subnet

    Yes, that's correct. Set the adapters and devices up on separate subnets.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


3 additional answers

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2023-01-05T03:31:27.563+00:00

    Simplest solution would be to disable the wireless adapter.
    https://support.microsoft.com/en-us/topic/how-multiple-adapters-on-the-same-network-are-expected-to-behave-e21cb201-2ae1-462a-1f47-1f2307a4d47a

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  2. Dave Patrick 426.1K Reputation points MVP
    2023-01-05T03:42:02.637+00:00

    Regardless having two network adapters on the same network will always be problematic.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  3. Dave Patrick 426.1K Reputation points MVP
    2023-01-05T17:53:01.153+00:00

    File and printer sharing is not adapter specific but is machine specific. Simplest solution is to put each adapter on a different subnet.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments