Need to share files, play LAN games, or transfer data quickly between two PCs? The fastest and most reliable method is to connect two computers using a LAN cable in Windows 11. Unlike Wi-Fi or cloud transfers, this method offers high-speed data sharing, stability, and zero internet dependency.
In this guide, we’ll explain step by step how to set up a LAN connection between two Windows 11 computers.
📝 Key Takeaways
-
You can connect two Windows 11 computers with a LAN (Ethernet) cable.
-
Use a crossover cable for older PCs, but most modern Ethernet ports support auto-sensing, so any LAN cable works.
-
Setup involves:
-
Connecting the cable.
-
Configuring IP addresses manually.
-
Enabling file and folder sharing.
-
-
LAN cable transfer is faster than Wi-Fi (up to 1 Gbps or higher).
Why Use a LAN Cable to Connect Two Computers?
Think of it like creating a direct highway between two PCs — no traffic, no interruptions. Benefits include:
-
Super-fast transfers (ideal for big files).
-
No need for internet — works offline.
-
Stable connection with minimal interference.
-
Great for LAN gaming or local collaboration.
What You’ll Need
Before starting, make sure you have:
-
A LAN/Ethernet cable (Cat5e, Cat6, or Cat7 recommended).
-
Two Windows 11 PCs or laptops with Ethernet ports (or USB-to-Ethernet adapters).
-
Basic knowledge of Windows settings.
Step 1: Connect the Two Computers with the LAN Cable
-
Plug one end of the LAN cable into the first PC’s Ethernet port.
-
Plug the other end into the second PC.
💡 If one or both devices don’t have Ethernet ports (common in ultrabooks), use a USB-to-Ethernet adapter.
Step 2: Configure IP Addresses Manually
To ensure both PCs communicate directly, set static IP addresses.
On the First Computer:
-
Press Windows + I → open Settings.
-
Go to Network & Internet → Ethernet.
-
Select your Ethernet adapter.
-
Scroll down → click Edit next to IP assignment.
-
Switch to Manual, enable IPv4.
-
Enter:
-
IP address:
192.168.1.1
-
Subnet mask:
255.255.255.0
-
Default gateway: leave blank.
-
Click Save.
On the Second Computer:
-
Repeat the same steps.
-
Enter:
-
IP address:
192.168.1.2
-
Subnet mask:
255.255.255.0
-
Default gateway: leave blank.
-
Now both PCs are on the same network.
Step 3: Enable Network Discovery and File Sharing
-
Open Control Panel → Network and Sharing Center.
-
Click Change advanced sharing settings.
-
Turn on:
-
Network discovery.
-
File and printer sharing.
-
-
Save changes.
Step 4: Share Files and Folders
Now that the connection is active, choose what you want to share.
To Share a Folder:
-
Right-click the folder → select Properties.
-
Go to the Sharing tab → click Advanced Sharing.
-
Tick Share this folder.
-
Set permissions (Read or Read/Write).
Your folder is now accessible from the other PC.
To Access Shared Files:
-
Open File Explorer.
-
In the address bar, type the other PC’s IP address, e.g.:
-
Press Enter to view shared folders.
Step 5: Test the Connection
To check if both PCs are connected:
-
Press Windows + R, type
cmd
, and hit Enter. -
On one PC, type:
(replace with the other PC’s IP).
-
If you get replies, the connection is working.
Bonus: Using LAN Cable for LAN Gaming
-
Many PC games support LAN multiplayer mode.
-
Once both computers are connected, launch the game and choose LAN/Local Play.
-
One PC hosts the game, and the other joins.
This setup avoids internet lag and keeps the game smooth.
Quick Setup Checklist
Step | Task | Status |
---|---|---|
1 | Connect LAN cable | ⬜ |
2 | Assign static IPs | ⬜ |
3 | Enable file sharing | ⬜ |
4 | Share folders | ⬜ |
5 | Test with ping command | ⬜ |
Troubleshooting Tips
-
No connection? Check if Ethernet adapters are enabled in Device Manager.
-
Slow transfer speed? Use Cat6 or higher cables.
-
Can’t see shared folder? Ensure both PCs are on the same workgroup (default is WORKGROUP).
-
Ping fails? Recheck IP addresses and firewall settings.
Conclusion
Connecting two computers with a LAN cable in Windows 11 is a fast, reliable, and offline-friendly way to transfer files or play LAN games.
By following these steps — connecting the cable, assigning static IPs, enabling file sharing, and testing the connection — you’ll have a direct high-speed link between your PCs.
Whether you’re a gamer, student, or professional, this setup saves time and avoids the hassle of cloud transfers or USB drives.
FAQs
1. Can I connect two computers with a LAN cable without internet?
Yes, the connection works offline — no router or internet required.
2. Do I need a special crossover cable?
Modern Ethernet ports support auto-sensing, so a standard LAN cable works fine.
3. How fast is LAN cable transfer compared to Wi-Fi?
LAN (Gigabit Ethernet) can reach 1 Gbps+, while Wi-Fi speeds vary and are often slower.
4. Can I connect more than two PCs with LAN?
Yes, but you’ll need a network switch or router to connect multiple devices.
5. Why can’t I see the other computer in File Explorer?
Ensure Network discovery and file sharing are enabled, and that both PCs are in the same subnet.