A small Windows 10/11 x64 utility that confines the cursor while a configured application is in the foreground.
LockMeWindow requests administrator access at startup so it can inspect and control elevated games. Windows will show a UAC prompt on every launch.
- Launch
lock-me-window.exe. - Select a running application or enter an executable name/full path.
- Choose
WindoworMonitor, then selectAdd. - Use
Refreshto rescan running applications. - Enable
Start with Windowsto launch LockMeWindow in the tray when you sign in.
Settings are saved immediately to %APPDATA%\LockMeWindow\settings.json. The tray icon remains visible while LockMeWindow is running. Minimize or close the window to hide it; left-click the tray icon to restore it or right-click and choose Exit to unlock the cursor and quit.
Only one instance can run at a time. Launching it again restores the existing window from the tray.
cargo build --releaseThe executable is written to target\release\lock-me-window.exe.
LockMeWindow is a Rust reimplementation of AutoCursorLock, used under its MIT license.