Mouse Without Borders: How to Share One Mouse Across PCs
In this article
Mouse Without Borders is a free Microsoft Garage utility that lets one keyboard and mouse control up to four Windows PCs on the same network. You install it on each PC, pair them with a security code, and then move your cursor off the edge of one screen and it appears on the next machine, carrying your clipboard with it. You need Windows 10 or 11 on every PC, all machines on the same local network, and the tool installed from Microsoft's official download page. It does not work on macOS, Linux, phones, or across the internet without a VPN.
What You'll Need
- Two to four Windows PCs running Windows 10 or Windows 11 (the tool is a Windows-only utility).
- All PCs connected to the same local network, either through the same router or the same switch. Wired Ethernet is more reliable than Wi-Fi.
- Administrator rights on each PC so you can install the utility and allow it through the firewall.
- The official installer from Microsoft's Mouse Without Borders page. Avoid third-party download sites.
- A note of the machine name of each PC (found in Settings > System > About) so you can tell them apart during setup.
Menu labels in Windows can differ slightly by version, edition, and region, so if a label below does not match exactly, look for the closest equivalent.
Step-by-Step
- Download the installer on the first PC. Open a browser, go to Microsoft's official Mouse Without Borders page, and download the installer. Save it somewhere you can find it, such as your Downloads folder.
- Install on the first PC. Run the installer and accept the default options. When it finishes, the setup wizard opens automatically. If it does not, launch Mouse Without Borders from the Start menu.
- Choose the first PC as the host. In the wizard, select the option that says this is the first machine, sometimes labelled as the machine that will control the others. The tool generates a security code and a machine name on screen. Write both down or keep the window open.
- Install on the second PC. Copy the same installer to the second PC using a USB drive or a network share, then run it. In the wizard on this machine, choose the option for a machine that will be controlled, and enter the security code from the first PC when prompted.
- Confirm the pairing. The host PC should show the second machine in its list of connected machines. If it does not appear within a minute, click the refresh option in the Mouse Without Borders window on the host.
- Arrange the screens. In the Mouse Without Borders window, open the layout or machine arrangement view. Drag the machine icons so they match the physical position of your monitors. For example, if the second PC's monitor sits to the right of the first, place its icon to the right. This controls which edge you cross to reach each machine.
- Test the handoff. Move your mouse to the edge of the host screen in the direction of the second PC. The cursor should cross over and control the second machine. Type a few characters to confirm the keyboard follows. Press the hotkey (by default Ctrl+Alt+Del is reserved, so use the tool's own shortcut, usually Ctrl+Alt+F12 or the shortcut shown in its settings) to toggle control back if needed.
- Repeat for additional PCs. Install on each remaining PC, enter the same security code, and add each machine to the layout. The tool supports up to four machines in total.
- Check clipboard sharing. Copy text on one PC and paste it on another. Clipboard sharing is on by default; if it is not working, open the tool's settings and confirm the clipboard option is enabled.
Common Mistakes
- Installing on a different network. Mouse Without Borders needs all PCs on the same local subnet. A guest Wi-Fi network, a VPN, or a mobile hotspot usually breaks discovery.
- Mismatched security codes. Every controlled PC must use the exact code shown on the host. A single wrong character prevents pairing.
- Wrong screen arrangement. If the icons in the layout do not match the physical monitor positions, the cursor will jump in unexpected directions or seem stuck at an edge.
- Firewall blocking the connection. Windows Defender Firewall may prompt on first run. Allow the app on private networks; blocking it stops the machines from finding each other.
- Using it across the internet. The tool is designed for a local network. It is not a remote desktop replacement and should not be exposed to the public internet.
Tips
- Give each PC a clear name in Windows settings before setup so the machine list is easy to read.
- Use wired Ethernet on at least the host PC if you notice lag when moving the mouse between machines.
- Keep the Mouse Without Borders window open on the host while you set up the other machines; it shows connection status and the security code.
- If you use multiple monitors on one PC, set the layout so the shared edge is the outer edge of the whole group, not an internal edge between two monitors on the same machine.
- Disable the tool temporarily if you are running another keyboard-and-mouse sharing app, since two tools fighting over input can cause erratic cursor behaviour.
Troubleshooting
If the second PC does not appear on the host, work through these checks in order:
- Restart both PCs and relaunch Mouse Without Borders on each. This clears most temporary discovery glitches.
- Confirm both machines are on the same network by checking the network name in Windows settings. If one is on a guest network or a VPN, switch it to the main network.
- Open Windows Defender Firewall and check that Mouse Without Borders is allowed on private networks. If it is listed but blocked, enable it for private networks only.
- Re-enter the security code on the controlled PC. Copy it character by character from the host window.
- Check that the machine name shown on the host matches the name in Windows settings on the other PC. Rename the PC if needed, then restart the tool.
- If the cursor crosses but the keyboard does not follow, click once on the target PC's desktop to give it focus, then test again.
- As a last resort, uninstall the tool from all PCs and reinstall from the official Microsoft download, starting with the host. This resets the pairing and clears corrupted settings.
If none of that works, check whether your router has client isolation or AP isolation enabled. That setting prevents devices on the same Wi-Fi from talking to each other, and it must be turned off for Mouse Without Borders to function.
Frequently Asked Questions
Does Mouse Without Borders work on Mac or Linux?
No. It is a Windows-only utility from Microsoft Garage. For mixed Windows and Mac setups you need a different cross-platform tool.
Can I use it over the internet?
Not officially. It is designed for PCs on the same local network. Connecting remote PCs would require a VPN that puts them on the same virtual subnet, and even then performance and reliability are not guaranteed.
How many PCs can I connect?
Up to four machines in a single group, with one acting as the host that shares its keyboard and mouse.
Does it share files as well as the clipboard?
It shares clipboard text and can transfer files between connected machines through its own file-transfer option, but it is not a full file-sharing or remote-desktop tool.
Is Mouse Without Borders free?
Yes. It is a free download from Microsoft and does not require a subscription.
Why does my cursor stop at the screen edge?
The most common cause is a layout mismatch. Open the arrangement view and make sure the machine icons match where the monitors physically sit. Also confirm the target PC is shown as connected, not just paired.