TechBuzzPro

How to Connect Two Windows 11 PCs – Quick Step‑by‑Step Guide

· 6 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step‑by‑Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can connect two Windows 11 computers using the built‑in networking features; the quickest way is to enable file sharing and use a home network or a direct Ethernet link. This guide walks you through the required preparation, the exact steps for both wired and wireless connections, common pitfalls, and troubleshooting tips so the two PCs can see each other, share files, printers, or even stream media.

What You'll Need

  • Two computers running Windows 11 (any edition)
  • Administrator access on both machines
  • A local network – either a Wi‑Fi router or a Ethernet crossover cable (modern NICs work with a regular patch cable)
  • Optional: a USB drive for testing the connection before sharing large folders

Step‑by‑Step

  1. Confirm both PCs are on the same network. Open Settings > Network & Internet. Under Wi‑Fi or Ethernet you should see the same network name (SSID) or the same router IP range (e.g., 192.168.1.x). If you are using a direct Ethernet cable, both PCs will show an “Unidentified network” status – that is fine as long as they have IP addresses in the same subnet.
  2. Set the network profile to Private. In the same Network & Internet page, click the network name and choose Private. Private networks allow discovery and file sharing automatically; a Public profile blocks these features.
  3. Enable network discovery and file sharing. Go to Control Panel > Network and Sharing Center > Change advanced sharing settings. Under the Private profile, turn on Network discovery and Turn on automatic setup of network‑connected devices. Also turn on File and printer sharing. Click Save changes.
  4. Allow access through the firewall. Open Windows Security > Firewall & network protection > Allow an app through firewall. Ensure File and Printer Sharing has both Private and Public boxes checked. If you use a third‑party firewall, add the same exceptions.
  5. Assign static IP addresses (optional but helpful). For a wired direct connection, open Settings > Network & Internet > Ethernet > Hardware properties > Edit. Choose Manual, toggle IPv4, and set an address like 192.168.2.10 on PC 1 and 192.168.2.11 on PC 2, both with subnet mask 255.255.255.0. Leave the gateway blank unless you also want internet access.
  6. Test connectivity with ping. Open Command Prompt (type cmd in the Start menu). On PC 1, type ping 192.168.2.11 (or the other PC’s IP). You should receive replies. If you get “Request timed out,” re‑check the firewall and IP settings.
  7. Share a folder. Right‑click the folder you want to share, select Properties, go to the Sharing tab, and click Advanced Sharing…. Check Share this folder, give it a share name, and click Permissions. Add Everyone with Read/Write as needed, then click OK three times to close the dialogs.
  8. Access the shared folder from the other PC. Open File Explorer and type \192.168.2.10 (or the other PC’s name, e.g., \DESKTOP‑A1B2C3) in the address bar. You should see the shared folder and be able to open it. If credentials are requested, enter the username and password of the PC that hosts the share.
  9. Map the network drive (optional). In File Explorer, click This PC > Map network drive. Choose a drive letter, enter the same UNC path (\192.168.2.10 oldername), and tick Reconnect at sign‑in. Click Finish to have a permanent shortcut.
  10. Verify printer sharing (if needed). On the PC that has the printer installed, go to Settings > Bluetooth & devices > Printers & scanners. Click the printer, choose Manage, then Printer properties. Under the Sharing tab, enable Share this printer. On the second PC, add the printer via Settings > Bluetooth & devices > Add a printer or scanner and select the shared printer.

Common Mistakes

  • Leaving the network profile set to Public. Public networks block discovery, so the other PC will never appear.
  • Forgetting to enable File and Printer Sharing in the firewall exceptions, which results in ping replies but no folder access.
  • Using two different subnet ranges (e.g., 192.168.1.x on one PC and 10.0.0.x on the other). They will not see each other without a router that bridges the subnets.
  • Sharing a folder without setting proper permissions; the default is read‑only for Everyone, which can be confusing if you expect write access.
  • Relying on a simple patch cable for a direct link on very old NICs that still require a crossover cable. Modern adapters are auto‑MDIX, but legacy hardware may need the correct cable type.

Tips

  • Give each PC a recognizable Computer name (Settings > System > About > Rename this PC). It makes UNC paths easier to remember than IP numbers.
  • If you plan to stream media, enable SMB 1.0/CIFS File Sharing Support only as a last resort, because it is less secure. Windows 11 uses SMB 3 by default, which is faster and encrypted.
  • Use the built‑in Nearby Sharing (Settings > System > Nearby sharing) for quick one‑off file transfers without setting up a permanent share.
  • When using Wi‑Fi, place the two PCs within good signal range of the router to avoid intermittent drops that can corrupt file transfers.
  • Keep both PCs updated (Settings > Windows Update). Network stack bugs are often fixed in cumulative updates.

Troubleshooting

If the computers do not see each other, follow this ordered checklist:

  1. Restart both machines. A simple reboot clears stale network caches.
  2. Confirm both PCs have the same network profile. Re‑open Network & Internet and verify Private is selected.
  3. Run the Network Troubleshooter. Settings > System > Troubleshoot > Other troubleshooters > Network Adapter.
  4. Check the firewall. Temporarily disable Windows Defender Firewall on both PCs to see if the share becomes visible. If it does, re‑enable and double‑check the File and Printer Sharing exception.
  5. Verify IP configuration. In Command Prompt type ipconfig /all. Ensure both PCs are on the same subnet mask and that there are no duplicate IP addresses.
  6. Test name resolution. Try pinging by computer name (ping DESKTOP‑A1B2C3). If it fails, edit the hosts file (C:\Windows\System32\drivers\etc\hosts) to map the name to the IP address.
  7. Check sharing permissions. Open the shared folder’s Properties > Security tab and ensure the user account you are logging in with has at least Read permission.
  8. Reset network settings as a last resort. Go to Settings > Network & Internet > Advanced network settings > Network reset. This will reinstall network adapters and clear custom DNS entries, but you will need to reconnect to Wi‑Fi again.

If none of the above resolves the issue, consider using a third‑party tool like Microsoft QuickAssist for remote assistance, or consult the router’s admin page to ensure client isolation is not enabled (some routers block devices from communicating with each other for security).

Frequently Asked Questions

Can I connect two Windows 11 PCs without a router?

Yes. A direct Ethernet cable (standard patch cable works with modern NICs) or a Wi‑Fi ad‑hoc network will let the PCs communicate as long as they have compatible IP settings.

Do I need a Microsoft account to share files?

No. Local user accounts work fine; you only need to provide the correct username and password when prompted.

Why does Windows sometimes prompt for credentials even after I enabled sharing?

Windows defaults to credential‑based access for security. If the two PCs have different usernames, you must enter the hosting PC’s credentials. Creating matching local usernames on both machines avoids the prompt.

Is SMB 1 still required for older Windows versions?

Only if you are connecting to a legacy system that only supports SMB 1. Windows 11 uses SMB 3, which is faster and encrypted. Enabling SMB 1 is discouraged because of known security vulnerabilities.

Can I share a folder with read‑only access?

Yes. In the folder’s Advanced Sharing permissions, set Everyone to Read only. This prevents accidental modification while still allowing viewing and copying.

What if I want to stream movies from one PC to the other?

Enable the Media streaming option in Control Panel > Network and Sharing Center > Media streaming options. Then use a media player that supports network sources, such as VLC, to open the shared folder.