Youโve got two computers on one desk, two mice cluttering it, and you keep grabbing the wrong one. Software can move a single pointer across both screens over your home network, or hardware can hand the mouse from one PC to the other with a button press.
Share the pointer across screens (software)
These options make the pointer slide off the edge of one monitor and onto the other computerโs screen. The mouse stays physically connected to one PC. The software sends its movements to the second PC over your local network.
Fix #1: Set up Mouse Without Borders in PowerToys (Windows to Windows)
If both machines run Windows, start here. Mouse Without Borders is a free tool included in Microsoft PowerToys, which you install separately. It controls up to four Windows PCs from one mouse and keyboard.
Before you start, put both PCs on the same private network. Guest Wi-Fi often blocks devices from seeing each other. If either PC is a work computer, check that your IT policy allows PowerToys before you install it.
- Install PowerToys on both PCs from the Microsoft Store, or open Terminal and run
winget install --id Microsoft.PowerToys. - Open PowerToys and select Mouse Without Borders in the left sidebar.
- Turn on the Enable Mouse Without Borders toggle on both PCs.
- On the first PC, select New Key. A security key appears.
- Write down that key and the first PCโs name, which is shown on the same page.
- On the second PC, type the security key and the first PCโs name into the connection fields.
- Select Connect.
- In the device layout on the same page, drag the PC thumbnails so they match where the monitors physically sit on your desk.
- Move your pointer past the matching screen edge.
The pointer should jump onto the second PCโs screen. Your keyboard follows it.
Want it at the sign-in screen too? Turn on Use Service. Microsoft requires you to run PowerToys as administrator before you can enable it. After that, Mouse Without Borders can control the Windows lock screen and elevated (administrator) apps on the other PC. Microsoft warns that service mode adds some security risk, so only turn it on if you need it.
If the PCs wonโt connect, check these in order:
- Network profile: Go to Settings > Network & internet > Wi-Fi (or Ethernet), select your network, and set Network profile type to Private.
- Firewall: Open Windows Security > Firewall & network protection > Allow an app through firewall, and make sure PowerToys is allowed on private networks.
- Pointer goes the wrong way: Rearrange the PC thumbnails in the layout.
- Copy and paste doesnโt carry over: Security software, a VPN, or a work policy can block clipboard sharing even when the pointer works.
Mouse Without Borders also shares your clipboard and can copy files between connected PCs. On a shared or work network, turn off Share clipboard and Transfer file in its settings if you donโt want data moving between machines.
Mouse Without Borders canโt control a Mac. For mixed setups, skip to Fix #3.
Fix #2: Turn on Logitech Flow (compatible Logitech mice)
If you already own a Logitech mouse with Easy-Switch buttons, check whether it supports Logitech Flow. Flow pairs the mouse to each computer on a separate channel, then uses your network to hand it off when the pointer hits the screen edge. It works between Windows and Mac too.
- Install the latest Logi Options+ on both computers.
- Pair the mouse to the first computer on Easy-Switch channel 1.
- Press the Easy-Switch button to select channel 2, then pair the mouse to the second computer.
- Open Logi Options+ and select your mouse.
- Open the Flow section and turn Flow on.
- Allow Logi Options+ through Windows Firewall if a prompt appears.
- Drag the computer icons to match your desk layout.
- Move the pointer past the configured screen edge to test it.
Logitech says Flow finds computers that are paired to the same mouse and on the same network. Corporate networks, VPNs, and guest Wi-Fi routinely break that discovery. If Flow refuses to work, the Easy-Switch button on the mouse still switches computers manually.
Fix #3: Use Deskflow, Synergy, or ShareMouse (Windows, Mac, and Linux)
When one computer runs Windows and the other runs macOS or Linux, you need cross-platform software.
- Deskflow is free and open source, and runs on Windows, macOS, and Linux. Itโs the maintained choice now that Barrier is no longer updated, and it can still connect to computers running Barrier or Input Leap.
- Synergy is the commercial option. It comes with vendor support, but expect to pay for a license.
- ShareMouse is another paid option for Windows and Mac setups, with a free edition for personal use.
Setup follows the same pattern for all three. Hereโs the Deskflow flow:
- Install Deskflow on both computers.
- On the computer that has the physical mouse and keyboard, set Deskflow to run as the server.
- On the other computer, set it to run as a client.
- On the client, enter the serverโs IP address or computer name.
- On the server, open the screen layout and drag the clientโs screen next to the serverโs.
- Allow the app through the firewall on both machines when prompted.
The pointer crosses at the edge you set. All three apps send input over your local network, so a busy Wi-Fi connection can add a little cursor lag. A wired connection helps. If both PCs sit near your router, run an Ethernet cable to each one.
If both computers are Macs: Universal Control
Windows canโt join this one, but if your second setup is all Apple, Universal Control is built in. One Mac controls up to two other Macs or iPads within about 30 feet. Every device needs the same Apple Account, two-factor authentication, Wi-Fi, Bluetooth, and Handoff turned on.
- Click the Apple menu > System Settings > Displays.
- Click Advanced.
- Turn on Allow your pointer and keyboard to move between any nearby Mac or iPad.
- Optionally turn on Push through the edge of a display to connect to a nearby Mac or iPad.
- With both devices awake and unlocked, push the pointer past the screen edge nearest the other device.
Switch the mouse with a button (hardware)
These options donโt slide the pointer between screens. You press a button and the mouse jumps to the other computer. In exchange, thereโs no network to troubleshoot and no input lag.
Fix #4: Use a mouse with multi-device switching
Plenty of current mice store two or three Bluetooth pairings. Pair the mouse with each computer, then press its device button to switch.
The Logitech M720 Triathlon is one example. It connects through its USB receiver or Bluetooth, and a button on top switches computers.
- Turn the mouse on and press the device button to select the first channel.
- Pair it with the first PC: go to Settings > Bluetooth & devices > Add device > Bluetooth, or plug in the receiver.
- Press the device button again to select the next channel.
- Hold the button until the light blinks, then pair it with the second PC the same way.
Press the button to switch whenever you need to. If the second PC has no Bluetooth, a cheap USB Bluetooth adapter fixes that. Youโll also want a keyboard with the same switching feature, or youโll still be juggling two keyboards.
Fix #5: Use a USB switch or KVM switch
A hardware switch is the most reliable option. Itโs also the right call on work networks where sharing software is blocked, or when you donโt want a clipboard flowing between machines.
- A USB switch shares a wired mouse and keyboard between two PCs. Each PC keeps its own monitor.
- A KVM switch also switches the display, so two computers can share one monitor. If thatโs your goal, see how to connect two computers to one monitor.
- Connect each PC to the switch with the USB cables it came with.
- Plug your mouse and keyboard into the switchโs peripheral ports.
- For a KVM, connect each PCโs video output to the switch and your monitor to its display output.
- Press the switch button, hotkey, or remote to change computers.
Windows usually picks up the mouse again a moment after each switch. Buy a switch with enough ports for every computer you plan to add, since you canโt expand a two-port model later.
Which method fits your setup
| Your setup | Best method | Pointer slides across screens? |
|---|---|---|
| Two or more Windows PCs | PowerToys Mouse Without Borders | Yes |
| Compatible Logitech mouse, any OS | Logitech Flow | Yes |
| Windows plus Mac or Linux | Deskflow, Synergy, or ShareMouse | Yes |
| Macs and iPads only | Universal Control | Yes |
| Want a button, no software | Multi-device mouse | No |
| Locked-down or offline network | USB or KVM switch | No |
When nothing works
If no software option connects, your network is almost certainly the blocker. Client isolation on guest Wi-Fi, a VPN, or a corporate firewall will stop every one of these apps. Test with both PCs on the same router over Ethernet. If it still fails, or IT wonโt allow sharing software, a USB or KVM switch sidesteps the network entirely.
Conclusion
For two Windows PCs, PowerToys Mouse Without Borders is the one Iโd set up first: itโs free, quick to set up, and gets the second mouse off your desk. If it connects but keeps dropping, look at your Wi-Fi before blaming PowerToys. And if you need the pointer to work every time with zero setup headaches, a hardware switch is less elegant but more dependable.