Overview
Mouse Without Borders allows you to control multiple computers from a single mouse and keyboard. Move your cursor across computer boundaries as if they were multiple monitors, and seamlessly share clipboard content and files between machines.How to Activate
Mouse Without Borders operates automatically once configured and enabled in PowerToys settings.Initial Setup
Enable on First Computer
Enable Mouse Without Borders in PowerToys Settings on your primary computer
Install on Additional Computers
Install PowerToys and enable Mouse Without Borders on other computers you want to control
Configuration Options
Connection Settings
Run Mouse Without Borders as a Windows service for enhanced compatibility and reliability. Service mode allows:
- Operation before user login
- Enhanced security isolation
- Better stability on some systems
Keyboard Shortcuts
Mouse Without Borders provides several hotkeys for managing multi-computer control:Toggle “Easy Mouse” mode for simplified cursor movement between machines
Lock all connected machines simultaneously
Switch input to all PCs mode (broadcast keyboard input to all machines)
Force reconnection to all machines in the cluster
Features
Seamless Cursor Movement
Move your mouse cursor across computer boundaries just like moving between monitors:- Cursor transitions smoothly between machines
- Works with any screen arrangement (left, right, above, below)
- Configurable screen edge behavior
Unified Keyboard Control
Type on any connected computer without switching keyboards:- Keyboard input follows cursor position
- Special key combinations work across machines
- Support for modifier keys (Ctrl, Alt, Shift, Win)
Clipboard Sharing
Copy and paste content between connected computers:- Text clipboard synchronization
- Support for formatted text and rich content
- Automatic clipboard transfer on cursor switch
File Transfer
Drag and drop files between computers:- Direct file transfer without network shares
- Encrypted transfer over local network
- Support for multiple files and folders
Security Features
- Encrypted communications between machines
- Security code-based pairing
- Firewall rule configuration
- Optional Windows service isolation
Use Cases
Multi-Computer Workflows
Control desktop and laptop simultaneously without switching input devices.Home Office Setup
Manage personal and work computers side-by-side:- Keep work and personal data separated
- Seamlessly move between machines
- Share clipboard for quick data transfer
Server Management
Control multiple servers from a single workstation:- Reduce keyboard/mouse clutter
- Quick server access without KVM switch
- Monitor multiple systems simultaneously
Creative Workflows
Spread your creative work across multiple machines:- Edit on one machine, preview on another
- Use different computers for different tasks
- Transfer files quickly during production
Network Requirements
Firewall Configuration
Mouse Without Borders requires network communication between computers:- Automatic Configuration: Use the “Add Firewall Rule” button in settings (requires administrator privileges)
- Manual Configuration: Allow PowerToys.MouseWithoutBorders.exe through Windows Firewall:
- Protocol: TCP
- Direction: Inbound
- Profile: Private/Domain networks
Port Usage
Mouse Without Borders uses TCP communication for:- Control messages
- Clipboard synchronization
- File transfers
The exact port numbers are dynamically negotiated during connection setup.
Service Mode
Benefits of Service Mode
- Pre-Login Control: Control computer before Windows login
- Enhanced Stability: Isolated process space
- Elevated Privileges: Better compatibility with protected applications
- Automatic Recovery: Service auto-restart on failure
Service Management
When service mode is enabled:- Service name:
PowerToys.MWB.Service - Service binary:
PowerToys.MouseWithoutBordersService.exe - Startup type: Manual (demand start)
- Security: User-specific permissions configured automatically
Troubleshooting
Computers cannot connect
Computers cannot connect
- Verify all computers are on the same network
- Check firewall settings on all machines
- Ensure Mouse Without Borders is enabled in PowerToys on all computers
- Try the “Reconnect” shortcut
- Verify security code was entered correctly
Cursor doesn't move between machines
Cursor doesn't move between machines
- Check computer arrangement in settings matches physical layout
- Verify screen edge alignment between machines
- Ensure both machines show as “Connected” in status
- Try disabling and re-enabling Mouse Without Borders
Clipboard sharing not working
Clipboard sharing not working
- Verify clipboard synchronization is enabled in settings
- Check that both machines have active connection
- Try copying plain text first (formatted content may have issues)
- Ensure clipboard is not locked by another application
File transfer fails
File transfer fails
- Check available disk space on target machine
- Verify network connection is stable
- Try smaller files first
- Check that file paths don’t exceed Windows limits
Service mode won't enable
Service mode won't enable
- Run PowerToys as administrator
- Check that Windows Service Manager is accessible
- Verify no group policy restrictions on service installation
- Check Windows Event Log for service-related errors
Keyboard input not working on secondary machine
Keyboard input not working on secondary machine
- Ensure cursor is on the target machine
- Check that no application on target machine is capturing keyboard exclusively
- Verify keyboard layout settings on both machines
- Try clicking on target machine’s desktop to establish focus
Security Considerations
Best Practices
-
Network Security:
- Use only on private, trusted networks
- Ensure network is password-protected
- Consider network segmentation for sensitive work
-
Access Control:
- Keep security codes confidential
- Regularly update PowerToys to get security patches
- Monitor connected machines list
-
Service Mode Security:
- Service runs with user-specific permissions
- Security descriptor limits access to current user
- Service requires manual start (not automatic)
Technical Details
Architecture
- Main Process:
PowerToys.MouseWithoutBorders.exe(user interface and coordination) - Service Process:
PowerToys.MouseWithoutBordersService.exe(optional service mode) - Helper Process:
PowerToys.MouseWithoutBordersHelper.exe(supporting functions)
Communication Protocol
- TCP-based peer-to-peer communication
- Encrypted message passing
- Automatic connection recovery
- Heartbeat mechanism for connection monitoring
Platform Support
- Operating Systems: Windows 10 1803+ (April 2018 Update or newer)
- Network: IPv4 local network
- Hardware: Standard HID mouse and keyboard
Source Code Reference
The Mouse Without Borders implementation can be found at:- Module interface:
src/modules/MouseWithoutBorders/ModuleInterface/dllmain.cpp - Main application:
src/modules/MouseWithoutBorders/App/ - Service implementation:
src/modules/MouseWithoutBorders/App/Service/ - Service registration: Lines 206-363 in dllmain.cpp
- Hotkey management: Lines 559-612 in dllmain.cpp