This guide shows you how to control two Windows PCs with a single keyboard and mouse, eliminating desk clutter and making cross-computer work seamless. You’ll learn both software-only and hardware-based methods, with step-by-step instructions for each. Before starting, ensure both PCs are on the same network (wired or Wi‑Fi) and that you have administrator access to install software.
What You’ll Need
- Two Windows PCs (Windows 10 or 11 recommended) on the same local network
- A keyboard and mouse that you’ll connect to the primary PC
- Administrator rights on both PCs to install software
- Optional: a USB switch (hardware KVM) if you prefer a physical solution
Step-by-Step
- Choose your method. The two most common approaches are software (like Microsoft Garage Mouse without Borders or the open-source Barrier) and hardware (a KVM switch). Software is free and sufficient for most users; hardware is better for low-latency gaming or when you want to share multiple USB devices.
- Install the software on both PCs. For Mouse without Borders, download and run the installer on the primary PC, then on the secondary PC. For Barrier, install the server on the PC whose keyboard/mouse you’ll use, and the client on the other.
- Configure the primary PC (server). In Mouse without Borders, you’ll see a security key. Note it down. In Barrier, select “Server” and set the screen layout (e.g., drag the second screen icon to the right of the first).
- Connect the secondary PC (client). On the secondary PC, enter the security key from the primary (Mouse without Borders) or enter the server’s IP address (Barrier). The software will automatically detect the other PC.
- Arrange the screens. In the software’s settings, position the two displays to match your physical setup. For example, if the second monitor is to the right, drag the second screen icon to the right of the first. This determines where the cursor will move when it reaches the edge.
- Test the connection. Move your mouse to the edge of the primary screen in the direction of the secondary PC. The cursor should appear on the other PC. Try typing on the keyboard to ensure it works.
- Adjust sharing options. Both tools let you enable clipboard sharing (copy/paste between PCs), file drag-and-drop, and even share the mouse’s middle button. Turn these on as needed.
Common Mistakes
- Wrong screen orientation. If the cursor doesn’t cross over, you likely have the screens arranged incorrectly in the software. Swap the positions.
- Firewall blocking. Windows Firewall may block the software. Allow it through on both PCs during installation or when prompted.
- Both PCs set as server. In Barrier, only one PC should be the server. The other must be the client, or they won’t connect.
- Using different network types. If one PC is on a public network and the other on private, they may not see each other. Set both to private.
Tips
- For a wired connection, use an Ethernet cable between the two PCs or a switch to reduce latency.
- Name your PCs clearly in Windows settings so you can identify them in the software.
- If you use multiple monitors on one PC, the software will treat them as one large screen—make sure the arrangement matches your physical setup.
- Consider using a KVM switch if you also want to share USB peripherals like a headset or external drive.
Troubleshooting
Cursor doesn’t cross over: First, verify both PCs are on the same subnet (e.g., 192.168.1.x). Check the software’s connection status—it should show “Connected.” If not, restart both applications. In Barrier, try entering the server’s IP manually on the client.
Keyboard works but mouse doesn’t (or vice versa): Reinstall the software on the affected PC. Sometimes a driver conflict can cause this. Also, make sure the keyboard/mouse is connected to the primary PC, not the secondary.
Clipboard sharing not working: Ensure the option is enabled in the settings. In Mouse without Borders, it’s a checkbox labeled “Share clipboard.” In Barrier, it’s under “Server Configuration.” Restart the software after enabling.
High latency or lag: This is usually due to Wi‑Fi. Move both PCs closer to the router or use a wired connection. Also, close bandwidth-heavy applications on both PCs.
Software won’t install on the secondary PC: You may need to run the installer as administrator. Right-click the installer and select “Run as administrator.”
Frequently Asked Questions
Is this free?
Yes, both Mouse without Borders and Barrier are free to download and use. There are no paid tiers or trial limits.
Can I use this with a Mac and a PC?
Barrier supports Windows, macOS, and Linux, so you can share between a Mac and a PC. Mouse without Borders is Windows-only.
Does it work over the internet?
These tools are designed for local networks. Using them over the internet requires a VPN, and latency will be too high for practical use.
Can I share files between the two PCs?
Yes, both tools support drag-and-drop file transfer. In Mouse without Borders, you can drag a file from one desktop to the other. Barrier also supports this feature.
What if I have three or more PCs?
Mouse without Borders supports up to four PCs. Barrier can handle more, but you’ll need to configure the grid layout carefully.
Will this work if my PCs are on different Wi‑Fi networks?
No, both PCs must be on the same local network for the software to discover each other. If they’re on different networks, use a hardware KVM.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Show User Library in macOS High Sierra & Sierra
- Device Manager Shortcut: Windows 10 Desktop
- How to Remove Forgotten Passcode from iPhone
- Fix Slow Wi-Fi Problem iPhone X: 9 Steps
- How to Check if a Candidate Accepts Crypto Donations
- How to Listen to Deleted Voicemails on iPhone