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.



356 Responses to Cursor Lock

  1. thecooldudes69 USA says:

    Why did you stop updating it after 10 years?

  2. Chad Johnson USA says:

    I just downloaded Dawn of War on steam. I can confirm this worked perfectly! Thank you

  3. Rodney Hunt USA says:

    using or trying to use through xbox but not knowing how to find the exe. through xbox launcher. cloud streaming the game and don’t know how to step it up properly.

  4. LV Lance Van Buuren USA says:

    How do you keep the program when I restart the computer to keep the settings?

  5. LV Lance Van Buuren USA says:

    Hello, I liked your app, can I a suggestion make a windows startup because my requires not the shortcuts. I can do the shortcuts but it’s always asking for on the account that way.

    • Snake USA says:

      There are many ways to have programs run at Windows startup. One way would be to create a shortcut with Cursor Lock and save it to the Start Menu > Startup folder.

  6. Elvis Sakalauskas USA says:

    Hello I like your program, very neat. Maybe even suggest let be you put a startup with windows and Blizzard games usually from the Battle app, so you can’t use a shortcut for the games.

  7. ManniX DEU says:

    Thanks works perfectly with shortcut and V Rising (-applaunch 1604030)

  8. trypp USA says:

    I AM ABSOLUTELY ECSTATIC TO SAY THIS WORKS WITH APEX LEGENDS! THANK YOU SO MUCH! I play fullscreen on 16:10 so im constantly clicking out when hitting boxes and minimizing my game! you just helped me out so much!

  9. Nightcat DEU says:

    I downloaded this because I am trying to play “The Settlers – Heritage of Kings History Edition” on Steam without my mouse moving out of the window over to my second screen. Nothing has been working so far, no matter what I tried.

    Is there any way for you to help me out? I would really love to play the game like in my good old days :c

  10. Snicket AUT says:

    There is this new official Windows package manager that is called winget. I think it would be really cool if Cursor Lock could be downloaded from the community repository:

    • Snake USA says:

      I don’t really understand what the benefit of this would be…?

      • Snicket AUT says:

        I like to install the software on a fresh Windows PC with scripts and package managers like chocolatey and winget. So that’s my reason, but it’s fine if you don’t want to that.

  11. Fizzle DEU says:

    it works on SNOWRUNNER
    Also tested it myself! ty, since f Snowrunner does not lock on its own

    BUT may i suggest a “auto run” option too?
    I figured i might check OPEN program and LOCK program or so but~ no such luck

    I’d love icons i click, its locked, and the game boots :)

  12. John Smith USA says:

    Hi. I’m about to try your program for the first time with the Ghostbusters: The Video Game Remastered. I’m in the process of downloading it, and I have a question. Is this a portable program? If I install it to a folder and then want to copy paste the program folder to another computer, will it keep all my settings and still work? Or will there be missing files and folders from other locations?

    • Snake USA says:

      Ghostbusters: The Video Game Remastered… is this a remake of the original NES game? 😄

      As far as being portable…well, yes and no. Settings are saved to a file in the program directory, so that should be easily portable. Shortcuts on the other hand will require that Cursor Lock be installed to the same path on both systems if you plan on copying those as well. There’s no program dependencies other than .Net 3.5 being installed, so installation is not strictly required unless you want the Start Menu shortcuts made for you.

      • John Smith USA says:

        Thanks for the reply and information. Sorry, I don’t now much about the origins of the game. I think that it was first released in 2009 and then it got a remake sometime later, but it’s pretty buggy. Mouse cursor doesn’t stay in the window and I had problems with cutscenes freezing and not being in sync, and the strange thing is I think the cutscenes “almost” work on an integrated GPU but won’t play right on a dedicated card.

    • John Smith USA says:

      Nevermind. I think that your program only works with some games. I was using User Mode and hotkeys and it would not work with Ghostbusters (Remastered). Oh well.

  13. AH CAN says:

    Hey do you plan on making this Opensource, like put the source code all on GitHub?

  14. Theguru GRC says:

    A couple days ago for no particular reason an error starting popping when trying to create a shortcut, anyone got a clue about that?

    • Snake USA says:

      What is the error? Does it happen when you click “Create Shortcut” or when you click “Save”?

      • Theguru GRC says:

        Happens when i click save, says <>

        • Snake USA says:

          Huh… maybe try saving to a different place or running as admin.

          Otherwise, I really don’t know. I looked at the code, and it literally just passes the shortcut parameters to the Windows Script Host Shell CreateShortcut function after you click “Save” and on failure should give an error message of “There was an error creating the shortcut. You may have to make it manually.” Makes me think there might be something outside of my app at fault for you.

  15. Joe SGP says:

    I am having the same problem. Opening “Start User Mode” shortcut via file manager does not do anything: It shows “Cursorlock.exe” is running in Task Manager yet nothing has been locked/hot keys have no effect.

    Running “CursorLockSetup.exe” and manually switching to User Mode, and using “Test”/”Self Test” feature works: cursor is locked within the “Cursor Lock – Setup” window. However all hotkeys do not work.

    I have been locking “Window Interior” for all my tests.

  16. jim4006 USA says:

    Scrolling through the comments I noticed a mention of a custom lock region, I’ve been scouring the internet for a feature like that. Any idea when you’ll plan to add it? Preferably with a definable region similar to picture related,

    • Snake USA says:

      Somewhere between never and ASAP. I have a chronic illness–I don’t do much anymore. Make me an offer I can’t refuse…? Otherwise… my apologies for getting your hopes up.

  17. Dan USA says:

    I am trying to use Curser Lock in User mode in conjunction with Nomousy. I am trying to hide the cursor once it’s locked on a window (Lightgun game in Windowed mode). It looks like there is a conflict and Nomousy is unable to hide the cursor when using the Cursor Lock /C command. I use /C to prevent the “Close previous Cursor Lock..” message from appearing when launching the unlock app after closing the emulator.

    Is there a way to launch the Unlock app and not have the “Close active instance” msg box appear?

    Or ..Any thoughts on adding a hide cursor capability similar to Nomousy?


    • Snake USA says:

      If you’re using User Mode, you should be controlling Cursor Lock with the hotkeys, not launching it repeatedly. So, try that. Just enable it when you wanna play your game, disable it after. Tide goes in, tide goes out, you can’t explain it.

  18. rihani IRL says:

    Is there a way of letting it choose an open program? Sea of Thieves has this terrible issue where in full screen borderless, the task bar and the top of the window will appear if you scroll down or up enough. Microsoft being Microsoft, there is no .exe for Cursor Lock to launch – it’s launched through the XBox companion app and does it’s own thing.

    • Snake USA says:

      Ugh..Microsoft creates such dumbed-down garbage these days. Not sure if cursor lock will help with your particular situation or not, though, as i’d assume fullscreen borderless is already the maximum size of the screen. But there’s always an executable to lock to, even if it’s the entire xbox app as you say (google up “process explorer” if it’s eluding you). Or just try cursor lock in user mode for a quick test of if it can fix your issue of not.

    • Someguy NZL says:

      There’s still an exe somewhere, the Xbox app just hides it under a folder and denies you permissions by default. You can still grant yourself access to it though. My installs are under D:\WindowsApps.

  19. Rocca AUS says:

    Wondering if this can allow mouse movement across 2 screens on a 3 screen setup. I.e. lockout only one screen.

  20. david USA says:

    hey man I was wondering if i could use this in shooter games and it will lock the cursor so the game doesn’t have any recoil? is that possible or no?

  21. Gpintye HUN says:

    Hello. I have an issue with Phantom Doctrine, first I set up the program like I did with Total War Troy and it worked with that game but not with Phantom Doctrine. Can you help me?

  22. josh USA says:

    Hey your program works but their is kind of an issue well I’m playing windowed mode and it locks but the lock is so close to the edge of program that it allows for stretching of the game if I’m aggressively clicking, So is their a way to minimize the lock just a little bit for the left, right, and bottom borders so it doesn’t stretch the screen while playing?

Leave a Reply