Cursor Lock

Windows 2000/XP, Windows 9x, Windows Vista/7

Cursor Lock is a utility program that confines the mouse cursor to a selected area on the screen. This is most useful in multi-monitor setups, addressing a common oversight in some applications (mostly games) whereby they allow the mouse cursor to drift into other unwanted screens. In video games, this can also lead to minimizing the game window if the cursor has drifted into another screen and the mouse is clicked accidentally. Cursor Lock can also overcome cursor drifting problems in windowed applications and games.

Here’s a list of games that Cursor Lock is reported or confirmed to fix.


  • Locking only when focused–requires no special user interaction, nor does it interfere with task switching between screens
  • Uses a superior method of capturing the cursor compared to other solutions (e.g. MouseTrap)
  • Ability to open one program and lock another allows Cursor Lock to work well with launcher programs
  • Can confine the cursor to window borders, in addition to a whole screen
  • Customizable hotkeys allow for complete control of locking in any situation
  • Alternate locking modes that run in the background for full user control and special circumstances
  • Intuitive GUI support program for quick setup of Cursor Lock shortcuts
  • Integrated help system for shortcut setup program
  • Highly optimized and efficient locking program that uses practically no memory or CPU





Cursor Lock

221 kB - EXE



via Paypal

If Cursor Lock has fixed a game or two for you, consider supporting development with a donation.

Or you can help by translating Cursor Lock into one of the following languages: French, Spanish, Portuguese, German, Italian, Russian, Mandarin Chinese, Japanese, Korean, Hindi, or Arabic.  Download the following file for more information.

Cursor Lock Translation Template (1047 downloads)


218 Responses to Cursor Lock

  1. Ed USA says:

    Hi. I have two (hopefully easy) feature requests that wouldn’t seem too intuitive at first but I guarantee they’d make this program the ultimate thing.

    Request one – Optional horizontal and vertical mouse wrap-around within a locked window
    Request two – Hiding the windows mouse cursor.

    Reason: Not sure if you’re familiar with the program known as ‘Splashtop’ but it’s basically a PC remote control program that’s *almost* perfect for remote gaming. Where they are almost perfect is in the area of mouse control for FPS games. With this program and those two feature additions you’d be a god among Splashtop users.

    • Snake USA says:

      Interesting ideas, but I think they’re out of the scope of Cursor Lock. I can’t think of any applications for cursor wrapping; most FPS games read raw input and don’t care where the cursor is on the screen. Hiding the cursor is certainly doable, but again I don’t know of any applications where you’d want to do this (and also use Cursor Lock) and I’m sure there are tools to do this already.

      From my brief inspection, Splashtop doesn’t seem to be a unique bit of software. Lots of companies are working on remote access tools and specifically ones for gaming. I’d suggest that your problems need to be addressed by the remote access application.

  2. Thomas C USA says:

    Hi! I’m on windows 7, playing Quest for Glory 2 VGA remake, 640×480 window mode, using User Mode with locking Window Interior.

    When I’m on the farthest edge, the regular window cursor appears it doesn’t register clicks inside the game. I made an animated gif recording of this:

    Hm that’s strange. The screen capture shows the mouse all the way out of the window interior, but it’s really not. When I’m not recording it, the mouse cursor is inside the border.

    Anyway, yeah, it’s not registering clicks when I’m on the farthest edge. Is there any way to fix it? Thanks :)

    • Snake USA says:

      Interesting. It looks like it might be due to the Windows theme that the program is using, such that Windows thinks the game window dimensions are different than the game thinks they are. And since the “window interior” region is based on what Windows is reporting, that might cause your problem. You might try fiddling with compatibility settings for the program. Otherwise, I’m not sure how you might further explore what the problem is except with a developer tool like Spy++.

  3. daldaren USA says:

    So I installed this for trying something with Baldur’s Gate Enhanced Edition on Windows 10. Tested what I needed to, and then tried to uninstall. It wasn’t listed as an Application in the windows 10 Program’s list, so I searched here an saw it mentioned to manually delete the program.

    Unfortunately, Windows 10 didn’t like that. I now have a blank listing in my Start -> All Apps, and when I open the file location, it just goes no where. Kind of annoying, so I tried ccleaner to just delete the extension. Nope.

    Any thoughts on how I can fix this, because this is going to give me Windows 10 PTSD.

    • Snake USA says:

      The start menu is just a special directory. In Windows 10, it should be located at %ProgramData%\Microsoft\Windows\Start Menu\Programs. Failing that, you might just need to refresh the start menu somehow. Had a zombie shortcut on my start menu recently, and that one did have an uninstaller.

  4. Kat USA says:

    Confirmed working for Star wars The Old Republic. Thank you so much for this. It’s awesome. Working as intended and makes gaming SO MUCH EASIER!

  5. fairfolk1 USA says:

    Hello. What would I do if I wanted to lock onto a window that was forced into window mode through adding -win to the target?

    • Snake USA says:

      All you have to do is use lock region of window interior. If you need to know more, read the manual.

      • fairfolk1 USA says:

        I’ve done so, and it doesn’t detail what to do if you forced it into windows mode. I’ve tried to do what you said for Warcraft 3 below (Adding -window to args), tried targetting the original file and shortcuts, but whenever I open the cursorlock shortcut it is resumes back to fullscreen.

        Another problem is when I target another game I get the error “unable to init draw”. I’m guessing this is game side and it’s just not compatible with Cursorlock, but worth an ask anyways.

        • fairfolk1 USA says:

          Urgh, ignore the top one…I went back and realized there’s a checkbox next to args. I’m an idiot. Unable to init draw still stands though.

          • Snake USA says:

            AFAIK, Cursor Lock has no incompatibilities with any other programs. It works on a level that games don’t even know it’s there. I would guess it has more to do with Warcraft 3. I fact, I remember having problems myself when I tried to play it on Windows 7 recently, so maybe google a bit on it.

  6. Bobby USA says:

    Hello, first of all I would like to thank the developers of this software! However, I have noticed a slight nuisance that I believe is not working correctly on my Windows 8.1 machine. I am trying to create a “user strict” mode in which TAB is used to lock/unlock the screen and ESC is used to stop the program so that TAB will no longer act exclusively as the screen lock. TAB works fine, but I am noticing that ESC is not killing the process, is this what the “Close lock program/unlock hotkey” checkbox is supposed to complete?

    • Snake USA says:

      I’m surprised that Tab alone can be used as a hotkey. I wouldn’t recommend using either tab or esc as hotkeys as they can often interfere with existing program functions. You should always use a modifier key like shift, ctrl, alt, or win when specifying hotkeys for Cursor Lock.

  7. Need something to lock my cursor for Fallout: New Vegas. This app worked once before, but now will not lock the cursor to the game window, either with a program shortcut or with “user mode strict”. With the latter, it will work for other program windows, but not with the game.

    • Snake USA says:

      Well, I have Fallout NV, so I can confirm that Cursor Lock works with it. Make sure FalloutNV.exe is set as the lock program. If you still can’t get it to work, consult the log file.

  8. Chester Honn USA says:

    I’ve been successful with the software working for most of my games, but I’m confused on how to get this to work with Minecraft. Is it possible?

Leave a Reply